/* ==========================================================================
   NicaExplore · Landing page pública
   Diseño oscuro, moderno y responsive. Identidad "Guardabarranco":
   turquesa (lagunas), azul (cielos/lagos) y terracota (cerámica).
   Autónoma: no depende de Bootstrap ni del CSS del panel.
   ========================================================================== */

/* ------------------------------ Tokens ------------------------------ */
:root {
    --bg: #060c0a;
    --bg-2: #0a1310;
    --surface: #0e1815;
    --surface-2: #121d19;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    --text: #e9f3ef;
    --muted: #94a89f;
    --faint: #6c7f77;

    --accent: #19c9a0;
    --accent-strong: #12b18c;
    --accent-2: #46a3e6;
    --terracotta: #d0674b;
    --gold: #ffc247;

    --brand-grad: linear-gradient(100deg, #19c9a0 0%, #46a3e6 100%);
    --ita-grad: linear-gradient(100deg, #46a3e6 0%, #d0674b 100%);

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

    --shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.85);
    --shadow-soft: 0 18px 40px -26px rgba(0, 0, 0, 0.8);

    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;

    --shell: 1200px;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
}

::selection {
    background: rgba(25, 201, 160, 0.28);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ------------------------------ Utilidades ------------------------------ */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100%;
    left: 16px;
    z-index: 200;
    padding: 12px 18px;
    border-radius: 0 0 12px 12px;
    background: var(--accent);
    color: #04211a;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

.icon {
    width: 22px;
    height: 22px;
    flex: none;
}

.text-gradient {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-style: italic;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(25, 201, 160, 0.16);
}

/* ------------------------------ Botones ------------------------------ */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-bd: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid var(--btn-bd);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.25s ease,
        background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.btn .icon {
    width: 19px;
    height: 19px;
}

.btn--primary {
    --btn-bg: var(--brand-grad);
    --btn-fg: #032019;
    box-shadow: 0 16px 34px -16px rgba(25, 201, 160, 0.65);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px -16px rgba(25, 201, 160, 0.8);
}

.btn--ghost {
    --btn-fg: var(--text);
    --btn-bd: var(--border-strong);
    --btn-bg: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(25, 201, 160, 0.5);
    background: rgba(25, 201, 160, 0.08);
}

.btn--lg {
    padding: 16px 28px;
    font-size: 1rem;
}

.btn--sm {
    padding: 10px 18px;
    font-size: 0.88rem;
}

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

/* ------------------------------ Cabecera ------------------------------ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background 0.3s ease, border-color 0.3s ease,
        backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(6, 12, 10, 0.82);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--border);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}

.brand__mark {
    width: 42px;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(25, 201, 160, 0.22));
}

.brand__name span {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--muted);
}

.nav__links a {
    position: relative;
    transition: color 0.2s ease;
}

.nav__links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-grad);
    transition: width 0.25s ease;
}

.nav__links a:not(.btn):hover {
    color: var(--text);
}

.nav__links a:not(.btn):hover::after {
    width: 100%;
}

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

.nav__links-cta {
    display: none;
}

.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.nav__toggle-close {
    display: none;
}

/* ------------------------------ Hero ------------------------------ */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 64px) 0 72px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    pointer-events: none;
}

.hero__glow--a {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(25, 201, 160, 0.5), transparent 70%);
}

.hero__glow--b {
    width: 460px;
    height: 460px;
    top: -60px;
    right: -140px;
    background: radial-gradient(circle, rgba(70, 163, 230, 0.42), transparent 70%);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.hero__content {
    max-width: 620px;
}

.hero__title {
    margin: 22px 0 0;
    font-size: clamp(2.7rem, 6vw, 4.4rem);
    line-height: 1.02;
}

.hero__lead {
    margin-top: 22px;
    max-width: 540px;
    font-size: 1.1rem;
    color: var(--muted);
}

.hero__lead strong {
    color: var(--text);
    font-weight: 600;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    font-size: 0.9rem;
    color: var(--faint);
}

.hero__meta .icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.88rem;
    color: var(--muted);
}

.chip .icon {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

/* Teléfono / mockup */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1600px;
}

.phone {
    position: relative;
    width: min(310px, 78vw);
    animation: float 7s ease-in-out infinite;
}

.phone__frame {
    position: relative;
    padding: 12px;
    border-radius: 44px;
    background: linear-gradient(160deg, #1c2622, #0b100e 60%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone__notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    border-radius: 999px;
    background: #050908;
    z-index: 2;
}

.phone__screen {
    width: 100%;
    border-radius: 34px;
    display: block;
}

.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 15px;
    background: rgba(12, 20, 17, 0.86);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    font-size: 0.82rem;
    line-height: 1.25;
    animation: float 6s ease-in-out infinite;
}

