@font-face {
    font-family: 'Hind';
    src: url('../font/Hind-Light.woff2') format('woff2'),
        url('../font/Hind-Light.woff') format('woff'),
        url('../font/Hind-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Hind';
    src: url('../font/Hind-Regular.woff2') format('woff2'),
        url('../font/Hind-Regular.woff') format('woff'),
        url('../font/Hind-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Hind';
    src: url('../font/Hind-Medium.woff2') format('woff2'),
        url('../font/Hind-Medium.woff') format('woff'),
        url('../font/Hind-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Hind';
    src: url('../font/Hind-SemiBold.woff2') format('woff2'),
        url('../font/Hind-SemiBold.woff') format('woff'),
        url('../font/Hind-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Hind';
    src: url('../font/Hind-Bold.woff2') format('woff2'),
        url('../font/Hind-Bold.woff') format('woff'),
        url('../font/Hind-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* ══════════════════════════════════════════════
       DESIGN TOKENS — Alineado al Logotipo de Mappi
       Primary: #0066ff (azul brillante)
       Secondary: #0052cc (azul oscuro)
       Accent: #00a2ff (celeste brillante)
       Glow: #0ea5e9 (cyan)
    ══════════════════════════════════════════════ */
:root {
    --primary: #0066ff;
    --primary-light: #3385ff;
    --primary-dark: #004ecc;
    --indigo: #0052cc;
    --purple: #00a2ff;
    --cyan: #00d2ff;
    --violet-glow: rgba(0, 102, 255, 0.12);
    --purple-glow: rgba(0, 162, 255, 0.1);
    --cyan-glow: rgba(0, 210, 255, 0.08);

    --bg-dark: #f0f4f8;
    --bg-card: #ffffff;
    --border: rgba(0, 102, 255, 0.1);
    --border-hover: rgba(0, 102, 255, 0.25);

    --text-white: #0a1829;
    --text-muted: #3d5266;
    --text-subtle: #7a8f9e;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-glow: 0 0 60px rgba(0, 102, 255, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 102, 255, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03);
    --shadow-btn: 0 8px 24px rgba(0, 102, 255, 0.35);

    --font-display: 'Hind', sans-serif;
    --font-body: 'Hind', sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── UTILITIES ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    color: #a5b4fc;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge .material-symbols-outlined {
    font-size: 16px;
}

.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
}

.section-title .highlight {
    background: linear-gradient(135deg, #00a2ff, #0066ff, #59b2f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 580px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════
       NAVIGATION
    ══════════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(240, 244, 248, 0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0, 102, 255, 0.08);
    backdrop-filter: blur(20px);
}

#navbar.scrolled {
    padding: 12px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.logo-icon .material-symbols-outlined {
    font-size: 22px;
    color: white;
}

.nav-logo .logo-img-blank {
    display: none;
    height: 80px;
    width: 100px;
    margin-left: 10px;
}

.nav-logo .logo-img-colored {
    display: block;
    height: 80px;
    width: 100px;
    margin-left: 10px;
}

#footer .nav-logo .logo-img-blank {
    display: none !important;
}

#footer .nav-logo .logo-img-colored {
    display: block !important;
}

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

.logo-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.7rem;
    letter-spacing: -0.01em;
    color: #005FEC;
    line-height: 1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 5px rgba(255, 255, 255, 0.6);
}

.logo-tagline {
    font-size: 0.7rem;
    color: #a5b4fc;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--indigo), var(--purple));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover {
    color: #0ea5e9;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md);
    padding: 10px 22px;
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: white;
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    color: white;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.4);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.nav-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: white;
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
}

/* Hidden globally; only shown inside mobile-open menu */
.nav-mobile-cta-item {
    display: none;
}

/* ══════════════════════════════════════════════
       HERO SECTION
    ══════════════════════════════════════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 82, 204, 0.6), transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0, 102, 255, 0.25), transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 60%, rgba(0, 162, 255, 0.2), transparent 60%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* Orbes animados (mismo estilo login) */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: orbFloat 20s infinite alternate ease-in-out;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--purple);
    bottom: -100px;
    right: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--cyan);
    top: 30%;
    right: 15%;
    animation-delay: -14s;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: flex-start;
}

