/* ==========================================================================
   Mariane Motorworks — estilos del sitio
   Colores y tipografía en :root. Mobile first: los @media agregan
   columnas en pantallas grandes.
   ========================================================================== */

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colores del logo: negro, acero y azul */
  --ink: #000000;          /* el mismo negro del logo */
  --ink-2: #0d0f12;
  --ink-3: #181b20;
  --ink-line: #262a31;
  --paper: #f3f5f8;
  --white: #ffffff;
  --line: #dde2e8;
  --text: #14171b;
  --muted: #4b5460;
  --on-dark: #eef1f4;      /* plateado claro */
  --on-dark-muted: #aab3bd;
  --accent: #1766e0;       /* azul de la marca: botones (texto blanco 5.2:1) */
  --accent-hover: #1258c4;
  --accent-bright: #4d94ff; /* azul para texto e íconos sobre negro (7:1) */
  --accent-text: #1554c0;  /* azul para texto sobre fondos claros (6.8:1) */
  --ok: #17663e;
  --ok-bg: #e6f4ec;
  --err: #b3261e;
  --err-bg: #fdecea;
  --focus: #1554c0;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgb(13 15 18 / 0.06), 0 10px 28px rgb(13 15 18 / 0.1);

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --container: 1160px;
  --gutter: 20px;
  --header-h: 72px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 8vw, 4.9rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.1rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hero,
.site-header,
.section-dark,
.site-footer,
.mobile-cta,
.page-hero {
  --focus: var(--accent-bright);
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.narrow {
  --container: 840px;
}

.icon {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75em 1.35em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  border-color: rgb(255 255 255 / 0.35);
  color: var(--on-dark);
}

.btn-ghost:hover {
  border-color: var(--on-dark);
  background: rgb(255 255 255 / 0.07);
}

.btn-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-dark {
  background: var(--ink-3);
  border-color: var(--ink-line);
  color: var(--on-dark);
}

.btn-lg {
  min-height: 54px;
  padding-inline: 1.6em;
  font-size: 1.0625rem;
}

.btn-sm {
  min-height: 42px;
  padding: 0.5em 1.1em;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Encabezado ---------- */

.site-header {
  position: relative;
  z-index: 50;
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 1px solid var(--ink-line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  padding-top: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 60px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name {
  font-size: 1.02rem;
  letter-spacing: 0.3em;
  color: var(--on-dark);
}

.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.48em;
  color: var(--accent-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--on-dark);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.lang-switch:hover {
  border-color: var(--on-dark-muted);
}

.header-call {
  display: none;
}

/* Encabezado sin menú (404 y página de confirmación) */
.header-min {
  padding-bottom: 12px;
}

/* Navegación: en móvil es una fila que se desliza de lado (sin JavaScript) */
.site-nav {
  order: 3;
  width: calc(100% + 2 * var(--gutter));
  margin: 10px calc(-1 * var(--gutter)) 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--ink-line);
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  width: max-content;
  padding: 6px var(--gutter);
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgb(255 255 255 / 0.07);
  color: var(--white);
}

@media (min-width: 960px) {
  html {
    scroll-padding-top: calc(var(--header-h) + 16px);
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    flex-wrap: nowrap;
    min-height: var(--header-h);
    padding-top: 0;
  }

  .header-min {
    padding-bottom: 0;
  }

  .site-nav {
    order: 0;
    width: auto;
    margin: 0;
    overflow: visible;
    border: 0;
  }

  .site-nav ul {
    padding: 0;
  }

  .header-call {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 52px 0 64px;
  background: var(--ink);
  color: var(--on-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 75% at 88% 8%, rgb(23 102 224 / 0.3), transparent 62%),
    radial-gradient(45% 55% at 0% 100%, rgb(23 102 224 / 0.12), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20px;
  right: -140px;
  width: 620px;
  aspect-ratio: 480 / 355;
  background: url("/img/logo-ghost.png") no-repeat center / contain;
  opacity: 0.05;
}

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent-bright);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;
}

.hl {
  color: var(--accent-bright);
}

.lead {
  max-width: 40ch;
  color: var(--on-dark-muted);
  font-size: clamp(1.12rem, 2.3vw, 1.32rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 16px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--on-dark);
  font-weight: 600;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  list-style: none;
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points .icon {
  color: var(--accent-bright);
}

.hero-card {
  padding: 28px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  background: rgb(13 15 18 / 0.9);
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.35);
}

.hero-card-title {
  font-size: 1.85rem;
  text-transform: uppercase;
}

.hero-card > p {
  color: var(--on-dark-muted);
}

.facts {
  display: grid;
  gap: 14px;
  margin: 22px 0 26px;
  list-style: none;
}

.facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.facts .icon {
  margin-top: 0.15em;
  color: var(--accent-bright);
}

.facts a {
  text-decoration: none;
}

.facts a:hover {
  text-decoration: underline;
}

@media (min-width: 960px) {
  .hero {
    padding: 92px 0 100px;
  }

  .hero-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 56px;
  }
}

/* Línea azul entre secciones, como las del logo */
.stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--ink), var(--accent) 22%, var(--accent-bright) 50%, var(--accent) 78%, var(--ink));
}

