/* ============================================
   ONEDOG PERÚ — PREMIUM DESIGN SYSTEM
   Senior UX/UI Developer Standards
   ============================================ */

:root {
    /* Color Palette */
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #f0b90b;
    --gold-600: #d97706;

    --navy-900: #020617;
    --navy-850: #060e1d;
    --navy-800: #0a1628;
    --navy-750: #0c1a2e;
    --navy-700: #0f1d32;
    --navy-650: #142238;
    --navy-600: #1e293b;
    --navy-500: #334155;
    --navy-300: #64748b;
    --navy-200: #94a3b8;
    --navy-100: #cbd5e1;

    /* Fonts extended */
    --font-serif: 'Fraunces', 'Times New Roman', serif;
    
    /* Semantic */
    --primary: var(--gold-500);
    --primary-hover: var(--gold-400);
    --primary-glow: rgba(240, 185, 11, 0.25);
    --primary-subtle: rgba(240, 185, 11, 0.08);
    
    --bg-base: var(--navy-800);
    --bg-elevated: var(--navy-700);
    --bg-darker: #010611;
    --bg-glass: rgba(15, 29, 50, 0.7);
    
    --text-primary: #ffffff;
    --text-secondary: var(--navy-200);
    --text-tertiary: var(--navy-300);
    --text-inverse: var(--navy-900);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.15);
    
    --success: #10b981;
    --warning: #f59e0b;
    --whatsapp: #25d366;
    
    /* Typography */
    --font-display: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
    --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
    --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;
    
    /* Radius */
    --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
    --radius-xl: 24px; --radius-full: 9999px;
    
    /* Shadows */
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15), 0 6px 10px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2), 0 10px 20px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px var(--primary-glow), 0 0 40px rgba(240,185,11,0.15);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms; --duration-base: 250ms; --duration-slow: 400ms;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-base);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Noise texture — confined to hero only (perf: avoid fullscreen fixed repaints) */

::selection { background: var(--primary); color: var(--text-inverse); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    padding: var(--space-3) var(--space-6); background: var(--primary);
    color: var(--text-inverse); font-weight: 600; border-radius: var(--radius-md); z-index: 10001;
}
.skip-link:focus { top: var(--space-4); }

/* Container */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--space-4); }
@media (min-width: 640px) { .container { padding-inline: var(--space-6); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-8); } }

/* ============================================
   BUTTONS - Premium
   ============================================ */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    gap: var(--space-2); padding: var(--space-4) var(--space-6);
    font-size: 14px; font-weight: 600; letter-spacing: 0.025em;
    border-radius: var(--radius-md); border: 1px solid transparent;
    transition: all var(--duration-base) var(--ease-out); overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--duration-base) var(--ease-out); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 50%, var(--gold-600) 100%);
    color: var(--text-inverse);
    border-color: var(--gold-500);
    box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 4px 14px rgba(0,0,0,0.25);
    position: relative;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-base);
    border-radius: inherit;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 20px rgba(0,0,0,0.35);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover svg { transform: translateX(3px) scale(1.1); }
.btn-primary:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 16px rgba(240,185,11,0.3);
}

.btn-outline {
    background: transparent; color: var(--text-primary); border-color: var(--border-strong);
    backdrop-filter: blur(8px);
}
.btn-outline::before {
    content: ''; position: absolute; inset: 0; background: var(--primary);
    opacity: 0; transition: opacity var(--duration-base); z-index: -1;
}
.btn-outline:hover { color: var(--text-inverse); border-color: var(--primary); }
.btn-outline:hover::before { opacity: 1; }

.btn-ghost {
    background: rgba(255,255,255,0.03); color: var(--text-primary);
    border-color: var(--border-subtle); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--border-default); }

.btn-sm { padding: var(--space-2) var(--space-4); font-size: 12px; }
.btn-lg { padding: var(--space-5) var(--space-8); font-size: 16px; }
.btn-full { width: 100%; }

/* ============================================
   HEADER - Glassmorphism
   ============================================ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: var(--space-4) 0; transition: all var(--duration-slow) var(--ease-out);
}
.header::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.85) 0%, rgba(2, 6, 23, 0.55) 70%, rgba(2, 6, 23, 0) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background var(--duration-base), backdrop-filter var(--duration-base);
    will-change: background;
}
.header.scrolled::before {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}
.header.scrolled { padding: var(--space-3) 0; }

.header-inner {
    position: relative; display: flex; align-items: center;
    justify-content: space-between; gap: var(--space-4);
}

.logo { display: flex; align-items: center; gap: var(--space-4); flex-shrink: 0; }
.logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: all var(--duration-base) var(--ease-spring);
    filter: drop-shadow(0 2px 8px rgba(240, 185, 11, 0.3));
}
.logo:hover .logo-img {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 4px 12px rgba(240, 185, 11, 0.5));
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-tagline {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f7f7f7(--text-tertiary);
    margin-top: 3px;
}
@media (max-width: 767px) {
    .logo-img { width: 58px; height: 58px; }
    .logo-name { font-size: 1.4rem; }
}

.nav { display: none; }
@media (min-width: 1024px) {
    .nav { display: flex; align-items: center; gap: var(--space-1); }
    .nav-link {
        position: relative; padding: var(--space-2) var(--space-4);
        font-size: 14px; font-weight: 500; color: var(--text-secondary);
        border-radius: var(--radius-md); transition: all var(--duration-base);
    }
    .nav-link::before {
        content: ''; position: absolute; inset: 0;
        background: var(--primary-subtle); border-radius: var(--radius-md);
        opacity: 0; transition: opacity var(--duration-base);
    }
    .nav-link:hover, .nav-link.active { color: var(--text-primary); }
    .nav-link:hover::before { opacity: 1; }
    .nav-link.active { color: var(--primary); }
}

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-phone { display: none; }
@media (min-width: 768px) {
    .header-phone {
        display: flex; align-items: center; gap: var(--space-2);
        padding: var(--space-2) var(--space-3); font-size: 14px; font-weight: 600;
        color: var(--text-secondary); background: rgba(255,255,255,0.03);
        border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
        transition: all var(--duration-base);
    }
    .header-phone svg { width: 16px; height: 16px; color: var(--primary); }
    .header-phone:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-subtle); }
}
.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

.menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); transition: all var(--duration-base);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle:hover { background: rgba(255,255,255,0.06); border-color: var(--border-default); }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--text-primary); border-radius: 1px; transition: all var(--duration-base); transform-origin: center; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   MOBILE MENU - Professional Design
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, #0d1a2d 0%, #0a1628 50%, #061120 100%);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}
.mobile-menu.active {
    display: flex;
}

/* Header del menú con logo */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-menu-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.mobile-menu-logo-text {
    display: flex;
    flex-direction: column;
}
.mobile-menu-logo-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    line-height: 1.2;
}
.mobile-menu-logo-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}
.mobile-menu-close:active {
    background: var(--primary);
    color: var(--bg-base);
    border-color: var(--primary);
}

/* Navegación principal */
.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    gap: 10px;
    flex: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.mobile-nav-link:active {
    background: rgba(240, 185, 11, 0.15);
    border-color: rgba(240, 185, 11, 0.3);
}
.mobile-nav-link svg {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.mobile-nav-link:active svg {
    color: var(--primary);
}

/* Sección CTA */
.mobile-menu-cta-section {
    margin: 8px 20px 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1) 0%, rgba(240, 185, 11, 0.03) 100%);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: 16px;
    text-align: center;
    flex-shrink: 0;
}
.mobile-menu-cta-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.mobile-menu-cta-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.mobile-menu-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-menu-cta-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-weight: 600;
}
.mobile-menu-cta-buttons .btn-primary {
    background: var(--primary);
    color: var(--bg-base);
}
.mobile-menu-cta-buttons .btn-ghost {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-primary);
}

/* Redes sociales */
.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.mobile-menu-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}
.mobile-menu-social a:active {
    background: var(--primary);
    color: var(--bg-base);
    border-color: var(--primary);
}
.mobile-menu-social svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   HERO - Cinematic
   ============================================ */
.hero {
    position: relative; min-height: auto;
    display: flex; align-items: center; justify-content: center;
    padding: calc(80px + var(--space-10)) var(--space-4) var(--space-12); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; filter: brightness(0.6); }
@media (min-width: 768px) { .hero-bg img { object-position: center 30%; } }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(10,22,40,0.4) 0%, rgba(10,22,40,0.6) 40%, rgba(10,22,40,0.85) 70%, var(--bg-base) 100%);
}
.hero::before {
    content: ''; position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    opacity: 0.4; filter: blur(60px); z-index: 2;
    animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-20px); } }

.hero-content { position: relative; z-index: 3; text-align: center; max-width: 900px; width: 100%; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, rgba(240,185,11,0.15) 0%, rgba(240,185,11,0.08) 100%);
    border: 1.5px solid rgba(240,185,11,0.4);
    border-radius: var(--radius-full);
    font-size: clamp(9px, 2.5vw, 12px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-8);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(240,185,11,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
    animation: badgePulse 3s ease-in-out infinite;
    white-space: nowrap;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(240,185,11,0.15), inset 0 1px 0 rgba(255,255,255,0.1); }
    50% { box-shadow: 0 4px 24px rgba(240,185,11,0.3), inset 0 1px 0 rgba(255,255,255,0.15); }
}
.hero-badge svg { width: 16px; height: 16px; animation: starRotate 4s linear infinite; }
@keyframes starRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.hero-title { margin-bottom: var(--space-6); }
.hero-title-line { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1; letter-spacing: 0.02em; }
.hero-title-accent {
    font-size: clamp(3.5rem, 10vw, 7rem);
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-600) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: drop-shadow(0 2px 10px var(--primary-glow));
}
.hero-desc { font-size: clamp(1rem, 2vw, 1.125rem); color: var(--text-secondary); max-width: 600px; margin: 0 auto var(--space-8); line-height: 1.8; }
.hero-desc strong { color: var(--text-primary); font-weight: 600; }
.hero-cta { display: flex; flex-direction: column; gap: var(--space-3); }
@media (min-width: 480px) { .hero-cta { flex-direction: row; justify-content: center; flex-wrap: wrap; } }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4) var(--space-6); }
.trust-item { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; color: var(--text-secondary); }
.trust-item svg { width: 18px; height: 18px; color: var(--success); }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar { background: var(--bg-elevated); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: var(--space-10) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); } }
.stat-number {
    display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1;
    background: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: var(--space-2);
}
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); }

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--space-12) 0;
    position: relative;
}
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(240,185,11,0.03) 0%, transparent 70%);
    pointer-events: none;
}
@media (min-width: 768px) { .section { padding: var(--space-16) 0; } }
.section-badge {
    display: inline-flex; padding: var(--space-2) var(--space-4);
    background: var(--primary-subtle); border: 1px solid rgba(240,185,11,0.2);
    border-radius: var(--radius-full); font-size: 11px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary); margin-bottom: var(--space-4);
}
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: 0.02em; margin-bottom: var(--space-4); }
.section-title span {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-desc { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: var(--space-8); }
@media (min-width: 768px) { .section-header { margin-bottom: var(--space-12); } }

/* ============================================
   SERVICE CARDS - Premium
   ============================================ */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { gap: var(--space-8); } }

