/* 
===================================================
Ojos.uy - Premium Redesign CSS (Green Palette)
===================================================
*/

:root {
    /* VERDES PREMIUM (Reemplazando los azules, manteniendo el espíritu elegante) */
    --green-deepest: #051A11;   /* Verde casi negro - fondos premium */
    --green-deep:    #0A3022;   /* Verde oscuro - secciones secundarias */
    --green-primary: #125C40;   /* Verde marca - headings, cta */
    --green-mid:     #1F8A62;   /* Verde moderno - hover states, accents */
    --green-surface: #E8F2EE;   /* Verde muy suave - fondos claros */

    /* DORADO — nexo con drcorujo.uy */
    --gold:         #B8922A;    /* Dorado principal */
    --gold-light:   #D4AF37;    /* Dorado iluminado */
    --gold-surface: #F9F5EC;    /* Superficie dorada suave */

    /* TEXTO */
    --text:         #1A2420;    /* Casi negro, tono verdoso */
    --text-muted:   #546B60;    /* Verde grisáceo para subtítulos */
    --text-light:   #8C9E95;

    /* NEUTROS */
    --white:        #FFFFFF;
    --off-white:    #FAFCFB;    /* Fondo principal de página */
    --border:       #D8E3DE;    /* Bordes sutiles */

    /* TIPOGRAFÍA */
    --font-display: 'Josefin Sans', sans-serif;
    --font-body:    'Raleway', sans-serif;

    /* ESCALA TIPOGRÁFICA */
    --text-xs:   0.75rem;   /* 12px */
    --text-sm:   0.875rem;  /* 14px */
    --text-base: 1.0625rem; /* 17px */
    --text-lg:   1.25rem;   /* 20px */
    --text-xl:   1.5rem;    /* 24px */
    --text-2xl:  2.25rem;   /* 36px */
    --text-3xl:  3.5rem;    /* 56px */
    --text-hero: 4.5rem;    /* 72px */

    /* SOMBRAS Y BORDES */
    --shadow-sm:   0 4px 12px rgba(5, 26, 17, 0.05);
    --shadow-md:   0 12px 32px rgba(5, 26, 17, 0.08);
    --shadow-lg:   0 24px 48px rgba(5, 26, 17, 0.12);
    --shadow-gold: 0 12px 32px rgba(184, 146, 42, 0.15);
    --shadow-fab:  0 8px 24px rgba(37, 211, 102, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 100px;

    /* TRANSICIONES */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===================================================
   BASE & RESET
=================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--green-deepest);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); margin-bottom: 1.5rem; }
h3 { font-size: var(--text-xl); font-weight: 600; }

p { margin-bottom: 1.5rem; font-weight: 400; color: var(--text-muted); }
.lead { font-size: var(--text-lg); font-weight: 300; line-height: 1.8; }

a { 
    text-decoration: none; 
    color: var(--green-primary); 
    transition: var(--transition-base); 
}
a:hover { color: var(--green-mid); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===================================================
   UTILITIES
=================================================== */
.container {
    width: 100%;
    max-width: 1320px; /* Wider for premium feel */
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }
.text-gold { color: var(--gold); }

.bg-deep { background-color: var(--green-deepest); color: var(--white); }
.bg-offwhite { background-color: var(--off-white); }
.bg-surface { background-color: var(--green-surface); }

.section { padding: 8rem 0; }

/* ANIMATIONS */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===================================================
   COMPONENTS
=================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-base);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-base);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--green-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn-primary:hover {
    background-color: var(--green-deep);
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(184, 146, 42, 0.25);
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background-color: var(--gold-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(184, 146, 42, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--green-deepest);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    background: var(--green-surface);
}

/* Decorators */
.eyebrow {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

/* ===================================================
   NAVBAR (Glassmorphism Premium)
=================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-base);
    padding: 1.5rem 0;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(250, 252, 251, 0.85); /* off-white glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(18, 92, 64, 0.05);
    box-shadow: var(--shadow-sm);
}

.navbar-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand img {
    height: 64px; /* Agrandado según feedback */
    width: auto;
    transition: var(--transition-base);
}

.navbar.scrolled .nav-brand img {
    height: 52px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-deepest);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: var(--green-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--green-deepest);
    cursor: pointer;
}

