/* ======= DR. LUIS ALBERTO ARBOINE AGUIRRE — Cardiólogo Intervencionista ======= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #00659d;
    --primary-light: #0080c4;
    --primary-dark: #004a73;
    --accent: #009e83;
    --accent-soft: #00c4a3;
    --accent-glow: rgba(0, 158, 131, 0.15);
    --bg-light: #EFF6F9;
    --bg-white: #FFFFFF;
    --text-dark: #1A2B3C;
    --text-body: #4A5568;
    --text-light: #7A8FA0;
    --shadow-sm: 0 2px 8px rgba(0, 101, 157, 0.06);
    --shadow-md: 0 4px 24px rgba(0, 101, 157, 0.10);
    --shadow-lg: 0 12px 48px rgba(0, 101, 157, 0.14);
    --radius: 14px;
    --radius-lg: 22px;
}

.dark-theme {
    --primary: #a0d8ef;
    --primary-light: #0080c4;
    --primary-dark: #004a73;
    --accent: #00c4a3;
    --accent-soft: #009e83;
    --accent-glow: rgba(0, 196, 163, 0.15);
    --bg-light: #08111a;
    --bg-white: #050a0f;
    --text-dark: #f8fafc;
    --text-body: #cbd5e1;
    --text-light: #94a3b8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.6);
}

/* === RESET === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.2;
    margin: 0 0 0.5em;
}

p {
    color: var(--text-body);
    margin: 0 0 1em;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === SCROLL REVEAL === */
.dr-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dr-reveal.dr-animate {
    opacity: 1;
    transform: translateY(0);
}

.js-ready .dr-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.js-ready .dr-reveal.dr-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(27, 42, 74, 0.1);
    box-shadow: 0 2px 12px rgba(27, 42, 74, 0.07);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Estado compacto al hacer scroll */
.site-navbar.scrolled {
    box-shadow: 0 4px 24px rgba(27, 42, 74, 0.12);
}

.site-navbar.scrolled .nav-inner {
    padding-top: 8px;
    padding-bottom: 8px;
}

.site-navbar.scrolled .nav-logo img {
    height: 46px;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 20px;
    transition: padding 0.3s ease;
}

/* Logo — más grande */
.nav-logo img {
    height: 65px;
    width: auto;
    transition: height 0.3s ease;
    filter: brightness(1.1);
}

/* Links centrales */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

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

/* Lado derecho: teléfono + botón WhatsApp */
.nav-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-phone:hover {
    color: var(--accent);
}

/* CTA azul con animación de latido */
@keyframes navHeartbeat {

    0%,
    100% {
        box-shadow: 0 4px 14px rgba(74, 140, 255, 0.25);
        transform: scale(1);
    }

    15% {
        box-shadow: 0 6px 24px rgba(74, 140, 255, 0.55);
        transform: scale(1.06);
    }

    30% {
        box-shadow: 0 4px 16px rgba(74, 140, 255, 0.30);
        transform: scale(1.01);
    }

    45% {
        box-shadow: 0 6px 20px rgba(74, 140, 255, 0.45);
        transform: scale(1.04);
    }

    60% {
        box-shadow: 0 4px 14px rgba(74, 140, 255, 0.25);
        transform: scale(1);
    }
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    animation: navHeartbeat 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    transition: transform 0.2s;
}

.nav-cta:hover {
    animation: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 26px rgba(74, 140, 255, 0.5);
    color: #fff !important;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 8px;
    flex-shrink: 0;
}

/* ============================================================
   SECTION 1: HERO — STRUCTURAL HUD
   ============================================================ */
/* ============================================================
   SECTION 1: HERO — PATIENT HEART FOCUS
   ============================================================ */
.hero-patient {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(ellipse at 50% 50%, #031a20 0%, #021218 40%, #010a10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px;
}

/* HEART BACKGROUND ANIMATIONS (ANATOMICAL) */
.anatomical-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    opacity: 0.35;
}

.anatomical-heart {
    width: 60vw;
    height: 60vw;
    max-width: 650px;
    max-height: 650px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 15px rgba(0, 158, 131, 0.4));
    animation: anatomicalBeat 1.8s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

@media (max-width: 768px) {
    .anatomical-heart {
        width: 140vw;
        height: 140vw;
        max-width: 800px;
        max-height: 800px;
    }
}