.service-card {
    position: relative;
    background: linear-gradient(145deg, var(--bg-elevated) 0%, rgba(15, 29, 50, 0.8) 100%);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 2px rgba(240,185,11,0.2);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-card--featured {
    border-color: rgba(240,185,11,0.5);
    background: linear-gradient(145deg, rgba(240,185,11,0.12) 0%, var(--bg-elevated) 100%);
    box-shadow: 0 8px 24px rgba(240,185,11,0.15);
    animation: featuredGlow 3s ease-in-out infinite;
}
@keyframes featuredGlow {
    0%, 100% { box-shadow: 0 8px 24px rgba(240,185,11,0.15); }
    50% { box-shadow: 0 8px 32px rgba(240,185,11,0.25); }
}
.service-card--featured::before { opacity: 1; }
.service-card--featured::after { opacity: 0.6; }

.service-card-badge {
    position: absolute; top: var(--space-4); right: var(--space-4);
    padding: var(--space-1) var(--space-3); background: var(--primary);
    color: var(--text-inverse); font-size: 10px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--radius-sm);
}
.service-card-icon {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-subtle) 0%, rgba(240,185,11,0.15) 100%);
    border: 1px solid rgba(240,185,11,0.2); border-radius: var(--radius-lg); margin-bottom: var(--space-6);
}
.service-card-icon svg { width: 32px; height: 32px; color: var(--primary); }
.service-card-price {
    font-family: var(--font-display); font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: var(--space-2);
}
.service-card-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; margin-bottom: var(--space-3); }
.service-card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--space-5); }
.service-card-features { margin-bottom: var(--space-6); }
.service-card-features li { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; color: var(--text-secondary); padding: var(--space-2) 0; }
.service-card-features li::before { content: ''; width: 6px; height: 6px; background: var(--success); border-radius: 50%; flex-shrink: 0; }

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
    column-count: 2;
    column-gap: var(--space-3);
    margin-top: var(--space-8);
}
@media (min-width: 640px) {
    .gallery-grid {
        column-gap: var(--space-6);
    }
}
@media (min-width: 1024px) {
    .gallery-grid {
        column-count: 3;
    }
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--bg-elevated);
    border: 2px solid var(--border-subtle);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: var(--space-3);
    display: block;
}
@media (min-width: 640px) {
    .gallery-item { margin-bottom: var(--space-6); }
}
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.gallery-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(240, 185, 11, 0.9);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 30px rgba(240, 185, 11, 0.6);
}
.gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3), 0 0 0 3px var(--primary);
    border-color: var(--primary);
}
.gallery-item:hover::before {
    opacity: 1;
}
.gallery-item:hover::after {
    opacity: 0.3;
    width: 80px;
    height: 80px;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Uniform variant — forces equal aspect cells (for sections with same-orientation photos) */
.gallery-grid--uniform {
    column-count: initial;
    column-gap: initial;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}
@media (min-width: 640px) { .gallery-grid--uniform { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
@media (min-width: 1024px) { .gallery-grid--uniform { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid--uniform .gallery-item {
    margin-bottom: 0;
    aspect-ratio: 3 / 4;
}
.gallery-grid--uniform .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Spotlight variant — center photo larger, two flanking items aligned */
.gallery-grid--spotlight {
    column-count: initial;
    column-gap: initial;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    align-items: stretch;
}
@media (min-width: 768px) {
    .gallery-grid--spotlight {
        grid-template-columns: 1fr 1.4fr 1fr;
        gap: var(--space-5);
    }
}
.gallery-grid--spotlight .gallery-item {
    margin-bottom: 0;
    aspect-ratio: 4 / 3;
    align-self: center;
}
.gallery-grid--spotlight .gallery-item--feature {
    aspect-ratio: 4 / 5;
    align-self: stretch;
}
@media (max-width: 767px) {
    .gallery-grid--spotlight .gallery-item--feature { aspect-ratio: 4 / 3; }
}
.gallery-grid--spotlight .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.gallery-item:hover img {
    transform: scale(1.1) rotate(1deg);
}

/* ============================================
   TESTIMONIALS - Carousel Design
   ============================================ */
.testimonials-section {
    background: linear-gradient(180deg, #0a1628 0%, #0f1d32 50%, #0a1628 100%);
    position: relative;
    overflow: hidden;
    padding: var(--space-12) 0;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(240, 185, 11, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(240, 185, 11, 0.1) 0%, transparent 40%);
    opacity: 1;
}
.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(240, 185, 11, 0.5) 50%, transparent 100%);
}

.testimonials-carousel {
    position: relative;
    padding: 0 var(--space-4);
    margin-top: var(--space-10);
}
@media (min-width: 768px) {
    .testimonials-carousel {
        padding: 0 var(--space-12);
    }
}

.testimonials-track {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: var(--space-2) var(--space-4);
    margin: 0 -var(--space-4);
}
.testimonials-track::-webkit-scrollbar {
    display: none;
}
@media (min-width: 640px) {
    .testimonials-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
        overflow-x: visible;
        scroll-snap-type: none;
        max-width: 900px;
        margin: 0 auto;
        padding: 0;
    }
}
@media (min-width: 1024px) {
    .testimonials-track {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
    }
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-5);
    padding: var(--space-8) var(--space-6);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(240, 185, 11, 0.15);
    border-radius: var(--radius-xl);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex: 0 0 85%;
    scroll-snap-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.testimonial-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.3) 0%, transparent 50%, rgba(240, 185, 11, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}
@media (min-width: 640px) {
    .testimonial-item {
        flex: 1 1 auto;
        scroll-snap-align: unset;
        padding: var(--space-8);
    }
}
.testimonial-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(240, 185, 11, 0.4);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(240, 185, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
}
.testimonial-item:hover::before {
    opacity: 1;
}

.testimonial-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background:
        linear-gradient(var(--navy-900), var(--navy-900)) padding-box,
        linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 50%, var(--gold-400) 100%) border-box;
    box-shadow:
        0 8px 24px rgba(240, 185, 11, 0.4),
        0 0 0 8px rgba(240, 185, 11, 0.1),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.testimonial-avatar::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.testimonial-item:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 16px 48px rgba(240, 185, 11, 0.6),
        0 0 0 12px rgba(240, 185, 11, 0.15),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.testimonial-item:hover .testimonial-avatar::after {
    opacity: 1;
}

.testimonial-name {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #ffd700 0%, var(--gold-400) 50%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    position: relative;
    text-shadow: 0 2px 8px rgba(240, 185, 11, 0.3);
}
.testimonial-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-400) 50%, transparent 100%);
    border-radius: 2px;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(148, 163, 184, 0.95);
    font-style: italic;
    margin: 0;
    position: relative;
    padding: 0 var(--space-2);
}
.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -16px;
    left: -4px;
    font-size: 48px;
    font-family: Georgia, serif;
    color: rgba(240, 185, 11, 0.2);
    line-height: 1;
    font-style: normal;
}
@media (min-width: 640px) {
    .testimonial-quote {
        font-size: 14px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(240, 185, 11, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.carousel-btn:hover {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    color: var(--navy-900);
    border-color: var(--gold-400);
    transform: translateY(-50%) scale(1.15);
    box-shadow:
        0 8px 32px rgba(240, 185, 11, 0.5),
        0 0 0 4px rgba(240, 185, 11, 0.2);
}
.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
}
.carousel-btn-prev {
    left: -8px;
}
.carousel-btn-next {
    right: -8px;
}
@media (max-width: 639px) {
    .carousel-btn {
        display: none;
    }
}

/* Scroll indicators for mobile */
.testimonials-carousel::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to left, #0f1d32 0%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}
@media (min-width: 640px) {
    .testimonials-carousel::after {
        display: none;
    }
}

/* Carousel progress dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
    padding: var(--space-4) 0;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(240, 185, 11, 0.2);
    border: 1px solid rgba(240, 185, 11, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.carousel-dot.active {
    width: 32px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold-400) 0%, var(--gold-600) 100%);
    border-color: var(--gold-400);
    box-shadow: 0 0 16px rgba(240, 185, 11, 0.5);
}
.carousel-dot:hover:not(.active) {
    background: rgba(240, 185, 11, 0.4);
    transform: scale(1.2);
}
@media (min-width: 640px) {
    .carousel-dots {
        display: none;
    }
}

/* Entrance animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(240, 185, 11, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.testimonial-item {
    animation: fadeInUp 0.6s ease-out backwards;
}
.testimonial-item:nth-child(1) { animation-delay: 0.1s; }
.testimonial-item:nth-child(2) { animation-delay: 0.2s; }
.testimonial-item:nth-child(3) { animation-delay: 0.3s; }
.testimonial-item:nth-child(4) { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .testimonial-item {
        animation: none;
    }
}

/* ============================================
   LOCATIONS
   ============================================ */
.locations-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 640px) { .locations-grid { grid-template-columns: repeat(2, 1fr); } }

.location-card {
    position: relative; background: var(--bg-elevated); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl); padding: var(--space-8); text-align: center;
    transition: all var(--duration-slow) var(--ease-out); overflow: hidden;
}
.location-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--primary-glow) 0%, transparent 60%);
    opacity: 0; transition: opacity var(--duration-slow);
}
.location-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.location-card:hover::before { opacity: 1; }
.location-icon {
    position: relative; width: 72px; height: 72px; margin: 0 auto var(--space-5);
    background: linear-gradient(135deg, var(--primary-subtle) 0%, rgba(240,185,11,0.15) 100%);
    border: 1px solid rgba(240,185,11,0.3); border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
}
.location-icon svg { width: 32px; height: 32px; color: var(--primary); }
.location-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; margin-bottom: var(--space-3); }
.location-info { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative; min-height: 45vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: calc(80px + var(--space-12)) var(--space-4) var(--space-12);
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--bg-base) 100%); overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: 30%; left: 50%; transform: translateX(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    opacity: 0.3; filter: blur(80px);
}
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: var(--space-2); font-size: 14px; color: var(--text-tertiary); margin-bottom: var(--space-4); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 14px; height: 14px; }
.page-title { font-family: var(--font-display); font-size: clamp(2.5rem, 8vw, 4.5rem); letter-spacing: 0.02em; margin-bottom: var(--space-3); }
.page-title span { background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-desc { font-size: 1.125rem; color: var(--text-secondary); }

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-nav {
    position: sticky; top: 64px; z-index: 100;
    background: var(--bg-glass); backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle); padding: var(--space-4) 0;
}
.nav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 640px) { .nav-grid { grid-template-columns: repeat(4, 1fr); } }
.nav-card {
    display: flex; flex-direction: column; align-items: center; gap: var(--space-1);
    padding: var(--space-3) var(--space-2); background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
    text-align: center; transition: all var(--duration-base);
}
.nav-card:hover { background: var(--primary-subtle); border-color: var(--primary); transform: translateY(-2px); }
.nav-card-num { font-family: var(--font-display); font-size: 11px; color: var(--primary); opacity: 0.6; }
.nav-card-name { font-weight: 600; font-size: 13px; }
.nav-card-price { font-size: 11px; color: var(--text-tertiary); }

