/*
 * Credititos — tokens Adobe XD (export Variables + Character Styles)
 * Colores: #172935, #707070, #FFFFFF, #F3F4FA, #23BBB8
 * Tipografía: Raleway (títulos), Montserrat (cuerpo / UI)
 */

:root {
    /* —— Export XD (colores) —— */
    --unnamed-color-172935: #172935;
    --unnamed-color-707070: #707070;
    --unnamed-color-ffffff: #ffffff;
    --unnamed-color-f3f4fa: #f3f4fa;
    --unnamed-color-23bbb8: #23bbb8;

    /* —— Export XD (tipografía) —— pesos corregidos (sin px) */
    --unnamed-font-family-raleway: "Raleway", sans-serif;
    --unnamed-font-family-montserrat: "Montserrat", sans-serif;
    --unnamed-font-style-normal: normal;
    --unnamed-font-weight-500: 500;
    --unnamed-font-weight-600: 600;
    --unnamed-font-weight-800: 800;
    --unnamed-font-weight-bold: 700;
    --unnamed-font-size-20: 20px;
    --unnamed-font-size-25: 25px;
    --unnamed-font-size-40: 40px;
    --unnamed-font-size-48: 48px;
    --unnamed-character-spacing-0: 0;
    --unnamed-line-spacing-24: 24px;
    --unnamed-line-spacing-30: 30px;
    --unnamed-line-spacing-47: 47px;
    --unnamed-line-spacing-56: 56px;

    /* —— Semánticos (compatibilidad con el sitio) —— */
    --primary: var(--unnamed-color-23bbb8);
    --primary-light: #4dd4d1;
    --primary-pale: #d9f3f2;
    --gray-dark: #243a4a;
    --gray-darker: var(--unnamed-color-172935);

    --color-surface: var(--unnamed-color-ffffff);
    --color-surface-muted: var(--unnamed-color-f3f4fa);
    --color-text: var(--unnamed-color-172935);
    --color-text-muted: var(--unnamed-color-707070);
    --color-text-subtle: #5c5c5c;
    --color-on-primary: var(--unnamed-color-ffffff);
    --color-on-dark-muted: rgba(243, 244, 250, 0.85);
    --color-border-subtle: #dde1ea;
    --color-overlay-scrim: rgba(23, 41, 53, 0.55);
    --color-modal-close-bg: var(--unnamed-color-f3f4fa);
    --color-modal-close-hover: #e4e8f2;

    --font-heading: var(--unnamed-font-family-raleway);
    --font-body: var(--unnamed-font-family-montserrat);
    --font-sans: var(--font-body);

    --line-height-body: calc(var(--unnamed-line-spacing-24) / var(--unnamed-font-size-20));
    --line-height-relaxed: 1.8;

    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 1rem;

    --shadow-card-hover: 0 12px 28px rgba(23, 41, 53, 0.14);
    --shadow-modal: 0 25px 50px rgba(23, 41, 53, 0.28);
    --shadow-navbar: 0 1px 4px rgba(23, 41, 53, 0.1);

    --navbar-height-offset: 100px;
    --scroll-margin-top: 88px;
    --navbar-bg: rgba(255, 255, 255, 0.98);

    /* Mockup capturas (lima, naranja) */
    --color-lime: #cae34b;
    --color-lime-heading: #1a4d38;
    --color-lime-body: #2a5e47;
    --color-accent-orange: #d6723a;
    --color-orange-card: #e8883e;
    --color-brand-charcoal: #1a252c;
    --color-brand-orange-muted: #e08e45;
    --radius-bento: 24px;
    --radius-hero-panel: 32px;
}

/* —— Character Styles (Adobe XD) —— */
.unnamed-character-style-1 {
    font-family: var(--unnamed-font-family-montserrat);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    line-height: var(--unnamed-line-spacing-24);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-172935);
}

.unnamed-character-style-2 {
    font-family: var(--unnamed-font-family-raleway);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-bold);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-f3f4fa);
}

.unnamed-character-style-3 {
    font-family: var(--unnamed-font-family-raleway);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-800);
    font-size: var(--unnamed-font-size-40);
    line-height: var(--unnamed-line-spacing-47);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-f3f4fa);
}

.unnamed-character-style-4 {
    font-family: var(--unnamed-font-family-raleway);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-bold);
    font-size: var(--unnamed-font-size-40);
    line-height: var(--unnamed-line-spacing-47);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-23bbb8);
}

.unnamed-character-style-5 {
    font-family: var(--unnamed-font-family-raleway);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-bold);
    font-size: var(--unnamed-font-size-40);
    line-height: var(--unnamed-line-spacing-47);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-172935);
}

.unnamed-character-style-6 {
    font-family: var(--unnamed-font-family-montserrat);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-707070);
}

.unnamed-character-style-7 {
    font-family: var(--unnamed-font-family-raleway);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-800);
    font-size: var(--unnamed-font-size-48);
    line-height: var(--unnamed-line-spacing-56);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-23bbb8);
}

.unnamed-character-style-8 {
    font-family: var(--unnamed-font-family-raleway);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-800);
    font-size: var(--unnamed-font-size-48);
    line-height: var(--unnamed-line-spacing-56);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-172935);
}

.unnamed-character-style-9 {
    font-family: var(--unnamed-font-family-montserrat);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    line-height: var(--unnamed-line-spacing-24);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-f3f4fa);
}

.unnamed-character-style-10 {
    font-family: var(--unnamed-font-family-raleway);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-f3f4fa);
}