.anatomical-heart path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 0;
    animation: dashPulse 10s linear infinite;
}

.heart-glow {
    filter: drop-shadow(0 0 8px rgba(0, 200, 163, 0.6));
}

.internal-vein {
    stroke: rgba(0, 158, 131, 0.4);
    stroke-width: 2px;
}

@keyframes anatomicalBeat {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    15% {
        transform: scale(1.03);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(0, 158, 131, 0.7));
    }
    30% {
        transform: scale(0.99);
        opacity: 0.85;
    }
    45% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

@keyframes dashPulse {
    0% { stroke-dashoffset: 2000; }
    100% { stroke-dashoffset: 0; }
}

/* BLOOD FLOW CELLS INSIDE HEART */
.blood-flow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 650px;
    max-height: 650px;
}

.cell {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(0, 200, 163, 0.9) 0%, rgba(0, 158, 131, 0.75) 40%, rgba(0, 100, 80, 0.6) 100%);
    border-radius: 45% 55% 42% 58% / 55% 45% 58% 42%;
    box-shadow: inset -1px -1px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 158, 131, 0.6), 0 0 20px rgba(0, 130, 110, 0.2);
    border: 1px solid rgba(0, 200, 163, 0.2);
    opacity: 0.8;
}

.cell::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    right: 25%;
    bottom: 25%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 40, 35, 0.45) 0%, transparent 60%);
}

.cell-in {
    animation-name: flowInRight;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
    /* Sangre Desoxigenada (Venas) - Azul Médico */
    background: radial-gradient(circle at 30% 30%, rgba(0, 123, 255, 0.9) 0%, rgba(0, 80, 180, 0.8) 40%, rgba(0, 40, 100, 0.6) 100%);
    box-shadow: inset -1px -1px 4px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 123, 255, 0.6), 0 0 25px rgba(0, 80, 180, 0.2);
    border-color: rgba(0, 123, 255, 0.3);
}

.cell-out {
    animation-name: flowOutLeft;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
    /* Sangre Oxigenada (Arterias) - Rojo Rubí Elegante */
    background: radial-gradient(circle at 30% 30%, rgba(220, 53, 69, 0.9) 0%, rgba(180, 30, 45, 0.8) 40%, rgba(100, 15, 20, 0.6) 100%);
    box-shadow: inset -1px -1px 4px rgba(0, 0, 0, 0.5), 0 0 15px rgba(220, 53, 69, 0.6), 0 0 25px rgba(180, 30, 45, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
}

/* Entrada: Vena Cava -> Aurícula -> Ventrículo -> Arteria Pulmonar */
@keyframes flowInRight {
    0% { top: 5%; left: 38%; opacity: 0; transform: scale(0.5); }
    10% { opacity: 0.8; transform: scale(1); }
    30% { top: 35%; left: 35%; } /* Aurícula */
    50% { top: 60%; left: 38%; } /* Ventrículo abajo */
    70% { top: 40%; left: 60%; } /* Subiendo */
    90% { top: 25%; left: 80%; opacity: 0.8; } /* Arteria Pulmonar */
    100% { top: 15%; left: 85%; opacity: 0; transform: scale(0.5); }
}

/* Salida: Venas Pulmonares -> Aurícula Izquierda -> Ventrículo Izquierdo -> Aorta */
@keyframes flowOutLeft {
    0% { top: 40%; left: 80%; opacity: 0; transform: scale(0.5); } /* Entrando desde pulmones */
    10% { opacity: 0.9; transform: scale(1.1); }
    35% { top: 60%; left: 65%; } /* Aurícula/Ventrículo superior */
    55% { top: 85%; left: 52%; } /* Ventrículo abajo */
    75% { top: 40%; left: 55%; } /* Subiendo fuerte a la Aorta */
    90% { top: 10%; left: 55%; opacity: 0.9; } /* Aorta */
    100% { top: -5%; left: 55%; opacity: 0; transform: scale(0.5); }
}

/* ECG LINE PATIENT */
.ecg-patient-line {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 2;
    opacity: 0.4;
    filter: drop-shadow(0 0 8px rgba(0, 158, 131, 0.5));
}

.ecg-patient-line svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ecg-patient-line path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    animation: ecgPatientDraw 3s linear infinite;
}

@keyframes ecgPatientDraw {
    0% { stroke-dashoffset: 2400; }
    100% { stroke-dashoffset: 0; }
}