.service-block { padding: var(--space-16) 0; border-bottom: 1px solid var(--border-subtle); }
@media (min-width: 768px) { .service-block { padding: var(--space-20) 0; } }
.service-block:nth-child(odd) { background: var(--bg-base); }
.service-block:nth-child(even) { background: var(--bg-elevated); }
.service-block--highlight { background: linear-gradient(180deg, var(--primary-subtle) 0%, var(--bg-elevated) 100%) !important; border-top: 2px solid var(--primary); }

.block-header { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-8); }
.block-num {
    font-family: var(--font-display); font-size: clamp(3.5rem, 10vw, 6rem); line-height: 1;
    background: linear-gradient(180deg, rgba(240,185,11,0.2) 0%, transparent 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.block-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--primary); background: var(--primary-subtle);
    border: 1px solid rgba(240,185,11,0.2); padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm);
}

.block-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 900px) { .block-layout { grid-template-columns: 1fr 340px; align-items: start; } }
.block-title { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.5rem); letter-spacing: 0.02em; margin-bottom: var(--space-4); }
.block-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--space-6); }

.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.detail-box { background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-4); transition: border-color var(--duration-base); }
.detail-box:hover { border-color: var(--border-default); }
.detail-box--highlight { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.05); }
.detail-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: var(--space-1); }
.detail-value { font-size: 14px; font-weight: 600; }

.price-card {
    position: relative; background: var(--bg-elevated); border: 1px solid var(--border-default);
    border-radius: var(--radius-xl); padding: var(--space-8); text-align: center; overflow: hidden;
}
.price-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.price-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); }
.price-amount {
    font-family: var(--font-display); font-size: 3.5rem; line-height: 1; margin: var(--space-2) 0;
    background: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.price-unit { font-size: 14px; color: var(--text-tertiary); margin-bottom: var(--space-6); }

.block-intro { text-align: center; max-width: 700px; margin: 0 auto var(--space-10); }
.block-intro h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.5rem); letter-spacing: 0.02em; margin-bottom: var(--space-3); }
.block-intro p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; }

.plans-row { display: grid; grid-template-columns: 1fr; gap: var(--space-4); max-width: 800px; margin: 0 auto; }
@media (min-width: 600px) { .plans-row { grid-template-columns: repeat(2, 1fr); } }
.plans-row-3 { max-width: 1000px; }
@media (min-width: 768px) { .plans-row-3 { grid-template-columns: repeat(3, 1fr); } }

.plan-box {
    position: relative; background: var(--bg-elevated); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl); padding: var(--space-8) var(--space-6); text-align: center;
    transition: all var(--duration-slow) var(--ease-out); overflow: hidden;
}
.plan-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); transition: all var(--duration-slow); }
.plan-box:hover { border-color: var(--border-strong); transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.plan-box:hover::before { background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.plan-box--featured { border-color: rgba(240,185,11,0.4); background: linear-gradient(180deg, var(--primary-subtle) 0%, var(--bg-elevated) 100%); }
.plan-box--featured::before { background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.plan-box--compact { padding: var(--space-6) var(--space-4); }

.plan-badge {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    color: var(--text-inverse); font-size: 9px; font-weight: 800; letter-spacing: 0.1em;
    padding: var(--space-1) var(--space-4); border-radius: 0 0 var(--radius-md) var(--radius-md); white-space: nowrap;
}
.plan-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.02em; margin-bottom: var(--space-1); }
.plan-schedule { font-size: 12px; color: var(--text-tertiary); margin-bottom: var(--space-4); }
.plan-price {
    font-family: var(--font-display); font-size: 2.5rem; line-height: 1; margin-bottom: var(--space-4);
    background: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.plan-box--compact .plan-price { font-size: 2rem; }
.plan-features { text-align: left; margin-bottom: var(--space-5); }
.plan-features li { font-size: 14px; color: var(--text-secondary); padding: var(--space-1) 0; }
.plan-extra { font-size: 12px; color: var(--text-tertiary); margin-bottom: var(--space-4); }

.callout {
    display: flex; align-items: flex-start; gap: var(--space-4);
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--primary); border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6); margin-top: var(--space-8);
    max-width: 800px; margin-left: auto; margin-right: auto;
}
.callout--warning { border-left-color: var(--warning); }
.callout-icon { font-size: 1.25rem; flex-shrink: 0; }
.callout-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.callout-text strong { color: var(--text-primary); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative; background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
    border-top: 1px solid var(--border-subtle); padding: var(--space-16) 0; overflow: hidden;
}
@media (min-width: 768px) { .cta-section { padding: var(--space-20) 0; } }
.cta-section::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    opacity: 0.2; filter: blur(100px);
}
.cta-content { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2.5rem); letter-spacing: 0.02em; margin-bottom: var(--space-3); }
.cta-text { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: var(--space-8); }
.cta-buttons { display: flex; flex-direction: column; gap: var(--space-3); }
@media (min-width: 480px) { .cta-buttons { flex-direction: row; justify-content: center; flex-wrap: wrap; } }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-900);
    padding: var(--space-12) 0 var(--space-6);
    border-top: 1px solid var(--border-subtle);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8) var(--space-5);
    margin-bottom: var(--space-10);
    text-align: left;
}
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
}
@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }
}

.footer-brand {
    max-width: 100%;
    margin: 0;
    grid-column: 1 / -1;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-2);
}
@media (min-width: 900px) {
    .footer-brand {
        grid-column: auto;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}
.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-3);
}
.footer-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-3);
    filter: drop-shadow(0 2px 8px rgba(240, 185, 11, 0.3));
}
.footer-tagline {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}
.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}
.footer-social {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
}
@media (min-width: 640px) {
    .footer-social { justify-content: flex-start; }
}
.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--duration-base);
}
.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-subtle);
    transform: translateY(-2px);
}
.footer-social svg { width: 20px; height: 20px; }

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}
.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: var(--space-2) 0;
    transition: all var(--duration-fast);
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}
@media (max-width: 639px) {
    .footer-links a:hover { padding-left: 0; }
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    justify-content: center;
}
@media (min-width: 640px) {
    .footer-contact li { justify-content: flex-start; }
}
.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}
.footer-contact a:hover { color: var(--primary); }

.footer-bottom { padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); text-align: center; }
.footer-bottom p { font-size: 12px; color: var(--text-tertiary); margin-bottom: var(--space-1); }
.footer-bottom strong { color: var(--primary); }
.footer-credit a:hover { color: var(--primary); }

/* ============================================
   WHATSAPP & SCROLL TOP
   ============================================ */
.whatsapp-float {
    position: fixed; bottom: var(--space-5); right: var(--space-5);
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--whatsapp) 0%, #128c7e 100%);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4);
    z-index: 998; transition: all var(--duration-base);
    animation: pulse-whatsapp 2s infinite;
}
@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 10px rgba(37,211,102,0); }
}
.whatsapp-float:hover { transform: scale(1.1); animation: none; box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 32px; height: 32px; color: white; }

.scroll-top {
    position: fixed; bottom: var(--space-5); left: var(--space-5);
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: var(--bg-glass); backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
    color: var(--text-secondary); opacity: 0; visibility: hidden; transform: translateY(20px);
    z-index: 998; transition: all var(--duration-base);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-subtle); }
.scroll-top svg { width: 20px; height: 20px; }

/* Utilities */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-4); }
.mt-md { margin-top: var(--space-6); }
.mt-lg { margin-top: var(--space-10); }
.mt-xl { margin-top: var(--space-16); }
.mb-sm { margin-bottom: var(--space-4); }
.mb-md { margin-bottom: var(--space-6); }
.mb-lg { margin-bottom: var(--space-10); }
.mb-xl { margin-bottom: var(--space-16); }

/* ============================================
   SEDE SYSTEM — pill, modal, transitions, tabs
   ============================================ */

html[data-sede="ica"] {
    --sede-accent: #3b82f6;
    --sede-accent-soft: rgba(59, 130, 246, 0.15);
    --sede-accent-glow: rgba(59, 130, 246, 0.35);
}
html[data-sede="lima"],
html[data-sede="none"] {
    --sede-accent: var(--gold-500);
    --sede-accent-soft: var(--primary-subtle);
    --sede-accent-glow: var(--primary-glow);
}

