/* =========================================================================
   DualCars Auto — hoja de estilos única
   Paleta y medidas tal cual el diseño aprobado.
   ========================================================================= */

:root {
  --bg: #050505;
  --surface: #0B0B0B;
  --line: #2A2A2A;
  --fg: #F2F2F2;
  --muted: #8A8F98;
  --red: #B22234;
  /* Rojo solo para texto pequeno: aclarado hasta 4,6:1 sobre #050505 (WCAG AA) */
  --red-text: #D93B4C;
  --red-deep: #8E1C2E;
  --wa: #25D366;
  --ok: #7DFF3A;

  --display: Michroma, sans-serif;
  --body: Manrope, system-ui, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Valores por defecto del kit seleccionado (los sobreescribe main.js) */
  --kit: #F2F2F2;
  --kit-rgb: 242, 242, 242;
  --kit-font: var(--display);
  --kit-weight: 400;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--red); }
button { font-family: inherit; }
img { max-width: 100%; }
input::placeholder { color: var(--muted); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.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 {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -200%);
  z-index: 100; padding: 12px 20px; background: var(--surface);
  border: 1px solid var(--red); border-radius: 4px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .2s;
}
.skip:focus { transform: translate(-50%, 0); color: var(--fg); }

/* ------------------------------------------------------------ animaciones */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes scrollHint { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes expand { from { grid-template-rows: 0fr; opacity: 0; } to { grid-template-rows: 1fr; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .2s !important;
  }
}

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 0 var(--gutter);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand__logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 24px rgba(178, 34, 52, .35); }
.brand__name { font-family: var(--display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

.nav__links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav__links a { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav__links a:hover { color: var(--fg); }

.nav__right { display: flex; align-items: center; gap: 20px; }

.langs { display: flex; gap: 4px; }
.lang {
  background: none; border: 0; cursor: pointer; padding: 6px;
  font-size: 11px; letter-spacing: .12em; color: var(--muted); transition: color .3s;
}
.lang:hover { color: var(--fg); }
.lang[aria-pressed="true"] { color: var(--fg); text-shadow: 0 0 12px rgba(178, 34, 52, .8); }

.btn-wa-sm {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  border: 1px solid var(--red-deep); border-radius: 4px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(142, 28, 46, .18); transition: background .3s, box-shadow .3s;
}
.btn-wa-sm:hover { background: var(--red-deep); box-shadow: 0 0 24px rgba(178, 34, 52, .45); color: var(--fg); }

@media (max-width: 1099px) { .nav__links { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  overflow: hidden; perspective: 1200px;
}
.hero__bg {
  position: absolute; inset: -6%; transform: scale(1.08);
  will-change: transform; transition: transform .2s ease-out; background: var(--bg);
}
.hero__bg picture, .hero__bg img { display: block; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: center 40%; }

.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, .45) 0%, rgba(5, 5, 5, .05) 30%, rgba(5, 5, 5, .7) 68%, #050505 100%);
  animation: breathe 6s ease-in-out infinite;
}

.hero__inner {
  position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 140px var(--gutter) 120px; display: flex; flex-direction: column; gap: 28px;
}

.kicker {
  font-family: var(--display); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--red-text); text-shadow: 0 0 24px rgba(178, 34, 52, .45);
}
.hero__kicker { animation: rise .6s .2s both; }

.hero__title {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 5.6vw, 84px); line-height: 1.05; letter-spacing: .02em;
  max-width: 16ch; text-wrap: balance;
}
.hero__title span {
  display: inline-block; white-space: pre;
  animation: rise .7s cubic-bezier(.2, .8, .2, 1) both;
}

.hero__sub {
  margin: 0; font-size: clamp(16px, 1.4vw, 20px); color: var(--muted);
  max-width: 52ch; line-height: 1.55; text-wrap: pretty; animation: rise .6s 1s both;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; animation: rise .6s 1.2s both; }

.btn {
  padding: 18px 30px; border-radius: 4px; font-family: var(--display);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; transition: all .3s;
}
.btn--primary { background: var(--red-deep); border: 1px solid var(--red-deep); box-shadow: 0 0 24px rgba(178, 34, 52, .3); }
.btn--primary:hover { background: var(--red); border-color: var(--red); box-shadow: 0 0 32px rgba(178, 34, 52, .55); color: var(--fg); }
.btn--ghost { border: 1px solid var(--fg); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); box-shadow: 0 0 24px rgba(178, 34, 52, .35); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted);
}
.hero__scroll span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.hero__track { width: 1px; height: 48px; background: var(--line); overflow: hidden; position: relative; }
.hero__track i { position: absolute; inset: 0; background: var(--red); animation: scrollHint 1.8s cubic-bezier(.4, 0, .2, 1) infinite; }