.ecg-patient-scanner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, var(--accent));
    box-shadow: 10px 0 30px var(--accent);
    animation: patientScanLine 3s linear infinite;
    z-index: 3;
}

@keyframes patientScanLine {
    0% { left: 0%; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* HERO TEXT & BADGES */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

.patient-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0 40px;
}

.hero-badge {
    background: rgba(0, 30, 45, 0.7);
    border: 1px solid rgba(0, 158, 131, 0.4);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0f7fa;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 158, 131, 0.4);
    transform: translateY(-2px);
    background: rgba(0, 40, 60, 0.9);
}

.hero-badge svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.patient-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff !important;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 158, 131, 0.5);
    border: 2px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.patient-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 158, 131, 0.7);
    border-color: rgba(255,255,255,0.4);
}

.patient-cta svg {
    width: 22px;
    height: 22px;
}

.hero-title {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    margin-bottom: 12px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3), 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(0.95rem, 1.8vw, 1.2rem) !important;
    color: rgba(180, 230, 240, 0.8) !important;
    -webkit-text-fill-color: rgba(180, 230, 240, 0.8) !important;
    font-weight: 300 !important;
    margin-bottom: 45px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6) !important;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 158, 131, 0.9), rgba(0, 101, 157, 0.95));
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 158, 131, 0.3), 0 0 50px rgba(0, 158, 131, 0.1);
    border: 1px solid rgba(0, 200, 163, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    animation: ctaPulse 1.8s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(0, 158, 131, 0.2), 0 0 40px rgba(0, 158, 131, 0.05);
    }

    15% {
        box-shadow: 0 8px 40px rgba(0, 158, 131, 0.5), 0 0 80px rgba(0, 158, 131, 0.2);
    }

    45% {
        box-shadow: 0 8px 35px rgba(0, 158, 131, 0.4), 0 0 60px rgba(0, 158, 131, 0.15);
    }
}

@keyframes ctaPulseBlue {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(0, 101, 157, 0.3), 0 0 50px rgba(0, 101, 157, 0.1);
    }

    50% {
        box-shadow: 0 8px 40px rgba(0, 101, 157, 0.5), 0 0 60px rgba(0, 101, 157, 0.2);
    }
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 50px rgba(0, 158, 131, 0.5), 0 0 100px rgba(0, 158, 131, 0.2);
    color: #FFFFFF;
    background: linear-gradient(135deg, rgba(0, 180, 150, 0.95), rgba(0, 120, 170, 1));
}

.hero-cta svg {
    width: 22px;
    height: 22px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(0, 158, 131, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    20% {
        opacity: 0.25;
    }

    80% {
        opacity: 0.25;
    }

    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

/* === WAVE DIVIDER === */
.wave-divider {
    position: relative;
    margin-top: -2px;
    line-height: 0;
    z-index: 10;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ============================================================
   SECTION 2: AUTHORITY
   ============================================================ */
.authority-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.authority-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.authority-photo-wrapper {
    position: relative;
}

.authority-photo {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.authority-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

.authority-badge svg {
    width: 18px;
    height: 18px;
}

.authority-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 8px;
}

.authority-specialty {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: block;
}

.authority-text {
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.cedulas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.cedula-item {
    background: var(--bg-light);
    padding: 14px 16px;
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

.cedula-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cedula-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

/* ── Trust Badges ── */
.trust-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    border: 1px solid rgba(27, 42, 74, 0.09);
    border-radius: 12px;
    padding: 10px 14px;
    text-decoration: none;
    flex: 1;
    min-width: 130px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}

.trust-badge-num {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.trust-badge-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 2px;
}

.trust-badge-stars span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-light);
    margin-left: 3px;
}

.trust-badge-sub {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 2px;
}


.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

/* ============================================================
   SECTION 3: PRESS
   ============================================================ */
.press-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.section-center {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 40px;
}

.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

a.press-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

a.press-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

a.press-card img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: top;
    transition: transform 0.5s ease;
}

a.press-card:hover img {
    transform: scale(1.03);
}

.press-card-body {
    padding: 20px 24px;
}

.press-card-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.press-card-source svg {
    width: 14px;
    height: 14px;
}

.press-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.press-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 10px;
    transition: gap 0.3s ease;
}

a.press-card:hover .press-card-readmore {
    gap: 10px;
}