.float-chip img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.float-chip .icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.float-chip b {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
}

.float-chip small {
    color: var(--faint);
    font-size: 0.76rem;
}

.float-chip--1 {
    top: 16%;
    left: -14%;
    animation-delay: 0.4s;
}

.float-chip--2 {
    top: 46%;
    right: -16%;
    animation-delay: 1.1s;
}

.float-chip--2 .icon {
    color: var(--accent-2);
}

.float-chip--3 {
    bottom: 12%;
    left: -10%;
    animation-delay: 1.8s;
}

.float-chip--3 .icon {
    color: var(--gold);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Estadísticas */
.stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 72px;
    padding: 26px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
    backdrop-filter: blur(8px);
}

.stat {
    padding: 6px 18px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat b {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat span {
    display: block;
    margin-top: 8px;
    font-size: 0.86rem;
    color: var(--muted);
}

/* ------------------------------ Secciones ------------------------------ */
.section {
    position: relative;
    padding: 96px 0;
    scroll-margin-top: var(--header-h);
}

.section--alt {
    background: var(--bg-2);
    border-block: 1px solid var(--border);
}

.section__head {
    max-width: 720px;
    margin-bottom: 52px;
}

.section__title {
    margin-top: 18px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section__lead {
    margin-top: 18px;
    font-size: 1.05rem;
    color: var(--muted);
}

/* ------------------------------ Características ------------------------------ */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature {
    position: relative;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006));
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    background: linear-gradient(180deg, rgba(25, 201, 160, 0.08), rgba(255, 255, 255, 0.01));
}

.feature:hover::after {
    transform: scaleX(1);
}

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(25, 201, 160, 0.28);
    background: rgba(25, 201, 160, 0.1);
    color: var(--accent);
    margin-bottom: 18px;
}

.feature__icon .icon {
    width: 24px;
    height: 24px;
}

.feature h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.feature p {
    font-size: 0.94rem;
    color: var(--muted);
}

/* ------------------------------ Cómo funciona ------------------------------ */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 30px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.step__num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1.3px rgba(25, 201, 160, 0.75);
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.14rem;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.94rem;
    color: var(--muted);
}

/* ------------------------------ Ciudades ------------------------------ */
.cities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.city {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.city:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}

.city__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.city__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(6, 12, 10, 0.72));
}

.city__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.city:hover .city__media img {
    transform: scale(1.06);
}

.city__dep {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
}

.city__body {
    position: relative;
    padding: 22px 24px 26px;
}

.city__body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 2px;
}