/* ---------- Secciones ---------- */

.section {
  padding: 72px 0;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--ink);
  color: var(--on-dark);
}

@media (min-width: 900px) {
  .section {
    padding: 104px 0;
  }
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.section-dark .kicker {
  color: var(--accent-bright);
}

.section-lead {
  color: var(--muted);
  font-size: 1.15rem;
}

.section-dark .section-lead {
  color: var(--on-dark-muted);
}

/* ---------- Servicios ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  list-style: none;
}

.card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: #c5ccd5;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card h3 {
  margin-bottom: 0.35em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.tile {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--accent-bright);
}

.tile .icon {
  width: 26px;
  height: 26px;
}

.note {
  margin: 30px 0 0;
  color: var(--muted);
}

.note a,
.text-link {
  color: var(--accent-text);
  font-weight: 700;
}

/* ---------- A domicilio / garage ---------- */

.modes {
  display: grid;
  gap: 20px;
}

@media (min-width: 800px) {
  .modes {
    grid-template-columns: 1fr 1fr;
  }
}

.mode {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.mode .tile {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--white);
}

.mode h3 {
  font-size: 2rem;
  text-transform: uppercase;
}

.mode p {
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 10px;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checklist .icon {
  margin-top: 0.2em;
  color: var(--accent-text);
}

.section-dark .checklist .icon {
  color: var(--accent-bright);
}

/* ---------- Cómo funciona ---------- */

.steps {
  display: grid;
  gap: 16px;
  list-style: none;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  padding: 30px 26px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.step-num {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1;
}

.step p {
  margin: 0;
  color: var(--on-dark-muted);
}

/* ---------- Zona de servicio ---------- */

.split {
  display: grid;
  gap: 36px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
  }

  .split-top {
    align-items: start;
  }
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 12px;
  list-style: none;
}

.zone-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 600;
}

.zone-list .icon {
  color: var(--accent-text);
}

/* ---------- Nosotros ---------- */

.verse {
  margin: 4px 0 0;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--accent);
}

.verse p {
  margin: 0 0 4px;
  font-style: italic;
  font-size: 1.08rem;
}

.verse cite {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 600;
}

.about-logo {
  width: min(100%, 300px);
  height: auto;
  margin-top: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.values {
  display: grid;
  gap: 22px;
  list-style: none;
}

.values li {
  display: flex;
  gap: 16px;
}

.values .tile {
  margin: 0;
}

.values h3 {
  margin-bottom: 0.2em;
  font-size: 1.35rem;
}

.values p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Preguntas frecuentes ---------- */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--accent-text);
  transition: transform 0.2s;
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Contacto ---------- */

.contact {
  display: grid;
  gap: 44px;
}

