/* ============================================================
   FireHorse · Landing Page
   Innovación en movimiento
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    /* Fire palette (from brand logos) */
    --fire-50:  #fff3e8;
    --fire-300: #ffb020;
    --fire-400: #ff8c1a;
    --fire-500: #ff6b1a;
    --fire-600: #ff4e14;
    --fire-700: #e8431e;
    --fire-ember: #ffc94d;

    --fire-gradient: linear-gradient(120deg, #ff3d00 0%, #ff6b1a 45%, #ffb020 100%);
    --fire-gradient-soft: linear-gradient(120deg, #ff4e14, #ff9d2e);

    /* Dark surface palette */
    --bg:        #0b0e13;
    --bg-2:      #0f141c;
    --surface:   #141a24;
    --surface-2: #1a2230;
    --border:    rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 140, 26, 0.35);

    --text:      #f4f6fb;
    --text-soft: #aeb6c4;
    --text-dim:  #7b8494;

    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
    --shadow-fire: 0 18px 50px -14px rgba(255, 90, 20, 0.45);

    --maxw: 1200px;
    --gutter: clamp(16px, 4vw, 40px);

    --font-head: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--fire-600); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fire-400);
    margin-bottom: 14px;
}

.section__head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }

.section__title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.8rem, 4.2vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section__sub { color: var(--text-soft); font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: 16px; }

.gradient-text {
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- Animated background ---------- */
.embers-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 50% at 80% -5%, rgba(255, 90, 20, 0.22), transparent 70%),
        radial-gradient(45% 45% at 0% 20%, rgba(255, 78, 20, 0.12), transparent 70%),
        radial-gradient(60% 60% at 50% 110%, rgba(255, 140, 26, 0.10), transparent 70%);
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.98rem;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
    will-change: transform;
    white-space: nowrap;
}
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

.btn--fire {
    background: var(--fire-gradient);
    color: #1a0a00;
    box-shadow: var(--shadow-fire);
}
.btn--fire:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -12px rgba(255, 90, 20, 0.6); }

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--border-strong); transform: translateY(-3px); color: #fff; }

.btn__arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 107, 26, 0.1);
    border: 1px solid rgba(255, 140, 26, 0.3);
    color: var(--fire-300);
    margin-bottom: 24px;
}
.pill__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--fire-500);
    box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.6);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0); }
}

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    background: var(--bg);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader__flame {
    width: 56px; height: 56px;
    fill: var(--fire-500);
    filter: drop-shadow(0 0 16px rgba(255, 107, 26, 0.7));
    animation: flicker 1.1s ease-in-out infinite;
    transform-origin: center bottom;
}
@keyframes flicker {
    0%, 100% { transform: scale(1) rotate(-2deg); opacity: 1; }
    50% { transform: scale(1.12) rotate(2deg); opacity: 0.85; }
}
.preloader__name {
    font-family: var(--font-head);
    font-weight: 900;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
    color: var(--text);
}
.preloader__name span { color: var(--fire-500); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
    width: 42px; height: 42px;
    border-radius: 11px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #0a0d12;
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brand__text {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.28rem;
    letter-spacing: 0.02em;
    color: #fff;
}
.brand__text span { color: var(--fire-500); }

/* ---------- Navbar ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    padding: 11px 0;
    background: rgba(11, 14, 19, 0.82);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-soft);
    transition: color 0.25s;
    position: relative;
    white-space: nowrap;
}
.nav__links a:not(.nav__cta)::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--fire-gradient);
    transition: width 0.3s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: #fff; }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__links a.is-active:not(.nav__cta) { color: #fff; }
.nav__links a.is-active:not(.nav__cta)::after { width: 100%; }
.nav__cta {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: var(--fire-gradient);
    color: #1a0a00 !important;
    font-weight: 700;
    font-family: var(--font-head);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-fire); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span {
    width: 26px; height: 2.5px; border-radius: 2px;
    background: var(--text);
    transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero__title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(2.3rem, 6vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 6px 0 22px;
}
.hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--text-soft); max-width: 560px; }
.hero__lead strong { color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 34px 0 40px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 46px); }
.hero__stat strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    background: var(--fire-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.hero__stat span { font-size: 0.85rem; color: var(--text-dim); }

/* Hero visual — galloping horse */
.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero__stage {
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1418 / 736;
    display: grid;
    place-items: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0a0d12;
    border: 1px solid var(--border);
    box-shadow: var(--shadow), 0 0 80px -26px rgba(255, 90, 20, 0.6);
    transition: transform 0.3s var(--ease);
    transform-style: preserve-3d;
}
/* warm glow behind the horse */
.hero__stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 46% 48%, rgba(255, 94, 20, 0.4), rgba(255, 150, 30, 0.08) 48%, transparent 74%);
    z-index: 0;
    animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.07); }
}