.unnamed-character-style-11 {
    font-family: var(--unnamed-font-family-raleway);
    font-style: var(--unnamed-font-style-normal);
    font-weight: var(--unnamed-font-weight-800);
    font-size: var(--unnamed-font-size-48);
    line-height: var(--unnamed-line-spacing-56);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-ffffff);
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    line-height: var(--unnamed-line-spacing-24);
    color: var(--color-text);
    overflow-x: clip;
    margin: 0;
}

[id] {
    scroll-margin-top: var(--scroll-margin-top);
}

@media (max-width: 575.98px) {
    :root {
        --scroll-margin-top: 72px;
    }
}

/* Evita desbordes horizontales por imágenes (excepto tiles del mapa Leaflet) */
img {
    max-width: 100%;
    height: auto;
}

.leaflet-container img,
.leaflet-pane img,
.leaflet-map-pane img {
    max-width: none !important;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-5,
.display-6 {
    font-family: var(--font-heading);
}

/* Navbar */
.navbar {
    background: var(--navbar-bg) !important;
    box-shadow: var(--shadow-navbar);
    padding-left: max(0.75rem, env(safe-area-inset-left)) !important;
    padding-right: max(0.75rem, env(safe-area-inset-right)) !important;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    color: var(--unnamed-color-172935) !important;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    color: var(--unnamed-color-172935) !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Nav móvil: panel con borde, separador y enlaces alineados a la izquierda al expandir */
@media (max-width: 991.98px) {
    .navbar-credititos.navbar.fixed-top {
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0 0 14px 14px;
        border: none;
        border-bottom: 1px solid var(--color-border-subtle);
        box-shadow: 0 8px 28px rgba(23, 41, 53, 0.12) !important;
        padding-top: max(0.55rem, env(safe-area-inset-top)) !important;
        padding-bottom: 0.4rem !important;
    }

    .navbar-credititos .navbar-credititos__inner.container {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }

    .navbar-credititos .navbar-collapse.show {
        flex-basis: 100%;
        width: 100%;
        border-top: 1px solid #e2e6eb;
        margin-top: 0.7rem;
        padding-top: 0.85rem;
        padding-bottom: max(0.45rem, env(safe-area-inset-bottom));
    }

    .navbar-credititos .navbar-nav {
        width: 100%;
        align-items: flex-start !important;
        gap: 0 !important;
    }

    .navbar-credititos .nav-item {
        width: 100%;
    }

    .navbar-credititos .nav-link {
        text-align: left !important;
        font-weight: var(--unnamed-font-weight-bold) !important;
        padding: 0.65rem 0 !important;
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .navbar-credititos .nav-item + .nav-item .nav-link {
        padding-top: 0.55rem !important;
    }
}

.btn-primary {
    background-color: var(--unnamed-color-23bbb8) !important;
    border-color: var(--unnamed-color-23bbb8) !important;
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    color: var(--unnamed-color-ffffff) !important;
}

.btn-primary:hover {
    background-color: var(--unnamed-color-172935) !important;
    border-color: var(--unnamed-color-172935) !important;
    color: var(--unnamed-color-ffffff) !important;
}

.font-heading {
    font-family: var(--font-heading);
}

/* Botones */
.btn-dark,
.btn.btn-dark {
    background-color: var(--unnamed-color-172935) !important;
    border-color: var(--unnamed-color-172935) !important;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
}

.btn-dark:hover,
.btn.btn-dark:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-dark {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
}

.btn-outline-dark:hover {
    background-color: var(--unnamed-color-172935) !important;
    border-color: var(--unnamed-color-172935) !important;
    color: var(--color-on-primary) !important;
}

.btn-outline-secondary {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
}

.btn-lg {
    border-radius: var(--radius-lg);
}

.btn-light {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    color: var(--unnamed-color-172935) !important;
}

.btn-light:hover {
    background-color: var(--unnamed-color-f3f4fa) !important;
    color: var(--unnamed-color-172935) !important;
}

/* Hero — fondo oscuro XD + titular (estilo 7 + 11) */
.hero-marel {
    background: linear-gradient(
        155deg,
        var(--unnamed-color-172935) 0%,
        #1e3a4d 45%,
        #1a4d4f 100%
    );
}

.hero-deco {
    position: absolute;
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    right: -8%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(
        circle,
        rgba(35, 187, 184, 0.22) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.hero-title {
    margin-bottom: 0;
}

.hero-title-accent {
    display: block;
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: clamp(1.75rem, 4.5vw, var(--unnamed-font-size-48));
    line-height: var(--unnamed-line-spacing-56);
    color: var(--unnamed-color-23bbb8);
}

.hero-title-main {
    display: block;
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: clamp(1.75rem, 4.5vw, var(--unnamed-font-size-48));
    line-height: var(--unnamed-line-spacing-56);
    color: var(--unnamed-color-ffffff);
}

.btn-hero-primary {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    border-radius: var(--radius-lg);
    background-color: var(--unnamed-color-23bbb8);
    border: 2px solid var(--unnamed-color-23bbb8);
    color: var(--unnamed-color-ffffff) !important;
}

.btn-hero-primary:hover {
    background-color: var(--unnamed-color-ffffff);
    border-color: var(--unnamed-color-ffffff);
    color: var(--unnamed-color-172935) !important;
}

.btn-hero-outline {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    border-radius: var(--radius-lg);
    background-color: transparent;
    border: 2px solid var(--unnamed-color-ffffff);
    color: var(--unnamed-color-ffffff) !important;
}

.btn-hero-outline:hover {
    background-color: var(--unnamed-color-ffffff);
    border-color: var(--unnamed-color-ffffff);
    color: var(--unnamed-color-172935) !important;
}

.hero-tertiary-link {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    color: var(--unnamed-color-f3f4fa);
    text-decoration: none;
    border-bottom: 1px solid rgba(243, 244, 250, 0.45);
    padding-bottom: 2px;
}

.hero-tertiary-link:hover {
    color: var(--unnamed-color-ffffff);
    border-bottom-color: var(--unnamed-color-ffffff);
}

.hero-visual-wrap {
    position: relative;
}

.hero-marel .lead {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    color: var(--unnamed-color-f3f4fa) !important;
}

.hero-marel .text-muted {
    color: var(--unnamed-color-f3f4fa) !important;
}

.hero-illustration {
    max-height: 450px;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

/* Eyebrows y cabeceras de sección */
.section-eyebrow {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--unnamed-color-23bbb8);
    margin-bottom: 0;
}

.section-eyebrow--on-dark {
    color: var(--unnamed-color-23bbb8);
}

.section-eyebrow--on-teal {
    color: rgba(255, 255, 255, 0.92);
}

.section-header .section-eyebrow {
    display: inline-block;
}

/* Secciones claras — títulos estilo 5 / 8, subtítulos estilo 6 */
.section-features h2,
.section-marcas h2,
.section-beneficios h2,
section .display-6.fw-bold {
    font-weight: var(--unnamed-font-weight-800);
    font-size: clamp(1.75rem, 4vw, var(--unnamed-font-size-40));
    line-height: var(--unnamed-line-spacing-47);
    color: var(--unnamed-color-172935);
}

.section-features .text-muted,
.section-marcas .text-muted,
.section-beneficios .text-muted,
.section-testimonials .section-header .text-muted,
.section-marcas .section-header .text-muted,
.section-beneficios .section-header .text-muted,
section .text-center.text-muted {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    color: var(--unnamed-color-707070) !important;
}

.section-features {
    background: linear-gradient(
        180deg,
        var(--unnamed-color-f3f4fa) 0%,
        var(--unnamed-color-ffffff) 100%
    ) !important;
}

.section-features.bg-light {
    --bs-bg-opacity: 0;
    background-color: transparent !important;
}

.feature-checklist li {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    line-height: var(--unnamed-line-spacing-24);
    color: var(--unnamed-color-172935);
}

.feature-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--unnamed-color-23bbb8);
    color: var(--unnamed-color-ffffff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: var(--unnamed-font-weight-bold);
    line-height: 1;
    margin-top: 2px;
}

.badge.bg-dark {
    background-color: var(--primary) !important;
}

.benefit-icon-wrap {
    width: 72px;
    height: 72px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    background: rgba(35, 187, 184, 0.12);
    color: var(--unnamed-color-23bbb8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon {
    width: 32px;
    height: 32px;
}

/* Tarjetas */
.card {
    border: none;
    border-radius: var(--radius-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card h5,
.card h3.h5 {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    color: var(--unnamed-color-172935);
}

.card .text-muted {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    line-height: var(--unnamed-line-spacing-24);
    color: var(--unnamed-color-707070) !important;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover) !important;
}

/* Línea de crédito — oscuro + estadísticas */
.credit-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
}

.credit-stat__value {
    display: block;
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: clamp(1.35rem, 3vw, var(--unnamed-font-size-25));
    line-height: 1.2;
    color: var(--unnamed-color-23bbb8);
    margin-bottom: 0.35rem;
}

.credit-stat__label {
    display: block;
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: 14px;
    line-height: 1.35;
    color: var(--color-on-dark-muted);
}

section.bg-dark {
    background: linear-gradient(
        135deg,
        var(--unnamed-color-172935) 0%,
        var(--gray-dark) 100%
    ) !important;
}

section.bg-dark h2 {
    font-weight: var(--unnamed-font-weight-800);
    font-size: clamp(1.75rem, 4vw, var(--unnamed-font-size-40));
    line-height: var(--unnamed-line-spacing-47);
    color: var(--unnamed-color-f3f4fa) !important;
}

section.bg-dark .lead {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
}

section.bg-dark .lead.opacity-75 {
    color: var(--color-on-dark-muted) !important;
}

/* Testimonios */
.section-testimonials {
    background: linear-gradient(
        180deg,
        var(--unnamed-color-ffffff) 0%,
        var(--unnamed-color-f3f4fa) 100%
    ) !important;
}

.section-testimonials.bg-light {
    --bs-bg-opacity: 0;
    background-color: transparent !important;
}

.section-testimonials .fst-italic {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: var(--unnamed-font-weight-600);
    color: var(--unnamed-color-707070) !important;
}

.section-testimonials .fw-bold {
    color: var(--unnamed-color-172935);
}

.section-testimonials small.text-muted {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    color: var(--unnamed-color-707070) !important;
}

.testimonial-quote {
    display: block;
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: 3rem;
    line-height: 1;
    color: rgba(35, 187, 184, 0.35);
    margin-bottom: -0.5rem;
}

.testimonial-card .card-body {
    position: relative;
}

/* CTA — dos columnas, acento teal */
.section-cta,
#aplicar {
    background: linear-gradient(
        135deg,
        var(--unnamed-color-23bbb8) 0%,
        #1a9e9b 100%
    ) !important;
}

.section-cta h2,
#aplicar h2 {
    font-weight: var(--unnamed-font-weight-800);
    font-size: clamp(1.75rem, 4vw, var(--unnamed-font-size-40));
    line-height: var(--unnamed-line-spacing-47);
    color: var(--unnamed-color-ffffff) !important;
}

.cta-subtitle {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    color: var(--unnamed-color-f3f4fa);
}

.cta-checklist li {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    line-height: var(--unnamed-line-spacing-24);
    color: var(--unnamed-color-f3f4fa);
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.65rem;
}

.cta-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--unnamed-color-23bbb8);
}

#aplicar .cta-form-panel {
    background: var(--color-surface);
    border-radius: var(--radius-md);
}

#aplicar .form-control {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    border-color: var(--color-border-subtle);
    border-radius: var(--radius-md);
    color: var(--unnamed-color-172935);
}