.hero-text {}

.hero-badge {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title .line-gradient {
    background: linear-gradient(135deg, #8ad4ff, #0066ff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, #005FEC, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}


.hero-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00a2ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-subtle);
    font-weight: 500;
    margin-top: 4px;
}

.hero-visual {
    position: relative;
}

.hero-img-wrap {
    position: relative;
    overflow: hidden;
    border: none;
}

.hero-img-wrap img {
    width: 100%;
    display: block;
    border-radius: 0;
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 3, 26, 0.5), transparent 50%);
    border-radius: 0;
}

/* Floating badge on hero image */
.float-badge {
    position: absolute;
    background: rgba(7, 3, 26, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: floatBadge 4s ease-in-out infinite alternate;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.float-badge-1 {
    bottom: 24px;
    left: -20px;
    animation-delay: 0s;
}

.float-badge-2 {
    top: 24px;
    right: -20px;
    animation-delay: -2s;
}

.float-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 2s ease-in-out infinite;
}

.float-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--indigo), var(--purple));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-icon .material-symbols-outlined {
    font-size: 18px;
    color: white;
}

/* ══════════════════════════════════════════════
       LOGOS / CLIENTS BAR
    ══════════════════════════════════════════════ */
#clients {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-subtle);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.clients-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem 4rem;
}

.client-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-subtle);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
}

.client-chip .material-symbols-outlined {
    font-size: 22px;
    color: var(--primary);
}

.client-chip:hover {
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════
       ABOUT / QUÉ ES SIT
    ══════════════════════════════════════════════ */
#about {
    padding: 100px 0;
}

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

.about-img-wrap {
    position: relative;
    overflow: hidden;
    /* border-radius: var(--radius-xl); */
}

.about-img-summary {
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.about-img-summary:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.12), var(--shadow-card);
}

.about-img-summary img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-img-summary:hover img {
    transform: scale(1.03);
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.about-img-main:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.12), var(--shadow-card);
}

.about-img-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-img-main:hover img {
    transform: scale(1.03);
}

.about-card-float {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: rgba(7, 3, 26, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    min-width: 200px;
    box-shadow: var(--shadow-card);
}

.card-float-title {
    font-size: 0.75rem;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.card-float-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00a2ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.card-float-sub {
    font-size: 0.8rem;
    color: var(--text-subtle);
    margin-top: 4px;
}

.about-text {}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 1rem 0 1.25rem;
}

.about-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2rem;
}

.about-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.18);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 100px;
    transition: var(--transition);
}

.about-pill .material-symbols-outlined {
    font-size: 16px;
}

.about-pill:hover {
    background: rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
       FEATURES / CAPACIDADES
    ══════════════════════════════════════════════ */
#features {
    padding: 100px 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 102, 255, 0.15), transparent 70%);
}

.features-header {
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.06), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 102, 255, 0.15);
}

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

.feature-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.4), rgba(0, 102, 255, 0.2));
    border-color: rgba(0, 102, 255, 0.3);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-indigo {
    background: rgba(0, 102, 255, 0.15);
}

.icon-purple {
    background: rgba(0, 162, 255, 0.15);
}

.icon-cyan {
    background: rgba(0, 210, 255, 0.15);
}

.icon-violet {
    background: rgba(0, 82, 204, 0.15);
}

.icon-pink {
    background: rgba(0, 130, 255, 0.15);
}

.icon-green {
    background: rgba(34, 197, 94, 0.15);
}

.feature-icon .material-symbols-outlined {
    font-size: 26px;
}

.icon-indigo .material-symbols-outlined {
    color: #3b82f6;
}