/* ============================================================
   SECTION 4: EXPERIENCE + MASONRY GALLERY
   ============================================================ */
.experience-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.experience-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.exp-category {
    margin-bottom: 0;
}

.exp-category-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-bottom: 1px solid rgba(27, 42, 74, 0.1);
    transition: all 0.3s ease;
    user-select: none;
}

.exp-category-title:hover {
    color: var(--accent);
}

.exp-category-title svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.exp-chevron {
    margin-left: auto;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--accent);
}

.exp-category.active .exp-chevron {
    transform: rotate(180deg);
}

.exp-list-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.exp-category.active .exp-list-wrapper {
    max-height: 800px;
}

.exp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exp-list li {
    padding: 10px 0 10px 18px;
    border-bottom: 1px solid rgba(27, 42, 74, 0.06);
    font-size: 0.92rem;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.exp-category.active .exp-list li {
    opacity: 1;
    transform: translateX(0);
}

.exp-list li:nth-child(1) {
    transition-delay: 0.05s;
}

.exp-list li:nth-child(2) {
    transition-delay: 0.1s;
}

.exp-list li:nth-child(3) {
    transition-delay: 0.15s;
}

.exp-list li:nth-child(4) {
    transition-delay: 0.2s;
}

.exp-list li:nth-child(5) {
    transition-delay: 0.25s;
}

.exp-list li:nth-child(6) {
    transition-delay: 0.3s;
}

.exp-list li:nth-child(7) {
    transition-delay: 0.35s;
}

.exp-list li:nth-child(8) {
    transition-delay: 0.4s;
}

.exp-list li:nth-child(9) {
    transition-delay: 0.45s;
}

.exp-list li:nth-child(10) {
    transition-delay: 0.5s;
}

.exp-list li:hover {
    padding-left: 26px;
    color: var(--primary);
}

.exp-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.logros-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
}

.logro-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(74, 140, 255, 0.06), rgba(74, 140, 255, 0.12));
    border-radius: 12px;
    border-left: 3px solid var(--accent);
    font-size: 0.92rem;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(8px);
}

.exp-category.active .logro-badge {
    opacity: 1;
    transform: translateY(0);
}

.logro-badge:nth-child(1) {
    transition-delay: 0.1s;
}

.logro-badge:nth-child(2) {
    transition-delay: 0.2s;
}

.logro-badge:nth-child(3) {
    transition-delay: 0.3s;
}

.logro-badge svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ── Galería Bento Premium ── */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 170px 170px 170px;
    gap: 14px;
}

/* Imagen 1 — Grande, esquina superior izquierda */
.gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Imagen 2 — Arriba derecha */
.gallery-item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

/* Imagen 3 — Centro derecha */
.gallery-item:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
}

/* Imágenes 4-6 — Fila inferior, 1 cada una */
.gallery-item:nth-child(4) { grid-column: 1; grid-row: 3; }
.gallery-item:nth-child(5) { grid-column: 2; grid-row: 3; }
.gallery-item:nth-child(6) { grid-column: 3; grid-row: 3; }

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(27, 42, 74, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    cursor: pointer;
    background: var(--bg-light);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(27, 42, 74, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 42, 74, 0.55) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ============================================================
   SECTION 5: BLOG (DYNAMIC)
   ============================================================ */
.blog-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: block;
}

.blog-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 8px 0;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 12px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 8px;
}

.blog-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   SECTION 6: TESTIMONIALS (GOOGLE STYLED)
   ============================================================ */
.testimonials-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.google-logo {
    width: 24px;
    height: 24px;
}

.google-rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.google-stars {
    display: flex;
    gap: 2px;
}

.google-stars svg {
    width: 18px;
    height: 18px;
    fill: #FBBC04;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(74, 140, 255, 0.15);
}

.testimonial-google-mark {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-google-mark img {
    width: 16px;
    height: 16px;
}

.testimonial-stars {
    margin-bottom: 12px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: #FBBC04;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.testimonial-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.testimonials-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* ============================================================
   BLOG PAGE — PREMIUM
   ============================================================ */

.blog-page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 120px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(74, 140, 255, 0.12) 0%, transparent 70%);
}

.blog-page-hero-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.blog-page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    margin: 10px 0 16px;
    line-height: 1.2;
}

.blog-page-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.blog-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-hero-badges span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Container */
.blog-page-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 56px 20px 80px;
}