#aplicar .form-control::placeholder {
    color: var(--unnamed-color-707070);
}

#aplicar .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(35, 187, 184, 0.25);
}

#aplicar .btn-dark {
    background-color: var(--unnamed-color-172935) !important;
    border-color: var(--unnamed-color-172935) !important;
}

#aplicar .btn-dark:hover {
    background-color: var(--unnamed-color-23bbb8) !important;
    border-color: var(--unnamed-color-23bbb8) !important;
}

/* Footer */
footer.bg-dark {
    background-color: var(--unnamed-color-172935) !important;
}

footer a:hover {
    color: var(--primary-light) !important;
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    letter-spacing: 0.08em;
}

.letter-spacing-1 {
    letter-spacing: 0.08em;
}

footer .text-white-50:hover {
    color: var(--unnamed-color-ffffff) !important;
}

/* Marcas */
.section-marcas {
    background: var(--unnamed-color-f3f4fa);
}

.brand-logo {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: opacity 0.2s, transform 0.2s;
}

.brand-logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.brand-logo img {
    max-height: 40px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(35%);
    opacity: 0.85;
}

.brand-logo-lg {
    min-height: 100px;
}

.brand-logo-lg img {
    max-height: 56px;
    max-width: 160px;
}

.brand-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.phone-mockup {
    display: inline-block;
}