@media (min-width: 960px) {
  .contact {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
  }
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-list .tile {
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 12px;
  background: var(--ink-3);
}

.contact-list .tile .icon {
  width: 22px;
  height: 22px;
}

.label {
  display: block;
  color: var(--on-dark-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list .value {
  color: var(--on-dark);
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  text-decoration: underline;
}

.quote-form {
  --focus: var(--accent-text);
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.35);
}

@media (min-width: 640px) {
  .quote-form {
    grid-template-columns: 1fr 1fr;
    padding: 36px;
  }

  .quote-form > .field-full,
  .quote-form > .form-title,
  .quote-form > .form-note,
  .quote-form > .form-actions,
  .quote-form > .form-status {
    grid-column: 1 / -1;
  }
}

.form-title {
  margin: 0;
  font-size: 1.9rem;
  text-transform: uppercase;
}

.field {
  display: grid;
  align-content: start;
  gap: 6px;
}

.field label {
  font-size: 0.95rem;
  font-weight: 700;
}

.opt {
  color: var(--muted);
  font-weight: 400;
}

.req {
  color: var(--err);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #c3cad3;
  border-radius: var(--radius-sm);
  background: #fbfcfd;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field ::placeholder {
  color: #6b7280; /* 4.6:1 sobre el fondo del campo */
  opacity: 1;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--ink);
}

.field [aria-invalid="true"] {
  border-color: var(--err);
  background: #fffafa;
}

.field-error {
  margin: 0;
  color: var(--err);
  font-size: 0.9rem;
  font-weight: 600;
}

.field-error:empty {
  display: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note a {
  color: var(--accent-text);
  font-weight: 600;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .btn {
  flex: 1 1 220px;
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status.is-ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.form-status.is-error {
  background: var(--err-bg);
  color: var(--err);
}

.form-status a {
  color: inherit;
}

/* ---------- Pie de página ---------- */

.site-footer {
  padding: 64px 0 0;
  background: var(--ink-2);
  color: var(--on-dark-muted);
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  gap: 34px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 16px;
}

.footer-title {
  margin-bottom: 14px;
  color: var(--on-dark);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  list-style: none;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid var(--ink-line);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Barra fija para llamar (solo móvil) ---------- */

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 0;
  width: max-content;
  margin-inline: auto;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(7 10 17 / 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 18px 42px rgb(0 0 0 / 0.55),
    inset 0 1px 0 rgb(255 255 255 / 0.1);
  transform: translate3d(0, calc(100% + 28px), 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    transform 0.5s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.5s;
}

.mobile-cta.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

html,
body {
  background: var(--ink-2);
}

main {
  background: var(--paper);
}

main.page-hero {
  background: var(--ink);
  min-height: calc(100vh - 58px);
}

@media (max-width: 959px) {
  .site-footer .footer-bottom {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 960px) {
  .mobile-cta {
    display: none;
  }
}

/* ---------- Páginas interiores (privacidad, 404) ---------- */

.page-hero {
  padding: 56px 0 52px;
  background: var(--ink);
  color: var(--on-dark);
}

.page-hero p {
  max-width: 60ch;
  color: var(--on-dark-muted);
  font-size: 1.12rem;
}

.page-hero .btn {
  margin-top: 8px;
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 1.7em;
  font-size: 1.9rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin-bottom: 1em;
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose a {
  color: var(--accent-text);
  font-weight: 600;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* En pantallas chicas los botones del hero ocupan todo el ancho */
@media (max-width: 559px) {
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Diagnóstico Interactivo 3D ---------- */

.section-3d {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 10%, rgb(23 102 224 / 0.20), transparent 68%),
    linear-gradient(180deg, #05070b 0%, #0b0f17 55%, #06080d 100%);
  color: var(--on-dark);
  border-bottom: 1px solid var(--ink-line);
}

.car3d-layout {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.car3d-layout > *,
.hero-grid > *,
.contact > *,
.split-equal > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .car3d-layout {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 28px;
  }
}

.car3d-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgb(77 148 255 / 0.25);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(75% 65% at 50% 50%, rgb(23 102 224 / 0.12), transparent 72%),
    rgb(7 10 16 / 0.94);
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.06);
  overflow: hidden;
}

.car3d-Hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px 0;
  font-size: 0.84rem;
  color: var(--on-dark-muted);
}

.car3d-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.car3d-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb020;
  box-shadow: 0 0 10px #ffb020;
}

.car3d-spin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  color: var(--on-dark);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.car3d-spin-btn:hover {
  border-color: var(--accent-bright);
  background: rgb(77 148 255 / 0.14);
}

.car3d-canvas {
  display: block;
  width: 100%;
  height: clamp(270px, 40vw, 370px);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

/* Rejilla estrictamente simétrica 2x3 en móvil y 3x2 en escritorio */
.car3d-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 18px 20px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(4 6 10 / 0.72);
}

@media (min-width: 640px) {
  .car3d-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 18px 20px 22px;
  }
}

.car3d-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-line);
  border-radius: 13px;
  background: rgb(18 24 34 / 0.88);
  color: var(--on-dark-muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

@media (max-width: 479px) {
  .car3d-tabs {
    gap: 10px;
    padding: 16px;
  }

  .car3d-tab {
    min-height: 54px;
    padding: 12px 12px;
    font-size: 0.82rem;
    gap: 7px;
  }
}

.car3d-tab:hover {
  border-color: rgb(77 148 255 / 0.65);
  color: var(--white);
}

.car3d-tab.is-active {
  border-color: #ffb020;
  background: rgb(255 176 32 / 0.15);
  color: var(--white);
}

.car3d-tab-num {
  flex: none;
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}

.car3d-tab.is-active .car3d-tab-num {
  color: #ffb020;
}

.car3d-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 32px 28px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(18 22 30 / 0.96), rgb(10 13 19 / 0.96));
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.4);
}

.car3d-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 13px;
  border: 1px solid rgb(255 176 32 / 0.45);
  border-radius: 999px;
  background: rgb(255 176 32 / 0.12);
  color: #ffd166;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.car3d-panel h3 {
  margin: 14px 0 10px;
  font-size: 1.95rem;
  text-transform: uppercase;
  color: var(--white);
}

.car3d-desc {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 1rem;
}

.car3d-subhead {
  margin: 18px 0 10px;
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.car3d-symptoms {
  display: grid;
  gap: 9px;
  list-style: none;
  font-size: 0.96rem;
  color: var(--on-dark);
}

.car3d-symptoms li {
  position: relative;
  padding-left: 18px;
}

.car3d-symptoms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb020;
}

.car3d-panel-foot {
  display: grid;
  gap: 14px;
}

.car3d-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.car3d-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.03);
  color: var(--on-dark-muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
}