/* ===================================================
   HERO SECTION (Split Layout)
=================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--off-white);
    padding: 8rem 0 4rem;
    overflow: hidden;
    /* Subtle dot pattern to remove the "flat" feeling */
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Sophisticated background blob */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 92, 64, 0.05) 0%, rgba(250, 252, 251, 0) 70%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    color: var(--green-deepest);
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--green-primary);
    position: relative;
    display: inline-block;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--gold-surface);
    z-index: -1;
    transform-origin: left;
    animation: scaleX 1s 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform: scaleX(0);
}

@keyframes scaleX {
    to { transform: scaleX(1); }
}

.hero-content .subtitle {
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.trust-badge-number {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
}

.trust-badge-text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Image Composition - Premium overlapping look */
.hero-image-composition {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 85%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    animation: float 12s ease-in-out infinite;
}

.image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-main:hover img {
    transform: scale(1.05);
}

.image-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 60%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    z-index: 2;
    border: 6px solid var(--off-white);
    animation: float 10s ease-in-out infinite reverse;
}

.image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shape-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--gold);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

/* Floating element over image */
.glass-card {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    animation: fadeUp 1s 1s forwards;
    opacity: 0;
    z-index: 3;
}

.glass-card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--gold-surface);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card-text p {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--green-deepest);
    font-size: var(--text-base);
}

.glass-card-text span {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===================================================
   FAB (WhatsApp Button)
=================================================== */
.fab-whatsapp {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: white;
    border: 2px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-fab);
    z-index: 9999;
    transition: var(--transition-base);
}

.fab-whatsapp:hover {
    transform: translateY(-6px) scale(1.05);
    background-color: var(--off-white);
    color: #25D366;
    border-color: var(--gold);
    box-shadow: 0 16px 32px rgba(184, 146, 42, 0.4);
}

.fab-whatsapp svg {
    width: 32px;
    height: 32px;
}

/* ===================================================
   SERVICES SECTION
=================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background-color: var(--green-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card.highlight::before {
    background-color: var(--gold);
    transform: scaleY(1);
    width: 6px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--green-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.service-card.highlight .service-icon {
    background: var(--gold-surface);
    color: var(--gold);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
}

/* ===================================================
   CATARACT SECTION (Specialized)
=================================================== */
.cataract-section {
    padding: 8rem 0;
}

.cataract-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.cataract-list {
    margin-top: 2.5rem;
}

.cataract-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.cataract-list li .gold-diamond {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 2px;
}

.process-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.process-card h3 {
    color: var(--white);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0.8;
}

.process-step-text {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--white);
}

/* ===================================================
   TEAM SECTION
=================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-img-wrapper {
    width: 100%;
    height: 380px;
    background-color: var(--green-surface);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-img-wrapper img {
    height: 90%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-info {
    padding: 2.5rem;
}

.team-role {
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.team-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.team-badge {
    background: var(--green-surface);
    color: var(--green-deepest);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
}

/* ===================================================
   TECHNOLOGY SECTION
=================================================== */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-list {
    margin-top: 2rem;
}

.tech-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.tech-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--gold);
}

.tech-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--green-surface);
    color: var(--green-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.tech-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================================================
   TESTIMONIALS
=================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
}

.stars {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-display);
}