/* Tag genérico */
.blog-tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.blog-tag-abs {
    position: absolute;
    top: 16px;
    left: 16px;
    margin: 0;
    z-index: 2;
}

/* ── ARTÍCULO DESTACADO ── */
.blog-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 48px;
    text-decoration: none;
    background: var(--bg-white);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    min-height: 380px;
}

.blog-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(27, 42, 74, 0.18);
}

.blog-featured-img-wrap {
    position: relative;
    overflow: hidden;
}

.blog-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.blog-featured-placeholder {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    min-height: 320px;
}

.blog-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 27, 51, 0.25) 0%, transparent 100%);
    transition: opacity 0.3s ease;
}

.blog-featured-card:hover .blog-featured-img {
    transform: scale(1.05);
}

.blog-featured-card:hover .blog-featured-overlay {
    opacity: 0.5;
}

.blog-featured-body {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 14px;
}

.blog-featured-excerpt {
    color: var(--text-body);
    font-size: 0.97rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.83rem;
    flex-wrap: wrap;
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.88rem;
    transition: gap 0.2s;
}

.blog-featured-card:hover .blog-readmore {
    gap: 9px;
}

/* ── GRID RESTO ── */
.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.blog-page-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 42, 74, 0.07);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-page-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 210px;
}

.blog-page-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-page-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.blog-page-card:hover .blog-page-card-img {
    transform: scale(1.06);
}

.blog-page-card-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-page-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-page-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-page-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 16px;
}

.blog-page-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    transition: gap 0.2s;
}

.blog-page-card:hover .blog-page-card-cta {
    gap: 9px;
}

/* CTA inferior */
.blog-page-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-lg);
}

.blog-page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-page-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    margin-bottom: 6px;
}

.blog-page-cta p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin: 0;
}

.blog-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

/* Responsive blog page */
@media (max-width: 900px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .blog-featured-img-wrap {
        height: 240px;
    }

    .blog-featured-body {
        padding: 28px 24px;
    }

    .blog-page-grid {
        grid-template-columns: 1fr;
    }

    .blog-page-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   FLOATING SOCIAL BUTTONS
   ============================================================ */
.float-social {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
    overflow: hidden;
    white-space: nowrap;
}

.float-label {
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    display: inline-block;
}

.float-btn:hover .float-label {
    max-width: 120px;
    opacity: 1;
}

.float-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

/* WhatsApp — verde con pulso */
@keyframes waFloat {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    }

    50% {
        box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
    }
}

.float-wa {
    background: #25D366;
    animation: waFloat 2s ease-in-out infinite;
}

.float-wa:hover {
    background: #1DAF54;
    animation: none;
    color: #fff;
}

/* Instagram — gradiente */
.float-ig {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.float-ig:hover {
    color: #fff;
    filter: brightness(1.1);
}

/* ============================================================
   TESTIMONIOS PAGE
   ============================================================ */

.test-page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 120px 20px 60px;
    text-align: center;
}

.test-page-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.test-page-hero .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.test-page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    margin: 10px 0 30px;
}

.test-page-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.test-stat-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

.test-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.test-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.test-hero-stars {
    display: flex;
    gap: 4px;
}

/* Container */
.test-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

.test-pagination-info {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

/* Grid — 3 col desktop */
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 48px;
}

/* Paginación */
.test-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.test-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-light);
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.test-page-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.test-page-btn--active {
    background: var(--primary);
    color: #fff;
    cursor: default;
}

.test-page-btn--disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.test-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-light);
    font-weight: 600;
}

/* CTA inferior */
.test-bottom-cta {
    text-align: center;
    padding: 48px 32px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.test-bottom-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.test-bottom-cta p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.test-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.test-cta-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.test-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

/* Responsive testimonios */
@media (max-width: 768px) {
    .test-grid {
        grid-template-columns: 1fr;
    }

    .test-page-stats {
        flex-direction: column;
        gap: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .test-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

/* Hero banner del artículo */
.art-hero {
    position: relative;
    height: 420px;
    margin-top: 93px;
    /* compensa navbar */
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.art-hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}

.art-hero:hover .art-hero-img {
    transform: scale(1.04);
}

.art-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 27, 51, 0.92) 0%, rgba(15, 27, 51, 0.5) 50%, rgba(15, 27, 51, 0.2) 100%);
}