/* Sede pill in header */
.sede-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all var(--duration-base) var(--ease-out);
    backdrop-filter: blur(8px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.sede-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sede-accent-soft) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--duration-base);
}
.sede-pill:hover {
    border-color: var(--sede-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--sede-accent-glow);
}
.sede-pill:hover::before { opacity: 1; }
.sede-pill > * { position: relative; z-index: 1; }
.sede-pill-icon { width: 14px; height: 14px; color: var(--sede-accent); flex-shrink: 0; }
.sede-pill-chevron { width: 12px; height: 12px; opacity: 0.6; transition: transform var(--duration-base); }
.sede-pill:hover .sede-pill-chevron { transform: translateY(1px); }
.sede-pill-text { display: flex; flex-direction: column; line-height: 1.1; align-items: flex-start; }
.sede-pill-label { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 700; }
.sede-pill-name { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-primary); transition: color var(--duration-base); }
.sede-pill[data-sede="lima"] .sede-pill-name { color: var(--gold-400); }
.sede-pill[data-sede="ica"] .sede-pill-name { color: #60a5fa; }

@media (max-width: 1024px) {
    .sede-pill .sede-pill-label { display: none; }
    .sede-pill .sede-pill-chevron { display: none; }
    .sede-pill { padding: 8px 12px; }
}
@media (max-width: 768px) {
    .sede-pill { display: none; }
}

/* Sede modal */
.sede-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-base), visibility 0s linear var(--duration-base);
}
.sede-modal.open {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--duration-base), visibility 0s;
}
.sede-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
}
.sede-modal-content {
    position: relative;
    width: 100%;
    max-width: 860px;
    background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8) var(--space-8);
    box-shadow: var(--shadow-xl), 0 0 80px rgba(240, 185, 11, 0.08);
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    transition: transform var(--duration-slow) var(--ease-spring), opacity var(--duration-slow);
    max-height: 92vh;
    overflow-y: auto;
}
.sede-modal-content--visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.sede-modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-default);
    border-radius: var(--radius-full); color: var(--text-secondary);
    transition: all var(--duration-base);
}
.sede-modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.sede-modal-close svg { width: 18px; height: 18px; }
.sede-modal-header { text-align: center; margin-bottom: var(--space-8); }
.sede-modal-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-subtle);
    color: var(--gold-400);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid rgba(240, 185, 11, 0.2);
    margin-bottom: var(--space-4);
}
.sede-modal-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    letter-spacing: 0.01em;
}
.sede-modal-desc {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}
.sede-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}
@media (max-width: 640px) {
    .sede-modal-content { padding: var(--space-8) var(--space-4) var(--space-5); }
    .sede-modal-grid { grid-template-columns: 1fr; }
}
.sede-card {
    background: var(--navy-600);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: left;
    transition: all var(--duration-base) var(--ease-out);
    cursor: pointer;
    color: inherit;
    font-family: inherit;
}
.sede-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl), 0 0 40px var(--primary-glow);
}
.sede-card:nth-child(2):hover {
    border-color: #3b82f6;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(59, 130, 246, 0.3);
}
.sede-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.sede-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}
.sede-card:hover .sede-card-image img { transform: scale(1.05); }
.sede-card-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 5px 10px;
    background: var(--gold-500); color: var(--text-inverse);
    font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
    border-radius: var(--radius-sm);
}
.sede-card-badge--blue { background: #3b82f6; color: #fff; }
.sede-card-body { padding: var(--space-5) var(--space-5) var(--space-6); }
.sede-card-flag { font-size: 18px; display: block; margin-bottom: 6px; }
.sede-card-name {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}
.sede-card-meta { color: var(--text-tertiary); font-size: 13px; margin-bottom: var(--space-4); }
.sede-card-cta {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--gold-400); font-size: 13px; font-weight: 700;
    letter-spacing: 0.02em;
    transition: gap var(--duration-base);
}
.sede-card-cta svg { width: 14px; height: 14px; }
.sede-card:hover .sede-card-cta { gap: 12px; }
.sede-card:nth-child(2) .sede-card-cta { color: #60a5fa; }
.sede-modal-skip {
    display: block; margin: 0 auto;
    color: var(--text-tertiary); font-size: 13px; font-family: inherit;
    padding: 10px 16px; background: transparent;
    border: 1px solid transparent;
    transition: color var(--duration-base);
}
.sede-modal-skip:hover { color: var(--text-secondary); text-decoration: underline; }

/* Sede transitions */
#main-content { transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out); }
.sede-transition-out { opacity: 0.2; transform: translateY(-8px); }
.sede-transition-in { opacity: 1; transform: translateY(0); animation: sedeFadeIn 300ms var(--ease-out); }
@keyframes sedeFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.sede-pulse { animation: sedePulse 600ms var(--ease-out); }
@keyframes sedePulse {
    0% { box-shadow: inset 0 0 0 0 var(--sede-accent-soft); }
    30% { box-shadow: inset 0 0 140px 0 var(--sede-accent-soft); }
    100% { box-shadow: inset 0 0 0 0 transparent; }
}

@media (prefers-reduced-motion: reduce) {
    #main-content, .sede-transition-in, .sede-transition-out { transition: none !important; animation: none !important; }
    .sede-pulse { animation: none !important; }
}

/* ============================================
   SEDES PAGE — tabs, panels, service grid
   ============================================ */
.sedes-hero {
    padding: calc(120px + var(--space-8)) 0 var(--space-10);
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-base) 100%);
    border-bottom: 1px solid var(--border-subtle);
}
.sedes-hero-content { text-align: center; max-width: 760px; margin: 0 auto var(--space-8); padding-inline: var(--space-4); }
.sedes-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0.01em;
    margin-bottom: var(--space-4);
}
.sedes-hero-title span { color: var(--gold-500); }
.sedes-hero-desc { color: var(--text-secondary); font-size: 17px; line-height: 1.7; }

.sede-tabs {
    display: inline-flex;
    background: var(--navy-700);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    padding: 4px;
    gap: 4px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}
.sede-tab {
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: transparent;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.sede-tab:hover { color: var(--text-primary); }
.sede-tab svg { width: 14px; height: 14px; }
.sede-tab.active {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    color: var(--text-inverse);
    box-shadow: 0 2px 8px var(--primary-glow);
}
.sede-tab[data-sede-tab="ica"].active {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.sede-tabs-wrapper { text-align: center; margin-bottom: var(--space-10); }

.sede-panel {
    animation: sedePanelIn 400ms var(--ease-out);
}
@keyframes sedePanelIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.sede-hero-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-8);
    align-items: stretch;
    margin-bottom: var(--space-12);
}
@media (max-width: 900px) { .sede-hero-split { grid-template-columns: 1fr; } }
.sede-hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 11;
    box-shadow: var(--shadow-xl);
}
.sede-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.sede-hero-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.7) 100%);
}
.sede-hero-image-tag {
    position: absolute; bottom: 20px; left: 20px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: rgba(2, 6, 23, 0.85);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    color: var(--text-primary); font-size: 12px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    z-index: 2;
}
.sede-hero-image-tag svg { width: 12px; height: 12px; color: var(--gold-400); }

.sede-hero-body { display: flex; flex-direction: column; justify-content: center; gap: var(--space-5); }
.sede-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: var(--primary-subtle);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: var(--radius-full);
    color: var(--gold-400); font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    width: max-content;
}
.sede-hero-name {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1;
    letter-spacing: 0.01em;
}
.sede-hero-desc { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }

.sede-contact-row {
    display: flex; flex-wrap: wrap; gap: var(--space-3);
    margin-top: var(--space-2);
}
.sede-contact-row .btn { flex: 1; min-width: 200px; }

.sede-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-4);
}
.sede-meta-item {
    padding: var(--space-4);
    background: var(--navy-700);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
}
.sede-meta-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--text-tertiary);
    display: block; margin-bottom: 4px;
}
.sede-meta-value { font-size: 14px; color: var(--text-primary); font-weight: 500; line-height: 1.4; }

.sede-services-block {
    margin-top: var(--space-12);
    padding: var(--space-10) 0;
    border-top: 1px solid var(--border-subtle);
}
.sede-services-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--space-3);
}
.sede-services-title span { color: var(--gold-500); }
.sede-services-sub { text-align: center; color: var(--text-secondary); margin-bottom: var(--space-10); }

.sede-services-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}
.sede-services-head .sede-services-title { text-align: left; margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.sede-services-allink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-400);
    transition: gap var(--duration-base);
}
.sede-services-allink svg { width: 14px; height: 14px; }
.sede-services-allink:hover { gap: 10px; }

.sede-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy-900);
}
.sede-services-list li + li { border-top: 1px solid var(--border-subtle); }
.sede-services-list a {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    color: var(--text-primary);
    transition: background var(--duration-base);
}
.sede-services-list a:hover { background: rgba(240, 185, 11, 0.06); }
.sede-services-list-num {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--gold-400);
    background: rgba(240, 185, 11, 0.10);
    border-radius: var(--radius-sm);
    padding: 6px 0;
    text-align: center;
}
.sede-services-list-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.sede-services-list-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f7a45;
    background: #d9f5e3;
    border-radius: 999px;
}
.sede-services-list a:hover .sede-services-list-cta { background: #c8efd6; }

/* ================================================================
   SEDE COMPARE — Lima vs Ica overview
   ================================================================ */
.sede-compare-section {
    padding: var(--space-12) 0 var(--space-6);
    background: var(--bg-darker);
}
.sede-compare-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-10);
}
.sede-compare-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}
.sede-compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}
@media (min-width: 768px) { .sede-compare-grid { grid-template-columns: repeat(2, 1fr); } }
.sede-compare-card {
    position: relative;
    padding: var(--space-7);
    background: var(--navy-900);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    transition: border-color var(--duration-base), transform var(--duration-base);
}
.sede-compare-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-3px);
}
.sede-compare-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-400);
}
.sede-compare-name {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin: var(--space-2) 0 var(--space-1);
    color: var(--text-primary);
}
.sede-compare-locale {
    font-size: 13px;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
}
.sede-compare-facts {
    list-style: none;
    margin: 0;
    padding: var(--space-4) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.sede-compare-facts li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: var(--space-3);
    align-items: baseline;
    font-size: 14px;
}
.sede-compare-facts li span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.sede-compare-facts li strong {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}
.sede-compare-cta {
    align-self: flex-start;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-900);
    background: var(--gold-500);
    border-radius: 999px;
    transition: background var(--duration-base), transform var(--duration-base);
}
.sede-compare-cta:hover {
    background: var(--gold-400);
    transform: translateX(3px);
}

/* ================================================================
   CONTACTO — Mini FAQ
   ================================================================ */
.contact-faq {
    margin-top: var(--space-12);
    padding: var(--space-8);
    background: var(--navy-900);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}
.contact-faq-head {
    text-align: center;
    margin-bottom: var(--space-7);
}
.contact-faq-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    margin-top: var(--space-2);
}
.contact-faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}
@media (min-width: 768px) { .contact-faq-list { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
.contact-faq-q {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    padding-left: var(--space-4);
    border-left: 2px solid var(--gold-500);
}
.contact-faq-a {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    padding-left: var(--space-4);
}

/* ================================================================
   HOME — Para quién es ONEDOG (audience section)
   Editorial layout — same language as Método para coherencia visual
   ================================================================ */
.audience-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    counter-reset: audience;
}
@media (min-width: 900px) {
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        position: relative;
    }
    .audience-grid::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: var(--space-8);
        left: 33.3333%;
        width: 1px;
        background: var(--border-subtle);
    }
    .audience-grid::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: var(--space-8);
        left: 66.6666%;
        width: 1px;
        background: var(--border-subtle);
    }
}
.audience-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-2) 0;
}
@media (min-width: 900px) {
    .audience-card { padding: var(--space-2) var(--space-7) 0; }
    .audience-card:first-child { padding-left: 0; }
    .audience-card:last-child { padding-right: 0; }
}
.audience-card-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4rem);
    line-height: 0.85;
    letter-spacing: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(240, 185, 11, 0.4);
    margin-bottom: var(--space-2);
}
.audience-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-400);
}
.audience-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 1.85rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
}
.audience-card-text {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    flex-grow: 1;
}
@media (min-width: 900px) {
    .audience-card-title { max-width: 22ch; }
    .audience-card-text { max-width: 38ch; }
}
.audience-card-link {
    display: inline-flex;
    align-items: center;
    margin-top: var(--space-3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-400);
    transition: color var(--duration-base), letter-spacing var(--duration-base);
}
.audience-card-link:hover { color: var(--gold-300); letter-spacing: 0.18em; }
.sede-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}
.sede-service-tile {
    padding: var(--space-6);
    background: var(--navy-700);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    transition: all var(--duration-base) var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    position: relative;
    overflow: hidden;
}
.sede-service-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sede-accent-soft) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-base);
}
.sede-service-tile:hover {
    transform: translateY(-4px);
    border-color: var(--sede-accent);
    box-shadow: var(--shadow-xl), 0 0 30px var(--sede-accent-glow);
}
.sede-service-tile:hover::before { opacity: 1; }
.sede-service-tile > * { position: relative; z-index: 1; }
.sede-service-tile-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--sede-accent-soft);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--sede-accent);
}
.sede-service-tile-icon svg { width: 22px; height: 22px; }
.sede-service-tile-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
}
.sede-service-tile-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
}
.sede-service-tile-cta {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--gold-400); font-size: 13px; font-weight: 700;
    margin-top: auto;
    transition: gap var(--duration-base);
}
.sede-service-tile-cta svg { width: 14px; height: 14px; }
.sede-service-tile-cta:hover { gap: 12px; }