.car3d-meta .icon {
  color: var(--accent-bright);
  width: 1.1em;
  height: 1.1em;
}

/* ==========================================================================
   Sistema visual fino, ligero y de alta precisión + Burger Button exclusivo
   ========================================================================== */

/* 1. Escala editorial ligera, trazos finos de 1px e íconos estilizados */
html {
  scroll-padding-top: 76px;
}

body {
  font-size: 0.965rem;
  line-height: 1.62;
  letter-spacing: -0.004em;
}

h1 {
  font-size: clamp(2.25rem, 6.2vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.26rem;
}

.lead {
  font-size: clamp(0.98rem, 1.75vw, 1.12rem);
  line-height: 1.58;
}

.icon {
  width: 1.08em;
  height: 1.08em;
  stroke-width: 1.6;
}

.stripe {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(23 102 224 / 0.45) 24%,
    rgb(77 148 255 / 0.85) 50%,
    rgb(23 102 224 / 0.45) 76%,
    transparent 100%
  );
}

.section {
  padding: 58px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 86px 0;
  }
}

.eyebrow {
  gap: 7px;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.section-head {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 38px;
  text-align: center;
}

.kicker {
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.kicker::before,
.section-head .kicker::after {
  content: "";
  width: 18px;
  height: 1px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.65;
}

.section-lead {
  font-size: 1.02rem;
}

/* 2. Botones finos, proporcionados y con borde especular de 1px */
.btn {
  min-height: 46px;
  padding: 11px 20px;
  gap: 0.5em;
  border-width: 1px;
  border-radius: 12px;
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.16s ease;
}

.btn-accent {
  background: linear-gradient(180deg, #2172ee 0%, #1458c8 100%);
  border-color: rgb(125 178 255 / 0.34);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.2),
    0 6px 18px rgb(23 102 224 / 0.26);
}

.btn-accent:hover {
  background: linear-gradient(180deg, #2b7bf5 0%, #1760d6 100%);
  border-color: rgb(150 195 255 / 0.5);
}

.btn-ghost {
  background: rgb(255 255 255 / 0.035);
  border-color: rgb(255 255 255 / 0.16);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 0.075);
  border-color: rgb(255 255 255 / 0.32);
}

.btn-outline {
  border-color: rgb(15 23 42 / 0.18);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn-dark {
  background: rgb(255 255 255 / 0.05);
  border-color: rgb(255 255 255 / 0.14);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 0.84rem;
}

.btn-lg {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.94rem;
}

/* 3. Navbar minimalista + Burger Button arquitectónico único (solo abre al dar tap) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgb(4 6 11 / 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  transform: translate3d(0, 0, 0);
  opacity: 1;
  will-change: transform, opacity;
  transition:
    transform 0.54s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgb(5 8 14 / 0.9);
  border-bottom-color: rgb(77 148 255 / 0.16);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.42);
}

.site-header.is-nav-hidden {
  transform: translate3d(0, -104%, 0);
  opacity: 0;
  box-shadow: none;
  pointer-events: none;
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding-block: 8px;
  column-gap: 12px;
}

.brand {
  gap: 9px;
  margin-right: auto;
}

.brand-mark {
  width: 44px;
  height: 32px;
}

.brand-name {
  font-size: 0.86rem;
  letter-spacing: 0.24em;
  font-weight: 600;
}

.brand-sub {
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  min-height: 36px;
  padding: 6px 11px;
  gap: 5px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.03);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lang-switch .icon {
  width: 1em;
  height: 1em;
  opacity: 0.72;
}

.lang-switch:hover {
  border-color: rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.07);
}

/* Burger Button único: joya geométrica inspirada en calibrador/telemetría automotriz */
.nav-toggle {
  display: none;
}

.site-header.has-smart-nav .nav-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 11px;
  background: linear-gradient(145deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.015));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 4px 12px rgb(0 0 0 / 0.3);
  color: var(--white);
  cursor: pointer;
  transition:
    border-color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.16s ease;
}

.site-header.has-smart-nav .nav-toggle:hover {
  border-color: rgb(77 148 255 / 0.48);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.16),
    0 0 18px rgb(23 102 224 / 0.24);
}