.hero__horse {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
}
.hero__horse img { width: 100%; display: block; }

/* subtle bottom gradient for depth inside the panel */
.hero__shadow {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    height: 26%;
    background: linear-gradient(transparent, rgba(10, 13, 18, 0.55));
    pointer-events: none;
}

/* capability chips below the horse (no overlap) */
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: -4px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.85rem;
    color: var(--text-soft);
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: rgba(18, 23, 32, 0.75);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.hero__badge:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.hero__badge b { color: var(--text); font-weight: 700; }
.hero__badge-ic {
    font-size: 1.05rem;
    filter: drop-shadow(0 0 6px rgba(255, 120, 30, 0.6));
}

.scroll-cue {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    display: grid;
    justify-items: center;
    padding-top: 7px;
}
.scroll-cue span {
    width: 4px; height: 9px; border-radius: 3px;
    background: var(--fire-400);
    animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    width: max-content;
    animation: marquee 30s linear infinite;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.4vw, 1.7rem);
    color: var(--text-soft);
}
.marquee__track .dot { color: var(--fire-500); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards (services) ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}
.card {
    position: relative;
    padding: 32px 28px;
    background: linear-gradient(160deg, var(--surface), var(--bg-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--fire-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.card::after {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255,107,26,0.18), transparent 70%);
    top: var(--my, 50%); left: var(--mx, 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card__icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: rgba(255, 107, 26, 0.12);
    border: 1px solid rgba(255, 140, 26, 0.25);
    margin-bottom: 22px;
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--fire-400); stroke-width: 1.8; }
.card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; margin-bottom: 12px; }
.card p { color: var(--text-soft); font-size: 0.97rem; }
.card__list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.card__list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
    color: var(--text-soft);
}
.card__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 12px; height: 12px;
    background: var(--fire-gradient);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.card--feature {
    background: linear-gradient(160deg, rgba(255, 78, 20, 0.14), var(--bg-2));
    border-color: var(--border-strong);
}
.card__badge {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--font-head);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    background: var(--fire-gradient);
    color: #1a0a00;
    z-index: 2;
}

/* ---------- Stats band ---------- */
.stats-band {
    background:
        linear-gradient(160deg, rgba(255, 78, 20, 0.08), transparent),
        var(--bg-2);
    border-block: 1px solid var(--border);
    padding: clamp(48px, 7vw, 80px) 0;
}
.stats-band__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    background: var(--fire-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat span { color: var(--text-soft); font-size: 0.95rem; margin-top: 8px; display: block; }

/* ---------- Showcase (AI) ---------- */
.showcase__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}
.showcase__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow), 0 0 90px -40px rgba(255, 90, 20, 0.6);
}
.showcase__media img { width: 100%; }
.showcase__tag {
    position: absolute;
    bottom: 18px; left: 18px;
    display: flex; align-items: center; gap: 9px;
    font-size: 0.82rem; font-weight: 600;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: rgba(11, 14, 19, 0.8);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.pulse {
    width: 9px; height: 9px; border-radius: 50%;
    background: #3ddc84;
    box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
    animation: pulse-dot 2s infinite;
}

.feature-list { display: flex; flex-direction: column; gap: 22px; margin: 30px 0 34px; }
.feature { display: flex; gap: 18px; }
.feature__num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--fire-500);
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(255, 107, 26, 0.1);
    border: 1px solid rgba(255, 140, 26, 0.22);
}
.feature h4 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.feature p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 30px 26px;
    background: linear-gradient(160deg, var(--surface), var(--bg-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step__num {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--fire-gradient);
    color: #1a0a00;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 20px;
    box-shadow: var(--shadow-fire);
}
.step h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: 0.92rem; }
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 55px; right: -13px;
    width: 26px; height: 2px;
    background: linear-gradient(90deg, var(--fire-500), transparent);
}

