/* =========================================================
   Ingreso360 · SISTEMA DE DISEÑO GLOBAL
   Paleta principal: Naranja (#C2410C) + Azul (#1D4ED8)
========================================================= */

/* ============== TOKENS ============== */
:root {
    /* Marca — Naranja */
    --primary: #e4852d;
    --primary-dark: #cc6b4b;
    --primary-light: #EA580C;
    --primary-soft: #FFEDD5;
    --primary-bg: #FFF7ED;

    /* Marca — Azul */
    --secondary: #1D4ED8;
    --secondary-dark: #1E40AF;
    --secondary-light: #3B82F6;
    --secondary-soft: #DBEAFE;
    --secondary-bg: #EFF6FF;

    /* Estados */
    --success: #16A34A;
    --success-bg: #DCFCE7;
    --warning: #EA580C;
    --warning-bg: #FFF7ED;
    --danger: #EF4444;
    --danger-bg: #FEF2F2;
    --info: #3B82F6;
    --info-bg: #EFF6FF;

    /* Superficies */
    --bg: #F8FAFC;
    --bg-alt: #F1F5F9;
    --surface: #FFFFFF;
    --surface-alt: #F8FAFC;
    --border: #E2E8F0;
    --border-soft: #F1F5F9;

    /* Texto */
    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;

    /* Sombras */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.16);

    /* Radios */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transiciones */
    --transition-fast: all 0.15s ease;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Tipografía */
    --font-heading: 'Manrope', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Layout */
    --container: 1200px;
    --header-height: 72px;
}

/* ============== MODO OSCURO ============== */
[data-theme="dark"] {
    --bg: #0F172A;
    --bg-alt: #1E293B;
    --surface: #1E293B;
    --surface-alt: #334155;
    --border: #334155;
    --border-soft: #1E293B;

    --text: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;

    --primary-soft: #7C2D12;
    --primary-bg: #431407;
    --secondary-soft: #1E3A8A;
    --secondary-bg: #16295c;

    --success-bg: #14532D;
    --warning-bg: #7C2D12;
    --danger-bg: #7F1D1D;
    --info-bg: #1E3A8A;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.7);
}

/* ============== RESET ============== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
}

ul { list-style: none; }

:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: var(--radius-xs);
}

/* ============== LAYOUT ============== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt { background: var(--bg-alt); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary-dark);
    background: var(--secondary-soft);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============== BOTONES ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    text-align: center;
}

.btn i { font-size: 0.95em; }

.btn-primary {
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 14px rgba(194, 65, 12, 0.25);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(194, 65, 12, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border);
}
.btn-ghost:hover {
    background: var(--surface-alt);
    color: var(--text);
    border-color: var(--text-muted);
}

.btn-light {
    background: #FFFFFF;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; display: flex; }

/* ============== SCROLLBAR ============== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-alt);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ============== ANIMACIONES ============== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

@keyframes floatIllustration {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* =========================================================
   HEADER
========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 100;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.85);
}

.header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1.5rem;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text);
    letter-spacing: 0.05em;
}

.brand-text span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 0.15em;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

/* ---- Desplegables del header ---- */
.nav-drop { position: relative; }
.drop-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.drop-caret { font-size: 0.65rem; transition: transform 0.25s; }
.nav-drop.open .drop-caret,
.nav-drop:hover .drop-caret { transform: rotate(180deg); }
.drop-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 300px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    display: grid;
    gap: 0.15rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
    z-index: 60;
}
.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu,
.nav-drop.open .drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-drop.open .drop-toggle { color: var(--primary); background: var(--primary-bg); }
.drop-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}
.drop-item:hover { background: var(--primary-bg); }
.drop-item > i {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 0.95rem;
}
.drop-item span { display: flex; flex-direction: column; line-height: 1.25; }
.drop-item strong { font-size: 0.88rem; color: var(--text); }
.drop-item small { font-size: 0.75rem; color: var(--text-secondary); }
.drop-item.drop-cta { background: var(--primary); margin-top: 0.25rem; }
.drop-item.drop-cta:hover { background: var(--primary-dark); }
.drop-item.drop-cta > i { background: rgba(255,255,255,0.18); color: #fff; }
.drop-item.drop-cta strong, .drop-item.drop-cta small { color: #fff; }

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-bg);
    color: var(--primary);
    transform: rotate(15deg);
}

.menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    color: var(--text);
    font-size: 1.1rem;
    transition: var(--transition);
}

.menu-btn:hover { background: var(--primary-bg); color: var(--primary); }

/* =========================================================
   HERO SLIDER
========================================================= */
.hero { padding: 0; }
.hero-slider {
    position: relative;
    min-height: max(640px, 92vh);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #0A2150;
    padding-top: var(--header-height);
}
.hero-slides { position: relative; flex: 1; display: flex; }
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.hero-slide.active .hero-slide-bg { animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 80% 10%, rgba(0,0,0,0) 55%, rgba(4,10,24,0.5) 100%),
        linear-gradient(100deg, rgba(10,30,62,0.94) 0%, rgba(10,30,62,0.74) 45%, rgba(10,30,62,0.34) 75%, rgba(10,30,62,0.12) 100%),
        linear-gradient(to top, var(--bg) 0%, rgba(0,0,0,0) 12%);
}
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.07;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/><feColorMatrix type="saturate" values="0"/></filter><rect width="160" height="160" filter="url(%23n)" opacity="0.55"/></svg>');
}
.hero-watermark {
    position: absolute;
    right: 2rem;
    bottom: 0.5rem;
    z-index: 1;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(7rem, 20vw, 15rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.16);
    user-select: none;
    pointer-events: none;
}
.hero-slide { justify-content: center; }
.hero-slide-content {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 4.5rem;
    color: #fff;
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-slide-content .hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
    margin: 0 0 1.1rem;
    text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-slide-content .hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    max-width: 36rem;
    margin-inline: auto;
    color: rgba(255,255,255,0.88);
    margin: 0 auto 1.8rem;
    text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}
