/* Express Trujillo — landing */

:root {
  /* Paleta de marca */
  --red: #E4322B;          /* acentos y elementos gráficos */
  --red-btn: #C92B25;      /* botones con texto blanco */
  --red-btn-hover: #B82420;
  --black: #181717;
  --white: #FFFEFD;
  --gray-bg: #F4F4F3;
  --gray-text: #595959;
  --border: #E5E5E3;

  /* Derivados para superficies oscuras */
  --black-2: #211F1F;
  --black-line: #383535;
  --on-dark: #FFFEFD;
  --on-dark-muted: #C9C6C3;

  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --section-y: 96px;
  --radius: 8px;
  --header-h: 92px;
  --shadow: 0 1px 2px rgba(24, 23, 23, .05), 0 8px 24px rgba(24, 23, 23, .06);
  --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--black);
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 56px; --header-h: 76px; }
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem); font-weight: 800; }
h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] { display: none !important; }

/* Eyebrow ------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-text);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}
.eyebrow-dark { color: var(--on-dark-muted); }

.lead { font-size: 1.125rem; line-height: 1.6; }

/* Botones ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-lg { min-height: 52px; padding: 14px 26px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--red-btn); color: #fff; }
.btn-primary:hover { background: var(--red-btn-hover); }
.btn-primary:disabled { background: #8f8b88; cursor: not-allowed; }

.btn-ghost-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255, 254, 253, .4);
}
.btn-ghost-dark:hover { border-color: var(--on-dark); background: rgba(255, 254, 253, .06); }

.section-dark a:focus-visible,
.hero a:focus-visible,
.section-dark button:focus-visible {
  box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--white);
}

/* Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  flex: none;
  display: block;
  padding: 6px 4px;
  border-radius: 4px;
}
.brand-logo {
  width: 168px;
  height: auto;
  aspect-ratio: 2994 / 1400;
  object-fit: contain;
}

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: .9688rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-list a:hover::after,
.nav-list a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }
.cta-short { display: none; }

@media (max-width: 959px) {
  .header-inner { gap: 10px; }
  .brand-logo { width: 136px; }
  .main-nav { order: 3; margin-left: 0; }
  .header-cta { margin-left: auto; padding: 10px 16px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font: 600 .9375rem var(--font-body);
    color: var(--black);
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(24, 23, 23, .08);
  }
  .js .nav-list { display: none; }
  .js .nav-list.is-open { display: flex; }
  .nav-list a { width: 100%; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--border); }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-list a::after { left: 4px; right: auto; width: 24px; bottom: 10px; }
}

@media (max-width: 400px) {
  .brand-logo { width: 124px; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { width: 48px; justify-content: center; padding: 0; }
}

/* Sin JS: menú visible en móvil como lista bajo el header */
@media (max-width: 959px) {
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav-list { position: static; box-shadow: none; border: 0; flex-direction: row; flex-wrap: wrap; padding: 0; }
}

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--on-dark);
  padding-block: 88px 104px;
  overflow: hidden;
}
.hero::before {
  /* líneas finas de fondo */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 254, 253, .045) 1px, transparent 1px);
  background-size: 120px 100%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}
.hero h1 {
  font-size: clamp(2.125rem, 1.3rem + 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-lead {
  max-width: 34em;
  font-size: 1.125rem;
  color: var(--on-dark-muted);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 32em;
  padding-top: 20px;
  border-top: 1px solid var(--black-line);
  font-size: .9688rem;
  color: var(--on-dark-muted);
}
.hero-note .icon { color: var(--red); margin-top: 2px; }

.hero-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1312 / 816;
  background: var(--black-2);
}
.hero-media::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 38%;
  background: var(--red);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(24, 23, 23, .7);
  color: var(--on-dark);
  font-size: .75rem;
  line-height: 1.6;
}