/* -------------------------------------------------------------- revelados */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- secciones */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 9vw, 140px) var(--gutter) 0; }

.h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 44px); line-height: 1.15; }
.h2--custom { font-size: clamp(24px, 2.8vw, 40px); line-height: 1.2; text-wrap: balance; }
.h2--contact { font-size: clamp(24px, 3vw, 44px); }

/* nosotros */
.about__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 5vw, 96px); align-items: center;
}
.about__text { display: flex; flex-direction: column; gap: 22px; }
.about__text p { margin: 0; font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.about__p1 { color: var(--fg); }
.about__p2 { color: var(--muted); }

.kpis {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.kpi {
  background: var(--surface); padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  display: flex; flex-direction: column; gap: 8px;
}
.kpi__val { font-family: var(--display); font-size: clamp(28px, 3vw, 42px); line-height: 1; color: var(--fg); }
.kpi__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* proceso */
.process {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px 0; margin: clamp(64px, 7vw, 110px) 0 0; padding: 0; list-style: none;
}
.step { display: flex; flex-direction: column; gap: 16px; padding-right: 20px; }
.step__top { display: flex; align-items: center; width: 100%; }
.step__icon {
  width: 52px; height: 52px; flex: none; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: border-color .6s, color .6s, box-shadow .6s;
}
.step__line { flex: 1; height: 1px; background: var(--line); margin-left: 10px; position: relative; overflow: hidden; }
.step__line i {
  position: absolute; inset: 0; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.process.is-in .step__icon { border-color: var(--red); color: var(--fg); box-shadow: 0 0 24px rgba(178, 34, 52, .45); }
.process.is-in .step__line i { transform: scaleX(1); }

.step:nth-child(1) .step__icon { transition-delay: 0ms; }
.step:nth-child(2) .step__icon { transition-delay: 350ms; }
.step:nth-child(3) .step__icon { transition-delay: 700ms; }
.step:nth-child(4) .step__icon { transition-delay: 1050ms; }
.step:nth-child(5) .step__icon { transition-delay: 1400ms; }
.step:nth-child(1) .step__line i { transition-delay: 250ms; }
.step:nth-child(2) .step__line i { transition-delay: 600ms; }
.step:nth-child(3) .step__line i { transition-delay: 950ms; }
.step:nth-child(4) .step__line i { transition-delay: 1300ms; }
.step:nth-child(5) .step__line i { transition-delay: 1650ms; }

.step__text { display: flex; flex-direction: column; gap: 4px; }
.step__num { font-family: var(--display); font-size: 10px; letter-spacing: .2em; color: var(--red-text); }
.step__label { font-size: 14px; line-height: 1.4; color: var(--fg); text-wrap: pretty; }

/* ------------------------------------------------------------- colección */
.tier { display: flex; flex-direction: column; }
.tier--1 { --accent: #8A8F98; --accent-rgb: 138, 143, 152; --accent-a: .45; }
.tier--2 { --accent: #E8772E; --accent-rgb: 232, 119, 46; --accent-a: .45; }
.tier--3 { --accent: #C1121F; --accent-rgb: 193, 18, 31; --accent-a: .55; }

.tier__rule { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--accent); }
.tier__rule svg { filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), var(--accent-a))); }
.tier__rule i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent) 0%, transparent 100%); }

.divider { display: flex; justify-content: center; padding: clamp(48px, 6vw, 88px) 0 clamp(24px, 3vw, 40px); }
.divider svg { max-width: 80%; filter: drop-shadow(0 0 8px rgba(178, 34, 52, .7)); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }

.card {
  position: relative; cursor: pointer; background: var(--surface);
  border: 1px solid var(--line); border-bottom: 2px solid var(--accent);
  border-radius: 4px; overflow: hidden; transition: opacity .4s, box-shadow .4s;
}
.card:hover, .card:focus-within { box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 4px 22px rgba(var(--accent-rgb), var(--accent-a)); }
.tier.has-open .card { opacity: .4; }
.tier.has-open .card.is-open { opacity: 1; box-shadow: 0 0 28px rgba(var(--accent-rgb), .45); }

.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.card:hover .card__img, .card:focus-within .card__img { transform: scale(1.04); }

.card__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .09) 50%, transparent 58%);
  transform: translateX(-160%); transition: transform .9s ease;
}
.card:hover .card__shine, .card:focus-within .card__shine { transform: translateX(160%); }

