@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --elite-navy: #0a192f;
    --elite-gold: #725a2f;
    --elite-white: #F0EEE9;
    --elite-text: #1e293b;
    --elite-accent: #0ea5e9;
    --elite-gray: #f8fafc;
    --azul-oscuro: #0a192f;
    --azul-primary: #0ea5e9;
    --azul-claro: #f0f9ff;
    --gris-claro: #f1f5f9;
    --border-soft: 1px solid rgba(139, 110, 59, 0.15);
    --shadow-elite: 0 20px 40px rgba(0, 0, 0, 0.03);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --pillar-cure: #0a192f;
    --pillar-prevent: #0ea5e9;
    --pillar-optimize: #725a2f;
    /* Updated to match --elite-gold */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --safe-margin: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-shadow-elite {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.badge-elite {
    background: var(--elite-gold);
    color: white;
    padding: 4px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    display: inline-flex;
    align-items: center;
}

.side-label-safe {
    padding: 0 var(--safe-margin);
}



.hero-title {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    color: #E0E0E0;
    font-weight: 800;
    text-transform: uppercase;
}

.authority-quote {
    color: var(--elite-navy);
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 25px;
    font-style: italic;
    font-weight: 400;
}

.pillar-label.accessible-gold {
    color: var(--elite-gold-dark) !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-body) !important;
    background: var(--elite-white);
    color: var(--elite-text);
    line-height: 1.8;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0;
}

.section {
    padding: 100px 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--elite-navy);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
}

.bar {
    width: 40px;
    height: 2px;
    background: var(--elite-gold);
    margin: 0 auto 40px;
}

.top-bar {
    background: var(--elite-navy);
    color: white;
    text-align: center;
    padding: 5px 15px;
    font-weight: 700;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    font-size: 13px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

header {
    position: fixed;
    top: 28px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    height: 90px;
    display: flex;
    align-items: center;
    border-bottom: var(--border-soft);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-final {
    height: 60px;
    width: auto;
    object-fit: contain !important;
}

img {
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--azul-oscuro);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 0.65rem;
    color: var(--azul-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-menu a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--elite-navy);
    position: relative;
    padding: 5px 0;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--elite-gold);
    transition: var(--transition-smooth);
}

.desktop-menu a:hover::after,
.desktop-menu a.active-link::after {
    width: 100%;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--azul-oscuro);
    margin-left: auto;
}

.mobile-menu-overlay {
    position: fixed;
    top: 108px;
    left: 0;
    width: 100%;
    height: calc(100vh - 108px);
    background: white;
    z-index: 999;
    display: none;
    flex-direction: column;
    padding-top: 20px;
}

.mobile-menu-overlay.show-menu {
    display: flex;
}

.mobile-menu-overlay a {
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    color: var(--azul-oscuro);
    border-bottom: 1px solid var(--gris-claro);
}

.mobile-menu-overlay a:hover,
.mobile-menu-overlay a:active {
    background-color: var(--azul-claro);
    color: var(--azul-primary);
    transform: translateX(10px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #002147 !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.15);
    transition: var(--transition-smooth);
    position: relative;
    min-width: 44px;
    min-height: 44px;
    text-decoration: none;
}

.btn-primary::after {
    content: "";
    background: rgba(255, 255, 255, 0.4);
    width: 60px;
    height: 100%;
    position: absolute;
    top: 0;
    left: -100px;
    transform: skewX(-45deg);
    transition: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover::after {
    left: 110%;
}

.btn-outline {
    background: white !important;
    color: var(--azul-navy) !important;
    border: 2px solid var(--azul-navy) !important;
}

.btn-nav {
    width: 140px;
    height: 40px;
    font-size: 13px;
    margin-left: 10px;
}

.hero-background {
    background-color: #002147;
    margin-top: 108px;
    min-height: 60vh;
    padding: 80px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 85% top;
    z-index: 0;
}

.pixel-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.hero-content {
    max-width: 580px;
    z-index: 10;
    text-align: left;
    padding: 0 20px;
    margin-right: auto;
    position: relative;
}

.hero-content h1 {
    color: white;
    font-size: clamp(22px, 7vw, 56px);
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 25px;
    line-height: 1.1;
    word-wrap: break-word;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
}





.pillar-icon-v2 {
    width: 45px;
    height: 45px;
    margin-bottom: 25px;
    fill: var(--elite-gold);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--borde);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--azul-primary);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    font-size: 22px;
    color: var(--azul-oscuro);
    margin-bottom: 15px;
    font-weight: 700;
}