.icon-purple .material-symbols-outlined {
    color: #00a2ff;
}

.icon-cyan .material-symbols-outlined {
    color: #00d2ff;
}

.icon-violet .material-symbols-outlined {
    color: #2563eb;
}

.icon-pink .material-symbols-outlined {
    color: #60a5fa;
}

.icon-green .material-symbols-outlined {
    color: #22c55e;
}

.feature-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ══════════════════════════════════════════════
       MODULES / APLICACIONES
    ══════════════════════════════════════════════ */
#modules {
    padding: 100px 0;
}

.modules-header {
    margin-bottom: 4rem;
}

.modules-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.87rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.tab-btn .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-btn:hover {
    color: white;
    border-color: var(--border-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
}

.tab-btn:hover .material-symbols-outlined {
    transform: scale(1.18) rotate(-8deg);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-btn);
}

.modules-panel {
    display: none;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

.modules-panel.active {
    display: grid;
}

.module-info {}

.module-badge {
    margin-bottom: 1rem;
}

.module-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.module-desc {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.module-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.module-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.module-features-list li .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.module-visual {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.4), rgba(0, 102, 255, 0.15));
    border: 1px solid var(--border-hover);

    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.module-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.25), transparent 70%);
    /*border-radius: 50%;*/
}

.module-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.kpi-label {
    font-size: 0.75rem;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.kpi-trend {
    font-size: 0.75rem;
    color: #4ade80;
    margin-top: 4px;
}

.kpi-trend.down {
    color: #f87171;
}

/* ══════════════════════════════════════════════
       BENEFITS / VENTAJAS
    ══════════════════════════════════════════════ */
#benefits {
    padding: 100px 0;
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 102, 255, 0.12), transparent 70%);
}

.benefits-header {
    margin-bottom: 4rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.benefit-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

.benefit-icon .material-symbols-outlined {
    font-size: 22px;
    color: white;
}

.benefit-content {}

.benefit-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.benefit-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ══════════════════════════════════════════════
       HOW IT WORKS / PROCESO
    ══════════════════════════════════════════════ */
#how {
    padding: 100px 0;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--indigo), var(--purple), var(--cyan));
    opacity: 0.4;
}

.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(0, 102, 255, 0.4);
    background: rgba(0, 102, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.step-card:hover .step-number {
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    border-color: var(--indigo);
    color: white;
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
}

.step-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.step-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.65;
}

/* ══════════════════════════════════════════════
       TESTIMONIALS / CASOS DE ÉXITO
    ══════════════════════════════════════════════ */
#testimonials {
    padding: 100px 0;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.78rem;
    color: var(--text-subtle);
}

/* ══════════════════════════════════════════════
       PRICING / PLANES
    ══════════════════════════════════════════════ */
#pricing {
    padding: 100px 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0, 102, 255, 0.12), transparent 70%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.pricing-card.popular {
    border-color: rgba(0, 102, 255, 0.4);
    background: linear-gradient(160deg, rgba(0, 82, 204, 0.5), rgba(0, 102, 255, 0.2));
    box-shadow: 0 0 60px rgba(0, 102, 255, 0.2);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: var(--shadow-btn);
}

.plan-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.plan-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 600;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-subtle);
    font-weight: 400;
}