.card__hint {
  position: absolute; right: 14px; bottom: 12px; font-family: var(--display);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg);
  opacity: 0; transition: opacity .3s;
}
.card:hover .card__hint, .card:focus-within .card__hint { opacity: 1; }

.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.card__title {
  margin: 0; font-family: var(--display); font-size: 14px; letter-spacing: .06em;
  font-weight: 400; line-height: 1.4; text-wrap: pretty;
}
.card__open {
  all: unset; cursor: pointer; color: var(--fg);
}
.card__open::after { content: ""; position: absolute; inset: 0; }
.card__open:focus-visible { outline: none; }
.card__open:focus-visible::after { outline: 2px solid var(--red); outline-offset: -4px; border-radius: 4px; }

.card__spec { margin: 0; font-size: 13px; color: var(--muted); }
.card__status { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__status.is-avail { color: var(--ok); }

/* ---------------------------------------------------------------- ficha */
.panel {
  display: grid; grid-template-rows: 1fr; margin-top: 24px;
  animation: expand .4s cubic-bezier(.2, .8, .2, 1) both;
}
.panel:focus { outline: none; }
.panel__clip { min-height: 0; overflow: hidden; }
.panel__inner {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 4px;
  padding: clamp(20px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 48px);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), var(--accent-a));
}

.panel__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  color: var(--fg); cursor: pointer; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.panel__close:hover { border-color: var(--red); box-shadow: 0 0 24px rgba(178, 34, 52, .45); }