.sede-map-block {
    margin-top: var(--space-10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 7;
    position: relative;
}
.sede-map-block iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(0.92) hue-rotate(180deg) contrast(0.85) saturate(0.7);
}
@media (max-width: 640px) { .sede-map-block { aspect-ratio: 4 / 3; } }

/* ============================================
   SERVICIOS — service-contact-card, modality-list
   ============================================ */
.service-contact-card {
    padding: var(--space-6);
    background: linear-gradient(180deg, var(--navy-600) 0%, var(--navy-700) 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-width: 260px;
}
.service-contact-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--gold-400); font-size: 11px; font-weight: 800;
    letter-spacing: 0.15em; text-transform: uppercase;
}
.service-contact-eyebrow svg { width: 14px; height: 14px; }
.service-contact-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}
.service-contact-lead { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin-bottom: var(--space-2); }
.service-contact-actions { display: flex; flex-direction: column; gap: var(--space-3); }
.service-contact-actions .btn { width: 100%; }

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-color: #25d366;
    box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 4px 12px rgba(0,0,0,0.25);
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 18px rgba(0,0,0,0.35);
}
.btn-whatsapp svg { width: 18px; height: 18px; }

.modality-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: var(--space-4) 0;
}
.modality-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: var(--navy-700);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-base), transform var(--duration-base);
}
.modality-item:hover { border-color: var(--primary); transform: translateX(4px); }
.modality-item-num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-subtle);
    color: var(--gold-400);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.05em;
}
.modality-item-body { flex: 1; }
.modality-item-name {
    font-weight: 700; font-size: 15px; color: var(--text-primary);
    margin-bottom: 4px;
}
.modality-item-detail {
    color: var(--text-secondary); font-size: 13px; line-height: 1.5;
    display: flex; flex-wrap: wrap; gap: 6px 12px;
}
.modality-item-detail span { position: relative; }
.modality-item-detail span:not(:last-child)::after {
    content: '·'; position: absolute; right: -9px; top: 0; color: var(--text-tertiary);
}

.micro-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-5);
    color: var(--gold-400);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: gap var(--duration-base);
}
.micro-cta svg { width: 16px; height: 16px; transition: transform var(--duration-base); }
.micro-cta:hover { gap: 12px; }
.micro-cta:hover svg { transform: translateX(4px); }
.micro-cta--center {
    display: flex;
    justify-content: center;
    margin: var(--space-8) auto 0;
    padding: 14px 24px;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--navy-900);
    width: fit-content;
}
.micro-cta--center:hover { border-color: var(--gold-500); background: var(--navy-800); }

/* ================================================================
   SERVICES — Quick finder + comparison table
   ================================================================ */
.services-finder {
    padding: var(--space-12) 0 var(--space-6);
    background: var(--bg-darker);
}
.finder-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-10);
}
.finder-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: var(--space-3);
}
.finder-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}
.finder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}
@media (min-width: 640px) { .finder-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .finder-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.finder-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-5);
    background: var(--navy-900);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--duration-base) var(--ease-out);
    overflow: hidden;
}
.finder-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(240, 185, 11, 0.10) 0%, rgba(240, 185, 11, 0) 60%);
    opacity: 0;
    transition: opacity var(--duration-base);
    pointer-events: none;
}
.finder-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-500);
}
.finder-card:hover::before { opacity: 1; }
.finder-card-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    color: var(--gold-400);
}
.finder-card-icon svg { width: 100%; height: 100%; }
.finder-card-label {
    font-size: 15px;
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: 500;
}
.finder-card-link {
    margin-top: auto;
    padding-top: var(--space-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.compare-section { background: var(--bg-darker); }
.compare-table-wrap {
    margin-top: var(--space-8);
    overflow-x: auto;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--navy-900);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 14px;
}
.compare-table thead th {
    padding: var(--space-4) var(--space-5);
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    background: var(--navy-800);
    border-bottom: 1px solid var(--border-subtle);
}
.compare-table tbody th,
.compare-table tbody td {
    padding: var(--space-4) var(--space-5);
    vertical-align: top;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    line-height: 1.5;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(240, 185, 11, 0.04); }
.compare-table tbody th {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
}
.compare-table tbody th a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
}
.compare-table tbody th a:hover { border-bottom-color: var(--gold-500); color: var(--gold-400); }
.compare-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--gold-400);
    background: rgba(240, 185, 11, 0.10);
    border-radius: var(--radius-sm);
}
.sede-pill {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-400);
    background: rgba(240, 185, 11, 0.10);
    border: 1px solid rgba(240, 185, 11, 0.25);
    border-radius: 999px;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
    will-change: opacity, transform;
}
.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Home sedes teaser — split cards */
.sedes-teaser-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}
@media (max-width: 820px) { .sedes-teaser-grid { grid-template-columns: 1fr; } }
.sede-teaser-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--border-default);
    transition: all var(--duration-slow) var(--ease-out);
}
.sede-teaser-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform var(--duration-slow) var(--ease-out);
}
.sede-teaser-card[data-sede="lima"]::before { background-image: url('../imagenes/one-dog-1.JPG'); }
.sede-teaser-card[data-sede="ica"]::before { background-image: url('../imagenes/one-dog-9.JPG'); }
.sede-teaser-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2) 0%, rgba(2, 6, 23, 0.95) 100%);
}
.sede-teaser-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl), 0 0 50px var(--primary-glow);
}
.sede-teaser-card:hover::before { transform: scale(1.05); }
.sede-teaser-content {
    position: relative;
    z-index: 1;
    padding: var(--space-8) var(--space-6) var(--space-6);
}
.sede-teaser-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    background: var(--gold-500); color: var(--text-inverse);
    font-size: 10px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
}
.sede-teaser-card[data-sede="ica"] .sede-teaser-tag { background: #3b82f6; color: #fff; }
.sede-teaser-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}
.sede-teaser-meta { color: var(--text-secondary); font-size: 14px; margin-bottom: var(--space-4); }
.sede-teaser-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* WhatsApp float badge */
.whatsapp-float { position: fixed; }
.whatsapp-float.wa-float--with-badge::after {
    content: '';
    position: absolute;
    top: 2px; right: 2px;
    width: 10px; height: 10px;
    background: var(--gold-400);
    border: 2px solid var(--bg-base);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.3);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.wa-float-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    background: var(--gold-500);
    color: var(--text-inverse);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
}
html[data-sede="ica"] .wa-float-badge {
    background: #3b82f6;
    color: #fff;
}

/* Sedes summary (mobile menu + contacto.html): both contacts visible */
.sedes-both {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-4);
}
@media (max-width: 640px) { .sedes-both { grid-template-columns: 1fr; } }
.sede-both-card {
    padding: var(--space-5);
    background: var(--navy-700);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.sede-both-card[data-sede="ica"] { border-color: rgba(59, 130, 246, 0.25); }
.sede-both-card[data-sede="lima"] { border-color: rgba(240, 185, 11, 0.25); }
.sede-both-title {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1;
}
.sede-both-title svg { width: 16px; height: 16px; color: var(--gold-400); }
.sede-both-card[data-sede="ica"] .sede-both-title svg { color: #60a5fa; }
.sede-both-contact {
    display: flex; align-items: center; gap: 8px;
    color: var(--text-secondary); font-size: 13px;
    padding: 6px 0;
}
.sede-both-contact svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }
.sede-both-contact:hover { color: var(--text-primary); }
.sede-both-actions { display: flex; gap: 8px; margin-top: var(--space-2); }
.sede-both-actions .btn { flex: 1; font-size: 12px; padding: 10px 12px; }

/* Consolidated heading styles for pages previously using inline styles */
.prose-column { max-width: 800px; margin: 0 auto; }

/* ================================================================
   NOSOTROS — Visión / Misión + ¿Por qué elegirnos?
   ================================================================ */
.vision-mision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}
@media (min-width: 768px) { .vision-mision-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
.vm-card {
    position: relative;
    padding: var(--space-8);
    background: var(--navy-900);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: border-color var(--duration-base), transform var(--duration-base);
    overflow: hidden;
}
.vm-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 4px;
    background: var(--gold-500);
    border-radius: 0 0 4px 0;
}
.vm-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-3px);
}
.vm-card-eyebrow {
    display: inline-block;
    margin-top: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-400);
}
.vm-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}
.vm-card-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold-400);
}
.vm-card-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
    position: relative;
    padding: var(--space-6);
    background: var(--navy-900);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--duration-base) var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-500);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.why-card-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    background: rgba(240, 185, 11, 0.10);
    border-radius: var(--radius-md);
}
.why-card-icon svg { width: 24px; height: 24px; }
.why-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}
.why-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.prose-column p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    text-align: justify;
}
.prose-column p strong { color: var(--text-primary); font-weight: 700; }

.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}
.contact-quick-item {
    text-align: center;
    padding: var(--space-5);
    background: var(--navy-700);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: all var(--duration-base);
    display: block;
    color: inherit;
}
.contact-quick-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.contact-quick-item-icon {
    width: 44px; height: 44px;
    margin: 0 auto var(--space-3);
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    color: var(--gold-400);
}
.contact-quick-item-icon svg { width: 22px; height: 22px; }
.contact-quick-item-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text-tertiary); margin-bottom: 4px;
}
.contact-quick-item-value { font-size: 15px; font-weight: 600; color: var(--text-primary); word-break: break-word; }

.whatsapp-hero {
    background: linear-gradient(135deg, var(--whatsapp) 0%, #128c7e 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    margin-bottom: var(--space-10);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.2);
}
.whatsapp-hero-icon {
    width: 56px; height: 56px;
    margin: 0 auto var(--space-4);
    color: #fff;
}
.whatsapp-hero-icon svg { width: 100%; height: 100%; }
.whatsapp-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #fff;
    margin-bottom: var(--space-2);
}
.whatsapp-hero-desc {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: var(--space-6);
    font-size: 15px;
}
.whatsapp-hero-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 28px;
    background: #fff; color: #128c7e;
    font-weight: 700; font-size: 1.125rem;
    border-radius: var(--radius-md);
    transition: all var(--duration-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.whatsapp-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.whatsapp-hero-btn svg { width: 22px; height: 22px; }

.social-footer {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
}
.social-footer-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-4);
}
.social-footer-label strong { color: var(--gold-400); }
.social-footer-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}
.social-footer-icons a {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy-700);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--duration-base);
}
.social-footer-icons a:hover {
    background: var(--primary-subtle);
    border-color: var(--primary);
    color: var(--gold-400);
    transform: translateY(-2px);
}
.social-footer-icons svg { width: 22px; height: 22px; }

/* Focus visible — a11y */
*:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 3px;
    border-radius: 4px;
}
.btn:focus-visible, .sede-pill:focus-visible, .sede-tab:focus-visible {
    outline-offset: 4px;
}

/* Sedes nav link — consistent with other nav-link */
.nav-link[data-sedes-link] { position: relative; }