.art-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px 40px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.art-category {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.art-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    line-height: 1.25;
    margin: 0 0 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

.art-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.art-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Layout: contenido + sidebar */
.art-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 20px 80px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* Artículo principal */

.art-lead {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 500;
    line-height: 1.75;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 32px;
    background: var(--bg-light);
    padding: 18px 20px;
    border-radius: 0 10px 10px 0;
}

/* Tipografía del contenido del artículo */
.art-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-body);
}

.art-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-light);
}

.art-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin: 28px 0 10px;
}

.art-body p {
    margin-bottom: 1.2em;
}

.art-body ul,
.art-body ol {
    padding-left: 24px;
    margin-bottom: 1.2em;
}

.art-body li {
    margin-bottom: 8px;
    color: var(--text-body);
}

.art-body img {
    width: 100%;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: var(--shadow-md);
}

.art-body strong {
    color: var(--primary);
    font-weight: 700;
}

.art-body blockquote {
    border-left: 4px solid var(--accent);
    background: var(--bg-light);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--primary);
}

/* CTA inferior */
.art-footer-cta {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.art-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.art-footer-cta-text h3 {
    font-family: 'Playfair Display', serif;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.art-footer-cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.art-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.art-cta-btn:hover {
    background: #1DAF54;
    transform: translateY(-2px);
    color: #fff;
}

/* Volver */
.art-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 28px;
    transition: gap 0.2s;
}

.art-back-link:hover {
    gap: 10px;
}

/* ── SIDEBAR ── */
.art-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 110px;
}

.sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 42, 74, 0.07);
}

.sidebar-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.sidebar-title svg {
    color: var(--accent);
}

/* Últimas entradas */
.sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-post-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.sidebar-post-link:hover {
    transform: translateX(4px);
}

.sidebar-post-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-light);
}

.sidebar-post-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.sidebar-post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.sidebar-post-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Doctor card */
.sidebar-doctor {
    text-align: center;
    background: linear-gradient(170deg, var(--primary-dark), var(--primary));
}

.sidebar-doctor-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid rgba(74, 140, 255, 0.4);
    margin: 0 auto 14px;
    display: block;
}

.sidebar-doctor-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    margin-bottom: 6px;
    line-height: 1.3;
}

.sidebar-doctor-specialty {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 18px;
}

.sidebar-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.sidebar-wa-btn:hover {
    background: #1DAF54;
    transform: translateY(-2px);
    color: #fff;
}

/* Cédulas */
.sidebar-cedula-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
}

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

.sidebar-cedula-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-cedula-num {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    margin-top: 2px;
}

