/* =====================================================================
   Air Fuel Systems — Hoja de estilos
   Paleta oficial (Identidad de Marca 2026):
   Azul aeronáutico #164A6B · Azul profundo #0D3049 · Rojo señal #D62A31
   Gris pista #EEF2F5 · Acero #4D6270
   Tipografía: Barlow Condensed (titulares) · Barlow (cuerpo)
   ===================================================================== */

:root {
  --navy:        #164a6b;  /* Azul aeronáutico */
  --navy-dark:   #113a55;
  --navy-deep:   #0d3049;  /* Azul profundo */
  --red:         #d62a31;  /* Rojo señal */
  --red-dark:    #b52028;
  --ink:         #16242e;
  --muted:       #4d6270;  /* Acero */
  --line:        #dde5ea;
  --bg:          #ffffff;
  --bg-alt:      #eef2f5;  /* Gris pista */
  --white:       #ffffff;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 10px 30px rgba(13, 48, 73, .10);
  --shadow-sm:   0 4px 14px rgba(13, 48, 73, .08);
  --maxw:        1160px;
  --font-head:   'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --font-body:   'Barlow', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: .2px; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; color: var(--navy); }
h3 { font-size: 1.2rem; font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  padding: .82rem 1.5rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
  letter-spacing: .3px;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(214,42,49,.28); }
.btn-accent:hover { background: var(--red-dark); box-shadow: 0 8px 22px rgba(214,42,49,.36); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand-logo { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.28rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy);
}
.brand-tag {
  font-family: var(--font-head); font-weight: 500; font-size: .68rem;
  letter-spacing: 2.6px; text-transform: uppercase; color: var(--red); margin-top: 2px;
}
.nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 1.7rem; }
.nav-list a { font-weight: 500; color: var(--navy); font-size: .98rem; transition: color .18s; }
.nav-list a:hover { color: var(--red); }
.nav-cta { color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(214,42,49,.30), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
}
.hero-inner { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero-content { max-width: 720px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; font-size: .82rem;
  color: #ffd7d9; background: rgba(214,42,49,.22);
  padding: .35rem .9rem; border-radius: 40px; margin-bottom: 1.3rem;
  border: 1px solid rgba(214,42,49,.45);
}
.hero h1 { margin-bottom: 1.2rem; }
.hero-lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #d8e4ec; max-width: 640px; margin-bottom: 2rem; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.3rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; font-size: .95rem; color: #b9cdd9; font-weight: 500; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-dark); border-top: 4px solid var(--red); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.4rem 22px; }
.stat { text-align: center; color: #fff; padding: .4rem; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #fff; line-height: 1; }
.stat-label { display: block; margin-top: .5rem; font-size: .9rem; color: #9fc0d2; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; font-size: .82rem;
  color: var(--red); margin-bottom: .7rem;
}
.section-eyebrow.light { color: #ff9ea2; }
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-sub { color: var(--muted); margin-top: .8rem; }

.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.2rem; align-items: center; }
#nosotros p { color: var(--muted); margin-top: 1rem; }
#nosotros h2 { margin-top: .3rem; }

/* About card */
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.about-list { list-style: none; display: grid; gap: 1.4rem; }
.about-list li { display: flex; gap: 1rem; }
.about-list strong { color: var(--navy); font-family: var(--font-head); }
.about-list div { color: var(--muted); font-size: .97rem; }
.ico-dot { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(214,42,49,.15); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0ea; }
.card-ico {
  width: 54px; height: 54px; border-radius: 12px; margin-bottom: 1.1rem;
  display: grid; place-items: center; color: var(--navy);
  background: linear-gradient(135deg, #eaf2f7, #dfeaf1);
}
.card-ico svg { width: 28px; height: 28px; }
.card h3 { color: var(--navy); margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Capacidades (servicios) ----------
   Flex en vez de grid: si la última fila queda incompleta, las tarjetas
   sobrantes se centran en lugar de quedar pegadas a la izquierda. */
.cards-cap {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem;
}
.cards-cap .card { flex: 0 1 calc((100% - 2 * 1.4rem) / 3); padding: 1.5rem 1.4rem; }
.cards-cap .card-ico { width: 46px; height: 46px; margin-bottom: .9rem; }
.cards-cap .card-ico svg { width: 24px; height: 24px; }
.cards-cap h3 { font-size: 1.1rem; }
.cards-cap p { font-size: .92rem; }

/* ---------- Normativa ---------- */
.norm-strip {
  margin-top: 3rem; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--navy); border-radius: var(--radius);
  padding: 1.8rem 2rem; box-shadow: var(--shadow-sm);
}
.norm-strip h3 {
  color: var(--navy); margin-bottom: 1.1rem; font-size: 1.15rem; letter-spacing: .4px;
}
.norm-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; }
.norm-chips li {
  font-size: .85rem; font-weight: 500; color: var(--muted);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: .38rem .8rem; border-radius: 30px;
}

/* ---------- Product cards / carrusel ---------- */
.card-link { color: var(--red); font-weight: 600; white-space: nowrap; }
.card-link:hover { text-decoration: underline; }

.carousel { position: relative; }
.car-track {
  display: flex; gap: 1.6rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px;              /* deja respirar la sombra de las tarjetas */
  margin: -4px;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track .prod-card {
  flex: 0 0 calc((100% - 2 * 1.6rem) / 3);
  scroll-snap-align: start;
}
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Flechas */
.car-btn {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: #fff; color: var(--navy); border: 1px solid var(--line);
  box-shadow: 0 5px 18px rgba(13, 48, 73, .16);
  transition: background .18s, color .18s, opacity .2s, box-shadow .18s;
}
.car-btn:hover:not(:disabled) { background: var(--navy); color: #fff; box-shadow: 0 7px 22px rgba(13, 48, 73, .26); }
.car-btn:disabled { opacity: .32; cursor: default; }
.car-btn svg { width: 20px; height: 20px; }
.car-prev { left: -14px; }
.car-next { right: -14px; }
.carousel.is-static .car-btn { display: none; }

/* Puntos */
.car-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.6rem; }
.car-dots:empty { display: none; }
.car-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  background: #c3d2dc; border: 0; transition: background .2s, width .2s;
}
.car-dot:hover { background: var(--muted); }
.car-dot.active { background: var(--red); width: 26px; border-radius: 5px; }
.prod-img { aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.prod-card:hover .prod-img img { transform: scale(1.04); }
/* Para catálogos/diagramas de origen pequeño: se muestran completos y sin
   ampliar, sobre fondo blanco, en vez de recortarse y verse pixelados. */
.prod-img--contain { background: #fff; }
.prod-img--contain img { object-fit: contain; padding: 1rem; }
.prod-body { padding: 1.4rem 1.5rem 1.6rem; }
.prod-body h3 { color: var(--navy); margin-bottom: .3rem; }
.prod-brand {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .8px; text-transform: uppercase; color: var(--red); margin-bottom: .6rem;
}
.prod-body p:last-child { color: var(--muted); font-size: .95rem; }
.prod-note { text-align: center; margin-top: 2.2rem; color: var(--muted); }
.prod-note a { color: var(--red); font-weight: 600; }
.prod-note a:hover { text-decoration: underline; }

/* ---------- En terreno (media grid) ---------- */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.media-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); margin: 0;
}
.media-item video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.media-photo { grid-column: span 1; }
.media-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; display: block; }
.media-item figcaption {
  padding: .85rem 1.2rem; font-size: .92rem; color: var(--muted);
  font-weight: 500; border-top: 1px solid var(--line);
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.feature { text-align: center; padding: 1rem .6rem; }
.feature-ico {
  width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--navy);
  box-shadow: 0 8px 20px rgba(22,74,107,.28);
}
.feature-ico svg { width: 30px; height: 30px; }
.feature h3 { color: var(--navy); margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Contact (navy) ---------- */
.section-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.section-navy h2 { color: #fff; }
.contact-grid { align-items: start; }
.contact-lead { color: #cbdbe6; margin: 1rem 0 2rem; max-width: 420px; }
.contact-list { list-style: none; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.10); color: #fff; }
.contact-ico svg { width: 22px; height: 22px; }
.contact-list strong { color: #fff; font-family: var(--font-head); }
.contact-list div { color: #bcd0dd; font-size: .97rem; }
.contact-list a { color: #bcd0dd; transition: color .18s; }
.contact-list a:hover { color: #fff; }

/* Form */
.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-form .field { margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.req { color: var(--red); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .97rem;
  color: var(--ink); background: #fbfcfd; transition: border-color .18s, box-shadow .18s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(22,74,107,.12); background: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form input.invalid, .contact-form textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,42,49,.12); }
.form-status { margin-top: .9rem; font-size: .92rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #12805c; }
.form-status.err { color: var(--red); }

/* ---------- Placeholders ---------- */
.ph-badge {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .68rem;
  letter-spacing: 1px; text-transform: uppercase; color: #9a6a00;
  background: #fff4d6; border: 1px dashed #e0b84b;
  padding: .12rem .5rem; border-radius: 5px; margin-right: .5rem; vertical-align: middle;
}
.ph-note { display: flex; align-items: baseline; gap: .3rem; font-size: .9rem !important; color: #8a6d1f !important; background: #fffaf0; border-left: 3px solid #e0b84b; padding: .7rem .9rem; border-radius: 6px; margin-top: 1.4rem !important; }
.ph-inline { font-size: .78em; font-weight: 700; color: #b8860b; background: #fff4d6; padding: .05rem .35rem; border-radius: 4px; letter-spacing: .3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a9c2d1; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2.5rem; padding: 3.2rem 22px 2.4rem; }
.footer-logo { height: 40px; width: auto; margin-bottom: .7rem; }
.footer-tagline {
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: 2.6px; text-transform: uppercase; color: #e2434c; margin-bottom: .8rem;
}
.footer-brand p { font-size: .95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 1rem; letter-spacing: .5px; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { font-size: .95rem; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.legal { font-size: .88rem; margin-bottom: .7rem; line-height: 1.5; }
.legal strong { color: #cddce6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.3rem; padding-bottom: 1.3rem; font-size: .87rem; color: #7f9bad; }

/* ---------- Lightbox (imágenes ampliadas) ---------- */
.lb-zoomable { cursor: zoom-in; }
.media-photo .lb-zoomable { position: relative; }
/* Lupa indicadora sobre las fotos ampliables */
.media-photo { position: relative; }
.media-photo .lb-hint {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
  background: rgba(13, 48, 73, .68); color: #fff;
  opacity: 0; transition: opacity .2s ease;
}
.media-photo:hover .lb-hint { opacity: 1; }
.media-photo .lb-hint svg { width: 17px; height: 17px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(9, 33, 50, .95);
  opacity: 0; transition: opacity .22s ease;
  padding: 2.5rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-figure { margin: 0; text-align: center; max-width: 100%; }
.lb-stage {
  display: inline-block; overflow: hidden; line-height: 0;
  border-radius: 8px; background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  touch-action: none;          /* el zoom/paneo lo maneja el propio visor */
  max-width: 100%;
}
.lb-stage img {
  display: block; max-width: min(1100px, 92vw); max-height: 78vh;
  width: auto; height: auto;
  transform-origin: center center; will-change: transform;
  cursor: zoom-in; user-select: none; -webkit-user-drag: none;
}
.lb-stage.is-zoomed img { cursor: grab; }
.lb-stage.is-panning img { cursor: grabbing; }
.lb-figure figcaption {
  color: #cbdbe6; font-size: .95rem; margin-top: 1rem;
  max-width: 60ch; margin-left: auto; margin-right: auto;
}

/* Controles de zoom */
.lb-tools {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .6rem; margin-top: .9rem;
}
.lb-tool {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background .18s, opacity .18s;
}
.lb-tool:hover:not(:disabled) { background: rgba(255, 255, 255, .26); }
.lb-tool:disabled { opacity: .3; cursor: default; }
.lb-tool svg { width: 16px; height: 16px; }
.lb-level {
  color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: .9rem; letter-spacing: .5px; min-width: 52px;
}
.lb-tip { color: #7f9bad; font-size: .8rem; width: 100%; }
.lb-close, .lb-nav {
  position: absolute; z-index: 2; cursor: pointer;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background .18s, opacity .18s;
}
.lb-close:hover, .lb-nav:hover:not(:disabled) { background: rgba(255, 255, 255, .26); }
.lb-close { top: 18px; right: 18px; width: 44px; height: 44px; }
.lb-close svg { width: 21px; height: 21px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lb-nav svg { width: 22px; height: 22px; }
.lb-nav:disabled { opacity: .25; cursor: default; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
body.lb-open { overflow: hidden; }

@media (max-width: 560px) {
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-stage img { max-height: 66vh; }
  .lb-tip { display: none; }
}

/* ---------- Botones flotantes ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(0, 0, 0, .32); }
.wa-float svg { width: 32px; height: 32px; }

.to-top {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  box-shadow: 0 6px 18px rgba(13, 48, 73, .35);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .18s;
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-dark); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .6rem 22px 1.2rem; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .3s ease, opacity .25s ease, padding .3s;
  }
  .nav-list.open { max-height: 420px; opacity: 1; pointer-events: auto; }
  .nav-list li { padding: .3rem 0; border-bottom: 1px solid #f0f4f6; }
  .nav-list li:last-child { border: 0; padding-top: .8rem; }
  .nav-cta { display: inline-flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.2rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-cap .card { flex-basis: calc((100% - 1.4rem) / 2); }
  .car-track .prod-card { flex-basis: calc((100% - 1.6rem) / 2); }
  .car-prev { left: -8px; }
  .car-next { right: -8px; }
  .media-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .cards-cap .card { flex-basis: 100%; }
  .car-track .prod-card { flex-basis: 100%; }
  .car-btn { width: 40px; height: 40px; }
  .car-prev { left: -6px; }
  .car-next { right: -6px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.1rem; }
  .brand-logo { height: 30px; }
}