.plan-desc {
    color: var(--text-subtle);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.plan-features {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features li .material-symbols-outlined {
    font-size: 18px;
    color: #4ade80;
    flex-shrink: 0;
}

.plan-features li.disabled {
    opacity: 0.4;
}

.plan-features li.disabled .material-symbols-outlined {
    color: var(--text-subtle);
}

.plan-includes-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    margin-top: 0.25rem;
}

.pricing-card.enterprise {
    background: linear-gradient(145deg, #003d99 0%, #0052cc 40%, #0066ff 80%, #1a8cff 100%);
    border-color: rgba(0, 162, 255, 0.35);
    box-shadow: 0 0 80px rgba(0, 102, 255, 0.4), 0 24px 64px rgba(0, 82, 204, 0.35);
    color: #ffffff;
}

.pricing-card.enterprise .plan-name {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-card.enterprise .plan-price {
    color: #ffffff;
    font-size: 2.2rem;
}

.pricing-card.enterprise .plan-desc {
    color: rgba(255, 255, 255, 0.65);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.enterprise .plan-includes-label {
    color: rgba(255, 255, 255, 0.65);
}

.pricing-card.enterprise .plan-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card.enterprise .plan-features li .material-symbols-outlined {
    color: #7dd3fc;
}

.pricing-card.enterprise:hover {
    box-shadow: 0 0 100px rgba(0, 102, 255, 0.5), 0 32px 80px rgba(0, 82, 204, 0.45);
}

/* ══════════════════════════════════════════════
       FAQ
    ══════════════════════════════════════════════ */
#faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 760px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.faq-item.open {
    border-color: rgba(0, 102, 255, 0.25);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 12px;
}

.faq-chevron {
    font-size: 22px;
    color: var(--text-subtle);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-body {
    max-height: 300px;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ══════════════════════════════════════════════
       CTA SECTION
    ══════════════════════════════════════════════ */
#cta {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.8), rgba(0, 102, 255, 0.4));
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 162, 255, 0.25), transparent 70%);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1), transparent 70%);
    border-radius: 50%;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.cta-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-note {
    margin-top: 1.5rem;
    color: var(--text-subtle);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════
       FOOTER
    ══════════════════════════════════════════════ */
#footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

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

.footer-brand {}

.footer-brand .nav-logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-subtle);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-subtle);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.social-btn .material-symbols-outlined {
    font-size: 18px;
}

.social-btn:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
    color: white;
}

.footer-col-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-subtle);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-subtle);
    font-size: 0.82rem;
}

.footer-bottom a {
    color: var(--text-subtle);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════
       ANIMATIONS
    ══════════════════════════════════════════════ */
@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate(40px, -60px) rotate(8deg) scale(1.05);
    }
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

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

    .about-img-wrap {
        max-width: 560px;
    }

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

    .feature-card.featured {
        grid-column: span 1;
    }

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

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    /* Toggle always above overlay */
    .nav-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1001;
    }

    /* Backdrop to close on outside click */
    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 997;
    }

    .nav-backdrop.active {
        display: block;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        background: rgba(7, 3, 26, 0.97);
        backdrop-filter: blur(20px);
        padding: 1.5rem 2rem 2rem;
        z-index: 999;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }



    .nav-links.mobile-open .nav-mobile-cta-item {
        display: flex;
        justify-content: center;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--border);
        width: 100%;
    }

    .nav-links.mobile-open .nav-mobile-cta-item .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

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

    .modules-panel {
        grid-template-columns: 1fr;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .how-steps {
        grid-template-columns: 1fr 1fr;
    }

    .how-steps::before {
        display: none;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ══════════════════════════════════════════════
       LIGHT THEME — Overrides completos (Alineado a Mappi Blue)
       Fondos: blanco / gris hielo | Texto: azul marino oscuro
       Hero: mantiene gradiente oscuro para impacto
    ══════════════════════════════════════════════ */

/* Hero — fondo oscuro rico en azul marino (contraste deliberado) */
#hero {
    background: linear-gradient(150deg, #040d21 0%, #002266 35%, #003399 68%, #02091a 100%);
}

/* Todo texto del hero en blanco */
#hero .hero-title {
    color: #ffffff;
}

#hero .hero-title .line-gradient {
    background: linear-gradient(135deg, #8ad4ff, #0066ff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#hero .hero-description {
    color: rgba(255, 255, 255, 0.82);
}

#hero .stat-label {
    color: rgba(255, 255, 255, 0.6);
}

#hero .badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #8ad4ff;
}