.city--juigalpa .city__body::before { background: linear-gradient(90deg, #7b2d8e, #4a1a5c); }
.city--leon .city__body::before { background: linear-gradient(90deg, #d4a017, #8b4513); }
.city--managua .city__body::before { background: linear-gradient(90deg, #00897b, #005b4f); }

.city__body h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.city__body p {
    font-size: 0.94rem;
    color: var(--muted);
}

/* ------------------------------ Comercios ------------------------------ */
.commerces__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 56px;
}

.commerces__intro .section__title {
    margin-bottom: 0;
}

.commerces__intro .btn {
    margin-top: 30px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 0.96rem;
    color: var(--muted);
}

.check-list .icon {
    width: 20px;
    height: 20px;
    padding: 3px;
    border-radius: 50%;
    background: rgba(25, 201, 160, 0.14);
    color: var(--accent);
}

.commerces__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.commerce {
    position: relative;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.commerce:first-child {
    grid-column: span 2;
}

.commerce:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.commerce img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.commerce:first-child img {
    height: 230px;
}

.commerce figcaption {
    display: flex;
    flex-direction: column;
    padding: 16px 18px;
}

.commerce figcaption b {
    font-size: 1.02rem;
    color: var(--text);
}

.commerce figcaption span {
    font-size: 0.85rem;
    color: var(--faint);
}

/* ------------------------------ Galería ------------------------------ */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 26px;
    align-items: stretch;
}

.gallery__item {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery__phone {
    border: 1px solid var(--border-strong);
    border-radius: 30px;
    padding: 9px;
    background: linear-gradient(160deg, #1a241f, #0a0f0d);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.gallery__phone img {
    width: 100%;
    border-radius: 22px;
}

.gallery__item figcaption {
    font-size: 0.9rem;
    color: var(--muted);
}

.gallery__item figcaption b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.18rem;
    color: var(--text);
}

.gallery__aside {
    display: grid;
    gap: 26px;
}

.gallery__card {
    padding: 28px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.006));
    align-self: start;
}

.gallery__card h3 {
    font-size: 1.24rem;
    margin: 16px 0 8px;
}

.gallery__card p {
    font-size: 0.94rem;
    color: var(--muted);
}

/* ------------------------------ Tecnología ------------------------------ */
.section--tech {
    padding: 72px 0;
}

.tech {
    text-align: center;
}

.tech__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.tech__badges li {
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tech__badges li:hover {
    color: var(--text);
    border-color: rgba(25, 201, 160, 0.45);
    transform: translateY(-2px);
}

.tech__note {
    margin-top: 28px;
    font-size: 0.94rem;
    color: var(--faint);
}

.tech__note strong {
    color: var(--muted);
}

/* ------------------------------ FAQ ------------------------------ */
.faq {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.faq__item[open] {
    border-color: rgba(25, 201, 160, 0.4);
    background: linear-gradient(180deg, rgba(25, 201, 160, 0.06), var(--surface));
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 500;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__chevron {
    width: 20px;
    height: 20px;
    color: var(--accent);
    transition: transform 0.25s ease;
    flex: none;
}

.faq__item[open] .faq__chevron {
    transform: rotate(180deg);
}

.faq__item p {
    padding: 0 24px 24px;
    color: var(--muted);
    font-size: 0.96rem;
}

/* ------------------------------ CTA final ------------------------------ */
.cta {
    padding: 40px 0 96px;
}

.cta__card {
    position: relative;
    padding: 64px 40px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #0d1815, #080f0d);
}

.cta__glow {
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    height: 400px;
    background: radial-gradient(circle, rgba(25, 201, 160, 0.4), transparent 68%);
    filter: blur(60px);
    pointer-events: none;
}

.cta__isotipo {
    position: relative;
    width: 88px;
    margin: 0 auto 22px;
    filter: drop-shadow(0 14px 30px rgba(25, 201, 160, 0.3));
}

.cta__card h2 {
    position: relative;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    max-width: 620px;
    margin-inline: auto;
}

.cta__card > p {
    position: relative;
    margin: 18px auto 0;
    max-width: 500px;
    color: var(--muted);
}

.cta__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.cta__meta {
    position: relative;
    margin-top: 22px;
    font-size: 0.86rem;
    color: var(--faint);
}

/* ------------------------------ Pie ------------------------------ */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-2);
    padding-top: 64px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer__brand .brand {
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.94rem;
    color: var(--muted);
}

.footer__col h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 16px;
}

.footer__col a {
    display: block;
    padding: 6px 0;
    font-size: 0.94rem;
    color: var(--muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer__col a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer__team {
    font-size: 0.96rem;
    color: var(--muted);
}

.footer__small {
    margin-top: 12px;
    font-size: 0.84rem;
    color: var(--faint);
    line-height: 1.6;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px;
    border-top: 1px solid var(--border);
    font-size: 0.86rem;
    color: var(--faint);
}

.footer__flag {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-left: 6px;
    border-radius: 50%;
    background: linear-gradient(180deg, #0067c6 50%, #fff 50%);
    color: #fff;
    font-size: 0.56rem;
    font-weight: 700;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
    vertical-align: middle;
}

/* ------------------------------ Reveal ------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1080px) {
    .features,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery__aside {
        grid-column: span 2;
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 900px) {
    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: inline-flex;
    }

    .nav__links {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 18px 24px 26px;
        background: rgba(6, 12, 10, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .nav__links a {
        padding: 13px 6px;
        font-size: 1.02rem;
        border-bottom: 1px solid var(--border);
    }

    .nav__links a:not(.btn)::after {
        display: none;
    }

    .nav__links-cta {
        display: inline-flex;
        margin-top: 14px;
        border-bottom: 0;
    }

    body.menu-open .nav__links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .nav__toggle-open {
        display: none;
    }

    body.menu-open .nav__toggle-close {
        display: block;
    }

    .hero {
        padding-top: calc(var(--header-h) + 40px);
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero__content {
        max-width: 560px;
    }

    .hero__visual {
        order: 2;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 0;
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        padding-bottom: 18px;
        border-bottom: 1px solid var(--border);
    }

    .commerces__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cities {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 640px) {
    .shell {
        padding-inline: 18px;
    }

    .section {
        padding: 72px 0;
    }

    .hero__title {
        font-size: clamp(2.3rem, 10vw, 3rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

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

    .gallery {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .gallery__aside {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .float-chip--1 { left: -4%; }
    .float-chip--2 { right: -4%; }
    .float-chip--3 { left: -2%; }

    .cta__card {
        padding: 46px 22px;
    }

    .cta__actions {
        flex-direction: column;
    }

    .cta__actions .btn {
        width: 100%;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        justify-content: center;
        text-align: center;
    }
}

/* ------------------------------ Accesibilidad ------------------------------ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
