/* Estilos V20 Definitivos */
.home .entry-header, .page-id-inicio .entry-header { display: none !important; }
.ast-container { max-width: 100% !important; padding: 0 15px !important; }
.site-content { padding-top: 10px !important; }

.ahc-pro-container { max-width: 1360px; margin: 0 auto; font-family: inherit; color: #1e293b; box-sizing: border-box; }

.ahc-navbar { display: flex; justify-content: space-between; align-items: center; background: #ffffff; padding: 12px 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 25px; position: sticky; top: 15px; z-index: 100000; border: 1px solid #e2e8f0; }
.ahc-navbar-brand { display: flex; align-items: center; gap: 10px; }
.ahc-brand-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.ahc-header-logo-img { max-height: 65px; width: auto; object-fit: contain; display: block; }
.ahc-brand-icon { background: #2e7d32; color: #ffffff; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ahc-brand-name { font-size: 19px; font-weight: 800; color: #1e293b; letter-spacing: -0.5px; }

.ahc-nav-menu { display: flex; gap: 16px; align-items: center; }
.ahc-nav-menu a { text-decoration: none; color: #475569; font-size: 13px; font-weight: 600; transition: color 0.2s ease; }
.ahc-nav-menu a:hover { color: #2e7d32; }
.ahc-nav-highlight { color: #e65100 !important; }
.ahc-nav-woo { color: #7c3aed !important; font-weight: 700; }
.ahc-nav-cta { background: #2e7d32; color: #ffffff !important; padding: 8px 16px; border-radius: 6px; }

.ahc-mobile-toggle {
    display: none;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 100001;
}

.ahc-mobile-toggle .ahc-bar {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #1e293b;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.ahc-mobile-toggle.active .ahc-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.ahc-mobile-toggle.active .ahc-bar:nth-child(2) { opacity: 0; }
.ahc-mobile-toggle.active .ahc-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.ahc-layout-wrapper { display: flex; gap: 30px; align-items: flex-start; }
.ahc-sidebar-left { width: 300px; flex-shrink: 0; position: sticky; top: 95px; display: flex; flex-direction: column; gap: 20px; }
.ahc-ad-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 22px 18px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); text-align: center; }
.ahc-border-highlight { border-top: 4px solid #2e7d32; }

.ahc-woo-account-box {
    border-top: 4px solid #7c3aed;
    background: #fbf9ff;
}

.ahc-badge-woo {
    background: #7c3aed;
    color: #fff;
}

.ahc-woo-account-box h4 {
    margin: 12px 0 6px;
    font-size: 17px;
    color: #1e293b;
}

.ahc-woo-account-box p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}

.ahc-woo-account-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ahc-btn-woo {
    background: #7c3aed;
    color: #ffffff !important;
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: block;
}

.ahc-btn-outline-sm {
    border: 1px solid #cbd5e1;
    color: #475569 !important;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

.ahc-ad-card h4 { margin: 12px 0 8px; font-size: 18px; color: #1e293b; font-weight: 700; }
.ahc-ad-card p { font-size: 13px; color: #64748b; line-height: 1.5; margin-bottom: 15px; }
.ahc-mini-list { list-style: none; padding: 0; margin: 0; text-align: left; font-size: 13px; color: #334155; }
.ahc-mini-list li { margin-bottom: 6px; }
.ahc-mini-list i { color: #2e7d32; margin-right: 6px; }
.ahc-pdf-icon { font-size: 38px; color: #d32f2f; margin-bottom: 8px; }

.ahc-badge { display: inline-block; background: #2e7d32; color: #ffffff; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
.ahc-badge-alt { background: #0f172a; }
.ahc-pulse { animation: ahc-pulse-anim 1.8s infinite; }
@keyframes ahc-pulse-anim { 0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); } }

.ahc-btn { display: inline-block; text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 6px; cursor: pointer; text-align: center; transition: all 0.25s ease; }
.ahc-btn-fill { width: 100%; padding: 11px 16px; background: #2e7d32; color: #ffffff !important; }
.ahc-btn-outline { width: 100%; padding: 10px 16px; border: 1.5px solid #2e7d32; color: #2e7d32 !important; background: transparent; }
.ahc-btn-primary { background: #2e7d32; color: #ffffff !important; padding: 14px 28px; border: none; }
.ahc-btn-secondary { background: #ffffff; color: #1e293b !important; padding: 14px 28px; border: 1px solid #cbd5e1; }
.ahc-btn-accent { background: #e65100; color: #ffffff !important; padding: 14px 32px; border: none; font-size: 15px; }

.ahc-cascade-body { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 25px; }
.ahc-content-card { background: #ffffff; border-radius: 14px; padding: 50px 38px; border: 1px solid #eef2f6; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.ahc-bg-subtle { background: #f8fafc; }
.ahc-section-tag { display: block; text-align: center; font-size: 12px; font-weight: 800; text-transform: uppercase; color: #2e7d32; letter-spacing: 1.5px; margin-bottom: 6px; }
.ahc-title { font-size: 30px; color: #1e293b; text-align: center; font-weight: 800; margin-bottom: 6px; }
.ahc-sub { font-size: 15px; color: #64748b; text-align: center; margin-bottom: 30px; }
.ahc-desc { font-size: 16px; color: #475569; line-height: 1.8; max-width: 850px; margin: 0 auto; text-align: center; }

/* HERO CON VIDEO 100% AUTOPLAY */
.ahc-hero-video-container {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 14px;
    padding: 85px 40px;
    text-align: center;
    color: #ffffff;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahc-hero-bg-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.ahc-hero-video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.6) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.ahc-hero-badge { display: inline-block; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); color: #ffffff; padding: 6px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.ahc-section-hero h1 { font-size: 38px; color: #ffffff; margin-bottom: 15px; font-weight: 800; line-height: 1.2; }
.ahc-section-hero p { font-size: 18px; max-width: 680px; margin: 0 auto 30px; color: #f8fafc; }
.ahc-hero-metrics { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; flex-wrap: wrap; }
.ahc-metric-box { background: rgba(255,255,255,0.15); backdrop-filter: blur(5px); border-radius: 10px; padding: 12px 20px; border: 1px solid rgba(255,255,255,0.25); min-width: 140px; }
.ahc-metric-box .num { display: block; font-size: 26px; font-weight: 800; color: #facc15; }
.ahc-metric-box .lbl { font-size: 12px; color: #f8fafc; }
.ahc-hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.ahc-promo-banner-section { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #ffffff; text-align: center; border: none; }
.ahc-promo-header h2 { color: #ffffff; font-size: 32px; margin: 12px 0 8px; font-weight: 800; }
.ahc-promo-header p { color: #cbd5e1; font-size: 16px; margin-bottom: 25px; }
.ahc-countdown-wrapper { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.ahc-count-unit { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; padding: 12px 18px; min-width: 75px; }
.ahc-count-number { display: block; font-size: 32px; font-weight: 800; color: #4ade80; }
.ahc-count-label { font-size: 11px; text-transform: uppercase; color: #94a3b8; letter-spacing: 1px; }

.ahc-woo-section { border: 2px solid #e9d5ff; }
.ahc-woo-native-grid, .ahc-woo-placeholder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ahc-woo-product-card, .ahc-woo-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; text-align: center; position: relative; }
.ahc-woo-card-img img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.ahc-woo-price { font-size: 20px; font-weight: 800; color: #7c3aed; margin: 10px 0; }

.ahc-pillars-3-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 35px; }
.ahc-pillar-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.ahc-pillar-thumb { width: 100%; height: 190px; object-fit: cover; display: block; cursor: pointer; transition: transform 0.25s ease; }
.ahc-pillar-thumb:hover { transform: scale(1.03); }
.ahc-pillar-content { padding: 22px; text-align: center; }
.ahc-pillar-icon { font-size: 26px; color: #2e7d32; display: inline-block; margin-bottom: 10px; }
.ahc-pillar-content h3 { font-size: 19px; color: #1e293b; margin: 0 0 10px; }
.ahc-pillar-content p { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0; }

.ahc-custom-dynamic-block { margin-top: 10px; }
.ahc-custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.ahc-custom-img-box img { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); cursor: pointer; }

.ahc-plans-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.ahc-plan-image-box { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); cursor: pointer; }
.ahc-blueprint-img { width: 100%; display: block; border-radius: 10px; }
.ahc-blueprint-tag { position: absolute; bottom: 12px; left: 12px; background: rgba(15, 23, 42, 0.85); color: #ffffff; font-size: 12px; padding: 4px 10px; border-radius: 4px; }
.ahc-checked-list { list-style: none; padding: 0; margin: 15px 0 25px; }
.ahc-checked-list li { font-size: 14.5px; color: #475569; margin-bottom: 12px; line-height: 1.5; }
.ahc-checked-list i { color: #2e7d32; margin-right: 8px; }

.ahc-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.ahc-pricing-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 30px 22px; position: relative; }
.ahc-pricing-featured { border: 2px solid #2e7d32; box-shadow: 0 10px 25px rgba(46, 125, 50, 0.1); }
.ahc-ribbon { position: absolute; top: -12px; right: 20px; background: #2e7d32; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; }
.ahc-status-badge { display: inline-block; background: #fee2e2; color: #b91c1c; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; margin-bottom: 10px; }
.ahc-status-premium { background: #fef3c7; color: #b45309; }
.ahc-pricing-box h3 { font-size: 19px; color: #1e293b; margin-bottom: 8px; }
.ahc-price { font-size: 24px; font-weight: 800; color: #2e7d32; margin-bottom: 16px; }
.ahc-features { list-style: none; padding: 0; margin: 0 0 25px; }
.ahc-features li { font-size: 14px; color: #64748b; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }

.ahc-videos-3-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.ahc-video-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; padding: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.ahc-video-card h4 { font-size: 16px; margin: 12px 0 6px; text-align: center; color: #1e293b; }
.ahc-responsive-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.ahc-responsive-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.ahc-gallery-animated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.ahc-animated-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.ahc-animated-photo-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.18);
}

.ahc-animated-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ahc-animated-photo-card:hover img {
    transform: scale(1.08);
}

.ahc-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ahc-photo-overlay i {
    color: #ffffff;
    font-size: 30px;
}

.ahc-animated-photo-card:hover .ahc-photo-overlay {
    opacity: 1;
}

.ahc-photo-hidden {
    display: none !important;
}

.ahc-testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.ahc-testimonial-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px; }
.ahc-stars { color: #f59e0b; margin-bottom: 14px; font-size: 14px; }
.ahc-testimonial-text { font-size: 15px; font-style: italic; color: #334155; line-height: 1.6; margin-bottom: 20px; }
.ahc-author-info { display: flex; align-items: center; gap: 14px; }
.ahc-author-avatar { width: 50px; height: 50px; flex-shrink: 0; }
.ahc-testimonial-avatar-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid #2e7d32; display: block; }
.ahc-author-avatar i { font-size: 46px; color: #94a3b8; }
.ahc-author-info strong { display: block; color: #1e293b; font-size: 14px; }
.ahc-author-info span { font-size: 12px; color: #64748b; }

.ahc-marquee-wrapper { width: 100%; overflow: hidden; padding: 20px 0; }
.ahc-marquee-track { display: flex; gap: 45px; align-items: center; width: max-content; animation: ahc-marquee-scroll 25s linear infinite; }
.ahc-marquee-track:hover { animation-play-state: paused; }
@keyframes ahc-marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ahc-marquee-item { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ahc-marquee-item img { height: 65px; max-width: 160px; object-fit: contain; filter: none !important; opacity: 1 !important; transition: transform 0.3s ease; }
.ahc-marquee-item img:hover { transform: scale(1.1); }
.ahc-sponsor-pill { display: inline-flex; align-items: center; gap: 10px; background: #f8fafc; border: 1.5px dashed #cbd5e1; border-radius: 30px; padding: 12px 24px; font-weight: 700; font-size: 15px; color: #334155; white-space: nowrap; }

.ahc-contact-form { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.ahc-form-row { display: flex; gap: 15px; }
.ahc-form-row input, .ahc-form-row select, .ahc-contact-form input, .ahc-contact-form textarea, .ahc-contact-form select { width: 100%; padding: 13px 15px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 14px; box-sizing: border-box; }

.ahc-whatsapp-floating { position: fixed; bottom: 25px; right: 25px; background: #25d366; color: #ffffff !important; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 18px rgba(0,0,0,0.25); z-index: 99999; text-decoration: none; }
.ahc-tooltip { display: none; position: absolute; right: 70px; background: #1e293b; color: #ffffff; font-size: 13px; padding: 6px 12px; border-radius: 6px; white-space: nowrap; }
.ahc-whatsapp-floating:hover .ahc-tooltip { display: block; }

.ahc-lightbox { display: none; position: fixed; z-index: 9999999; left: 0; top: 0; width: 100vw; height: 100vh; background-color: rgba(15, 23, 42, 0.95); align-items: center; justify-content: center; box-sizing: border-box; }
.ahc-lightbox.active { display: flex !important; }
.ahc-lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ahc-lightbox-content { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); }
.ahc-lightbox-counter { color: #cbd5e1; font-size: 14px; margin-top: 10px; font-weight: 600; }
.ahc-lightbox-close { position: absolute; top: 20px; right: 30px; color: #ffffff; font-size: 45px; font-weight: bold; cursor: pointer; line-height: 1; z-index: 10000000; }
.ahc-lightbox-close:hover { color: #4ade80; }

.ahc-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 30px;
    padding: 16px 20px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10000000;
    transition: background 0.2s ease;
}
.ahc-lightbox-nav:hover { background: rgba(46, 125, 50, 0.9); }
.ahc-prev { left: 25px; }
.ahc-next { right: 25px; }

@media (max-width: 960px) {
    .ahc-layout-wrapper { flex-direction: column; gap: 20px; }
    .ahc-cascade-body { order: 1; width: 100%; }
    .ahc-sidebar-left { order: 2; width: 100% !important; position: static !important; }
    .ahc-custom-grid { grid-template-columns: 1fr; }
    
    .ahc-mobile-toggle { display: flex !important; }
    
    .ahc-nav-menu {
        display: none !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        padding: 20px !important;
        border-radius: 0 0 14px 14px !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
        border: 1px solid #e2e8f0 !important;
        border-top: none !important;
        gap: 12px !important;
        z-index: 999999 !important;
    }
    .ahc-nav-menu.active { display: flex !important; }
    .ahc-nav-menu a { font-size: 16px !important; padding: 10px 14px !important; display: block !important; width: 100% !important; box-sizing: border-box !important; color: #1e293b !important; background: #f8fafc !important; border-radius: 8px !important; }
    .ahc-section-hero { padding: 50px 20px !important; }
    .ahc-section-hero h1 { font-size: 26px !important; }
    .ahc-hero-metrics { gap: 15px; }
    .ahc-metric-box { min-width: 100px; padding: 8px 12px; }
    .ahc-hero-actions { flex-direction: column; }
    .ahc-hero-actions .ahc-btn { width: 100%; box-sizing: border-box; }
    .ahc-form-row { flex-direction: column; }
    .ahc-prev { left: 10px; }
    .ahc-next { right: 10px; }
}