.card p {
    color: var(--gris-texto);
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-card {
    font-style: italic;
    background: var(--gris-claro);
}

.stars {
    color: #f59e0b;
    font-size: 20px;
    margin-bottom: 10px;
}

.author {
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-top: 15px;
    font-style: normal;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-map-container {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

footer {
    background: var(--azul-oscuro);
    color: #cbd5e1;
    padding: 40px 0;
    text-align: center;
}

.social-circle {
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-circle svg {
    width: 22px;
    height: 22px;
}

.footer-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.disclaimer-text {
    font-size: 13px;
    color: #94a3b8;
    max-width: 900px;
    margin: 0 auto 20px;
    font-style: italic;
}

#modalCita {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#modalCita.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    border: none;
    background: none;
    color: #94a3b8;
}

.form-input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gris-claro);
    border-radius: 12px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 15px;
}

.form-input:focus {
    border-color: var(--azul-primary);
    outline: none;
}

.float-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 2100;
}

.float-btn {
    width: auto;
    height: 60px;
    padding: 0 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.float-btn::after {
    content: "";
    background: rgba(255, 255, 255, 0.4);
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0;
    left: -80px;
    transform: skewX(-45deg);
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.float-btn:hover::after {
    left: 120%;
}

.float-icon {
    font-size: 24px;
    position: relative;
    z-index: 2;
}

.float-label {
    position: relative;
    z-index: 2;
}

.float-btn:hover {
    transform: scale(1.05) translateY(-5px);
}

.float-ph {
    background: var(--azul-primary);
}

.float-wa {
    background: #25d366;
}

.trajectory-section {
    padding: 120px 0;
    background: var(--elite-white);
}

.trajectory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-card {
    background: white;
    padding: 30px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border-top: 4px solid transparent;
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pillar-card .btn-primary {
    margin-top: auto;
    align-self: center;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.pillar-card.cure {
    border-top-color: var(--pillar-cure);
}

.pillar-card.prevent {
    border-top-color: var(--pillar-prevent);
}

.pillar-card.optimize {
    border-top-color: var(--pillar-optimize);
}

.pillar-icon {
    font-size: 40px;
    margin-bottom: 25px;
    display: block;
}

.pillar-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--elite-gold);
    display: block;
    margin-bottom: 10px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--elite-navy);
}

.pillar-card p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
}

/* Elite Hover Effects */
.elite-card-hover {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.elite-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(114, 90, 47, 0.15) !important;
}

/* Elite Impact Section Cards */
.elite-impact-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-elite);
    border: 1px solid rgba(114, 90, 47, 0.3);
    /* The requested "frame" */
    border-top: 5px solid var(--elite-gold);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    /* Removed the 1px full border to restore the clean look */
}

.elite-impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(114, 90, 47, 0.25) !important;
    /* Enhanced gold glow */
}