.site-header.has-smart-nav .nav-toggle:active {
  transform: scale(0.95);
}

.burger-art {
  position: relative;
  width: 18px;
  height: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-blade {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f4f7fb, rgb(244 247 251 / 0.65));
  transition:
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    width 0.32s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.26s ease,
    background-color 0.26s ease;
}

.burger-top {
  width: 18px;
  transform-origin: center;
}

.burger-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 18px;
  transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
}

.burger-dot {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #4d94ff;
  box-shadow: 0 0 7px #4d94ff;
  flex: none;
}

.burger-center {
  width: 11.5px;
  background: linear-gradient(90deg, #4d94ff, #82b4ff);
  box-shadow: 0 0 6px rgb(77 148 255 / 0.45);
}

.burger-bot {
  width: 12.5px;
  align-self: flex-end;
  transform-origin: center;
}

/* Transformación limpia a X fina cuando se despliega */
.site-header.is-menu-open .nav-toggle {
  border-color: rgb(77 148 255 / 0.55);
  background: rgb(23 102 224 / 0.16);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    0 0 22px rgb(23 102 224 / 0.28);
}

.site-header.is-menu-open .burger-top {
  width: 18px;
  background: #ffffff;
  transform: translateY(5.75px) rotate(45deg);
}

.site-header.is-menu-open .burger-mid {
  opacity: 0;
  transform: scaleX(0.3);
}

.site-header.is-menu-open .burger-bot {
  width: 18px;
  background: #ffffff;
  transform: translateY(-5.75px) rotate(-45deg);
}

/* Panel flotante de cristal ahumado: cerrado por defecto, SOLO abre al dar tap */
.site-header.has-smart-nav .site-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: max(14px, calc((100% - var(--container)) / 2 + var(--gutter)));
  left: 14px;
  width: auto;
  max-width: 320px;
  margin: 0 0 0 auto;
  order: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 18px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgb(23 102 224 / 0.16), transparent 68%),
    linear-gradient(180deg, #0b101b 0%, #060911 100%);
  box-shadow:
    0 26px 60px rgb(0 0 0 / 0.78),
    inset 0 1px 0 rgb(255 255 255 / 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -10px, 0) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 0.34s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0.38s;
}

@media (max-width: 520px) {
  .site-header.has-smart-nav .site-nav {
    max-width: none;
  }
}

.site-header.has-smart-nav.is-menu-open .site-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.site-nav-inner {
  min-height: 0;
}

