/**
 * OAC Global frontend polish.
 *
 * Shared NovaPelvis header identity for public pages.
 */

body:not(.wp-admin) .ast-primary-header-bar,
body:not(.wp-admin) .main-header-bar {
    min-height: 88px;
    border-bottom: 1px solid #dfe8ee;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(12, 27, 44, .03);
    backdrop-filter: blur(10px);
}

body:not(.wp-admin) .site-header .ast-container {
    max-width: 1440px;
    padding-left: clamp(28px, 4vw, 54px);
    padding-right: clamp(28px, 4vw, 54px);
}

body:not(.wp-admin) .ast-primary-header-bar .ast-builder-grid-row,
body:not(.wp-admin) .main-header-bar .ast-container {
    min-height: 82px !important;
    align-items: center !important;
}

body:not(.wp-admin) .site-title a,
body:not(.wp-admin) .site-branding a {
    display: inline-flex;
    align-items: center;
    color: #0d1b2f;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.04em;
}

body:not(.wp-admin) .site-title a::before,
body:not(.wp-admin) .site-branding a:not(:has(img))::before {
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 9px 14px 9px 14px;
    background:
        radial-gradient(circle at 35% 35%, #42d3ca 0 24%, transparent 25%),
        radial-gradient(circle at 68% 68%, #0b5f8f 0 26%, transparent 27%),
        linear-gradient(135deg, #28b9b3, #102d5a);
    box-shadow: 0 8px 18px rgba(11, 95, 143, .18);
}

body:not(.wp-admin) .main-header-menu {
    display: flex !important;
    align-items: center !important;
    gap: 4px;
}

body:not(.wp-admin) .main-header-menu .menu-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    height: 44px;
    padding: 0 13px !important;
    color: #07172d;
    font-size: 14px;
    font-weight: 850;
    line-height: 1 !important;
    letter-spacing: -.015em;
    white-space: nowrap;
}

body:not(.wp-admin) .main-header-menu .current-menu-item > .menu-link,
body:not(.wp-admin) .main-header-menu .current_page_item > .menu-link,
body:not(.wp-admin) .main-header-menu .current_page_parent > .menu-link {
    color: #087d77;
}

body:not(.wp-admin) .main-header-menu .current-menu-item > .menu-link::after,
body:not(.wp-admin) .main-header-menu .current_page_item > .menu-link::after,
body:not(.wp-admin) .main-header-menu .current_page_parent > .menu-link::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 2px;
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #53cbc7;
}

body:not(.wp-admin) .main-header-menu a[href*="ver-planes"] {
    height: 44px !important;
    min-height: 44px;
    max-height: 44px;
    margin-inline: 8px;
    padding-left: 26px !important;
    padding-right: 26px !important;
    border-radius: 7px;
    background: linear-gradient(135deg, #128f88, #006b68);
    color: #fff !important;
    box-shadow: 0 13px 26px rgba(0, 107, 104, .18);
}

body:not(.wp-admin) .main-header-menu a[href*="ver-planes"]::after {
    display: none !important;
}

body:not(.wp-admin) .main-header-menu a[href*="mi-cuenta"] {
    height: 44px !important;
    min-height: 44px;
    max-height: 44px;
    padding-left: 24px !important;
    padding-right: 24px !important;
    border: 1px solid #d3dde7;
    border-radius: 7px;
    background: #fff;
    color: #07172d !important;
    box-shadow: 0 6px 18px rgba(10, 25, 42, .04);
}

body:not(.wp-admin) .main-header-menu a[href*="mi-cuenta"]::after {
    display: none !important;
}

body:not(.wp-admin) .main-header-menu .oac-cart-menu-item {
    display: inline-flex;
    align-items: center;
}

body:not(.wp-admin) .main-header-menu .oac-cart-menu-link {
    position: relative;
    width: 44px;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px;
    max-height: 44px;
    margin-left: 8px;
    padding: 0 !important;
    border: 1px solid #d3dde7;
    border-radius: 12px;
    background: #fff;
    color: #07172d !important;
    box-shadow: 0 8px 22px rgba(10, 25, 42, .06);
}

body:not(.wp-admin) .main-header-menu .oac-cart-menu-link::after {
    display: none !important;
}

body:not(.wp-admin) .oac-cart-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #087d77;
}

body:not(.wp-admin) .oac-cart-menu-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

body:not(.wp-admin) .oac-cart-menu-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body:not(.wp-admin) .oac-cart-menu-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #e23745;
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(226, 55, 69, .28);
}