.gallery { flex: 3 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; animation: rise .5s .1s both; }
.gallery__main {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(135deg, #050505, #180a0d 55%, #3a0f18);
  transition: opacity .3s;
}
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery.is-fading .gallery__main, .gallery.is-fading .thumb { opacity: 0; }

.gallery__nav { display: flex; align-items: center; gap: 10px; }
.gnav {
  flex: none; width: 36px; height: 36px; background: transparent;
  border: 1px solid var(--line); border-radius: 4px; color: var(--fg);
  cursor: pointer; font-size: 18px; transition: border-color .3s;
}
.gnav:hover { border-color: var(--red); }

.thumbs {
  flex: 1; min-width: 0; display: flex; gap: 10px; margin: 0; padding: 0 0 2px;
  list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 120px; width: 120px; aspect-ratio: 16 / 10; scroll-snap-align: start; padding: 0;
  border: 1px solid var(--line); border-radius: 4px; cursor: pointer; position: relative;
  overflow: hidden; background: linear-gradient(135deg, #0B0B0B, #2a0c13);
  transition: border-color .3s, opacity .3s;
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ficha {
  flex: 2 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 22px;
  padding-right: 44px; animation: rise .5s .2s both;
}
.ficha__head { display: flex; flex-direction: column; gap: 16px; }
.ficha__title {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(17px, 1.6vw, 22px); letter-spacing: .04em; line-height: 1.3; text-wrap: balance;
}

.meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; font-size: 13px; }
.meta > div { display: flex; flex-direction: column; gap: 2px; }
.meta dt { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 0; }
.meta .is-price { color: var(--red-text); }

.specs { margin: 0; border-top: 1px solid var(--line); }
.spec {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 8px; border-bottom: 1px solid var(--line);
  background: transparent; transition: background .4s;
}
.spec.is-flash { background: rgba(var(--kit-rgb), .18); }
.spec__label { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.spec__vals { display: flex; gap: 10px; align-items: baseline; margin: 0; text-align: right; }
.spec__old { color: var(--muted); font-size: 12px; }
.spec__val { font-size: 14px; font-weight: 600; color: var(--fg); transition: color .3s; }
.spec.is-changed .spec__val { color: var(--kit); font-family: var(--kit-font); font-weight: var(--kit-weight); }

.kitpick { display: flex; flex-direction: column; gap: 14px; }
.label-sm { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 16px; border-radius: 4px; border: 1px solid; cursor: pointer;
  font-size: 11px; letter-spacing: .14em; transition: all .3s;
}

.badge-wrap { position: relative; align-self: flex-start; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: transparent; border: 1px solid var(--line); border-radius: 4px;
  font-size: 12px; color: var(--fg); cursor: help; text-align: left;
}
.badge__tip {
  position: absolute; left: 0; bottom: calc(100% + 8px); width: 280px; max-width: 80vw;
  padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  font-size: 12px; line-height: 1.5; color: var(--muted); z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.badge:hover + .badge__tip, .badge:focus-visible + .badge__tip { opacity: 1; visibility: visible; }

.kitparts { animation: rise .4s both; }
.kitparts ul {
  margin: 8px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--fg);
}
.kitparts li { display: flex; gap: 10px; align-items: baseline; }
.kitparts li span:first-child { color: var(--kit); }
.kitnote { margin: 10px 0 0; font-size: 11px; color: var(--muted); font-style: italic; }

.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 24px; background: var(--wa); color: #050505; border-radius: 4px;
  font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}
.btn-wa:hover { color: #050505; filter: brightness(1.08); }

/* ------------------------------------------------------- personalización */
.custom {
  margin-top: clamp(80px, 9vw, 140px); padding: clamp(80px, 8vw, 120px) var(--gutter);
  background-color: var(--surface);
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 7px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.custom__inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.custom__head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }

.kitgrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.kitcard {
  background: var(--bg); padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 18px; border-top: 2px solid var(--kit-accent);
}
.kitcard--brabus { --kit-accent: #D0021B; }
.kitcard--mansory {
  --kit-accent: #C9A45C;
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 164, 92, .05) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(201, 164, 92, .05) 0 2px, transparent 2px 7px);
}
.kitcard--venom { --kit-accent: #7DFF3A; }

.kitcard__name { color: var(--kit-accent); }
.kitcard--brabus .kitcard__name {
  font-family: 'Arial Black', Impact, sans-serif; font-weight: 900; font-size: 26px;
  letter-spacing: .04em; text-shadow: 0 0 24px rgba(208, 2, 27, .4);
}
.kitcard--mansory .kitcard__name {
  font-family: var(--display); font-size: 22px; letter-spacing: .18em;
  text-shadow: 0 0 24px rgba(201, 164, 92, .35);
}
.kitcard--venom .kitcard__name {
  font-family: var(--display); font-size: 22px; letter-spacing: .22em;
  text-shadow: 0 0 24px rgba(125, 255, 58, .4);
}
.kitcard__tag { margin: 0; font-size: 15px; color: var(--fg); line-height: 1.5; }
.kitcard__list {
  margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column;
  gap: 8px; font-size: 13px; color: var(--muted);
}
.kitcard__list li { display: flex; gap: 10px; }
.kitcard__list li span:first-child { color: var(--kit-accent); }
.kitcard__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* --------------------------------------------------------------- contacto */
.contact {
  max-width: 820px; margin: 0 auto; padding: clamp(80px, 9vw, 140px) var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.contact__sub { margin: 0; color: var(--muted); font-size: 16px; }
.contact__form { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; max-width: 640px; margin-top: 10px; }
.contact__input {
  flex: 1 1 260px; min-width: 0; padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 4px; color: var(--fg);
  font-size: 15px; font-family: inherit; outline: none; transition: border-color .3s, box-shadow .3s;
}
.contact__input:focus { border-color: var(--red); box-shadow: 0 0 24px rgba(178, 34, 52, .25); }
.btn-wa--send { flex: 0 0 auto; padding: 16px 24px; font-size: 11px; }

.contact__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px;
  margin-top: 28px; font-size: 14px; color: var(--muted);
}
.contact__offices { font-family: var(--display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--red-text); }

/* ----------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 40px var(--gutter); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 24px;
}
.footer__brand { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.footer__brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; list-style: none; }
.footer__legal a { font-size: 12px; color: var(--muted); }
.footer__legal a:hover { color: var(--fg); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 860px) {
  .panel__inner { flex-direction: column; flex-wrap: nowrap; gap: 24px; }
  .gallery, .ficha { flex: 1 1 auto; width: 100%; }
  .ficha { padding-right: 0; }
  .ficha__head { padding-right: 52px; }
  .btn-wa {
    position: sticky; bottom: 12px; z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .75);
  }
}

/* La barra no cabe entera en pantallas pequeñas: el botón de WhatsApp
   se queda solo con el icono (conserva su aria-label) y, por debajo de
   380 px, el nombre de la marca cede el sitio al logotipo. */
@media (max-width: 620px) {
  .nav { gap: 10px; padding: 0 16px; }
  .brand { gap: 10px; }
  .nav__right { gap: 10px; }
  .lang { padding: 6px 3px; }
  .btn-wa-sm { padding: 10px 12px; }
  .btn-wa-sm span { display: none; }
}

@media (max-width: 380px) { .brand__name { display: none; } }

@media (max-width: 520px) {
  .meta { grid-template-columns: 1fr; }
  .contact__form { flex-direction: column; }
  .btn-wa--send { justify-content: center; }
  .footer__inner { justify-content: center; text-align: center; }
}
