/* ==========================================================================
   Transportes Jireh — hoja de estilos única del sitio
   ========================================================================== */

:root {
  --color-navy: #0b1829;
  --color-navy-light: #112240;
  --color-navy-mid: #1a2d4a;
  --color-gold: #c9a227;
  --color-gold-hover: #b08d1f;
  --color-white: #ffffff;
  --color-white-soft: rgba(255, 255, 255, 0.85);
  --color-white-muted: rgba(255, 255, 255, 0.5);
  --color-border-dark: rgba(255, 255, 255, 0.1);
  --color-error: #ff6b6b;
  --color-success: #51cf66;
  --color-whatsapp: #25d366;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Raleway", system-ui, sans-serif;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-sans);
}
h1, h2, h3, h4, p, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }

:where(a:any-link, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-navy); }
::-webkit-scrollbar-thumb { background: var(--color-navy-mid); border-radius: 4px; }

/* ---- Utilidades de espaciado (solo las que usa el sitio) ---- */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-10 { margin-top: 2.5rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-9 { gap: 2.25rem; }
.gap-10 { gap: 2.5rem; }
.gap-16 { gap: 4rem; }

/* ---- Skip link ---- */
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 9999;
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0.25rem;
}
.skip-link:not(:focus-within):not(:active) {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

/* ---- Layout / contenedores ---- */
.container { margin-inline: auto; padding-inline: 1.5rem; }
.container--700 { max-width: 700px; }
.container--800 { max-width: 800px; }
.container--900 { max-width: 900px; }
.container--1100 { max-width: 1100px; }
.container--1200 { max-width: 1200px; }

main { flex: 1 1 auto; padding-top: 5rem; outline: none; }

.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section--home { padding-block: 5rem; }
.section--tight { padding-block: 4rem; }
.opacity-25 { opacity: 0.25; }
.opacity-75 { opacity: 0.75; }
.section--border-b { border-bottom: 1px solid var(--color-border-dark); }
.section--border-t { border-top: 1px solid var(--color-border-dark); }

/* ---- Encabezados / texto ----
   Escala fluida (clamp) en vez de saltos por breakpoint: el tamaño
   crece con el viewport en lugar de "saltar" en puntos fijos.
   .hero-title y .page-title comparten la misma voz serif — antes
   .page-title (H1 del resto de las páginas) era sans-bold mientras
   que .hero-title (H1 de la home) era serif, una inconsistencia sin
   justificación; ahora todo H1/H2 principal es serif y los títulos
   de subsección (H2/H3 dentro de una sección) se mantienen en sans
   para marcar que son una subdivisión, no una sección nueva. ---- */
.eyebrow {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-gold);
  font-weight: 600;
}
.hero-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--color-gold);
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-serif);
  color: var(--color-white);
  line-height: 1.08;
  font-size: clamp(2.5rem, 1.75rem + 3.2vw, 4.75rem);
  text-wrap: balance;
}

.page-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  font-size: clamp(2rem, 1.65rem + 1.6vw, 2.75rem);
  text-wrap: balance;
}

.section-title {
  font-family: var(--font-serif);
  color: var(--color-white);
  line-height: 1.15;
  font-size: clamp(1.75rem, 1.5rem + 1.1vw, 2.25rem);
  text-wrap: balance;
}

.subsection-title {
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  font-size: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
}
.block-title {
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
}

.cta-title {
  font-family: var(--font-serif);
  color: var(--color-white);
  line-height: 1.15;
  font-size: clamp(1.5rem, 1.3rem + 0.85vw, 1.875rem);
  text-wrap: balance;
}

.lede { color: var(--color-white-soft); line-height: 1.65; font-size: 1.0625rem; }
.text-muted { color: var(--color-white-muted); }

/* ---- Botones ---- */
.btn-gold {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-height: 48px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-gold:hover { background: var(--color-gold-hover); }
.btn-gold--lg {
  padding: 1rem 2.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-gold--lg:hover {
  background: var(--color-gold-hover);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.35);
}
.btn-gold--lg:active { transform: scale(0.95); }
.btn-gold--block {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
}
.btn-gold--block:disabled { opacity: 0.6; cursor: not-allowed; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gold);
  transition: color 0.2s ease;
}
.link-arrow:hover { color: var(--color-gold-hover); }
.link-arrow svg { width: 1rem; height: 1rem; }

/* ---- Listas con marca (✓ / •) ---- */
.list-plain { display: flex; flex-direction: column; }
.list-plain li { display: flex; align-items: flex-start; gap: 0.75rem; }
.list-plain .mark { color: var(--color-gold); flex-shrink: 0; }
.list-plain .mark--top { margin-top: 0.125rem; }
.list-plain strong { color: var(--color-white); }
.list-plain p { font-size: 0.875rem; color: var(--color-white-muted); margin-top: 0.25rem; }