/* Float badges del hero — siguen oscuros */
.float-badge {
    background: rgba(4, 13, 33, 0.88);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* default navbar settings for light theme (solid light background, dark links) */
.nav-inner .logo-name {
    color: #005FEC;
}

.logo-tagline {
    color: #4a5e80;
}

.nav-links a {
    color: var(--text-muted);
}

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

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

.nav-mobile-toggle {
    color: var(--text-white);
    border-color: var(--border);
}

/* Home page scroll-0 transparent header style overrides */
body.home-page #navbar:not(.scrolled) {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
}

body.home-page #navbar:not(.scrolled) .nav-logo .logo-img-blank {
    display: block;
}

body.home-page #navbar:not(.scrolled) .nav-logo .logo-img-colored {
    display: none;
}

body.home-page #navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

body.home-page #navbar:not(.scrolled) .nav-links a:hover,
body.home-page #navbar:not(.scrolled) .nav-links a.active {
    color: #ffffff;
}

body.home-page #navbar:not(.scrolled) .logo-tagline {
    color: rgba(255, 255, 255, 0.75);
}

.btn-ghost {
    color: var(--text-muted);
    border-color: var(--border-hover);
}

.btn-ghost:hover {
    color: var(--primary);
    border-color: rgba(0, 102, 255, 0.35);
    background: rgba(0, 102, 255, 0.06);
}

/* Badge global (secciones claras) */
.badge {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.2);
    color: var(--primary);
}

.section-title {
    color: var(--text-white);
}

.section-sub {
    color: var(--text-muted);
}

/* Clients bar */
#clients {
    background: #ffffff;
    border-top-color: var(--border);
    border-bottom-color: var(--border);
}

.clients-label {
    color: var(--text-subtle);
}

.client-chip {
    color: var(--text-subtle);
}

.client-chip .material-symbols-outlined {
    color: var(--primary);
}

.client-chip:hover {
    color: var(--primary);
}

/* About */
#about {
    background: #ffffff;
}

.about-title {
    color: var(--text-white);
}

.about-desc {
    color: var(--text-muted);
}

.about-pill {
    background: rgba(0, 102, 255, 0.06);
    border-color: rgba(0, 102, 255, 0.15);
    color: var(--primary);
}

.about-pill:hover {
    background: rgba(0, 102, 255, 0.12);
}

.about-card-float {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.08);
}

.card-float-title,
.card-float-sub {
    color: var(--text-subtle);
}

.about-img-main {
    border: none;
    box-shadow: 0 8px 48px rgba(0, 102, 255, 0.08);
}

/* Features */
#features {
    background: #f0f4f8;
}

.feature-card {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.04);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.04), rgba(0, 102, 255, 0.02));
    border-color: rgba(0, 102, 255, 0.18);
}

.feature-card:hover {
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.1);
    transform: translateY(-6px);
}

.feature-name {
    color: var(--text-white);
}

.feature-desc {
    color: var(--text-muted);
}

/* Modules */
#modules {
    background: #ffffff;
}

.tab-btn {
    background: #e6effa;
    border-color: var(--border);
    color: var(--text-muted);
}

.tab-btn:hover {
    color: var(--primary);
    border-color: var(--border-hover);
    background: #dceafc;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.12);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    color: #ffffff;
    border-color: transparent;
}

.module-title {
    color: var(--text-white);
}

.module-desc {
    color: var(--text-muted);
}

.module-features-list li {
    color: var(--text-muted);
}

.module-features-list li .material-symbols-outlined {
    color: var(--primary);
}

.module-visual {
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: var(--radius-xl) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-card) !important;
    background: #ffffff !important;
    transition: var(--transition) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.module-visual:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 36px rgba(0, 102, 255, 0.1), var(--shadow-card) !important;
}

.module-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.kpi-card {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.04);
}

.kpi-label {
    color: var(--text-subtle);
}

.kpi-value {
    color: var(--text-white);
}

.kpi-trend {
    color: #16a34a;
}