/* Responsive artículo */
@media (max-width: 900px) {
    .art-layout {
        grid-template-columns: 1fr;
    }

    .art-sidebar {
        position: static;
    }

    .art-hero {
        height: 300px;
        margin-top: 75px;
    }

    .art-hero-content {
        padding: 0 20px 28px;
    }

    .art-footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */

footer.site-footer {
    padding: 60px 20px 30px;
    background: linear-gradient(180deg, #0F1B33 0%, #1B2A4A 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.footer-loc-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.footer-loc-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(74, 140, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-loc-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.footer-loc-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.footer-loc-addr {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-prices {
    width: 100%;
    border-collapse: collapse;
}

.footer-prices tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-prices td {
    padding: 12px 0;
    font-size: 0.95rem;
    color: #fff;
}

.footer-prices td:last-child {
    text-align: right;
    font-weight: 700;
    color: #F1C40F;
    font-size: 1.05rem;
}

.footer-wa-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.footer-wa-btn:hover {
    background: #1DAF54;
    transform: translateY(-2px);
    color: #fff;
}

.footer-wa-btn svg {
    width: 24px;
    height: 24px;
}

.footer-sched h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.footer-sched p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 4px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.footer-cedulas-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    margin-top: 8px;
}

/* Map modal */
.map-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.map-modal-overlay.active {
    display: flex;
}

.map-modal {
    background: #1B2A4A;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(74, 140, 255, 0.2);
    animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.map-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.map-modal-addr {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.map-modal iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 10px;
}

.map-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.map-modal-close:hover {
    background: rgba(0, 158, 131, 0.3);
    border-color: rgba(0, 158, 131, 0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        background: rgba(15, 27, 51, 0.99);
        padding: 20px 24px;
        gap: 16px;
        border-top: 1px solid rgba(74, 140, 255, 0.12);
    }

    .nav-links.open {
        display: flex;
    }

    /* Teléfono oculto en móvil para ahorrar espacio */
    .nav-phone {
        display: none;
    }

    /* CTA más compacto */
    .nav-cta {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .nav-hamburger {
        display: block;
    }

    .authority-container,
    .experience-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .press-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 90vh;
        padding: 40px 20px;
    }

    .cedulas-grid {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 180px 180px;
    }
    .gallery-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
    .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
    .gallery-item:nth-child(4) { grid-column: 1; grid-row: 3; }
    .gallery-item:nth-child(5) { grid-column: 2; grid-row: 3; }
    .gallery-item:nth-child(6) { display: none; }

    .authority-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 10px;
        display: inline-flex;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Solo 1 artículo en móvil */
    .blog-card:nth-child(n+2) {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Footer — 1 columna, SIN overflow */
    footer.site-footer {
        padding: 40px 16px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-wa-btn {
        font-size: 1rem;
        padding: 14px 18px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   SECTION: BOOKING
   ============================================================ */
.booking-section {
    padding: 80px 20px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.booking-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27, 42, 74, 0.05);
}

.booking-info {
    display: flex;
    flex-direction: column;
}

.booking-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.booking-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.booking-icon {
    width: 48px;
    height: 48px;
    background: rgba(27, 42, 74, 0.05);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-icon svg {
    width: 24px;
    height: 24px;
}

.booking-text {
    display: flex;
    flex-direction: column;
}

.booking-text strong {
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.booking-text span,
.booking-text a {
    color: var(--text-body);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.booking-text a:hover {
    color: var(--accent);
}

.booking-widget-wrapper {
    min-height: 520px;
    width: 100%;
}

/* Media Queries para Booking Section */
@media (max-width: 992px) {
    .booking-container {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .booking-container {
        padding: 30px 15px;
        width: 100%;
        max-width: 100vw;
        border-radius: var(--radius);
    }
    .booking-section {
        padding: 50px 15px;
        overflow-x: hidden;
    }
    .booking-info,
    .booking-widget-wrapper {
        min-width: 0;
        width: 100%;
    }
}

/* ============================================================
   RESEÑA / FORMULARIO DE OPINIÓN
   ============================================================ */
.resena-field {
    margin-bottom: 24px;
}

.resena-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.resena-input,
.resena-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1.5px solid rgba(27, 42, 74, 0.12);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    -webkit-appearance: none;
}

.resena-input:focus,
.resena-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-white);
}

.resena-input::placeholder,
.resena-textarea::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.resena-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Star rating */
.resena-stars {
    display: flex;
    gap: 6px;
}

.resena-stars span {
    font-size: 2.2rem;
    cursor: pointer;
    color: #FBBC04;
    transition: transform 0.15s ease, color 0.15s ease;
    line-height: 1;
    user-select: none;
}

.resena-stars span:hover {
    transform: scale(1.25);
}

/* Submit button */
.resena-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(74, 140, 255, 0.25);
    letter-spacing: 0.3px;
    margin-top: 8px;
}

.resena-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(74, 140, 255, 0.4);
    background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

.resena-submit:active:not(:disabled) {
    transform: translateY(0);
}

.resena-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner */
.resena-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: resenaSpinnerAnim 0.6s linear infinite;
}

@keyframes resenaSpinnerAnim {
    to { transform: rotate(360deg); }
}

/* Messages */
.resena-mensaje {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: resenaFadeIn 0.4s ease;
}

@keyframes resenaFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mensaje-exito {
    background: rgba(52, 168, 83, 0.08);
    color: #1e7e34;
    border: 1px solid rgba(52, 168, 83, 0.2);
}

.mensaje-error {
    background: rgba(234, 67, 53, 0.08);
    color: #c62828;
    border: 1px solid rgba(234, 67, 53, 0.2);
}

/* Responsive */
@media (max-width: 600px) {
    .resena-form-container {
        padding: 30px 20px !important;
        margin: 0 10px !important;
    }
    .resena-stars span {
        font-size: 1.8rem;
    }
}
/* ==========================================================================
   CURRÍCULUM DOSSIER PREMIUM
   ========================================================================== */

/* Hero CV */
.cv-hero-section {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background-color: #050a0f;
}

.cv-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.cv-mesh-gradient {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 101, 157, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 158, 131, 0.1) 0%, transparent 40%);
    animation: drift 20s infinite alternate linear;
}

.cv-grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 30px 30px;
}

.cv-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.cv-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 158, 131, 0.15);
    border: 1px solid rgba(0, 158, 131, 0.3);
    color: var(--accent);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cv-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #a0d8ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cv-hero-subtitle {
    font-size: 1.2rem;
    color: #a0aec0;
    max-width: 600px;
    margin: 0 auto;
}