@media (max-width: 900px) {
    .trajectory-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.lazy-img-container {
    background: #f1f5f9;
    min-height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .desktop-menu {
        display: none;
    }

    .hamburger-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    header {
        top: 24px;
        height: 70px;
    }

    .top-bar {
        height: 24px;
        font-size: 11px;
    }

    .hero-background {
        height: 65vh;
        margin-top: 94px;
    }

    .hero-img {
        object-position: center top;
    }

    .hero-content {
        text-align: center;
        margin-right: 0;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-buttons {
        justify-content: center;
    }
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(20px, 8vw, 32px);
    margin-bottom: 20px;
}

.nav-container {
    padding: 0 15px;
}

.logo-final {
    height: 45px;
}

.contact-grid {
    grid-template-columns: 1fr;
}

.hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.btn-primary {
    width: 100%;
    max-width: 320px;
    font-size: 20px;
}

.float-container {
    display: flex;
}

.float-label {
    display: none;
}

.float-btn {
    width: 55px;
    height: 55px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
}

.video-container {
    margin: 40px auto;
    max-width: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: black;
    line-height: 0;
}

.mundo-animacion {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}

@media (min-width: 1024px) {
    .hero-background {
        background-color: #d8e2e3;
        background-image: url('images/doctora-clinica-hispana-houston.png');
        background-attachment: fixed;
        background-position: 98% 120px;
        background-size: auto 75%;
        background-repeat: no-repeat;
        height: 80vh;
        min-height: 600px;
    }

    .hero-content {
        margin-left: 5%;
        padding-top: 0px;
    }

    .hero-img {
        display: none;
    }
}

.article-master {
    margin-top: 118px;
    background: var(--elite-white);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.article-header-premium {
    background: var(--elite-navy);
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-header-premium h1 {
    font-family: var(--font-heading);
    color: white;
    font-size: clamp(28px, 5vw, 56px);
    font-style: italic;
    font-weight: 700;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.1;
}

.article-meta-elite {
    margin-top: 25px;
    color: var(--elite-gold);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.article-main-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    max-width: 1300px;
    margin: -40px auto 100px;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.article-content-card {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: var(--border-soft);
}

.article-featured-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.article-body-text {
    font-size: 19px;
    line-height: 1.9;
    color: #334155;
}

.article-body-text h2 {
    font-family: var(--font-heading);
    color: var(--elite-navy);
    font-size: 28px;
    margin: 50px 0 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.article-body-text p {
    margin-bottom: 25px;
}

.article-sidebar {
    position: sticky;
    top: 130px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 30px;
    border: var(--border-soft);
    box-shadow: var(--shadow-elite);
}

.sidebar-widget h4 {
    font-family: var(--font-heading);
    color: var(--elite-navy);
    font-size: 20px;
    margin-bottom: 20px;
}

.site-footer {
    background: var(--elite-navy);
    color: #94a3b8;
    padding: 100px 0 40px;
    font-size: 15px;
}

.site-footer a {
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.site-footer a:hover {
    color: var(--elite-gold);
}

.footer-grid-elite {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto 60px;
    padding: 0 40px;
    text-align: left;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 25px;
    font-style: italic;
}

.footer-bottom-elite {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #e2e8f0;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 1024px) {
    .article-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .article-content-card {
        padding: 30px;
    }

    .article-sidebar {
        display: none;
    }
}

.editorial-profile-wrap {
    max-width: 850px;
    margin: 40px auto 100px;
    padding: 0 30px;
}

.author-editorial-header {
    text-align: center;
    margin-bottom: 60px;
}

.author-editorial-title {
    font-family: var(--font-heading);
    color: var(--elite-navy);
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-align: center;
    font-weight: 800;
}

.author-editorial-subtitle {
    font-family: var(--font-body);
    color: var(--elite-gold);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-align: center;
    display: block;
}

.editorial-featured-img {
    width: 100%;
    margin-bottom: 50px;
    text-align: center;
}

.editorial-featured-img img {
    max-width: 400px;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.clinical-caption {
    font-family: var(--font-body);
    font-size: 12px;
    color: #94a3b8;
    margin-top: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.editorial-body-text {
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.9;
    color: #334155;
    text-align: justify;
}

.editorial-body-text p {
    margin-bottom: 30px;
}

.editorial-pullquote {
    margin: 60px 0;
    padding: 40px;
    border-top: 1px solid rgba(156, 124, 66, 0.2);
    border-bottom: 1px solid rgba(156, 124, 66, 0.2);
    text-align: center;
}

.editorial-pullquote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    color: var(--elite-navy);
    line-height: 1.4;
    font-style: italic;
    font-weight: 700;
}

.editorial-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
}

.editorial-tag {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    transition: var(--transition-smooth);
}

.editorial-tag:hover {
    border-color: var(--elite-gold);
    color: var(--elite-gold);
}

.editorial-authority-footer {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    background: #F0EEE9;
    /* Updated to match --elite-white */
    padding: 60px 40px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .editorial-profile-wrap {
        margin: 60px auto;
        padding: 0 20px;
    }

    .editorial-body-text {
        text-align: left;
    }
}

.profile-master-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
}

.author-profile-grid {
    display: flex;
    gap: 0;
    align-items: flex-start;
    margin-top: 50px;
}

.author-image-side {
    flex: 0 0 380px;
    margin-right: 40px;
}

.profile-portrait {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: block;
}

.author-content-side {
    flex: 1;
}

.author-profile-title {
    font-family: var(--font-heading);
    color: var(--elite-navy);
    font-size: clamp(32px, 4vw, 42px);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.author-section-subtitle {
    font-family: var(--font-heading);
    color: var(--elite-navy);
    font-size: 28px;
    text-align: center;
    margin: 50px 0 30px;
    font-style: italic;
}

.author-bio-block {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
    text-align: left;
}

.author-bio-block p {
    margin-bottom: 20px;
}

.specialties-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.specialty-elite-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(156, 124, 66, 0.2);
    text-align: center;
    font-weight: 700;
    color: var(--elite-navy);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.specialty-elite-card:hover {
    border-color: var(--elite-gold);
    box-shadow: 0 10px 25px rgba(156, 124, 66, 0.1);
    transform: translateY(-5px);
}

@media (max-width: 900px) {
    .author-profile-grid {
        flex-direction: column;
        align-items: center;
    }

    .author-image-side {
        margin-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
        flex: 0 0 auto;
    }

    .profile-master-wrap {
        padding: 0 20px;
    }
}

/* Elite WhatsApp Button */
.whatsapp-btn-elite {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.whatsapp-btn-elite:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    border-color: var(--elite-gold);
}

.whatsapp-btn-elite svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .whatsapp-btn-elite {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Sage Green Hero - Salud Mujer Elite */
.hero-sage-elite {
    background-color: #2F4F4F;
    /* Deep Sage / Dark Slate Gray */
    padding: 160px 0 100px;
    /* Top padding reduced to tighten space with nav */
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-sage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-sage-text h1 {
    font-family: var(--font-heading);
    color: white;
    /* Ensure white text */
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 400;
    /* Refined elegance */
}

.hero-sage-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
}

.organic-mask-img {
    width: 100%;
    max-width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* Organic blob shape */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: morph 8s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

.btn-sage-light {
    background: #E8E3D9;
    /* Sand/Beige */
    color: #2F4F4F;
    padding: 15px 35px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-sage-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.btn-sage-border {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.btn-sage-border:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .hero-sage-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10px;
        gap: 40px;
    }

    .hero-sage-text p,
    .hero-sage-text h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .organic-mask-img {
        max-width: 350px;
        height: 350px;
    }
}

/* =========================================
   VITALITY & ANIMATION EFFECTS
   ========================================= */

/* 1. Scroll Reveal Animations */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* 2. Elite Card Hover (Vitality Lift) */
.elite-card-hover {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform, box-shadow;
}

.elite-card-hover:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(114, 90, 47, 0.15);
    /* Gold tinted shadow */
    border-color: rgba(114, 90, 47, 0.3);
    z-index: 10;
    background: white;
}

/* 3. Golden Pulse for CTA Buttons */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(114, 90, 47, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(114, 90, 47, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(114, 90, 47, 0);
    }
}

.pulse-gold {
    animation: pulse-gold 2s infinite;
}

/* 4. Soft Float Animation */
@keyframes float-vitality {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-vitality {
    animation: float-vitality 3s ease-in-out infinite;
}

/* 5. Pillar Card Standardization */
.pillar-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--elite-gold);
    /* The "Carmelita" Border */
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 6. Page-Specific Overrides */
.hero-tight-spacing {
    padding-top: 60px !important;
}

.hero-tight-spacing .hero-sage-grid {
    align-items: start !important;
}