.kpi-trend.down {
    color: #dc2626;
}

/* Benefits */
#benefits {
    background: #f0f4f8;
}

.benefit-item {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.04);
}

.benefit-item:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.08);
}

.benefit-title {
    color: var(--text-white);
}

.benefit-desc {
    color: var(--text-muted);
}

/* How it works */
#how {
    background: #ffffff;
}

.step-title {
    color: var(--text-white);
}

.step-desc {
    color: var(--text-muted);
}

.step-number {
    border-color: rgba(0, 102, 255, 0.25);
    background: rgba(0, 102, 255, 0.06);
    color: var(--primary);
}

.step-card:hover .step-number {
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    border-color: var(--indigo);
    color: #ffffff;
}

.how-steps::before {
    opacity: 0.25;
}

/* Testimonials */
#testimonials {
    background: #f0f4f8;
}

.testimonial-card {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.04);
}

.testimonial-card:hover {
    border-color: rgba(0, 102, 255, 0.25);
}

.testimonial-text {
    color: var(--text-muted);
    font-style: italic;
}

.author-name {
    color: var(--text-white);
}

.author-role {
    color: var(--text-subtle);
}

/* Pricing */
#pricing {
    background: #ffffff;
}

.pricing-card {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.05);
}

.pricing-card.popular {
    background: linear-gradient(160deg, rgba(0, 102, 255, 0.04), rgba(0, 162, 255, 0.02));
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: 0 8px 40px rgba(0, 102, 255, 0.1);
}

.plan-name {
    color: var(--text-subtle);
}

.plan-price {
    color: var(--text-white);
}

.plan-price .period {
    color: var(--text-subtle);
}

.plan-desc {
    color: var(--text-subtle);
    border-bottom-color: var(--border);
}

.plan-features li {
    color: var(--text-muted);
}

/* FAQ */
#faq {
    background: #f0f4f8;
}

.faq-item {
    background: #ffffff;
    border-color: var(--border);
}

.faq-item.open {
    border-color: rgba(0, 102, 255, 0.25);
}

.faq-trigger {
    color: var(--text-white);
}

.faq-chevron {
    color: var(--text-subtle);
}

.faq-item.open .faq-chevron {
    color: var(--primary);
}

.faq-answer {
    color: var(--text-muted);
}

/* CTA */
#cta {
    background: #ffffff;
}

.cta-box {
    background: linear-gradient(135deg, #e6effa, #dbe9fa, #e6effa);
    border-color: rgba(0, 102, 255, 0.2);
}

.cta-box::before {
    background: radial-gradient(circle, rgba(0, 162, 255, 0.12), transparent 70%);
}

.cta-box::after {
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1), transparent 70%);
}

.cta-title {
    color: var(--text-white);
}

.cta-sub {
    color: var(--text-muted);
}

.cta-note {
    color: var(--text-subtle);
}

#btn-cta-demo {
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    color: #ffffff;
}

#btn-cta-demo:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

#btn-cta-contact {
    color: var(--primary);
    border-color: rgba(0, 102, 255, 0.25);
    background: transparent;
}

#btn-cta-contact:hover {
    background: rgba(0, 102, 255, 0.06);
    transform: translateY(-2px);
}

/* Footer */
#footer {
    background: #ffffff;
    border-top-color: var(--border);
}

.footer-brand p {
    color: var(--text-subtle);
}

.footer-col-title {
    color: var(--text-white);
}

.footer-links a {
    color: var(--text-subtle);
}

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

.footer-bottom {
    color: var(--text-subtle);
    border-top-color: var(--border);
}

.footer-bottom a {
    color: var(--text-subtle);
}

.footer-bottom a:hover {
    color: var(--primary);
}

.social-btn {
    background: rgba(0, 102, 255, 0.06);
    border-color: var(--border);
    color: var(--text-subtle);
}

.social-btn:hover {
    background: rgba(0, 102, 255, 0.12);
    border-color: var(--border-hover);
    color: var(--primary);
}