/* ---- Header ---- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 24, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border-dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.site-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--color-white);
  line-height: 1;
  transition: color 0.2s ease;
}
.brand:hover { color: var(--color-gold); }

.nav-desktop { display: none; align-items: center; gap: 2.25rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white-soft);
  transition: color 0.2s ease;
  cursor: pointer;
}
.nav-link:hover { color: var(--color-white); }
.nav-link.is-active { color: var(--color-gold); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--color-gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }

.nav-dropdown { position: relative; }
.nav-dropdown-btn { display: inline-flex; align-items: center; gap: 0.25rem; }
.nav-dropdown-btn svg { width: 0.75rem; height: 0.75rem; transition: transform 0.2s ease; }
.nav-dropdown-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.75rem;
  width: 14rem;
  background: var(--color-navy-light);
  border: 1px solid var(--color-border-dark);
  border-radius: 0.25rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding-block: 0.25rem;
}
.nav-dropdown-panel a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--color-white-soft);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-dropdown-panel a:hover { color: var(--color-white); background: var(--color-navy-mid); }
.nav-dropdown-panel a.is-active { color: var(--color-gold); }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-white);
  cursor: pointer;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

.nav-mobile { border-top: 1px solid var(--color-border-dark); background: var(--color-navy-light); }
@media (min-width: 768px) { .nav-mobile { display: none !important; } }
.nav-mobile__inner { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile a, .nav-mobile__group-label {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-white-soft);
}
.nav-mobile a:hover { color: var(--color-white); }
.nav-mobile a.is-active { color: var(--color-gold); }
.nav-mobile__group-label {
  min-height: auto;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white-muted);
}

/* ---- Footer ---- */
.site-footer { background: var(--color-navy-light); border-top: 1px solid var(--color-border-dark); }
.footer-grid {
  max-width: 1200px;
  margin-inline: auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand { font-size: 1.125rem; font-weight: 700; color: var(--color-white); letter-spacing: 0.02em; }
.footer-tagline { margin-top: 0.5rem; font-size: 0.75rem; color: var(--color-white-muted); font-style: italic; }
.footer-desc { margin-top: 0.75rem; font-size: 0.875rem; color: var(--color-white-muted); line-height: 1.6; }
.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white-muted);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-links a { color: var(--color-white-soft); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--color-gold); }
.footer-address { font-style: normal; font-size: 0.875rem; color: var(--color-white-soft); display: flex; flex-direction: column; gap: 0.5rem; }
.footer-address a { transition: color 0.2s ease; }
.footer-address a:hover { color: var(--color-gold); }
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-whatsapp);
}
.footer-whatsapp:hover { text-decoration: underline; }
.footer-whatsapp svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.footer-bottom { border-top: 1px solid var(--color-border-dark); padding: 1rem 1.5rem; text-align: center; font-size: 0.75rem; color: var(--color-white-muted); }

/* ---- Botón flotante de WhatsApp: visible en las 8 páginas ---- */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.whatsapp-fab:active { transform: scale(0.95); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: currentColor; }
@media (min-width: 768px) { .whatsapp-fab { right: 2rem; bottom: 2rem; } }