.phone-img {
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 45px rgba(23, 41, 53, 0.35));
    border-radius: var(--radius-sm);
}

/* Páginas legales */
.legal-page {
    padding-top: var(--navbar-height-offset);
    padding-bottom: 5rem;
    min-height: 60vh;
    background: var(--color-surface-muted);
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: var(--unnamed-font-size-40);
    line-height: var(--unnamed-line-spacing-47);
    margin-bottom: 1.5rem;
    color: var(--unnamed-color-172935);
}

.legal-page h2 {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--unnamed-color-172935);
}

.legal-page p,
.legal-page li {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    line-height: var(--unnamed-line-spacing-24);
    color: var(--unnamed-color-172935);
}

.legal-page ul {
    padding-left: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.back-link {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    text-decoration: none;
    color: var(--unnamed-color-23bbb8);
}

.back-link:hover {
    color: var(--unnamed-color-172935);
}

.legal-page hr {
    border-color: var(--color-border-subtle);
    opacity: 1;
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: var(--color-overlay-scrim);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--color-surface);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-modal);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: var(--color-modal-close-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    background: var(--color-modal-close-hover);
}

.modal h2 {
    font-family: var(--font-heading);
    font-size: var(--unnamed-font-size-25);
    font-weight: var(--unnamed-font-weight-bold);
    line-height: var(--unnamed-line-spacing-30);
    margin-bottom: 24px;
    color: var(--unnamed-color-172935);
}

.modal-body {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    line-height: var(--unnamed-line-spacing-24);
    color: var(--unnamed-color-707070);
}

.modal-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.modal-body li {
    margin-bottom: 12px;
}

/* ========== Maquetación alineada a mockups (hero, bento, testimonios, mapa, footer) ========== */

.text-accent-orange {
    color: var(--color-accent-orange) !important;
}

.navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
}

.navbar-brand-logo__img {
    height: 40px;
    width: auto;
    max-width: min(220px, 70vw);
    object-fit: contain;
    display: block;
}

@media (min-width: 992px) {
    .navbar-brand-logo__img {
        height: 44px;
        max-width: 238px;
    }
}

.hero-wrap {
    background: var(--unnamed-color-f3f4fa);
}

.hero-panel {
    position: relative;
    border-radius: var(--radius-hero-panel);
    overflow: hidden;
    background-color: #5a7a9a;
    background-image: linear-gradient(
            rgba(23, 41, 53, 0.35),
            rgba(23, 41, 53, 0.35)
        ),
        url("assets/Mask%20Group%204.png");
    background-size: cover;
    background-position: center;
    filter: none;
    box-shadow: 0 20px 50px rgba(23, 41, 53, 0.12);
}

.hero-panel__inner {
    padding: 2.5rem 2rem;
}

@media (min-width: 992px) {
    .hero-panel__inner {
        padding: 3rem 3.5rem;
    }
}

.hero-panel__title {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: clamp(1.0625rem, 2.2vw, 1.75rem);
    line-height: 1.25;
    color: var(--unnamed-color-ffffff) !important;
}

.hero-bullet-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--unnamed-color-ffffff);
    border-radius: 50%;
    margin-top: 3px;
    position: relative;
}

.hero-bullet-icon::after {
    content: "";
    position: absolute;
    inset: 5px;
    background: var(--unnamed-color-ffffff);
    border-radius: 50%;
}

.hero-bullet-item {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    line-height: var(--unnamed-line-spacing-24);
    color: var(--unnamed-color-ffffff);
}