.hero-route {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -76px;
  width: 100%;
  height: 72px;
  overflow: visible;
  pointer-events: none;
}
.hero-route path {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hero-route .route-dot { stroke-width: 10; stroke-dasharray: none; }

@media (max-width: 959px) {
  .hero { padding-block: 56px 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-route { bottom: -64px; height: 48px; }
}
@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
}

/* Secciones ----------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section-light { background: var(--white); }
.section-muted { background: var(--gray-bg); }
.section-dark { background: var(--black); color: var(--on-dark); }

.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head h2 { position: relative; }

@media (max-width: 767px) {
  .section-head { margin-bottom: 32px; }
}

/* Qué hacemos --------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 72px;
  padding-bottom: 56px;
}
.about-head h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.about-body { padding-top: 40px; border-top: 1px solid var(--border); }
.about-body .lead { color: var(--black); margin-bottom: 20px; }
.about-body p:not(.lead) { color: var(--gray-text); }

.data-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.data-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--black);
  background: var(--white);
}
.data-tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.about-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1200 / 520;
  background: var(--gray-bg);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
  .about-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 36px; }
  .about-body { padding-top: 24px; }
  .about-media { aspect-ratio: 16 / 10; }
}

/* Servicios ----------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.service {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 20px;
  row-gap: 8px;
  padding: 36px 36px 40px;
}
.service:nth-child(odd) { border-right: 1px solid var(--border); }
.service:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 36px;
  width: 3px;
  height: 48px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s ease;
}
.service:hover::before { transform: scaleY(1); }
.service-icon {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-icon circle { stroke: var(--red); }
.service p { color: var(--gray-text); }

@media (max-width: 767px) {
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px 24px; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .service-icon { width: 38px; height: 38px; }
  .service:nth-child(odd) { border-right: 0; }
  .service:not(:last-child) { border-bottom: 1px solid var(--border); }
  .service::before { top: 28px; }
}

/* Cómo trabajamos ----------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step { position: relative; padding-top: 28px; }
.step::before {
  /* conector */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -32px;
  height: 1px;
  background: var(--border);
}
.step:last-child::before { right: 0; }
.step::after {
  /* nodo */
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
}
.step:first-child::after { background: var(--red); }
.step-num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.2rem + 2.4vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--black);
}
.step-num::after { content: "."; color: var(--red); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--gray-text); }

@media (max-width: 1023px) and (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .step:nth-child(2)::before { right: 0; }
}
@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 16px;
    padding: 0 0 36px 28px;
  }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 6px; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .step:last-child::before { display: none; }
  .step::after { top: 2px; }
  .step-num { grid-row: span 2; font-size: 2.75rem; margin: 0; }
  .step h3 { margin: 4px 0 6px; }
}

/* Cobertura ----------------------------------------------------------- */
.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.coverage-copy .lead { color: var(--gray-text); margin: 20px 0 32px; max-width: 30em; }

.coverage-graphic {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.coverage-graphic svg { width: 100%; height: auto; }
.grid-lines path { stroke: var(--border); stroke-width: 1; fill: none; }
.route-alt { fill: none; stroke: #CFCFCB; stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.route-main {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 0;
}
.js .coverage-graphic:not(.is-visible) .route-main { stroke-dashoffset: 640; }
.coverage-graphic .route-main { transition: stroke-dashoffset 1.6s ease-out; }
.node { fill: var(--white); stroke: var(--black); stroke-width: 2; }
.node-origin, .node-dest { fill: var(--black); stroke: var(--red); stroke-width: 3; }
.node-label { font: 700 15px var(--font-display); fill: var(--black); }

@media (max-width: 767px) {
  .coverage-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Beneficios ---------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--black);
}
.benefits li {
  position: relative;
  padding: 32px 28px 8px 0;
}
.benefits li + li { padding-left: 28px; border-left: 1px solid var(--border); }
.benefits li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
}
.benefits li + li::before { left: 28px; }
.benefits h3 { margin-bottom: 10px; }
.benefits p { color: var(--gray-text); }

@media (max-width: 1023px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits li:nth-child(3) { padding-left: 0; border-left: 0; }
  .benefits li:nth-child(3)::before { left: 0; }
  .benefits li:nth-child(n+3) { border-top: 1px solid var(--border); margin-top: 24px; }
}
@media (max-width: 599px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits li, .benefits li + li { padding: 24px 0 20px; border-left: 0; }
  .benefits li + li { border-top: 1px solid var(--border); margin-top: 0; }
  .benefits li + li::before { left: 0; }
}