/* Mobile menu — Light mode overrides */
@media (max-width: 768px) {
    .nav-links.mobile-open {
        background: rgba(255, 255, 255, 0.99);
        box-shadow: 0 8px 40px rgba(0, 102, 255, 0.12);
    }

    .nav-links.mobile-open a {
        color: #0a1829;
        font-size: 1.05rem;
        font-weight: 600;
        padding: 0.9rem 0;
        border-bottom: 1px solid rgba(0, 102, 255, 0.08);
        text-align: center;
        width: 100%;
    }

    /* Last nav link (before CTA item) has no bottom border */
    .nav-links.mobile-open li:not(.nav-mobile-cta-item):last-of-type a {
        border-bottom: none;
    }

    .nav-links.mobile-open a:hover,
    .nav-links.mobile-open a.active {
        color: var(--primary);
    }

    /* CTA button inside open menu — light mode */
    .nav-links.mobile-open .nav-mobile-cta-item {
        border-top-color: rgba(0, 102, 255, 0.12);
    }

    .nav-links.mobile-open .nav-mobile-cta-item .btn {
        background: linear-gradient(135deg, var(--primary), var(--indigo));
        color: white;
        box-shadow: var(--shadow-btn);
    }
}

/* ══════════════════════════════════════════════
       MODAL: SOLICITUD DE PILOTO
   ══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 24, 41, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
    width: 95%;
    max-width: 580px;
    padding: 1.5rem 2rem;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition);
    max-height: 95vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary);
}

.modal-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Form Grid Styles */
#register-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

/* Make Message and Submit button span full width */
.form-group:nth-child(5),
#btn-register-submit {
    grid-column: span 2;
}

#btn-register-submit {
    margin-top: 8px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border);
    background-color: #fafbfc;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-subtle);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* Phone input with country code */
.phone-input-wrapper {
    display: flex;
    gap: 6px;
}

.phone-input-wrapper select {
    width: auto;
    max-width: 95px;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0.55rem 0.4rem;
    font-size: 0.85rem;
}

.phone-input-wrapper input {
    flex-grow: 1;
}

/* Error validation styling */
.error-message {
    font-size: 0.75rem;
    color: #ef4444;
    min-height: 15px;
    display: none;
    margin-top: 1px;
}

.error-message.active {
    display: block;
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}

.form-group input.invalid:focus,
.form-group select.invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Spinner for loading state */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

/* Success Screen */
.modal-success-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0;
}

.success-icon-wrap {
    width: 72px;
    height: 72px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #10b981;
}

.success-icon {
    font-size: 48px;
}

.modal-success-screen h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.modal-success-screen p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

@media (max-width: 576px) {
    .modal-card {
        padding: 1.25rem 1.5rem;
    }

    #register-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-group:nth-child(5),
    #btn-register-submit {
        grid-column: span 1;
    }

    .phone-input-wrapper {
        flex-direction: row;
        gap: 6px;
    }

    .phone-input-wrapper select {
        max-width: 90px;
    }
}

/* ══════════════════════════════════════════════
       DROPDOWN NAVIGATION
   ══════════════════════════════════════════════ */
.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-menu {
    list-style: none !important;
}

.dropdown-icon {
    font-size: 18px !important;
    transition: transform var(--transition);
}