.site-header.has-smart-nav .site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 6px 10px;
  counter-reset: navitem;
}

.site-header.has-smart-nav .site-nav li {
  counter-increment: navitem;
}

.site-header.has-smart-nav .site-nav li + li {
  border-top: 1px solid rgb(255 255 255 / 0.06);
}

.site-header.has-smart-nav .site-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgb(238 242 247 / 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: left;
  transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.2s ease;
}

.site-header.has-smart-nav .site-nav a::before {
  content: "0" counter(navitem);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.site-header.has-smart-nav .site-nav a::after {
  content: "↗";
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.site-header.has-smart-nav .site-nav a:hover,
.site-header.has-smart-nav .site-nav a:active {
  background: rgb(23 102 224 / 0.14);
  color: var(--white);
  padding-left: 15px;
}

.site-header.has-smart-nav .site-nav a:hover::after,
.site-header.has-smart-nav .site-nav a:active::after {
  opacity: 1;
  color: var(--accent-bright);
  transform: translate(2px, -2px);
}

/* 4. Hero más esbelto y par de botones finos en 2 columnas también en móvil */
.hero {
  padding: 40px 0 52px;
}

@media (min-width: 960px) {
  .hero {
    padding: 74px 0 82px;
  }

  .hero-grid {
    grid-template-columns: 1.16fr 0.84fr;
    gap: 48px;
    align-items: center;
  }
}

.hero-ctas {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  margin: 24px 0 18px;
}

.hero-ctas .social-icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 15px;
}

.hero-ctas .social-icon-btn .icon {
  width: 24px;
  height: 24px;
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.footer-socials .social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.footer-socials .social-icon-btn .icon {
  width: 19px;
  height: 19px;
}

.social-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 13px;
  color: #ffffff;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.28),
    0 6px 18px rgb(0 0 0 / 0.34);
  transition:
    transform 0.24s cubic-bezier(0.32, 0.72, 0, 1),
    filter 0.22s ease,
    box-shadow 0.24s ease;
}

.social-icon-btn .icon {
  width: 22px;
  height: 22px;
}

.social-icon-btn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.08);
}

.social-icon-btn:active {
  transform: scale(0.95);
}

/* Official brand finishes */
.social-call {
  background: linear-gradient(180deg, #2b7cf7 0%, #1458c8 100%);
  border-color: rgb(147 197 253 / 0.42);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.32),
    0 8px 22px rgb(23 102 224 / 0.34);
}

.social-wa {
  background: linear-gradient(180deg, #2ee070 0%, #1da851 100%);
  border-color: rgb(134 239 172 / 0.45);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.32),
    0 8px 22px rgb(37 211 102 / 0.3);
}

.social-fb {
  background: linear-gradient(180deg, #2684ff 0%, #1877F2 55%, #115cc6 100%);
  border-color: rgb(147 197 253 / 0.42);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.3),
    0 8px 22px rgb(24 119 242 / 0.3);
}

.social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 62%, #285AEB 92%);
  border-color: rgb(251 207 232 / 0.38);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.32),
    0 8px 22px rgb(214 36 159 / 0.28);
}

.mobile-cta .social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.mobile-cta .social-icon-btn .icon {
  width: 21px;
  height: 21px;
}

.hero-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--on-dark-muted);
}

.hero-points {
  gap: 8px 20px;
  margin-top: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgb(238 241 244 / 0.88);
}

.hero-card {
  padding: 24px 22px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(16 20 28 / 0.88), rgb(9 12 18 / 0.92));
  box-shadow:
    0 20px 50px rgb(0 0 0 / 0.4),
    inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.hero-card-title {
  font-size: 1.48rem;
}

.facts {
  gap: 11px;
  margin: 18px 0 20px;
  font-size: 0.91rem;
}

/* 5. Escáner 3D refinado con controles ligeros */
.car3d-stage {
  border-color: rgb(77 148 255 / 0.18);
  border-radius: 18px;
}

.car3d-Hud {
  padding: 14px 16px 0;
  font-size: 0.78rem;
}

.car3d-spin-btn {
  min-width: 104px;
  min-height: 32px;
  padding: 5px 12px;
  border-color: rgb(255 255 255 / 0.12);
  font-size: 0.76rem;
  font-weight: 600;
}