/* ---- Hero (home) ---- */
.hero { position: relative; margin-top: -5rem; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 24, 41, 0.7), rgba(11, 24, 41, 0.85)); }
.hero__content { position: relative; z-index: 10; max-width: 900px; margin-inline: auto; padding-inline: 1.5rem; text-align: center; }
.hero__scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--color-white-muted); animation: bounce 1.5s infinite; }
.hero__scroll-indicator svg { width: 1.25rem; height: 1.25rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateX(-50%) translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* ---- Marquee de clientes ---- */
.clients { padding-block: 2.5rem; overflow: hidden; border-block: 1px solid var(--color-border-dark); background: var(--color-navy-light); }
.clients__label { text-align: center; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-white-muted); margin-bottom: 2rem; }
.clients__viewport { position: relative; display: flex; overflow-x: hidden; }
.clients__track { display: flex; gap: 4rem; white-space: nowrap; align-items: center; animation: marquee 30s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.client { display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.client__logo {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.client__logo img { width: 100%; height: 100%; object-fit: contain; }
.client__name { font-size: 11px; font-weight: 500; color: var(--color-white-muted); letter-spacing: 0.02em; user-select: none; }

/* ---- Servicios (home, lista numerada) ---- */
.services-list { display: flex; flex-direction: column; gap: 2rem; }
.service-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.service-item--divider { border-top: 1px solid var(--color-border-dark); padding-top: 2rem; }
.service-item__num { font-size: 1.875rem; font-weight: 700; color: var(--color-gold); opacity: 0.5; flex-shrink: 0; width: 2.5rem; transition: opacity 0.2s ease; }
.service-item:hover .service-item__num { opacity: 1; }
.service-item h3 { font-size: 1.125rem; font-weight: 600; color: var(--color-white); margin-bottom: 0.25rem; }
.service-item h3 a { transition: color 0.2s ease; }
.service-item h3 a:hover { color: var(--color-gold); }
.service-item p { font-size: 0.875rem; color: var(--color-white-muted); line-height: 1.6; }

/* ---- CTA final con glow ---- */
.cta-section { position: relative; overflow: hidden; }
.cta-glow {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.1);
  filter: blur(64px);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.cta-content { position: relative; text-align: center; }

/* ---- Fleet cards (flota) ---- */
.fleet-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .fleet-grid { grid-template-columns: repeat(3, 1fr); } }
.fleet-card { border: 1px solid var(--color-border-dark); border-radius: 0.25rem; overflow: hidden; }
.fleet-card__photo { position: relative; aspect-ratio: 4 / 3; }
.fleet-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fleet-card__body { padding: 1.25rem; }
.fleet-card__body p:first-child { color: var(--color-white); font-weight: 600; margin-bottom: 0.25rem; }
.fleet-card__body p:last-child { font-size: 0.875rem; color: var(--color-white-muted); line-height: 1.6; }

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { position: relative; aspect-ratio: 16 / 9; border-radius: 0.5rem; overflow: hidden; border: 1px solid var(--color-border-dark); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- Equipo ---- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-member { display: flex; align-items: center; gap: 1rem; }
.team-member__avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: var(--color-navy-mid);
  border: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  flex-shrink: 0;
  overflow: hidden;
}
.team-member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-member__name { color: var(--color-white); font-weight: 600; }
.team-member__role { font-size: 0.875rem; color: var(--color-white-muted); }

.drivers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .drivers-grid { grid-template-columns: repeat(4, 1fr); } }
.driver-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  border: 1px dashed var(--color-border-dark);
  background: var(--color-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.driver-placeholder svg { width: 2rem; height: 2rem; color: var(--color-white-muted); }

/* ---- Formulario de cotización ---- */
.form { max-width: 672px; margin-inline: auto; background: var(--color-navy-light); border: 1px solid var(--color-border-dark); border-radius: 0.5rem; padding: 1.5rem; }
@media (min-width: 768px) { .form { padding: 2rem; } }
.form-grid { display: grid; grid-template-columns: 1fr; column-gap: 1.5rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--color-white-soft); margin-bottom: 0.25rem; }
.form-field .required { color: var(--color-error); }
.form-hint { display: block; font-size: 0.75rem; color: var(--color-white-muted); margin-bottom: 0.25rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  min-height: 48px;
  background: var(--color-navy-mid);
  color: var(--color-white);
  border: 1px solid var(--color-border-dark);
  transition: border-color 0.2s ease;
}
.form-field textarea { min-height: auto; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--color-white-muted); }
.form-field input.is-invalid, .form-field select.is-invalid { border-color: var(--color-error); }
.form-error { font-size: 0.75rem; color: var(--color-error); margin-top: 0.25rem; display: flex; align-items: flex-start; gap: 0.25rem; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-toggle-btn { font-size: 0.75rem; color: var(--color-white-muted); text-decoration: underline; margin-bottom: 1rem; cursor: pointer; min-height: 44px; }
.form-success { text-align: center; padding: 4rem 1.5rem; }
.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: rgba(81, 207, 102, 0.2);
  color: var(--color-success);
  margin-bottom: 1rem;
}
.form-success__icon svg { width: 2rem; height: 2rem; }
.form-success h2 { font-size: 1.5rem; font-weight: 700; color: var(--color-white); margin-bottom: 0.5rem; }
.form-success p { color: var(--color-white-muted); }
.form-success a { color: var(--color-whatsapp); font-weight: 600; }
.form-success a:hover { text-decoration: underline; }
.btn-spinner { width: 1.25rem; height: 1.25rem; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Scroll reveal ---- */
.reveal { transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.reveal--hidden { opacity: 0; transform: translateY(24px); }

/* ---- Route mark: divisor de sección derivado de las dos líneas
   convergentes del isotipo de Jireh. Elemento firma del sitio. ---- */
.route-mark {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.route-mark::before,
.route-mark::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--color-border-dark);
}
.route-mark svg { flex-shrink: 0; width: 40px; height: 22px; overflow: visible; }
.route-mark path {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.85;
}

/* ---- Split: contenido + fotografía real (empresa, servicios) ---- */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; } }
.split--reverse { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--reverse { grid-template-columns: 0.95fr 1.05fr; } }
@media (min-width: 900px) { .split--reverse .split__media { order: -1; } }
.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
}
.split__media--wide { aspect-ratio: 4 / 3; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 24, 41, 0.35), transparent 40%);
  pointer-events: none;
}
.split__caption {
  position: absolute;
  left: 1rem;
  bottom: 0.875rem;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--color-white-soft);
}