.hero-bullet-item strong {
    font-weight: var(--unnamed-font-weight-bold);
    color: var(--unnamed-color-ffffff);
}

.btn-hero-pill {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    background: var(--unnamed-color-172935) !important;
    border: 2px solid var(--unnamed-color-172935) !important;
    color: var(--unnamed-color-ffffff) !important;
    border-radius: 999px !important;
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
}

.btn-hero-pill:hover {
    background: var(--unnamed-color-ffffff) !important;
    border-color: var(--unnamed-color-ffffff) !important;
    color: var(--unnamed-color-172935) !important;
}

.hero-circle-frame {
    position: relative;
    width: min(100%, 380px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 6px rgba(35, 187, 184, 0.35),
        0 0 60px rgba(35, 187, 184, 0.45);
}

.hero-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* —— Hero + nav: solo móvil / tablet (< lg), mismo breakpoint que navbar-toggler —— */
@media (max-width: 991.98px) {
    .navbar-toggler {
        border: 1px solid #d8dee6 !important;
        border-radius: 10px !important;
        padding: 0.5rem 0.65rem !important;
        flex-shrink: 0;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(23, 41, 53, 0.12);
    }

    .navbar-toggler-icon {
        width: 1.35em;
        height: 1.35em;
    }

    .hero-panel__copy {
        text-align: center;
    }

    .hero-panel__title {
        text-align: center;
    }

    .hero-panel__title-line2 {
        font-size: 0.88em;
        font-weight: var(--unnamed-font-weight-800);
    }

    .hero-bullet-list {
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .hero-bullet-item {
        justify-content: flex-start;
    }

    .hero-panel__cta {
        justify-content: center;
    }

    .hero-panel__cta .btn-hero-pill {
        width: 100%;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    /* Espacio bajo el círculo para que la foto se vea completa (sin recorte) */
    .hero-panel__col-visual {
        margin-bottom: 0;
        padding-bottom: 0.35rem;
    }

    .hero-panel__col-visual .hero-circle-frame {
        width: min(88vw, 320px);
    }
}

@media (min-width: 992px) {
    .hero-panel__title-line2 {
        font-size: 1em;
    }
}

.section-bento {
    background: var(--unnamed-color-ffffff);
}

/* Mockup 2: una sola fila — tarjeta lima ancha + dos marino iguales (~45% / ~27.5% / ~27.5%) */
.bento-row-3 {
    display: grid;
    grid-template-columns: 1.636fr 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 991.98px) {
    .bento-row-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.bento-panel {
    position: relative;
    border-radius: var(--radius-bento);
    padding: 2rem 1.75rem 2.25rem;
    text-align: left;
    min-height: 260px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.bento-panel--lime {
    background: var(--color-lime);
}

.bento-panel--navy {
    background: var(--unnamed-color-172935);
}

.bento-panel__icon {
    display: block;
    margin-bottom: 1rem;
    color: var(--unnamed-color-ffffff);
}

.bento-panel__icon--leaf {
    color: var(--unnamed-color-ffffff);
    line-height: 0;
}

.bento-panel__icon--orange {
    color: var(--color-accent-orange);
    font-family: var(--font-heading);
}

.bento-panel__icon--symbol {
    font-size: 2.125rem;
    font-weight: var(--unnamed-font-weight-800);
    line-height: 0.9;
    margin-bottom: 1.1rem;
}

.bento-panel__title {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    margin-bottom: 0.85rem;
}

.bento-panel__title--on-lime {
    color: var(--color-lime-heading) !important;
}

.bento-panel__text {
    font-family: var(--font-body);
    line-height: 1.5;
}

/* Cuerpo lima: peso regular, texto verde oscuro, ancho limitado (espacio a la derecha en mockup) */
.bento-panel__text--on-lime {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-lime-body) !important;
    max-width: 22rem;
    margin-top: 0;
}

/* Cuerpo marino: texto blanco más pequeño y peso regular */
.bento-panel__text--navy-body {
    font-weight: 400;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-top: 0;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.82) !important;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.95) !important;
}

.heading-split {
    font-family: var(--font-heading);
    color: var(--unnamed-color-172935);
}

/* Bloque marcas: titular y barra como mockup (centrado, pesos, barra clara + logos oscuros) */
.heading-split--marcas {
    font-weight: var(--unnamed-font-weight-800);
    font-size: clamp(1.35rem, 2.75vw, 2rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--color-brand-charcoal);
}

/* Dos líneas: oscura arriba, naranja siempre debajo, ambas centradas */
.heading-split--marcas__line {
    display: block;
    max-width: 100%;
}

.heading-split--marcas__line--dark {
    color: var(--color-brand-charcoal);
}

.heading-split--marcas__line--accent {
    margin-top: 0.12em;
    padding-top: 0.08em;
}

.heading-split--marcas .text-accent-orange {
    color: var(--color-brand-orange-muted) !important;
}

.logo-marquee {
    overflow: hidden;
    border-radius: var(--radius-md);
    padding: 1.25rem 0;
    background: var(--unnamed-color-f3f4fa);
}

.logo-marquee--marcas {
    background: var(--unnamed-color-ffffff);
    border-radius: 20px;
    padding: 1.35rem 1rem;
}

.logo-marquee__track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem 3rem;
}

.logo-marquee__img {
    height: 36px;
    width: auto;
    opacity: 0.9;
}

/* Tras logos: tres tarjetas iguales (mockup — marino | marino | naranja) */
.brand-feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .brand-feature-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.brand-feature-card {
    border-radius: 26px;
    padding: 2rem 1.75rem 2.25rem;
    text-align: left;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.brand-feature-card--charcoal {
    background: var(--color-brand-charcoal);
}

.brand-feature-card--orange {
    background: var(--color-brand-orange-muted);
}

.brand-feature-card__symbol {
    display: block;
    margin-bottom: 1.1rem;
    line-height: 0;
}

.brand-feature-card__symbol--plus,
.brand-feature-card__symbol--minus {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: 1.625rem;
    line-height: 0.9;
    color: var(--color-accent-orange);
}

.brand-feature-card__symbol--ring {
    color: var(--unnamed-color-ffffff);
}

.brand-feature-card__title {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: var(--unnamed-font-size-25);
    line-height: var(--unnamed-line-spacing-30);
    color: var(--unnamed-color-ffffff);
    margin-bottom: 0.85rem;
}

.brand-feature-card__body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

.brand-feature-card__body strong {
    font-weight: var(--unnamed-font-weight-bold);
    color: var(--unnamed-color-ffffff);
}

.section-testimonials-xd {
    background: var(--unnamed-color-ffffff);
}

/* Menos hueco entre testimonios (carrusel) y mapa — escritorio */
@media (min-width: 992px) {
    section.section-testimonials-xd.py-5 {
        padding-bottom: 2rem !important;
    }

    .section-map-xd.py-5 {
        padding-top: 2rem !important;
    }

    .section-map-xd .container.py-4 {
        padding-top: 0.75rem !important;
    }
}

/* Móvil/tablet: hueco mínimo entre tarjetas (naranja) y titular testimonios */
@media (max-width: 991.98px) {
    section.section-bento.py-5 {
        padding-bottom: 0 !important;
    }

    .section-bento .container.py-3 {
        padding-bottom: 0 !important;
    }

    .section-bento .brand-feature-row {
        margin-bottom: 0 !important;
        margin-top: 0.5rem;
    }

    section.section-testimonials-xd.py-5 {
        padding-top: 0 !important;
        padding-bottom: 0.75rem !important;
    }

    .section-map-xd.py-5 {
        padding-top: 0.75rem !important;
    }

    .section-testimonials-xd .container.py-4 {
        padding-top: 0.25rem !important;
        padding-bottom: 0.5rem !important;
    }

    .section-map-xd .container.py-4 {
        padding-top: 0.5rem !important;
    }

    .testimonials-title-wrap {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0.65rem;
    }

    .testimonials-title-outside--why {
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* Título testimonios centrado; sin scroll horizontal */
.testimonials-title-wrap {
    text-align: center;
    overflow-x: visible;
    overflow-y: visible;
    margin-bottom: 0;
}

.testimonials-title-outside:not(.testimonials-title-outside--why) {
    margin: 0 auto;
    display: inline-block;
    min-width: min-content;
}

.testimonials-title-outside {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-800);
    font-size: clamp(1rem, 3vw, var(--unnamed-font-size-40));
    line-height: 1.2;
}

.testimonials-title-outside__line {
    display: inline-block;
    white-space: nowrap;
}

.testimonials-title-outside__dark {
    color: var(--unnamed-color-172935);
}

/* Titular testimonios: exactamente 2 líneas — arriba toda la frase oscura, abajo solo el naranja */
.testimonials-title-outside--why {
    display: block;
    width: 100%;
    max-width: 44rem;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    font-size: clamp(1.4rem, 3.85vw, 2.6rem);
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .testimonials-title-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonials-title-outside--why {
        width: 100%;
        max-width: 48rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .testimonials-title-outside--why .testimonials-title-outside__row {
        text-align: center;
        width: 100%;
    }

    .testimonials-title-outside--why .testimonials-title-outside__row--accent {
        font-size: 1em;
    }
}

.testimonials-title-outside--why .testimonials-title-outside__row {
    display: block;
}

.testimonials-title-outside--why .testimonials-title-outside__row--dark {
    color: var(--unnamed-color-172935);
    white-space: nowrap;
}

.testimonials-title-outside--why .testimonials-title-outside__row--accent {
    margin-top: 0.45em;
    padding-top: 0.12em;
    white-space: nowrap;
}

/* Pantallas donde la frase larga no cabe en una línea al tamaño base: reduce solo la oscura */
@media (max-width: 991.98px) {
    .testimonials-title-outside--why .testimonials-title-outside__row--dark {
        font-size: clamp(0.82rem, 3.45vw, 1.35rem);
        letter-spacing: -0.03em;
        line-height: 1.25;
    }

    .testimonials-title-outside--why .testimonials-title-outside__row--accent {
        font-size: clamp(0.85rem, 4vw, 1.55rem);
        line-height: 1.2;
    }
}

.testimonials-title-outside--why .text-accent-orange {
    color: var(--color-brand-orange-muted) !important;
}

/* Carrusel de testimonios (móvil / tablet < lg) */
.testimonials-carousel {
    position: relative;
}

@media (max-width: 991.98px) {
    .testimonials-carousel__track {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scroll-padding-inline: 6%;
        gap: 1rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-bottom: 0.35rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .testimonials-carousel__track::-webkit-scrollbar {
        height: 4px;
    }

    .testimonials-carousel__track::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.35);
        border-radius: 4px;
    }

    .testimonials-carousel__slide {
        flex: 0 0 min(88vw, 320px);
        max-width: min(88vw, 320px);
        width: min(88vw, 320px);
        scroll-snap-align: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 992px) {
    .testimonials-carousel__track {
        flex-wrap: wrap !important;
        overflow-x: visible;
    }

    .testimonials-carousel__slide {
        scroll-snap-align: unset;
    }
}

.testimonials-carousel__dots {
    display: none;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding-top: 0.15rem;
}

@media (max-width: 991.98px) {
    .testimonials-carousel__dots {
        display: flex;
        margin-top: 0.45rem;
    }
}

.testimonials-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(200, 220, 240, 0.45);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.testimonials-carousel__dot.is-active {
    background: var(--unnamed-color-ffffff);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
    transform: scale(1.12);
}

.testimonials-carousel__dot:focus-visible {
    outline: 2px solid var(--unnamed-color-23bbb8);
    outline-offset: 2px;
}

.testimonials-shell {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background-color: #6b8aa8;
    background-image: linear-gradient(
            rgba(23, 41, 53, 0.4),
            rgba(23, 41, 53, 0.4)
        ),
        url("assets/Mask%20Group%204.png");
    background-size: cover;
    background-position: center;
    box-shadow:
        0 16px 48px rgba(23, 41, 53, 0.1),
        inset 0 0 80px rgba(23, 41, 53, 0.1);
}

.testimonial-xd {
    position: relative;
    padding-top: 3rem;
}

.testimonial-xd__avatar-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.testimonial-xd__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--unnamed-color-23bbb8);
    box-shadow:
        0 0 0 2px rgba(35, 187, 184, 0.35),
        0 0 22px rgba(35, 187, 184, 0.45),
        0 10px 28px rgba(23, 41, 53, 0.25);
}

.testimonial-xd__body {
    background: #1d2939;
    border-radius: 22px;
    padding: 3.5rem 1.5rem 2rem;
    min-height: 280px;
}

.testimonial-xd__name {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    font-size: var(--unnamed-font-size-25);
    color: var(--unnamed-color-ffffff);
}

.testimonial-xd__quote {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

.section-map-xd .heading-split {
    color: var(--unnamed-color-172935);
}

.section-map-xd__col-copy {
    max-width: 100%;
}

/* Título mapa: 4 líneas; centrado en móvil, alineado a la izquierda en lg+ */
.heading-split--map {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-bold);
    font-size: clamp(1.05rem, 4.2vw, 1.65rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
    text-align: center;
    color: #1a202c;
}

@media (min-width: 992px) {
    .heading-split--map {
        text-align: left;
    }
}

.heading-split--map__line {
    display: block;
    max-width: 100%;
}

.heading-split--map__line--dark {
    color: #1a202c;
    font-weight: var(--unnamed-font-weight-800);
}

.heading-split--map__line--accent {
    margin: 0;
    padding: 0;
    font-weight: var(--unnamed-font-weight-bold);
}

.map-section-phones {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 0;
}

.map-phones-asset {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-left: 0;
    margin-right: auto;
}

.map-search-asset {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.map-search-pill {
    display: flex;
    align-items: stretch;
    background: var(--unnamed-color-f3f4fa);
    border-radius: 999px;
    overflow: hidden;
    padding: 4px;
    gap: 0;
}

.map-search-pill__input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0.85rem 1.25rem;
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    border-radius: 999px 0 0 999px !important;
}

.map-search-pill__input:focus {
    box-shadow: none !important;
}

.map-search-pill__btn {
    font-family: var(--font-heading);
    font-weight: var(--unnamed-font-weight-bold);
    background: var(--unnamed-color-172935) !important;
    color: var(--unnamed-color-ffffff) !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0.85rem 1.75rem;
    white-space: nowrap;
}

.map-search-pill__btn:hover {
    background: var(--unnamed-color-23bbb8) !important;
    color: var(--unnamed-color-ffffff) !important;
}

.map-embed iframe {
    display: block;
}

.map-embed--leaflet {
    position: relative;
    min-height: 320px;
}

.map-leaflet {
    width: 100%;
    height: 360px;
    min-height: 300px;
    z-index: 0;
    font-family: var(--font-body);
}

.map-embed--leaflet .leaflet-container {
    font-family: var(--font-body);
    border-radius: inherit;
}

.map-marker-dot {
    background: none !important;
    border: none !important;
}

.map-marker-dot__inner {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto;
    background: var(--color-accent-orange);
    border-radius: 50%;
    border: 2px solid var(--unnamed-color-ffffff);
    box-shadow: 0 2px 10px rgba(23, 41, 53, 0.28);
}

.map-popup-hotel .leaflet-popup-content-wrapper {
    background: #f8bbd0;
    color: var(--unnamed-color-172935);
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 10px 28px rgba(23, 41, 53, 0.2);
}

.map-popup-hotel .leaflet-popup-content {
    margin: 0.65rem 0.9rem;
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.map-popup-hotel .leaflet-popup-tip {
    background: #f8bbd0;
    box-shadow: none;
}

.map-popup-hotel .leaflet-popup-close-button {
    color: var(--unnamed-color-172935);
    padding: 0.35rem 0.5rem 0 0;
}

.footer-xd {
    background: var(--unnamed-color-ffffff);
    border-top: 1px solid var(--color-border-subtle);
}

.footer-xd__top {
    width: 100%;
}

/* Tres enlaces con el mismo ancho cada uno: espacio uniforme entre títulos */
.footer-xd__nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    gap: 0.5rem 0;
}

.footer-xd__nav a {
    flex: 1 1 0;
    min-width: min(100%, 10rem);
    text-align: center;
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    font-size: var(--unnamed-font-size-20);
    color: var(--unnamed-color-172935);
    text-decoration: none;
}

.footer-xd__nav a:hover {
    color: var(--color-accent-orange);
}

.footer-xd__social-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--unnamed-color-172935);
    color: var(--unnamed-color-ffffff);
    transition: transform 0.15s, background 0.15s;
}

.footer-xd__social-btn:hover {
    background: var(--unnamed-color-23bbb8);
    color: var(--unnamed-color-ffffff);
    transform: translateY(-2px);
}

.footer-xd__social-btn--twitch {
    padding: 0;
    background: transparent;
    overflow: hidden;
}

.footer-xd__social-btn--twitch:hover {
    background: transparent;
    filter: brightness(1.12);
}

.footer-xd__social-img {
    width: 44px;
    height: 44px;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.footer-xd__copy {
    font-family: var(--font-body);
    font-weight: var(--unnamed-font-weight-600);
    color: var(--unnamed-color-707070);
}

/* ========== Responsive móvil (ampliación general) ========== */

@media (max-width: 575.98px) {
    body {
        font-size: 1rem;
        line-height: 1.5;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }

    /* Hero */
    .hero-wrap .container {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .hero-panel {
        border-radius: clamp(18px, 5vw, var(--radius-hero-panel));
    }

    .hero-panel__inner {
        padding: 1.35rem 1.1rem 2rem;
    }

    .hero-panel__title {
        font-size: clamp(1rem, 4.2vw, 1.4rem);
        word-wrap: break-word;
    }

    .hero-bullet-item {
        font-size: 0.9375rem;
        line-height: 1.45;
    }

    .hero-bullet-item span:last-child {
        min-width: 0;
    }

    .btn-hero-pill.btn-lg {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
        font-size: 0.95rem;
    }

    .hero-circle-frame {
        width: min(100%, 280px);
    }

    /* Bento / beneficios */
    .section-bento .container {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .bento-panel {
        min-height: 0;
        padding: 1.5rem 1.25rem 1.65rem;
    }

    .bento-panel__title {
        font-size: clamp(1.125rem, 4vw, var(--unnamed-font-size-25));
    }

    .bento-panel__text {
        font-size: 0.9375rem;
    }

    /* Marcas */
    .heading-split--marcas {
        font-size: clamp(1.15rem, 5vw, 1.65rem);
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .logo-marquee--marcas {
        padding: 1rem 0.75rem;
        border-radius: 16px;
    }

    .logo-marquee__track {
        gap: 1.25rem 1.5rem;
        justify-content: center;
    }

    .logo-marquee__img {
        height: 30px;
    }

    .brand-feature-card {
        min-height: 0;
        padding: 1.5rem 1.35rem 1.65rem;
    }

    .brand-feature-card__title {
        font-size: 1.125rem;
    }

    .brand-feature-card__body {
        font-size: 0.875rem;
    }

    /* Testimonios */
    .section-testimonials-xd .container {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .testimonials-title-outside--why {
        font-size: 1rem;
        white-space: normal;
        text-align: center;
        max-width: 100%;
        padding: 0 0.25rem;
        hyphens: manual;
        -webkit-hyphens: manual;
    }

    .testimonials-title-outside--why .testimonials-title-outside__row--dark {
        font-size: clamp(0.74rem, 3.35vw, 1.15rem);
    }

    .testimonials-title-outside--why .testimonials-title-outside__row--accent {
        font-size: clamp(0.82rem, 4.25vw, 1.45rem);
    }

    .testimonials-shell {
        border-radius: 20px;
        padding: 1.25rem 1rem !important;
    }

    .testimonial-xd__body {
        min-height: 0;
        padding: 3.25rem 1.1rem 1.5rem;
    }

    .testimonial-xd__name {
        font-size: 1.125rem;
    }

    .testimonial-xd__quote {
        font-size: 0.875rem;
    }

    /* Mapa / contacto */
    .section-map-xd .container {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .section-map-xd .heading-split--map {
        font-size: clamp(1rem, 4.5vw, 1.45rem) !important;
        line-height: 1.18 !important;
        word-wrap: break-word;
    }

    .map-search-pill {
        flex-direction: column;
        align-items: stretch;
        border-radius: 1.25rem;
        gap: 6px;
        padding: 6px;
    }

    .map-search-pill__input {
        width: 100%;
        border-radius: 999px !important;
        min-height: 48px;
        font-size: 16px;
    }

    .map-search-pill__btn {
        width: 100%;
        flex: none;
        border-radius: 999px !important;
        min-height: 48px;
        padding: 0.65rem 1rem;
        white-space: normal;
        text-align: center;
    }

    .map-leaflet {
        height: 260px !important;
        min-height: 240px !important;
    }

    .map-embed--leaflet {
        min-height: 240px;
    }

    .map-phones-asset {
        max-width: 100%;
    }

    /* Footer */
    .footer-xd {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }

    .footer-xd__nav {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 100%;
    }

    .footer-xd__nav a {
        flex: none;
        min-width: 0;
        font-size: 0.9375rem;
    }

    .footer-xd__copy {
        font-size: 0.8125rem !important;
        padding: 0 0.5rem;
    }
}

/* Tablets estrechas */
@media (min-width: 576px) and (max-width: 767.98px) {
    .testimonials-title-outside--why {
        font-size: clamp(1.25rem, 3.15vw, 2rem);
    }

    .map-search-pill__input {
        font-size: 16px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-panel__inner {
        padding: 2rem 1.5rem 1.75rem;
    }

    .map-leaflet {
        height: 300px;
    }
}