.nav-item-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Desktop Dropdown */
@media (min-width: 769px) {
    .nav-item-dropdown {
        position: relative;
    }

    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-card);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        min-width: 260px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        z-index: 1001;
    }

    .nav-item-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(4px);
    }

    .nav-dropdown-item {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        border-radius: var(--radius-sm);
        color: var(--text-muted) !important;
        font-size: 0.88rem !important;
        font-weight: 500;
        transition: var(--transition);
        text-align: left !important;
        width: 100%;
    }

    .nav-dropdown-item::after {
        display: none !important;
    }

    .nav-dropdown-item:hover {
        background: rgba(0, 102, 255, 0.06);
        color: var(--primary) !important;
    }

    .nav-dropdown-item .material-symbols-outlined {
        font-size: 18px;
        color: var(--primary);
    }
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .nav-item-dropdown .nav-dropdown-menu {
        display: none;
        flex-direction: column;
        padding-left: 1.5rem;
        background: rgba(0, 102, 255, 0.02);
        width: 100%;
        gap: 4px;
    }

    .nav-item-dropdown.active .nav-dropdown-menu {
        display: flex;
    }

    .nav-item-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .nav-dropdown-item {
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        color: var(--text-muted) !important;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(0, 102, 255, 0.04) !important;
        display: flex !important;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .nav-dropdown-item::after {
        display: none !important;
    }

    .nav-dropdown-item .material-symbols-outlined {
        font-size: 18px;
        color: var(--primary);
    }

    .nav-dropdown-item:last-of-type {
        border-bottom: none !important;
    }
}

/* ══════════════════════════════════════════════
       SEQUENTIAL PAGE LAYOUTS
   ══════════════════════════════════════════════ */
.sequential-hero {
    position: relative;
    padding: 160px 0 80px;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 102, 255, 0.08), transparent 70%);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.sequential-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.sequential-hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Offset de navbar fijo para páginas secundarias */
section:first-of-type .container.sequential-section {
    padding-top: calc(80px + 100px);
}

.sequential-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    padding: 100px 24px;
    border-bottom: 1px solid var(--border);
}

.sequential-section:last-of-type {
    border-bottom: none;
}

.sequential-section.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.sequential-section.reverse .module-info {
    grid-column: 2;
}

.sequential-section.reverse .module-visual {
    grid-column: 1;
    grid-row: 1;
}

@media (max-width: 992px) {
    .sequential-section {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        padding: 60px 0;
    }

    .sequential-section.reverse .module-info {
        grid-column: 1;
    }

    .sequential-section.reverse .module-visual {
        grid-column: 1;
        grid-row: auto;
    }
}

/* ══════════════════════════════════════════════
       MAPPI INTERACTIVE CAROUSEL
   ══════════════════════════════════════════════ */
.module-visual.visual-carousel {
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--border) !important;
    background: #ffffff !important;
    box-shadow: var(--shadow-card) !important;
    border-radius: var(--radius-xl) !important;
}

.mappi-carousel {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: none;
    background: transparent;
}


.carousel-track-container {
    width: 100%;
    height: auto;
    position: relative;
}

.carousel-track {
    display: grid !important;
    grid-template-columns: 100% !important;
    grid-template-rows: auto !important;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    position: relative;
}

.carousel-slide {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative;
    width: 100%;
    height: auto;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.98) !important;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s !important;
    display: block !important;
}

.carousel-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    z-index: 2 !important;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-xl) - 1px) !important;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 102, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.carousel-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.2);
}

.carousel-btn.btn-prev {
    left: 16px;
}

.carousel-btn.btn-next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(4, 13, 33, 0.4);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-dot {
    background: rgba(255, 255, 255, 0.4);
    border: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #ffffff;
    width: 20px;
    border-radius: 4px;
}

/* ══════════════════════════════════════════════
       SOLICITAR PAGE
   ══════════════════════════════════════════════ */
#solicitar-main {
    padding-top: 80px; /* navbar height */
    min-height: 100vh;
    background: var(--bg-light);
}

#solicitar-hero {
    padding: 80px 0 100px;
}

.solicitar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.solicitar-info {
    padding-top: 1.5rem;
}

.solicitar-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin: 1.2rem 0 1rem;
}

.solicitar-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.solicitar-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solicitar-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.solicitar-benefits li .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.solicitar-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.solicitar-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.solicitar-card-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

@media (max-width: 900px) {
    .solicitar-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    #solicitar-hero {
        padding: 60px 0 80px;
    }
}