.author-info p {
    margin: 0;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ===================================================
   LOCATIONS & FOOTER
=================================================== */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.location-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.location-item:last-child {
    border-bottom: none;
}

.location-icon {
    color: var(--gold);
    margin-top: 4px;
}

.location-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.location-item p {
    margin: 0;
    font-size: 0.95rem;
}

.footer {
    background-color: #030D08;
    color: rgba(255, 255, 255, 0.6);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1200px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .eyebrow {
        justify-content: center;
    }
    .eyebrow::before {
        display: none;
    }
    
    .hero-content h1 .highlight::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
    }
    
    .hero-buttons, .trust-badges {
        justify-content: center;
    }
    
    .hero-image-composition {
        max-width: 800px;
        margin: 0 auto;
        height: 500px;
    }
    
    .glass-card {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --text-hero: 3rem; /* 48px */
        --text-3xl: 2.5rem;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .nav-brand img {
        height: 48px; /* Size on mobile */
    }
    
    .navbar.scrolled .nav-brand img {
        height: 40px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .trust-badges {
        gap: 1.5rem;
    }
    
    .hero-image-composition {
        height: 400px;
    }
    
    .glass-card {
        display: none;
    }
    
    .fab-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
}

/* ===================================================
   READING PROGRESS BAR
=================================================== */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ===================================================
   URGENCY CHIP
=================================================== */
.urgency-chip {
    display: inline-block;
    font-size: var(--text-sm);
    color: var(--green-mid);
    font-weight: 600;
    margin-top: 0.6rem;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* ===================================================
   SCROLL ANIMATION FIX (requires .is-visible)
=================================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   MOBILE MENU OPEN STATE
=================================================== */
@media (max-width: 768px) {
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(250, 252, 251, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        align-items: center;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--border);
        z-index: 999;
        animation: slideDown 0.3s ease;
    }
    .nav-cta.mobile-open {
        display: inline-flex;
        position: fixed;
        top: calc(80px + 2rem + 6 * 2.5rem);
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-12px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* ===================================================
   FAQ SECTION
=================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    border-color: var(--gold);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-deepest);
    cursor: pointer;
    list-style: none;
    gap: 1rem;
    user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--green-surface);
    color: var(--green-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
    transition: var(--transition-fast);
}

.faq-item[open] .faq-icon {
    background: var(--gold);
    color: var(--white);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   DIAGNOSTIC TECHNOLOGY CARDS
=================================================== */
.diag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.diag-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    position: relative;
    transition: var(--transition-base);
    overflow: hidden;
}

.diag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition-fast);
}

.diag-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(184, 146, 42, 0.3);
    transform: translateY(-4px);
}

.diag-card:hover::before {
    opacity: 1;
}

.diag-card-wide {
    grid-column: span 2;
}

.diag-card-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.diag-card-icon {
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.diag-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.diag-card-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
}

.diag-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.diag-link:hover {
    color: var(--gold-light);
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .diag-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .diag-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .diag-grid {
        grid-template-columns: 1fr;
    }
    .diag-card-wide {
        grid-column: span 1;
    }
}

/* ===================================================
   HABLEMOS SECTION
=================================================== */
.hablemos-section {
    background: var(--green-deepest);
    position: relative;
}

.hablemos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(18, 92, 64, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.hablemos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hablemos-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hablemos-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.hablemos-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.hablemos-label {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-display);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.hablemos-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

a.hablemos-value:hover {
    color: var(--gold-light);
}

.hablemos-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2.5rem;
}

.hablemos-logo {
    height: 100px;
    filter: brightness(0) invert(1);
    opacity: 0.15;
}

.hablemos-quote {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: left;
}

.hablemos-quote p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1rem;
}

.hablemos-quote span {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hablemos-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hablemos-visual {
        order: -1;
    }
    .hablemos-logo {
        height: 70px;
    }
}

/* ===================================================
   FOOTER MINIMAL
=================================================== */
.footer-minimal {
    background: #020D07;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-minimal-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.footer-minimal-brand p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.footer-minimal-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-minimal-nav a {
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.footer-minimal-nav a:hover {
    color: var(--gold);
}

.footer-minimal-sedes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer-minimal-sedes span {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.footer-minimal-sedes a {
    color: var(--gold);
    font-size: 0.85rem;
    text-decoration: none;
    font-family: var(--font-display);
    transition: var(--transition-fast);
}

.footer-minimal-sedes a:hover {
    color: var(--gold-light);
}

.footer-minimal-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-minimal-bottom p {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.18) !important;
    font-size: 0.72rem !important;
    max-width: 700px;
    margin: 0 auto !important;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer-minimal-grid {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-minimal-sedes {
        text-align: left;
    }
    .footer-minimal-nav {
        gap: 1rem;
    }
}