/* ============================================
   SENIOR PASS — perf, motion, polish, depth
   ============================================ */

/* Perf: containment + content-visibility on heavy sections */
.section,
.service-block,
.stats-bar,
.testimonials-section,
.cta-section,
.sede-panel,
.sedes-hero {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
}

/* Localized grain — only paints inside the hero, not full viewport */
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
    opacity: 0.12;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 3;
}

/* Scroll progress bar — sits above header */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 1100;
    background: transparent;
    pointer-events: none;
}
.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-400) 0%, var(--gold-500) 50%, var(--gold-400) 100%);
    box-shadow: 0 0 12px rgba(240, 185, 11, 0.6);
    transform-origin: left center;
    transition: width 90ms linear;
}

/* Ambient aurora glow — absolutely positioned inside hero */
.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.hero-aurora::before,
.hero-aurora::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    will-change: transform;
}
.hero-aurora::before {
    width: 520px; height: 520px;
    top: -10%; left: -8%;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.55) 0%, transparent 70%);
    animation: auroraDrift 22s ease-in-out infinite alternate;
}
.hero-aurora::after {
    width: 620px; height: 620px;
    bottom: -20%; right: -12%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, transparent 70%);
    animation: auroraDrift 30s ease-in-out 2s infinite alternate-reverse;
}
@keyframes auroraDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(40px, -30px, 0) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-aurora::before, .hero-aurora::after { animation: none; }
}

/* Refined reveal — natural spring-ish, idle-paced */
.reveal {
    transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 800ms cubic-bezier(0.22, 1, 0.36, 1),
                filter 800ms ease;
    filter: blur(2px);
}
.reveal--visible { filter: blur(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
    .reveal { filter: none; }
}

/* Hero — senior typography */
.hero-title {
    font-variation-settings: "wght" 700;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.hero-title-line { display: block; }
.hero-desc {
    text-wrap: pretty;
    max-width: 640px;
}

/* Status pill — live ping */
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    margin-bottom: var(--space-5);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    width: max-content;
}
.hero-status-dot {
    position: relative;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold-400);
    flex-shrink: 0;
}
.hero-status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gold-400);
    opacity: 0.5;
    animation: pingPulse 2.2s ease-out infinite;
}
@keyframes pingPulse {
    0% { transform: scale(0.7); opacity: 0.5; }
    70%, 100% { transform: scale(1.8); opacity: 0; }
}
.hero-status strong { color: var(--text-primary); font-weight: 700; }

/* Hero marquee — animated "Lima · Ica" ticker as hero background echo */
.hero-marquee {
    position: absolute;
    bottom: -15px;
    left: 0; right: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    opacity: 0.06;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
.hero-marquee-track {
    display: flex;
    gap: 48px;
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 9rem);
    line-height: 0.9;
    white-space: nowrap;
    color: var(--text-primary);
    animation: marqueeDrift 38s linear infinite;
    will-change: transform;
}
.hero-marquee-track span { display: inline-flex; align-items: center; gap: 32px; }
.hero-marquee-track span::after {
    content: '';
    width: 14px; height: 14px;
    background: var(--gold-500);
    border-radius: 50%;
    flex-shrink: 0;
}
@keyframes marqueeDrift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-marquee-track { animation: none; }
}

/* Hero scroll hint — thin arrow indicator */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 4;
    pointer-events: none;
}
.hero-scroll-hint-line {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, transparent, var(--gold-400), transparent);
    animation: scrollHint 2.2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollHint {
    0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 640px) { .hero-scroll-hint { display: none; } }

/* Credentials strip — small typographic affidavit */
.credentials-strip {
    display: flex;
    gap: var(--space-8);
    padding: var(--space-6) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: auto;
    scrollbar-width: none;
}
.credentials-strip::-webkit-scrollbar { display: none; }
.credentials-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    white-space: nowrap;
    transition: color var(--duration-base);
}
.credentials-strip-item svg { width: 14px; height: 14px; color: var(--gold-400); flex-shrink: 0; }
.credentials-strip-item:hover { color: var(--text-primary); }

/* Section number — big decorative numeral */
.section-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(240, 185, 11, 0.25);
    display: block;
    margin-bottom: var(--space-2);
}

/* Magnetic buttons — subtle follow of cursor (JS driven) */
.btn[data-magnetic] {
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--duration-base), background var(--duration-base);
    will-change: transform;
}

/* Odometer — monospaced stat counter */
.stat-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Refined buttons — a subtle inner highlight */
.btn-primary {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}
.btn-primary.btn-lg { font-size: 13px; letter-spacing: 0.06em; }
.btn-whatsapp {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}
.btn-whatsapp.btn-lg { font-size: 13px; letter-spacing: 0.06em; }
.btn-ghost {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}
.btn-outline {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

/* Section heads — more editorial spacing */
.section-header {
    margin-bottom: var(--space-12);
}
.section-badge {
    position: relative;
    padding-left: 26px;
}
.section-badge::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 18px; height: 1px;
    background: var(--gold-500);
    transform: translateY(-50%);
}

/* Link underline motion on footer + breadcrumb */
.footer a, .breadcrumb a {
    position: relative;
    transition: color var(--duration-base);
}
.footer-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: var(--gold-400);
    transition: width 300ms var(--ease-out);
}
.footer-links a:hover { color: var(--gold-400); }
.footer-links a:hover::after { width: 100%; }

/* Hero CTA row — better vertical rhythm */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    margin-top: var(--space-8);
}
.hero-cta-meta {
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-cta-meta svg { width: 14px; height: 14px; color: var(--gold-400); }

/* Image card reveal with clip-path for hero mockup */
.clip-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1200ms cubic-bezier(0.77, 0, 0.175, 1);
}
.clip-reveal.reveal--visible {
    clip-path: inset(0 0 0 0);
}

/* Service card — sharper hover */
.service-card {
    transition: transform 400ms var(--ease-out), border-color var(--duration-base), box-shadow var(--duration-base);
    will-change: transform;
}
.service-card:hover {
    transform: translateY(-6px);
}

/* Subtle grain on section dividers — editorial feel */
.section + .section { border-top: 1px solid var(--border-subtle); }

/* Accent rail on sede panels */
.sede-panel { position: relative; }

/* Reduce pill layout shift when content swaps */
.sede-pill { min-width: 108px; justify-content: space-between; }

/* Hero layout — single column with precision grid */
.hero-content {
    position: relative;
    z-index: 4;
}
.hero-badge {
    font-size: 11px;
    letter-spacing: 0.2em;
}

/* Disable heavy animations while user is scrolling (class set by JS) */
html.is-scrolling .sede-service-tile:hover,
html.is-scrolling .service-card:hover,
html.is-scrolling .sede-teaser-card:hover {
    transform: none;
    transition: none;
}

/* Kill layout-thrashing hover on touch */
@media (hover: none) {
    .sede-teaser-card:hover { transform: none; }
    .sede-teaser-card:hover::before { transform: scale(1); }
    .service-card:hover { transform: none; }
}

/* ================================================================
   PREMIUM TIER — editorial dark refinement
   ================================================================ */

/* Global typographic upgrade */
body {
    font-feature-settings: "ss01", "cv11";
    font-optical-sizing: auto;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--gold-400);
    font-feature-settings: "ss01";
}

/* Page titles inherit serif accent */
.page-title em,
.section-title em,
.sedes-hero-title em {
    color: var(--gold-400);
}

/* ================================================================
   HERO EPIC — cinematic desktop split / immersive mobile full-bleed
   ================================================================ */
.hero-epic {
    position: relative;
    min-height: 100vh;
    background: var(--navy-900);
    overflow: hidden;
    isolation: isolate;
}

/* ---------- VISUAL (photo) ---------- */
.hero-epic-visual {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}
.hero-epic-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(1.20) contrast(1.0) saturate(1.10);
}
.hero-epic-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0) 85%, rgba(2, 6, 23, 0.20) 97%, var(--bg-base) 100%);
}
.hero-epic-visual-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* ---------- CONTENT ---------- */
.hero-epic-content {
    position: relative;
    z-index: 2;
    padding: 140px var(--space-6) var(--space-16);
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
}

.hero-epic-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: var(--space-8);
    width: max-content;
}
.hero-epic-eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--gold-500);
}

.hero-epic-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 11vw, 9rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--space-8);
    max-width: 14ch;
}
.hero-epic-title-line {
    display: block;
    overflow: hidden;
}
.hero-epic-title-accent em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: 0.95em;
    letter-spacing: -0.02em;
    color: var(--gold-400);
}

.hero-epic-desc {
    font-size: clamp(0.95rem, 1.3vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 52ch;
    margin-bottom: var(--space-10);
}

.hero-epic-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-8);
}
.hero-epic-cta .btn {
    letter-spacing: 0.08em !important;
    font-size: 12px !important;
}

.hero-epic-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    padding: 4px 0;
    position: relative;
    transition: color 250ms;
}
.hero-epic-link::after {
    content: '';
    position: absolute;
    left: 0; right: 36px;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform-origin: left center;
    transition: transform 400ms var(--ease-out);
}
.hero-epic-link:hover { color: var(--gold-400); }
.hero-epic-link:hover::after { transform: scaleX(1.1); }
.hero-epic-link-arrow {
    display: inline-block;
    transition: transform 350ms var(--ease-out);
}
.hero-epic-link:hover .hero-epic-link-arrow { transform: translateX(6px); }

/* ---------- CAPTION (live badge bottom-right of photo) ---------- */
.hero-epic-caption {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}
.hero-epic-caption strong { color: var(--text-primary); font-weight: 700; }
.hero-epic-caption-dot {
    position: relative;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold-400);
    flex-shrink: 0;
}
.hero-epic-caption-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gold-400);
    opacity: 0.4;
    animation: pingPulse 2.4s ease-out infinite;
}

/* ---------- META STRIP (stats overlaid on photo) ---------- */
.hero-epic-meta {
    position: absolute;
    z-index: 3;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.55) 0%, rgba(2, 6, 23, 0.85) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.hero-epic-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-5) var(--space-6);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-epic-meta-item:last-child { border-right: none; }
.hero-epic-meta-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.hero-epic-meta-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

/* ---------- SCROLL HINT ---------- */
.hero-epic-scroll {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-tertiary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: color 250ms;
}
.hero-epic-scroll:hover { color: var(--gold-400); }
.hero-epic-scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(180deg, transparent, currentColor, transparent);
    transform-origin: top;
    animation: scrollPulse 2.6s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ================================================================
   HERO EPIC — DESKTOP: editorial split (photo bleeds right half)
   ================================================================ */