.hero-slide-content .hero-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}
.hero-badge .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 0 rgba(74,222,128,0.7);
    animation: livePulse 2s infinite;
}
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.7); }
    70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hero-slide-content .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.4rem;
}
.hero-slide-content .hero-actions .btn {
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.hero-slide-content .hero-title,
.hero-slide-content .hero-subtitle { color: #fff; }
.hero-slide-content .hero-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    backdrop-filter: blur(6px);
}
.hero-slide-content .hero-subtitle strong { color: #FDBA74; }
.hero-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.25rem;
    margin: 1.4rem 0 0;
    padding: 0;
}
.hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero-chips i { color: #FDBA74; }
.hero-slide-content .hero-badge i { color: #FDBA74; }

/* Entrada escalonada del contenido */
.hero-slide .rise { opacity: 0; transform: translateY(26px); }
.hero-slide.active .rise { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.hero-slide.active .rise:nth-child(2) { transition-delay: 0.12s; }
.hero-slide.active .rise:nth-child(3) { transition-delay: 0.24s; }
.hero-slide.active .rise:nth-child(4) { transition-delay: 0.36s; }
.hero-slide.active .rise:nth-child(5) { transition-delay: 0.48s; }

/* Controles */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.1);
    color: #fff;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.06); }
.hero-prev { left: 1.25rem; }
.hero-next { right: 1.25rem; }
.hero-nav {
    position: absolute;
    left: 0; right: 0;
    bottom: 1.4rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.hero-dots { display: flex; gap: 0.5rem; }
.hero-dot {
    width: 2.2rem;
    height: 5px;
    border-radius: 99px;
    border: 0;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.25s, width 0.25s;
    padding: 0;
}
.hero-dot { position: relative; overflow: hidden; }
.hero-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background: #FDBA74;
    border-radius: inherit;
}
.hero-dot.active { background: rgba(255,255,255,0.35); width: 3.2rem; }
.hero-dot.active::after { animation: dotFill 6s linear forwards; }
@keyframes dotFill { from { width: 0; } to { width: 100%; } }
.hero-slider:hover .hero-dot.active::after { animation-play-state: paused; }
.hero-count {
    font-family: ui-monospace, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    backdrop-filter: blur(6px);
}
.hero-count {
    font-family: monospace;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    min-width: 3ch;
}

/* =========================================================
   STATS
========================================================= */
.stats-section {
    padding: 0 0 4rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stats-grid .stat-card:nth-child(even) .stat-icon {
    background: var(--secondary-soft);
    color: var(--secondary-dark);
}
.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.85rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.25rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =========================================================
   ÁREAS
========================================================= */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.area-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: var(--primary);
    transition: var(--transition);
}

.area-card-blue::before { background: linear-gradient(90deg, #3B82F6, #6366F1); }
.area-card-green::before { background: linear-gradient(90deg, #EA580C, #C2410C); }
.area-card-gold::before { background: linear-gradient(90deg, #EA580C, #C2410C); }

.area-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.area-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--primary-soft);
    color: var(--primary);
}

.area-card-blue .area-icon { background: var(--secondary-soft); color: var(--secondary); }
.area-card-green .area-icon { background: var(--primary-soft); color: var(--primary); }
.area-card-gold .area-icon { background: var(--primary-soft); color: var(--primary); }

[data-theme="dark"] .area-card-blue .area-icon { background: var(--secondary-soft); color: #93C5FD; }
[data-theme="dark"] .area-card-green .area-icon { background: #7C2D12; color: #FDBA74; }
[data-theme="dark"] .area-card-gold .area-icon { background: #7C2D12; color: #FDBA74; }

.area-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }

.area-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    min-height: 3.6em;
}

.area-topics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.area-topics li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.area-topics i {
    color: var(--primary);
    font-size: 0.75rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.area-card-blue .area-topics i { color: #1D4ED8; }
.area-card-green .area-topics i { color: var(--primary); }
.area-card-gold .area-topics i { color: #C2410C; }
.area-tags{display:flex;gap:.4rem;flex-wrap:wrap;margin:.55rem 0 .8rem}
.area-badge{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;
  background:var(--primary-soft);color:var(--primary-dark);border-radius:40px;padding:.28rem .8rem}
.badge-soon{background:var(--secondary-soft) !important;color:var(--secondary-dark) !important;}
.btn-ghost.btn-block{width:100%;justify-content:center;margin-top:.5rem}
.brand-mark i { font-size: 1.15rem; }
.brand-tag { font-size: 0.62rem !important; letter-spacing: 0.08em !important; }
.header-cta { box-shadow: 0 6px 16px rgba(194,65,12,0.35); white-space: nowrap; }
.header-cta:hover { transform: translateY(-1px); }

/* ---- Mega menú Simulacros (desktop) ---- */
.nav-mega { position: static; }
.nav-mega .drop-menu.mega-menu {
    left: 50%;
    min-width: min(620px, calc(100vw - 2rem));
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.75rem;
    padding: 1rem;
    transform: translate(-50%, 8px);
}
.nav-mega:hover .drop-menu.mega-menu,
.nav-mega:focus-within .drop-menu.mega-menu,
.nav-mega.open .drop-menu.mega-menu { transform: translate(-50%, 0); }
.mega-col { display: flex; flex-direction: column; gap: 0.15rem; }
.mega-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 0.3rem 0.75rem;
}
.mega-cta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    text-decoration: none;
    margin-top: 0.35rem;
    transition: filter 0.2s, transform 0.2s;
}
.mega-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.mega-cta > i:first-child {
    width: 38px; height: 38px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.18);
}
.mega-cta span { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.mega-cta strong { font-size: 0.92rem; }
.mega-cta small { font-size: 0.76rem; opacity: 0.85; }
.mega-cta-arrow { font-size: 0.85rem; opacity: 0.8; }

.area-meta {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.area-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* =========================================================
   MODALIDADES
========================================================= */
.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.modalidad-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}

.modalidad-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.modalidad-card-alt {
    border-color: var(--secondary);
    background: linear-gradient(135deg, var(--surface) 0%, var(--secondary-bg) 100%);
}

.modalidad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.modalidad-header i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.4;
}

.modalidad-card-alt .modalidad-header i { color: var(--secondary); }

.modalidad-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.modalidad-badge-alt { background: var(--secondary); }

.modalidad-card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }

.modalidad-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.modalidad-list { display: flex; flex-direction: column; gap: 0.5rem; }

.modalidad-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.modalidad-list i { color: var(--primary); font-size: 0.9rem; }
.modalidad-card-alt .modalidad-list i { color: var(--secondary); }

/* =========================================================
   PASOS
========================================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}

.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    transition: var(--transition);
}

.step-card:hover .step-number { color: var(--secondary-soft); }

.step-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.25rem;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #FFFFFF;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(194, 65, 12, 0.3);
}

.steps-grid .step-card:nth-child(even) .step-icon {
    background: var(--secondary-soft);
    color: var(--secondary-dark);
}

.step-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================================================
   FEATURES
========================================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.feature-icon-green { background: var(--primary-soft); color: var(--primary); }
.feature-icon-blue { background: #DBEAFE; color: #1D4ED8; }
.feature-icon-gold { background: #FFEDD5; color: #C2410C; }
.feature-icon-purple { background: #EDE9FE; color: #7C3AED; }
.feature-icon-red { background: #FEE2E2; color: #DC2626; }

[data-theme="dark"] .feature-icon-green { background: rgba(194, 65, 12, 0.18); color: #FDBA74; }
[data-theme="dark"] .feature-icon-blue { background: #1E3A8A; color: #93C5FD; }
[data-theme="dark"] .feature-icon-gold { background: #7C2D12; color: #FDBA74; }
[data-theme="dark"] .feature-icon-purple { background: #4C1D95; color: #C4B5FD; }
[data-theme="dark"] .feature-icon-red { background: #7F1D1D; color: #FCA5A5; }

.feature-card h3 { font-size: 1rem; margin-bottom: 0.4rem; font-weight: 700; }

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* =========================================================
   PRECIO
========================================================= */
.price-wrapper { display: flex; justify-content: center; }

.price-card {
    position: relative;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2.5rem 2rem;
    max-width: 520px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.price-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

[data-theme="dark"] .price-badge {
    background: var(--primary-bg);
    color: var(--primary-light);
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.price-value {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-features i {
    color: var(--primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.price-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.price-note i { color: var(--primary); margin-right: 0.25rem; }

/* =========================================================
   FAQ
========================================================= */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }

.faq-item summary i {
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary i { transform: rotate(180deg); }

.faq-body {
    padding: 0 1.5rem 1.35rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =========================================================
   CTA FINAL
========================================================= */
.cta-final { padding: 5rem 0; background: var(--bg); }

.cta-card {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--secondary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2rem;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-title {
    position: relative;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.cta-subtitle {
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 2rem;
    opacity: 0.92;
}

.cta-actions {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-note { position: relative; font-size: 0.85rem; opacity: 0.85; }
.cta-note i { margin-right: 0.3rem; }

/* =========================================================
   FOOTER
========================================================= */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand .brand { margin-bottom: 1rem; }

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 320px;
    margin-bottom: 1.25rem;
}

.footer-social { display: flex; gap: 0.5rem; }

.footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--surface-alt);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-col a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-note i { margin: 0 0.2rem; }

/* =========================================================
   WHATSAPP FLOAT
========================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #FFFFFF;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: var(--transition);
    animation: pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

/* =========================================================
   LOGO CON IMAGEN
========================================================= */
.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #FFFFFF;
    padding: 2px;
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.25);
    transition: var(--transition);
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* ============== CREADORES (FOOTER) ============== */
.footer-creators {
    margin-top: 1.25rem;
}

.footer-creators-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-creators-title i {
    color: var(--primary);
    font-size: 0.8rem;
}

.footer-creators-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-creators-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: var(--transition);
}

.footer-creators-list li i {
    color: var(--primary);
    font-size: 0.7rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-creators-list li:hover {
    color: var(--primary);
    transform: translateX(3px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Refuerzos responsive globales */
html, body { overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hero-slide-content { max-width: 100%; }
.hero-slide-content .hero-actions .btn { flex-shrink: 1; min-width: 0; }

@media (max-width: 1024px) {
    .areas-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .steps-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .modalidades-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
    .nav-mega .drop-menu.mega-menu { left: auto; right: -6rem; transform: translateY(8px); }
    .nav-mega:hover .drop-menu.mega-menu,
    .nav-mega:focus-within .drop-menu.mega-menu,
    .nav-mega.open .drop-menu.mega-menu { transform: translateY(0); }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        gap: 0.25rem;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 0.9rem 1rem;
        font-size: 1rem;
        text-align: left;
        border-radius: var(--radius-sm);
    }

    .nav-drop { width: 100%; }
    .nav-drop .drop-toggle { width: 100%; justify-content: space-between; }
    .nav-drop .drop-menu {
        position: static;
        min-width: 0;
        box-shadow: none;
        border: 0;
        border-left: 3px solid var(--primary);
        border-radius: 0;
        padding: 0.25rem 0 0.25rem 0.5rem;
        margin-top: 0.25rem;
        display: none;
    }
    .nav-drop.open .drop-menu { display: grid; opacity: 1; visibility: visible; transform: none; }

    .nav-mega .drop-menu.mega-menu { grid-template-columns: 1fr; }
    .mega-title { margin-top: 0.5rem; }

    .menu-btn { display: grid; }
    .header-actions .btn span { display: none; }
    .header-actions .btn { padding: 0.6rem 0.85rem; }

    .nav > .nav-link, .nav-drop .drop-toggle { font-size: 1.05rem; font-weight: 700; }
    .nav .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
}

@media (max-width: 640px) {
    .hero-slider { min-height: max(600px, 94svh); }
    .hero-watermark { right: 0.75rem; font-size: clamp(5rem, 26vw, 7rem); opacity: 0.8; }
    .hero-slide-content .hero-title { letter-spacing: -0.02em; }
    .hero-arrow { display: none; }
    .hero-chips { gap: 0.45rem 0.9rem; }
    .hero-chips li { font-size: 0.82rem; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .features-grid { grid-template-columns: 1fr; }
    .price-card { padding: 1.75rem 1.5rem; }
    .price-value { font-size: 2.75rem; }
    .cta-card { padding: 2.5rem 1.5rem; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .whatsapp-float { bottom: 1rem; right: 1rem; width: 50px; height: 50px; font-size: 1.4rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .stat-card { padding: 1.25rem 1rem; }
    .stat-value { font-size: 1.6rem; }
    .stat-icon { width: 42px; height: 42px; font-size: 1.1rem; }
}

@media (max-width: 400px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.75rem; }
    .section-title { font-size: 1.5rem; }
    .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-slide { transition: none; }
    .hero-slide.active .hero-slide-bg { animation: none; }
    .hero-slide .rise { opacity: 1; transform: none; }
    .hero-dot.active::after { animation: none; width: 100%; }
    .hero-grain, .hero-watermark { display: none; }
}

/* Logo header/footer */
/* Logo completo sin recortar, respetando su proporción */
.brand-logo-full {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    flex-shrink: 0;
    transition: var(--transition);
}

.brand-logo-full:hover {
    transform: scale(1.04);
}

/* En móvil, reduce un poco el tamaño para que no ocupe todo el header */
@media (max-width: 640px) {
    .brand-logo-full {
        height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 400px) {
    .brand-logo-full {
        height: 36px;
        max-width: 130px;
    }
}

/* Destacado UNA Puno */
.nav-link.nav-flag{color:var(--primary);font-weight:800;display:inline-flex;align-items:center;gap:.4rem}
.nav-link.nav-flag i{font-size:.7rem;background:var(--primary);color:#fff;width:22px;height:22px;display:grid;place-items:center;border-radius:50%}
.nav-link.nav-flag:hover{background:var(--primary-soft)}
@media (max-width:1280px){
  .nav-link{padding:.5rem .6rem;font-size:.82rem}
  .header-inner{gap:.75rem}
}