body:not(.wp-admin) .oac-cart-menu-count.is-empty {
    display: none;
}

body:not(.wp-admin) .main-header-menu .oac-cart-menu-link:hover,
body:not(.wp-admin) .main-header-menu .oac-cart-menu-link:focus {
    color: #087d77 !important;
    border-color: rgba(83, 203, 199, .72);
    box-shadow: 0 12px 26px rgba(8, 125, 119, .12);
    transform: translateY(-1px);
}

@media (min-width: 922px) and (max-width: 1120px) {
    body:not(.wp-admin) .site-header .ast-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    body:not(.wp-admin) .site-title a,
    body:not(.wp-admin) .site-branding a {
        font-size: 20px;
    }

    body:not(.wp-admin) .site-title a::before,
    body:not(.wp-admin) .site-branding a:not(:has(img))::before {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }

    body:not(.wp-admin) .main-header-menu {
        gap: 1px;
        flex-wrap: nowrap !important;
    }

    body:not(.wp-admin) .main-header-menu .menu-link {
        height: 42px;
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 13px;
    }

    body:not(.wp-admin) .main-header-menu .current-menu-item > .menu-link::after,
    body:not(.wp-admin) .main-header-menu .current_page_item > .menu-link::after,
    body:not(.wp-admin) .main-header-menu .current_page_parent > .menu-link::after {
        left: 8px;
        right: 8px;
    }

    body:not(.wp-admin) .main-header-menu a[href*="ver-planes"] {
        margin-inline: 5px;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body:not(.wp-admin) .main-header-menu a[href*="mi-cuenta"] {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body:not(.wp-admin) .main-header-menu .oac-cart-menu-link {
        width: 40px;
        min-width: 40px !important;
        height: 40px !important;
        min-height: 40px;
        max-height: 40px;
        margin-left: 4px;
        border-radius: 10px;
    }
}

@media (max-width: 921px) {
    body:not(.wp-admin) .ast-primary-header-bar,
    body:not(.wp-admin) .main-header-bar {
        min-height: 72px;
    }

    body:not(.wp-admin) .ast-primary-header-bar .ast-builder-grid-row,
    body:not(.wp-admin) .main-header-bar .ast-container {
        min-height: 72px !important;
    }

    body:not(.wp-admin) .site-title a,
    body:not(.wp-admin) .site-branding a {
        font-size: 20px;
    }

    body:not(.wp-admin) .main-header-menu .oac-cart-menu-link {
        margin-left: 0;
    }
}

/* ========================================================
   ESTILOS PREMIUM PARA PÁGINAS INFORMATIVAS 
   ======================================================== */

/* Quiénes Somos */
.page-quienes-somos-premium { max-width: 900px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; color: #111827; line-height: 1.6; }
.oac-hero-section { text-align: center; padding: 4rem 2rem; background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); border-radius: 24px; margin-bottom: 4rem; }
.oac-hero-title { font-size: 2.5rem; font-weight: 800; color: #1a1a1a; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.oac-hero-subtitle { font-size: 1.125rem; color: #4b5563; max-width: 700px; margin: 0 auto; }
.oac-content-section { padding: 0 2rem; margin-bottom: 5rem; text-align: center; }
.oac-section-title { font-size: 2rem; font-weight: 700; color: #111827; margin-bottom: 2rem; position: relative; display: inline-block; }
.oac-section-title::after { content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: #3b82f6; border-radius: 2px; }
.oac-text-block p { font-size: 1.125rem; color: #4b5563; max-width: 800px; margin: 0 auto; }
.oac-ecosystem-section { padding: 0 2rem; margin-bottom: 5rem; }
.oac-ecosystem-intro { text-align: center; font-size: 1.125rem; color: #4b5563; margin-bottom: 3rem; }
.oac-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.oac-feature-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 2.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); }
.oac-feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.oac-feature-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.oac-feature-card h3 { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 1rem; }
.oac-feature-card p { color: #4b5563; font-size: 1rem; }
.oac-cta-section { text-align: center; padding: 5rem 2rem; background-color: #1e3a8a; border-radius: 24px; color: #ffffff; margin-bottom: 2rem; }
.oac-cta-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; color: #ffffff; }
.oac-cta-text { font-size: 1.125rem; margin-bottom: 2.5rem; color: #bfdbfe; max-width: 600px; margin-left: auto; margin-right: auto; }
.oac-primary-btn { display: inline-block; background-color: #ffffff; color: #1e3a8a; font-weight: 600; font-size: 1.125rem; padding: 1rem 2.5rem; border-radius: 9999px; text-decoration: none; transition: background-color 0.2s ease, transform 0.2s ease; }
.oac-primary-btn:hover { background-color: #f3f4f6; transform: scale(1.05); }

/* FAQ */
.page-faq-premium { max-width: 800px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; color: #111827; padding: 2rem 1rem 5rem; }
.oac-faq-header { text-align: center; margin-bottom: 4rem; }
.oac-faq-title { font-size: 2.5rem; font-weight: 800; color: #1a1a1a; margin-bottom: 1rem; letter-spacing: -0.02em; }
.oac-faq-subtitle { font-size: 1.125rem; color: #6b7280; }
.oac-faq-section { margin-bottom: 3rem; }
.oac-faq-category { font-size: 1.5rem; font-weight: 700; color: #1e3a8a; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid #e5e7eb; }
.oac-faq-item { background-color: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 1rem; overflow: hidden; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.oac-faq-item:hover { border-color: #d1d5db; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.oac-faq-question { display: flex !important; width: 100% !important; box-sizing: border-box; justify-content: space-between !important; align-items: center; padding: 1.25rem 1.5rem; font-size: 1.125rem; font-weight: 600; color: #111827; cursor: pointer; user-select: none; list-style: none; }
.oac-faq-question::-webkit-details-marker { display: none; }
.oac-faq-icon { display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #9ca3af; font-weight: 400; transition: transform 0.3s ease, color 0.3s ease; flex-shrink: 0; }
details[open] .oac-faq-icon { transform: rotate(180deg); color: #3b82f6; }
details[open] .oac-faq-item { border-color: #3b82f6; }
.oac-faq-answer { padding: 0 1.5rem 1.25rem 1.5rem; color: #4b5563; font-size: 1rem; line-height: 1.6; animation: fadeInDown 0.3s ease-out; }
.oac-faq-answer p { margin: 0; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Contacto */
.page-contacto-premium { max-width: 1000px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; color: #111827; padding: 3rem 1rem 6rem; }
.oac-contacto-header { text-align: center; margin-bottom: 5rem; }
.oac-contacto-title { font-size: 2.5rem; font-weight: 800; color: #1a1a1a; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.oac-contacto-subtitle { font-size: 1.125rem; color: #4b5563; max-width: 700px; margin: 0 auto; line-height: 1.6; }
.oac-contacto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.oac-contacto-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 2.5rem 2rem; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); }
.oac-contacto-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); border-color: #d1d5db; }
.oac-contacto-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.oac-contacto-card h3 { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 1rem; }
.oac-contacto-card p { color: #6b7280; font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.5; }
.oac-contacto-link { display: inline-block; color: #3b82f6; font-weight: 600; text-decoration: none; font-size: 1.125rem; transition: color 0.2s ease; }
.oac-contacto-link:hover { color: #1d4ed8; text-decoration: underline; }
.oac-contacto-text { display: inline-block; color: #1e3a8a; font-weight: 600; font-size: 1.125rem; }
@media (max-width: 768px) { 
    .oac-hero-title, .oac-cta-title, .oac-contacto-title { font-size: 2rem; } 
    .oac-section-title { font-size: 1.75rem; } 
    .oac-hero-section { padding: 3rem 1.5rem; } 
    .oac-cta-section { padding: 4rem 1.5rem; } 
    .page-contacto-premium { padding: 2rem 1rem 4rem; } 
}
/* Políticas y Legal */
.page-legal-premium { max-width: 800px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; color: #374151; padding: 4rem 1.5rem 6rem; line-height: 1.7; font-size: 1.125rem; }
.oac-legal-header { text-align: center; margin-bottom: 4rem; padding-bottom: 2rem; border-bottom: 1px solid #e5e7eb; }
.oac-legal-title { font-size: 2.5rem; font-weight: 800; color: #111827; margin-bottom: 1rem; letter-spacing: -0.02em; }
.oac-legal-date { font-size: 1rem; color: #6b7280; }
.oac-legal-content h2 { font-size: 1.5rem; font-weight: 700; color: #1e3a8a; margin-top: 3rem; margin-bottom: 1rem; padding-bottom: 0.5rem; }
.oac-legal-content p { margin-bottom: 1.5rem; }
@media (max-width: 768px) { .oac-legal-title { font-size: 2rem; } .page-legal-premium { padding: 2rem 1rem 4rem; } }