@media (min-width: 1024px) {
    .hero-epic {
        min-height: calc(100vh - 0px);
    }
    .hero-epic-visual {
        left: 45%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .hero-epic-visual img {
        filter: brightness(1.20) contrast(1.0) saturate(1.10);
        object-position: center 25%;
    }
    .hero-epic-visual-overlay {
        background: linear-gradient(270deg,
            rgba(2, 6, 23, 0) 0%,
            rgba(2, 6, 23, 0.10) 50%,
            rgba(2, 6, 23, 0.75) 90%,
            var(--navy-900) 100%);
    }

    .hero-epic-content {
        padding: var(--space-24) var(--space-16) var(--space-20);
        justify-content: center;
        max-width: 1360px;
    }
    .hero-epic-content > * { max-width: 540px; }
    .hero-epic-title { max-width: 11ch; }
    .hero-epic-desc { max-width: 44ch; }
    .hero-epic-cta {
        max-width: 540px;
        flex-direction: row;
        align-items: center;
    }

    .hero-epic-caption {
        bottom: 120px;
        right: var(--space-10);
    }

    .hero-epic-meta {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.4) 0%, rgba(2, 6, 23, 0.9) 100%);
    }

    .hero-epic-scroll {
        bottom: 130px;
        left: var(--space-10);
    }
}

/* ================================================================
   HERO EPIC — MOBILE: full-bleed immersive
   ================================================================ */
@media (max-width: 1023px) {
    .hero-epic {
        min-height: 100vh;
    }
    .hero-epic-visual img {
        filter: brightness(1.0) contrast(1.05) saturate(1.0);
        object-position: center 65%;
    }
    .hero-epic-visual-overlay {
        background:
            linear-gradient(180deg,
                rgba(2, 6, 23, 0.20) 0%,
                rgba(2, 6, 23, 0.45) 40%,
                rgba(2, 6, 23, 0.85) 75%,
                var(--bg-base) 100%),
            radial-gradient(ellipse at 30% 40%, rgba(2, 6, 23, 0.55) 0%, rgba(2, 6, 23, 0) 60%);
    }
    .hero-epic-content {
        padding: 120px var(--space-5) 160px;
        min-height: 100vh;
    }
    .hero-epic-title {
        font-size: clamp(3rem, 14vw, 5rem);
        max-width: 100%;
    }
    .hero-epic-desc {
        max-width: 52ch;
    }
    .hero-epic-cta {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
        width: 100%;
    }
    .hero-epic-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-epic-link {
        justify-content: center;
        width: 100%;
        padding: 14px 20px;
        font-size: 12px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--text-primary);
        background: transparent;
        border: 1px solid var(--border-default);
        border-radius: 999px;
        transition: background var(--duration-base), border-color var(--duration-base), color var(--duration-base);
    }
    .hero-epic-link::after { display: none; }
    .hero-epic-link:hover {
        color: var(--gold-400);
        border-color: var(--gold-500);
        background: rgba(240, 185, 11, 0.06);
    }
    .hero-epic-caption {
        top: 88px;
        right: var(--space-5);
        font-size: 10px;
        padding: 8px 12px;
    }
    .hero-epic-meta {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        grid-template-columns: repeat(4, 1fr);
    }
    .hero-epic-meta-item {
        padding: var(--space-4) var(--space-3);
        gap: 2px;
    }
    .hero-epic-meta-value {
        font-size: clamp(1.125rem, 4.5vw, 1.5rem);
    }
    .hero-epic-meta-label {
        font-size: 8px;
        letter-spacing: 0.18em;
    }
    .hero-epic-scroll { display: none; }
}

@media (max-width: 520px) {
    .hero-epic-content { padding-top: 96px; }
    .hero-epic-eyebrow { font-size: 10px; letter-spacing: 0.2em; margin-bottom: var(--space-6); }
    .hero-epic-eyebrow-line { width: 20px; }
}

/* Kill the old hero-v2 if any remnants reference it */
.hero-v2 { display: none; }

/* Footer mobile: Sedes span both cols so it doesn't sit alone */
@media (max-width: 899px) {
    .footer-contact {
        grid-column: 1 / -1;
        padding-top: var(--space-6);
        border-top: 1px solid var(--border-subtle);
    }
    .footer-social { justify-content: flex-start; }
}

/* ================================================================
   PROOF BAR — editorial strip after hero
   ================================================================ */
.proof-bar {
    padding: var(--space-10) 0;
    background: var(--navy-850);
    border-bottom: 1px solid var(--border-subtle);
}
.proof-bar-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}
.proof-bar-grid li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: var(--space-6);
    border-right: 1px solid var(--border-subtle);
}
.proof-bar-grid li:last-child { border-right: none; padding-right: 0; }
.proof-bar-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.proof-bar-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
@media (max-width: 720px) {
    .proof-bar-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
    .proof-bar-grid li:nth-child(2) { border-right: none; padding-right: 0; }
}

/* Hide legacy hero-epic-meta/caption/scroll (we moved stats out, keep CSS dormant) */
.hero-epic-meta,
.hero-epic-caption,
.hero-epic-scroll { display: none !important; }

/* ================================================================
   SERVICES NAV — compact editorial chips (replaces bulky card grid)
   ================================================================ */
.services-nav {
    padding: var(--space-6) 0 var(--space-8);
    position: sticky;
    top: 72px;
    z-index: 50;
    background: rgba(6, 14, 29, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    transition: top 300ms var(--ease-out);
}
.header.scrolled ~ main .services-nav { top: 60px; }

.services-nav .nav-grid {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    -ms-overflow-style: none;
}
.services-nav .nav-grid::-webkit-scrollbar { display: none; }

.services-nav .nav-card {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 200ms, background 200ms, border-color 200ms;
    white-space: nowrap;
    text-decoration: none;
}
.services-nav .nav-card:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-default);
}

.services-nav .nav-card-num {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--gold-400);
    font-variant-numeric: tabular-nums;
}
.services-nav .nav-card-name {
    font-size: 13px;
    font-weight: 500;
}
.services-nav .nav-card-price { display: none; }

@media (min-width: 900px) {
    .services-nav .nav-grid {
        justify-content: center;
        gap: 2px;
    }
}
@media (max-width: 899px) {
    .services-nav {
        padding: var(--space-4) 0;
        top: 60px;
    }
    .services-nav .container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
    .services-nav .nav-card {
        padding: 8px 14px;
    }
}

/* ================================================================
   HERO V2 (legacy) — not used, kept for compat
   ================================================================ */
.hero-v2 {
    position: relative;
    padding: calc(100px + var(--space-16)) 0 var(--space-20);
    background: linear-gradient(180deg, var(--navy-850) 0%, var(--bg-base) 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}
.hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 100%;
    mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 70%, transparent 100%);
    pointer-events: none;
}

.hero-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
    position: relative;
    z-index: 2;
}
@media (min-width: 1024px) {
    .hero-v2-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: var(--space-16);
    }
}
@media (max-width: 1023px) {
    .hero-v2-visual { order: -1; max-width: 480px; margin: 0 auto; }
    .hero-v2-visual-frame { aspect-ratio: 16 / 11; }
}

.hero-v2-body { max-width: 640px; }

.hero-v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}
.hero-v2-eyebrow-dot {
    position: relative;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold-400);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.18);
}

.hero-v2-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6.5vw, 5.25rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    font-weight: 400;
}
.hero-v2-title span { display: block; }
.hero-v2-title em {
    font-size: 0.95em;
    letter-spacing: -0.02em;
    font-weight: 300;
}

.hero-v2-desc {
    font-size: clamp(0.95rem, 1.3vw, 1.0625rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 56ch;
    margin-bottom: var(--space-8);
}

.hero-v2-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-12);
}

.hero-v2-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-subtle);
    margin: 0;
}
@media (max-width: 640px) {
    .hero-v2-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-3);
    }
}
.hero-v2-stats > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: var(--space-3);
    border-right: 1px solid var(--border-subtle);
}
.hero-v2-stats > div:last-child { border-right: none; padding-right: 0; }
.hero-v2-stats dt {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    order: 2;
    line-height: 1;
}
.hero-v2-stats dd {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 0;
    order: 1;
    font-variant-numeric: tabular-nums;
}

/* Hero visual (right side) */
.hero-v2-visual {
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.hero-v2-visual-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-default);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
    background: var(--navy-900);
}
@media (min-width: 1024px) {
    .hero-v2-visual-frame { aspect-ratio: 3 / 4; }
}

.hero-v2-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(0.35) brightness(0.7) contrast(1.05) saturate(0.8);
    transition: filter 800ms ease;
}
.hero-v2-visual:hover .hero-v2-visual-frame img {
    filter: grayscale(0) brightness(0.85) contrast(1) saturate(1);
}

.hero-v2-visual-tint {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.2) 0%, rgba(10, 22, 40, 0.8) 100%),
        linear-gradient(135deg, rgba(240, 185, 11, 0.12) 0%, transparent 50%, rgba(59, 130, 246, 0.08) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.hero-v2-visual-caption {
    position: absolute;
    bottom: 20px; left: 20px; right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
    padding: 14px 16px;
    background: rgba(6, 14, 29, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-size: 11px;
}
.hero-v2-visual-caption-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-400);
}
.hero-v2-visual-caption-label::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.2);
    animation: pingPulse 2.5s ease-out infinite;
}
.hero-v2-visual-caption-value {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.hero-v2-visual-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding: 0 4px;
}
.hero-v2-visual-ticker span:nth-child(even) { color: var(--text-tertiary); opacity: 0.5; }

/* ================================================================
   MÉTODO — 3-step process editorial
   ================================================================ */
.metodo-section {
    background: var(--navy-850);
    position: relative;
    padding: var(--space-20) 0;
}
.metodo-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 80%);
    pointer-events: none;
}
.metodo-section > .container { position: relative; z-index: 1; }

.metodo-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    counter-reset: step;
    position: relative;
}
@media (min-width: 900px) {
    .metodo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    .metodo-grid::before {
        content: '';
        position: absolute;
        top: 56px;
        left: 14%;
        right: 14%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
        z-index: 0;
    }
}

.metodo-step {
    position: relative;
    padding: var(--space-8) var(--space-6);
    background: linear-gradient(180deg, var(--navy-750) 0%, var(--navy-800) 100%);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    transition: transform 400ms var(--ease-out), border-color 400ms, box-shadow 400ms;
}
@media (min-width: 900px) {
    .metodo-step { border-radius: 0; border-right-width: 0; }
    .metodo-step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
    .metodo-step:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border-right-width: 1px; }
}
.metodo-step:hover {
    border-color: rgba(240, 185, 11, 0.3);
    transform: translateY(-4px);
    z-index: 2;
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7);
}

.metodo-step-num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4rem);
    line-height: 0.85;
    letter-spacing: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(240, 185, 11, 0.4);
    margin-bottom: var(--space-5);
    display: block;
}

.metodo-step-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    font-weight: 400;
}

.metodo-step-desc {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: var(--space-5);
}
@media (min-width: 900px) {
    .metodo-step-desc { max-width: 38ch; }
}

.metodo-step-meta {
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
    width: 100%;
}

/* ================================================================
   SECTION HEADER — refined editorial
   ================================================================ */
.section-header {
    max-width: 680px;
    margin: 0 auto var(--space-16);
    text-align: center;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-weight: 400;
    text-wrap: balance;
}
.section-desc {
    font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 56ch;
    margin: 0 auto;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 24px;
    background: transparent;
    color: var(--gold-400);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
    position: relative;
}
.section-badge::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 18px; height: 1px;
    background: var(--gold-500);
    transform: translateY(-50%);
}