/* Metrics (Glance) */
.cv-metrics-section {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: 0 20px 40px 20px; /* Se añadió 40px de padding-bottom */
}

.cv-metrics-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cv-metric-card {
    background: rgba(10, 20, 28, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(0, 158, 131, 0.4);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 158, 131, 0.15);
}

.cv-metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    line-height: 1;
}

.cv-metric-label {
    font-size: 0.9rem;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* Main CV Layout */
.cv-main-section {
    padding: 80px 20px;
    background-color: #050a0f;
}

.cv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
}

/* Sidebar */
.cv-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cv-photo-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
}

.cv-photo-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 3px solid var(--primary);
}

.cv-photo-info {
    padding: 25px 20px;
}

.cv-photo-info h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
}

.cv-cedula {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: #a0aec0;
}

.cv-cedula:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cv-cedula span {
    color: #cbd5e1;
}

.cv-fellowships-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px 20px;
}

.cv-fellowships-card h3 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.cv-fellow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cv-fellow-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.fellow-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,101,157,0.2), rgba(0,158,131,0.2));
    border: 1px solid rgba(0,158,131,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.cv-fellow-list span {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.4;
    padding-top: 3px;
}

.cv-sidebar-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Content Area */
.cv-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.cv-profile-card {
    background: linear-gradient(135deg, rgba(0, 101, 157, 0.05), rgba(0, 158, 131, 0.05));
    border-left: 4px solid var(--accent);
    padding: 30px;
    border-radius: 0 16px 16px 0;
}

.cv-profile-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.cv-profile-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.cv-profile-card strong {
    color: #fff;
}

/* Sections */
.cv-section-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cv-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.cv-section-header svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.cv-section-header h2 {
    font-size: 1.6rem;
    color: #fff;
    margin: 0;
}

/* Timeline */
.cv-timeline {
    position: relative;
    padding-left: 30px;
}

.cv-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.05);
}

.cv-timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.cv-timeline-item:last-child {
    padding-bottom: 0;
}

.cv-timeline-dot {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 158, 131, 0.5);
}

.cv-timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
}

.cv-timeline-content h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.cv-timeline-content p {
    font-size: 1rem;
    color: #a0aec0;
    line-height: 1.5;
}

/* Positions Grid */
.cv-positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cv-position-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.cv-position-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.highlight-pos {
    background: linear-gradient(135deg, rgba(0,101,157,0.1), rgba(0,158,131,0.1));
    border-color: rgba(0,158,131,0.3);
}

.pos-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cv-position-card h4 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 10px;
}

.cv-position-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Flags Grid */
.cv-flags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cv-flag-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.cv-flag-item span {
    font-size: 1.3rem;
}

/* Accordions */
.cv-accordion {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.cv-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    transition: background 0.3s;
}

.cv-accordion-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cv-accordion-header h4 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0;
}

.cv-accordion-header .chevron {
    color: var(--accent);
    transition: transform 0.3s;
}

.cv-accordion-content {
    display: none;
    padding: 0 25px 25px;
}

.cv-accordion.active .cv-accordion-content {
    display: block;
}

.cv-accordion.active .chevron {
    transform: rotate(180deg);
}

.cv-publication-highlight {
    background: rgba(220, 53, 69, 0.05);
    border-left: 3px solid #dc3545;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.cv-awards-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.cv-award-badge {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cv-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cv-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.cv-bullet-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.cv-bullet-list strong {
    color: #fff;
}

/* Responsive CV */
@media (max-width: 992px) {
    .cv-container {
        grid-template-columns: 1fr;
    }
    .cv-sidebar {
        max-width: 400px;
        margin: 0 auto;
    }
    .cv-metrics-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .cv-hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .cv-positions-grid, .cv-flags-grid {
        grid-template-columns: 1fr;
    }
    .cv-hero-section {
        padding-top: 120px;
    }
}