.car3d-tabs {
  gap: 8px;
  padding: 14px 14px 16px;
}

.car3d-tab {
  min-height: 40px;
  padding: 8px 10px;
  border-width: 1px;
  border-color: rgb(255 255 255 / 0.09);
  border-radius: 10px;
  background: rgb(15 20 30 / 0.75);
  font-size: 0.79rem;
  font-weight: 600;
}

.car3d-tab.is-active {
  border-color: rgb(255 176 32 / 0.65);
  background: rgb(255 176 32 / 0.11);
}

.car3d-panel {
  padding: 24px 22px;
  border-color: rgb(255 255 255 / 0.1);
  border-radius: 18px;
}

.car3d-badge {
  padding: 4px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.car3d-panel h3 {
  font-size: 1.55rem;
}

.car3d-meta span {
  min-height: 36px;
  padding: 6px 10px;
  border-color: rgb(255 255 255 / 0.09);
  font-size: 0.78rem;
  font-weight: 500;
}

/* 6. Tarjetas, íconos joya (.tile), modos, pasos y zonas con líneas de 1px */
.cards {
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 620px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px;
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.03);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-bright), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover::before {
  opacity: 1;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.tile {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 11px;
  border: 1px solid rgb(77 148 255 / 0.22);
  background: linear-gradient(145deg, #111622, #06080d);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.tile .icon {
  width: 19px;
  height: 19px;
}

.note {
  text-align: center;
  font-size: 0.92rem;
}

.modes,
.steps {
  align-items: stretch;
}

.mode {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px;
  border-color: rgb(15 23 42 / 0.08);
  border-radius: 18px;
}

.mode .tile {
  width: 44px;
  height: 44px;
  border-color: rgb(130 180 255 / 0.35);
  background: linear-gradient(180deg, #2172ee, #1458c8);
}

.mode h3 {
  font-size: 1.55rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 24px 20px;
  border-color: rgb(255 255 255 / 0.09);
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(17 21 29 / 0.9), rgb(11 14 20 / 0.9));
}

.step-num {
  margin-bottom: 10px;
  font-size: 2.35rem;
  opacity: 0.9;
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  .zone-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .zone-list li {
    flex: 1 1 170px;
    max-width: 210px;
  }
}

@media (min-width: 980px) {
  .zone-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .zone-list li {
    max-width: none;
  }
}

.zone-list li {
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 11px 12px;
  border-color: rgb(15 23 42 / 0.08);
  border-radius: 12px;
  font-size: 0.92rem;
}

/* 7. Sobre nosotros, Preguntas, Contacto y Formulario finos */
@media (min-width: 900px) {
  .split-equal {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
  }
}

.about-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 24px;
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 18px;
  background: var(--paper);
}

.about-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgb(15 23 42 / 0.08);
}

.about-logo {
  flex: none;
  width: 72px;
  height: 72px;
  margin-top: 0;
  object-fit: cover;
  border-radius: 12px;
}

.values {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.values li {
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 14px;
  background: var(--paper);
}

.faq summary {
  padding: 16px 18px;
  font-size: 0.98rem;
  font-weight: 600;
}

.faq-body {
  padding: 0 18px 16px;
  font-size: 0.93rem;
}

@media (min-width: 960px) {
  .contact {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 26px;
    align-items: stretch;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(16 20 28 / 0.92), rgb(10 13 19 / 0.95));
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.35);
}

.contact-card .form-title {
  color: var(--white);
  margin-bottom: 6px;
  font-size: 1.55rem;
}

.contact-card .contact-list {
  margin-top: 20px;
  gap: 14px;
}

.contact-list .tile {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.contact-list a,
.contact-list .value {
  font-size: 0.98rem;
}

.quote-form {
  gap: 14px;
  padding: 26px 22px;
  border-radius: 18px;
}

@media (min-width: 640px) {
  .quote-form {
    padding: 30px 28px;
  }
}

.form-title {
  font-size: 1.55rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #d5dce6;
  border-radius: 10px;
  font-size: 0.94rem;
}

.field textarea {
  min-height: 108px;
}

.form-note {
  font-size: 0.84rem;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .form-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.form-actions .btn {
  width: 100%;
  flex: initial;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 32px;
  }
}

.footer-bottom {
  text-align: center;
}