/* ================================================================
   FAQ accordion — accessible editorial
   ================================================================ */
.faq-section { padding: var(--space-20) 0; }
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--border-subtle);
}
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    width: 100%;
    padding: var(--space-6) 0;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 500;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: color var(--duration-base);
}
.faq-question:hover { color: var(--gold-400); }
.faq-question-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-700);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: transform 300ms var(--ease-out), background var(--duration-base), color var(--duration-base);
    position: relative;
}
.faq-question-icon::before,
.faq-question-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform 300ms var(--ease-out);
}
.faq-question-icon::before { width: 12px; height: 2px; }
.faq-question-icon::after { width: 2px; height: 12px; }
.faq-item[aria-expanded="true"] .faq-question-icon {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--navy-900);
}
.faq-item[aria-expanded="true"] .faq-question-icon::after { transform: scaleY(0); }
.faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 400ms var(--ease-out);
}
.faq-item[aria-expanded="true"] .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer {
    overflow: hidden;
    opacity: 0;
    transition: opacity 300ms ease 100ms;
}
.faq-item[aria-expanded="true"] .faq-answer { opacity: 1; }
.faq-answer-inner {
    padding-bottom: var(--space-6);
    padding-right: var(--space-10);
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
    max-width: 72ch;
}
.faq-answer-inner p + p { margin-top: var(--space-3); }

/* ================================================================
   PROGRAMS — magazine layout
   ================================================================ */
.programs-magazine {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-top: var(--space-10);
}
@media (min-width: 1024px) {
    .programs-magazine {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: minmax(280px, auto);
    }
    .programs-magazine > *:nth-child(1) { grid-column: span 4; grid-row: span 2; }
    .programs-magazine > *:nth-child(2) { grid-column: span 2; }
    .programs-magazine > *:nth-child(3) { grid-column: span 2; }
    .programs-magazine > *:nth-child(4) { grid-column: span 2; }
    .programs-magazine > *:nth-child(5) { grid-column: span 2; }
    .programs-magazine > *:nth-child(6) { grid-column: span 2; }
}

.program-tile {
    position: relative;
    padding: var(--space-6);
    background: linear-gradient(180deg, var(--navy-750) 0%, var(--navy-800) 100%);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-4);
    color: inherit;
    overflow: hidden;
    transition: border-color 300ms, transform 400ms var(--ease-out);
    min-height: 220px;
}
.program-tile:hover {
    border-color: rgba(240, 185, 11, 0.35);
    transform: translateY(-3px);
}
.program-tile--featured {
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.25) 0%, rgba(10, 22, 40, 0.85) 70%, var(--navy-800) 100%),
        url('../imagenes/one-dog-4.JPG') center/cover;
    min-height: 360px;
    border-color: rgba(240, 185, 11, 0.2);
}
.program-tile-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-3);
}
.program-tile-num {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.14em;
    color: var(--text-tertiary);
    font-feature-settings: "tnum";
}
.program-tile-tag {
    display: inline-flex;
    padding: 3px 10px;
    background: rgba(240, 185, 11, 0.15);
    color: var(--gold-400);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid rgba(240, 185, 11, 0.25);
}
.program-tile-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.program-tile-name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-weight: 400;
}
.program-tile--featured .program-tile-name {
    font-size: clamp(2rem, 4vw, 3rem);
}
.program-tile-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}
@media (min-width: 900px) {
    .program-tile-desc { max-width: 44ch; }
}
.program-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-400);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
    transition: gap 300ms var(--ease-out), color 300ms;
    margin-top: auto;
}
.program-tile-cta svg { width: 14px; height: 14px; transition: transform 300ms; }
.program-tile:hover .program-tile-cta { gap: 12px; }
.program-tile:hover .program-tile-cta svg { transform: translateX(3px); }

/* ================================================================
   TEAM — trainer cards
   ================================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    max-width: 960px;
    margin: 0 auto;
}
.team-card {
    background: var(--navy-750);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 300ms, transform 400ms var(--ease-out);
}
.team-card:hover {
    border-color: rgba(240, 185, 11, 0.3);
    transform: translateY(-4px);
}
.team-card-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--navy-900);
}
.team-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) brightness(0.85);
    transition: filter 500ms ease, transform 800ms var(--ease-out);
}
.team-card:hover .team-card-image img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.03);
}
.team-card-body { padding: var(--space-5); }
.team-card-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin-bottom: 4px;
    font-weight: 400;
}
.team-card-role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: var(--space-3);
}
.team-card-bio {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

/* ================================================================
   PROGRAMS SECTION heading — give it room
   ================================================================ */
.section#servicios .services-grid {
    display: none; /* replaced by programs-magazine */
}

/* Page-level tweaks to match Premium Tier */
.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    font-weight: 400;
}
.page-desc {
    font-size: clamp(0.95rem, 1.3vw, 1.0625rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 58ch;
}

/* Refine stats-bar (leftover from other pages) */
.stats-bar { background: var(--navy-850); }

/* Editorial divider */
.hairline-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-default), transparent);
    border: 0;
    margin: var(--space-16) auto;
    max-width: 80%;
}

/* ================================================================
   HEADER V3 — clean editorial. logo · nav · sede switcher · CTA
   ================================================================ */
.header {
    padding: 0;
    height: 72px;
    display: flex;
    align-items: center;
    transition: height 300ms var(--ease-out), background 300ms;
}
.header.scrolled { height: 60px; }
.header::before {
    background: rgba(6, 14, 29, 0.85);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
.header::after { display: none; }
.header > .container { width: 100%; }

.header-inner {
    gap: var(--space-8);
    min-height: unset;
    height: 100%;
}

/* Logo — minimal wordmark, hide brochure subtitle */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-img {
    width: 32px;
    height: 32px;
    filter: none;
    transition: transform 300ms var(--ease-out);
}
.logo:hover .logo-img { transform: rotate(-8deg); }
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 0;
}
.logo-name {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.18em;
    color: var(--text-primary);
    font-weight: 400;
}
.logo-tagline { display: none; }

/* Nav — centered, hairline underline on active */
.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: var(--space-6);
}
.nav-link {
    position: relative;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--text-tertiary);
    border-radius: var(--radius-sm);
    transition: color 200ms;
    background: transparent !important;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--text-primary); }
.nav-link.active::before {
    content: '';
    position: absolute;
    left: 14px; right: 14px;
    bottom: 2px;
    height: 1px;
    background: var(--gold-500);
}
.nav-link::after { display: none; }

/* Header actions — push right, tight gap */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-left: auto;
}
.header-phone { display: none; }

/* SEDE SWITCHER — segmented control, always visible, the star of the header */
.sede-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.sede-switcher-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.sede-switcher-track {
    position: relative;
    display: inline-flex;
    padding: 3px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
}
.sede-switcher-btn {
    position: relative;
    z-index: 2;
    padding: 6px 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: color 250ms var(--ease-out);
}
.sede-switcher-btn:hover { color: var(--text-secondary); }
.sede-switcher-btn[aria-pressed="true"] { color: var(--navy-900); }
.sede-switcher-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 200ms;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(240, 185, 11, 0.25);
}
.sede-switcher[data-sede="lima"] .sede-switcher-thumb {
    opacity: 1;
    transform: translateX(0);
}
.sede-switcher[data-sede="ica"] .sede-switcher-thumb {
    opacity: 1;
    transform: translateX(100%);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Header CTA — compact primary with arrow */
.header-cta {
    padding: 9px 16px !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Hide sede-pill legacy if ever present */
#sedePill { display: none !important; }

/* Responsive collapse */
@media (max-width: 1100px) {
    .nav { display: none; }
}
@media (max-width: 820px) {
    .sede-switcher-label { display: none; }
    .sede-switcher-btn { padding: 5px 10px; font-size: 10px; letter-spacing: 0.08em; }
    .header-cta { display: none; }
}
@media (max-width: 520px) {
    .header { height: 60px; }
    .logo-name { font-size: 16px; }
    .sede-switcher { gap: 0; }
}

/* ================================================================
   FOUNDER SECTION — Darwin Madrid
   ================================================================ */
.founder-section {
    background: var(--navy-850);
    padding: var(--space-20) 0;
    position: relative;
}
.founder-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 0%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 0%, transparent 85%);
    pointer-events: none;
}
.founder-section > .container { position: relative; z-index: 1; }

.founder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .founder-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: var(--space-16);
    }
}

.founder-visual {
    position: relative;
}
.founder-image {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-default);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
    background: var(--navy-900);
}
.founder-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0) 55%, rgba(2, 6, 23, 0.65) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.10) 0%, rgba(2, 6, 23, 0) 30%);
    pointer-events: none;
}
.founder-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: contrast(1.05) saturate(1.05);
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.founder-visual:hover .founder-image img {
    transform: scale(1.03);
}
.founder-badge {
    position: absolute;
    bottom: -16px;
    left: 24px;
    display: flex;
    flex-direction: column;
    padding: 12px 20px;
    background: var(--navy-900);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}
.founder-badge-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}
.founder-badge-value {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.06em;
    color: var(--gold-400);
    line-height: 1;
}

.founder-body { max-width: 560px; }
.founder-body .section-badge { margin-bottom: var(--space-4); }
.founder-body .section-title {
    text-align: left;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-5);
}
.founder-lead {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 52ch;
}
.founder-quote {
    margin: 0 0 var(--space-10);
    padding: var(--space-6) var(--space-6) var(--space-6) var(--space-8);
    background: linear-gradient(180deg, var(--navy-750) 0%, var(--navy-800) 100%);
    border-left: 2px solid var(--gold-500);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
}
.founder-quote::before {
    content: '"';
    position: absolute;
    top: -12px;
    left: 16px;
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 1;
    color: var(--gold-500);
    opacity: 0.5;
    font-style: italic;
}
.founder-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.125rem, 1.8vw, 1.375rem);
    line-height: 1.55;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    letter-spacing: -0.01em;
}
.founder-quote footer {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.founder-timeline {
    list-style: none;
    margin: 0 0 var(--space-10);
    padding: var(--space-2) 0 var(--space-2) var(--space-6);
    border-left: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: relative;
}
.founder-timeline li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: var(--space-4);
    align-items: baseline;
    position: relative;
}
.founder-timeline li::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--space-6) - 4px);
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.15);
}
.founder-timeline-year {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.04em;
    color: var(--gold-400);
    line-height: 1;
}
.founder-timeline-event {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}
@media (max-width: 640px) {
    .founder-timeline li { grid-template-columns: 60px 1fr; gap: var(--space-3); }
    .founder-timeline-year { font-size: 16px; }
    .founder-timeline-event { font-size: 13px; }
}

.founder-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-subtle);
    margin: 0;
}
.founder-meta > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-4);
    align-items: baseline;
}
@media (max-width: 640px) {
    .founder-meta > div { grid-template-columns: 1fr; gap: 4px; }
}
.founder-meta dt {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.founder-meta dd {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