/* ---------- Why grid ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}
.why {
    padding: 28px 26px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.why:hover { transform: translateY(-5px); background: rgba(255, 107, 26, 0.05); border-color: var(--border-strong); }
.why__icon { font-size: 1.9rem; display: block; margin-bottom: 14px; }
.why h4 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: 8px; }
.why p { color: var(--text-soft); font-size: 0.93rem; }

/* ---------- Tech chips ---------- */
.tech-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto; }
.chip {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 11px 20px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-soft);
    transition: transform 0.3s var(--ease), color 0.3s, border-color 0.3s, background 0.3s;
}
.chip:hover {
    transform: translateY(-4px);
    color: #fff;
    border-color: var(--border-strong);
    background: rgba(255, 107, 26, 0.1);
}

/* ---------- CTA band ---------- */
.cta-band {
    padding: clamp(56px, 8vw, 96px) 0;
    position: relative;
}
.cta-band__inner {
    text-align: center;
    max-width: 780px;
    margin-inline: auto;
    padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(80% 120% at 50% 0%, rgba(255, 78, 20, 0.22), transparent 70%),
        linear-gradient(160deg, var(--surface), var(--bg-2));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.cta-band__inner h2 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.cta-band__inner p { color: var(--text-soft); margin: 16px 0 30px; font-size: 1.08rem; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(36px, 6vw, 72px);
    align-items: start;
}
.contact__info .section__head { text-align: left; margin: 0; }
.contact__info .section__title, .contact__info .section__sub { text-align: left; }
.contact__list { margin: 32px 0 28px; display: flex; flex-direction: column; gap: 20px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__ic {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    font-size: 1.3rem;
    border-radius: 13px;
    background: rgba(255, 107, 26, 0.1);
    border: 1px solid rgba(255, 140, 26, 0.22);
    flex-shrink: 0;
}
.contact__list small { display: block; color: var(--text-dim); font-size: 0.8rem; }
.contact__list a, .contact__list span { font-weight: 600; font-size: 1.02rem; transition: color 0.25s; }
.contact__list a:hover { color: var(--fire-400); }
.contact__socials { display: flex; gap: 12px; }
.social {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9rem;
    transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.social:hover { border-color: var(--border-strong); color: var(--fire-400); transform: translateY(-2px); }

.contact__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: clamp(26px, 4vw, 40px);
    background: linear-gradient(160deg, var(--surface), var(--bg-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-soft); }
.field label span { color: var(--text-dim); font-weight: 400; }
.field input, .field select, .field textarea {
    font-family: inherit;
    font-size: 0.97rem;
    padding: 13px 15px;
    border-radius: 12px;
    background: rgba(11, 14, 19, 0.6);
    border: 1px solid var(--border);
    color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--fire-500);
    box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.15);
}
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff8c1a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-note { grid-column: 1/-1; font-size: 0.9rem; min-height: 1.2em; }
.form-note.is-ok { color: #3ddc84; }
.form-note.is-err { color: #ff6b6b; }

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-2);
    padding-top: clamp(50px, 7vw, 80px);
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 36px;
    padding-bottom: 46px;
}
.footer__brand p { color: var(--text-soft); margin-top: 16px; max-width: 320px; font-size: 0.95rem; }
.footer__col h5 { font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.03em; }
.footer__col a, .footer__col span { display: block; color: var(--text-soft); font-size: 0.92rem; margin-bottom: 11px; transition: color 0.25s; }
.footer__col a:hover { color: var(--fire-400); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0 30px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.86rem;
}

/* ---------- Floating buttons ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 90;
    width: 58px; height: 58px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
    transition: transform 0.3s var(--ease);
    animation: float-y 3.5s ease-in-out infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-float:hover { transform: scale(1.1); }

.to-top {
    position: fixed;
    bottom: 24px; left: 24px;
    z-index: 90;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--fire-400);
    font-size: 1.2rem;
    display: grid; place-items: center;
    opacity: 0; visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, border-color 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--border-strong); transform: translateY(-3px); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    z-index: 200;
    background: var(--fire-gradient);
    box-shadow: 0 0 12px rgba(255, 107, 26, 0.7);
    transition: width 0.1s linear;
}

/* ---------- Sectores ---------- */
.sectors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.sector {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 24px;
    background: linear-gradient(160deg, var(--surface), var(--bg-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.sector:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.sector__ic {
    font-size: 1.8rem;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 13px;
    background: rgba(255, 107, 26, 0.1);
    border: 1px solid rgba(255, 140, 26, 0.22);
    margin-bottom: 10px;
}
.sector h4 { font-family: var(--font-head); font-size: 1.12rem; }
.sector p { color: var(--text-soft); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 820px; }
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
    background: linear-gradient(160deg, var(--surface), var(--bg-2));
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.02rem;
    list-style: none;
    transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--fire-400); }
.faq__icon {
    position: relative;
    flex-shrink: 0;
    width: 20px; height: 20px;
}
.faq__icon::before, .faq__icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 13px; height: 2.5px;
    border-radius: 2px;
    background: var(--fire-500);
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a {
    padding: 0 24px 22px;
    color: var(--text-soft);
    font-size: 0.97rem;
    animation: faq-in 0.35s var(--ease);
}
@keyframes faq-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Focus visibility (a11y) ---------- */
:focus-visible {
    outline: 2px solid var(--fire-400);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Fire button shimmer ---------- */
.btn--fire { position: relative; overflow: hidden; }
.btn--fire::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s var(--ease);
}
.btn--fire:hover::after { left: 140%; }

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; text-align: center; }
    .hero__content { max-width: 640px; margin-inline: auto; }
    .hero__lead { margin-inline: auto; }
    .hero__actions, .hero__trust { justify-content: center; }
    .hero__visual { order: -1; max-width: 480px; margin-inline: auto; }
    .showcase__grid { grid-template-columns: 1fr; }
    .showcase__media { max-width: 560px; margin-inline: auto; order: -1; }
    .contact__grid { grid-template-columns: 1fr; }
    .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(2)::after, .step:nth-child(4)::after { display: none; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .nav__links {
        position: fixed;
        top: 0; right: 0;
        height: 100svh;
        width: min(78vw, 320px);
        flex-direction: column;
        justify-content: center;
        gap: 26px;
        background: rgba(13, 17, 24, 0.97);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border);
        transform: translateX(100%);
        transition: transform 0.45s var(--ease);
        z-index: 95;
    }
    .nav__links.is-open { transform: translateX(0); }
    .nav__links a { font-size: 1.15rem; }
    .nav__toggle { display: flex; z-index: 96; }
    .hero__visual { max-width: 420px; }
    .hero__trust { gap: 24px; }
}

@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .step::after { display: none !important; }
    .contact__form { grid-template-columns: 1fr; }
    .stats-band__grid { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
    .to-top { bottom: 18px; left: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .embers-canvas { display: none; }
}