/* Contacto ------------------------------------------------------------ */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 254, 253, .04) 1px, transparent 1px);
  background-size: 120px 100%;
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.contact-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-copy .lead { color: var(--on-dark-muted); margin: 20px 0 28px; }
.contact-checklist {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--black-line);
}
.contact-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--black-line);
  font-weight: 500;
}
.contact-checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid var(--red);
  border-radius: 50%;
  flex: none;
}

.form-card {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .25);
  border-top: 4px solid var(--red);
  outline: none;
}
.form-intro { font-size: .875rem; color: var(--gray-text); margin-bottom: 20px; }
.req { color: var(--red-btn); font-weight: 700; }
.opt { font-weight: 400; color: var(--gray-text); }

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 20px;
  margin-bottom: 24px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .9375rem; font-weight: 600; }

.field input:not([type="checkbox"]),
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font: 400 1rem/1.5 var(--font-body);
  color: var(--black);
  background: #fff;
  border: 1px solid #BDBDB9;
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input[type="date"] { min-width: 0; }
.field textarea { resize: vertical; min-height: 112px; }
.field input::placeholder, .field textarea::placeholder { color: #8A8A87; }
.field input:hover, .field textarea:hover { border-color: var(--gray-text); }
.field input:focus-visible, .field textarea:focus-visible {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(24, 23, 23, .18);
  border-radius: var(--radius);
}
.field [aria-invalid="true"] { border-color: var(--red-btn) !important; background: #FFF8F7 !important; }
.field-hint { font-size: .8125rem; color: var(--gray-text); line-height: 1.4; }
.field-error {
  font-size: .8438rem;
  font-weight: 500;
  color: #B3221D;
  line-height: 1.4;
}
.field-error:empty { display: none; }

.field-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 16px;
  background: var(--gray-bg);
  border-radius: var(--radius);
}
.field-check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--red-btn);
  cursor: pointer;
}
.field-check label { font-weight: 500; cursor: pointer; }
.field-check label a { color: var(--black); font-weight: 600; text-underline-offset: 3px; }
.field-check .field-error { grid-column: 2; margin-top: 4px; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-alert, .form-status {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .9375rem;
  line-height: 1.5;
}
.form-alert { margin-bottom: 20px; background: #FFF1F0; border: 1px solid #F3C2BF; color: #8E1B17; }
.form-status { margin-top: 20px; outline: none; }
.form-status.is-success { background: #F1F7F1; border: 1px solid #BFD8BF; color: #1E4D22; }
.form-status.is-error { background: #FFF1F0; border: 1px solid #F3C2BF; color: #8E1B17; }
.form-status a { font-weight: 600; color: inherit; }
.form-status strong { display: block; margin-bottom: 2px; }

.form-pending {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-left: 3px solid var(--red);
  background: var(--gray-bg);
  font-size: .9375rem;
  color: var(--black);
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1139px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-copy { position: static; }
}
@media (max-width: 599px) {
  .form-card { padding: 28px 20px; }
  .fields { grid-template-columns: 1fr; gap: 18px; }
}

/* Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-logo { width: 160px; height: auto; aspect-ratio: 2994 / 1400; object-fit: contain; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; }
.footer-desc { font-size: .9375rem; color: var(--gray-text); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--black);
  text-underline-offset: 4px;
  text-decoration-color: var(--red);
}
.footer-links a:not(:hover) { text-decoration: none; }
.footer-legal p {
  padding-block: 20px 28px;
  border-top: 1px solid var(--border);
}
.footer-legal {
  font-size: .875rem;
  color: var(--gray-text);
}

@media (max-width: 599px) {
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { margin-left: -10px; }
}

/* WhatsApp flotante --------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 6px 18px rgba(24, 23, 23, .25);
  transition: opacity .2s ease, transform .2s ease;
}
.wa-float svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wa-float:hover { background: var(--red-btn); }
.wa-float:focus-visible { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--black); border-radius: 50%; }
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }

/* Página interna ------------------------------------------------------ */
.page { padding-block: var(--section-y); }
.page-inner { max-width: 760px; }
.page h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); font-weight: 800; margin-bottom: 20px; }
.page p + p { margin-top: 16px; }
.page .muted { color: var(--gray-text); }
.page .btn { margin-top: 32px; }

/* Movimiento reducido ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .coverage-graphic:not(.is-visible) .route-main { stroke-dashoffset: 0; }
  .spinner { animation: spin 1.6s linear infinite !important; }
}
