/* ============================================================
   VIHERCON — hoja de estilos del sitio
   Identidad: navy corporativo #001230 (texto del logo) + dorado
   #F0B429 (gráfico del logo), tomados del archivo original.
   Tipografías: Archivo (títulos) + Inter (texto).
   Convenciones tomadas de los proyectos Lcinv y Monsevas (DanVelTech).
   ============================================================ */

:root {
  --vh-navy:        #001230;
  --vh-navy-oscuro: #000c21;
  --vh-navy-medio:  #0a2a55;
  --vh-navy-claro:  #eef2f7;
  --vh-navy-borde:  #dbe5f1;
  --vh-dorado:      #f0b429;
  --vh-dorado-oscuro: #c78f14;
  --vh-dorado-suave: #fdf6e3;
  --vh-ink:         #0f172a;
  --vh-muted:       #5b6b7f;
  --vh-gris-fondo:  #f6f8fb;
  --vh-blanco:      #ffffff;
  --vh-verde-wa:    #25d366;

  --vh-radius:      18px;
  --vh-sombra:      0 10px 30px rgba(0, 18, 48, .10);
  --vh-sombra-hover: 0 18px 44px rgba(0, 18, 48, .18);

  --vh-fuente-titulos: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --vh-fuente-texto:   'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ── Base ──────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
}

/* Al navegar por anclas, reservar el alto del header fijo para
   que no tape el contenido superior de cada sección.
   Móvil: header ~69px → 82px; escritorio: header ~97px → 112px. */
section[id] {
  scroll-margin-top: 82px;
}

section#inicio {
  scroll-margin-top: 0;
}

@media (min-width: 992px) {
  section[id] {
    scroll-margin-top: 112px;
  }
}

/* Evita el scroll horizontal sin crear un contenedor de scroll
   (hidden puede romper position:sticky del header en móviles) */
html,
body {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body {
  font-family: var(--vh-fuente-texto);
  color: var(--vh-ink);
  background: var(--vh-blanco);
  /* red de seguridad: una palabra más ancha que su línea se parte
     en vez de empujar el layout (fuentes de respaldo, correos largos) */
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5,
.navbar-brand strong, .btn {
  font-family: var(--vh-fuente-titulos);
}

.section-title {
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

/* Ritmo vertical de secciones (Bootstrap no trae py-6) */
.py-lg-6 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
  }
}

/* Fondos alternados por sección */
.bg-navy-claro { background: var(--vh-navy-claro); }
.bg-mist       { background: var(--vh-gris-fondo); }

.text-dorado { color: var(--vh-dorado) !important; }

/* Bandera dominicana inline (hero y footer) */
.bandera-do {
  height: 1.05em;
  width: auto;
  vertical-align: -0.16em;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
}

/* ── Accesibilidad ─────────────────────────────────────── */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--vh-navy);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 12px 0;
  z-index: 2000;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ── Barra de progreso de lectura ──────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--vh-dorado), var(--vh-navy-medio));
  z-index: 1500;
  transition: width .12s linear;
}

/* ── Cabecera ──────────────────────────────────────────── */

.site-header {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 18, 48, .08);
  transition: box-shadow .25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 18, 48, .10);
}

.site-header .navbar {
  padding-top: .3rem;
  padding-bottom: .3rem;
}

.brand-logo-h {
  height: 76px;
  width: auto;
}

/* Entre lg y xl el menú completo convive con el logo: tamaño intermedio */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .brand-logo-h { height: 60px; }
}

@media (max-width: 991.98px) {
  .brand-logo-h { height: 48px; }
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--vh-navy);
  border-radius: 10px;
  padding: .5rem .9rem !important;
}

.navbar .nav-link:hover {
  color: var(--vh-dorado-oscuro);
  background: var(--vh-dorado-suave);
}

.navbar .nav-link.active {
  color: var(--vh-navy);
  box-shadow: inset 0 -2px 0 var(--vh-dorado);
}

/* ── Hero con video ────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 72vh;
  max-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--vh-navy);
  color: #fff;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.18) saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(0, 12, 33, .82) 0%,
      rgba(0, 18, 48, .45) 48%,
      rgba(0, 18, 48, .10) 100%),
    linear-gradient(to top, rgba(0, 12, 33, .68) 0%, transparent 30%);
}El graduado equilibrado. Ahora subo la versión del CSS y re-capturo el hero:

.hero .container {
  z-index: 1;
}

.hero-title {
  text-shadow: 0 2px 18px rgba(0, 12, 33, .45);
}

.gradient-text {
  font-style: normal;
  background: linear-gradient(92deg, #ffd873 0%, var(--vh-dorado) 55%, #d99a10d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vh-dorado);
  margin-bottom: .9rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--vh-dorado);
  box-shadow: 0 0 0 0 rgba(240, 180, 41, .7);
  animation: vh-pulse 2.2s infinite;
}

@keyframes vh-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240, 180, 41, .65); }
  70%  { box-shadow: 0 0 0 12px rgba(240, 180, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 180, 41, 0); }
}

.hero-checks {
  color: rgba(255, 255, 255, .92);
  font-size: .95rem;
}

.hero-checks i {
  color: var(--vh-dorado);
}

/* Cinta de estadísticas al pie del hero */
.hero-ribbon {
  position: relative;
  z-index: 1;
  background: rgba(0, 12, 33, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(240, 180, 41, .25);
}

.stat-numeral {
  font-family: var(--vh-fuente-titulos);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  color: #fff;
}

.ribbon-stat + .ribbon-stat {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

/* ── Botones ───────────────────────────────────────────── */

.btn-warning {
  --bs-btn-bg: var(--vh-dorado);
  --bs-btn-border-color: var(--vh-dorado);
  --bs-btn-color: var(--vh-navy);
  --bs-btn-hover-bg: #ffc94d;
  --bs-btn-hover-border-color: #ffc94d;
  --bs-btn-hover-color: var(--vh-navy);
  --bs-btn-active-bg: var(--vh-dorado-oscuro);
  --bs-btn-active-border-color: var(--vh-dorado-oscuro);
  --bs-btn-active-color: var(--vh-navy);
}

.btn-outline-azul {
  --bs-btn-color: var(--vh-navy);
  --bs-btn-border-color: rgba(0, 18, 48, .45);
  --bs-btn-hover-bg: var(--vh-navy);
  --bs-btn-hover-border-color: var(--vh-navy);
  --bs-btn-hover-color: #fff;
}

/* ── Menú móvil (offcanvas) con identidad de la banda de materiales ── */

/* Safari/iOS cuenta el offcanvas cerrado (fuera de pantalla) como área
   scrolleable y genera pan horizontal; oculto total cuando está cerrado.
   .showing/.hiding preservan la animación de apertura y cierre. */
.offcanvas:not(.show, .showing, .hiding) {
  display: none;
}

#menuMobile {
  background:
    radial-gradient(520px 260px at 85% -5%, rgba(240, 180, 41, .16), transparent 62%),
    linear-gradient(150deg, var(--vh-navy) 0%, var(--vh-navy-medio) 100%);
  color: #fff;
}

#menuMobile .offcanvas-header {
  border-bottom: 1px solid rgba(240, 180, 41, .28);
}

#menuMobile .offcanvas-title {
  color: #fff;
  font-family: var(--vh-fuente-titulos);
  font-weight: 800;
  letter-spacing: .08em;
}

#menuMobile .btn-close {
  filter: invert(1);
  opacity: .85;
}

#menuMobile .nav-link {
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
  padding: .85rem .6rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  border-radius: 0;
  transition: color .2s ease, padding-left .2s ease;
}

#menuMobile .nav-link:hover,
#menuMobile .nav-link:focus {
  color: var(--vh-dorado);
  background: transparent;
  padding-left: 1rem !important;
}

#menuMobile hr {
  border-color: rgba(240, 180, 41, .3);
  opacity: 1;
}

/* Botones de contacto como azulejos de cristal */
#menuMobile .btn-outline-secondary,
#menuMobile .btn-outline-primary {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(240, 180, 41, .4);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(240, 180, 41, .18);
  --bs-btn-hover-border-color: var(--vh-dorado);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgba(240, 180, 41, .3);
  --bs-btn-active-border-color: var(--vh-dorado);
  background: rgba(255, 255, 255, .05);
  font-weight: 600;
}

#menuMobile .offcanvas-eslogan {
  color: rgba(255, 255, 255, .55);
  font-size: .8rem;
  letter-spacing: .06em;
}

/* ── Banda de materiales asfálticos ────────────────────── */

.materiales-banda {
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(240, 180, 41, .14), transparent 60%),
    linear-gradient(135deg, var(--vh-navy) 0%, var(--vh-navy-medio) 100%);
}

.material-tile {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(240, 180, 41, .28);
  border-radius: var(--vh-radius);
  padding: 1.35rem 1.25rem 1.2rem;
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.material-tile:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09);
  border-color: var(--vh-dorado);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .35);
}

.material-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.material-sigla {
  font-family: var(--vh-fuente-titulos);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--vh-dorado);
  white-space: nowrap;
}

.material-sigla-texto {
  font-size: clamp(1.08rem, 1.9vw, 1.38rem);
  white-space: normal;
}

.material-icono {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(240, 180, 41, .16);
  color: var(--vh-dorado);
  font-size: 1.05rem;
}

.material-tile:hover .material-icono {
  background: var(--vh-dorado);
  color: var(--vh-navy);
}

.material-titulo {
  font-family: var(--vh-fuente-titulos);
  font-size: .98rem;
}

.material-tile small {
  color: rgba(255, 255, 255, .66);
  font-size: .85rem;
  line-height: 1.5;
  margin-top: .25rem;
}

/* ── Tarjetas de servicio ──────────────────────────────── */

.servicio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--vh-blanco);
  border: 1px solid var(--vh-navy-borde);
  border-radius: var(--vh-radius);
  padding: 1.6rem 1.5rem 1.2rem;
  text-decoration: none;
  color: var(--vh-ink);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vh-sombra-hover);
  border-color: rgba(240, 180, 41, .65);
  color: var(--vh-ink);
}

.numero-fantasma {
  position: absolute;
  top: .4rem;
  right: 1rem;
  font-family: var(--vh-fuente-titulos);
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(0, 18, 48, .11);
  line-height: 1;
  user-select: none;
  transition: color .28s ease;
  z-index: 0;
}

.servicio-card:hover .numero-fantasma {
  color: rgba(240, 180, 41, .28);
}

/* el título no se mete debajo del número */
.servicio-cabecera h3 {
  padding-right: 2.8rem;
}

.servicio-cabecera {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .8rem;
}

.servicio-icono {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--vh-navy);
  color: var(--vh-dorado);
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(0, 18, 48, .22);
}

.servicio-card:hover .servicio-icono {
  background: var(--vh-dorado);
  color: var(--vh-navy);
}

.servicio-cabecera h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin: 0;
}

.servicio-cuerpo p {
  color: var(--vh-muted);
  font-size: .94rem;
  margin-bottom: 1rem;
}

.servicio-pie {
  margin-top: auto;
  font-size: .84rem;
  font-weight: 700;
  color: var(--vh-dorado-oscuro);
}

.servicio-pie i {
  transition: transform .25s ease;
}

.servicio-card:hover .servicio-pie i {
  transform: translateX(4px);
}

/* ── Banner de compromiso (entre servicios y proceso) ──── */

.banner-frase {
  position: relative;
  background:
    radial-gradient(900px 380px at 50% -20%, rgba(240, 180, 41, .16), transparent 62%),
    linear-gradient(135deg, var(--vh-navy-oscuro) 0%, var(--vh-navy) 55%, var(--vh-navy-medio) 100%);
  overflow: hidden;
}

/* línea de carretera al pie del banner */
.banner-frase::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  height: 4px;
  background: repeating-linear-gradient(90deg,
    var(--vh-dorado) 0 56px,
    transparent 56px 96px);
  opacity: .35;
}

.banner-comilla {
  font-size: 2rem;
  color: var(--vh-dorado);
  margin-bottom: .9rem;
  display: inline-block;
}

.banner-frase .section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3;
}

.banner-subtitulo {
  color: rgba(255, 255, 255, .72);
  font-size: 1.05rem;
}

/* ── Tarjetas de proceso ───────────────────────────────── */

.paso-card {
  position: relative;
  background: var(--vh-blanco);
  border: 1px solid var(--vh-navy-borde);
  border-radius: var(--vh-radius);
  padding: 1.7rem 1.4rem 1.4rem;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

/* destello dorado (gradiente desplazado: no interfiere con la línea de proceso) */
.paso-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(240, 180, 41, .18) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 180% 0;
  transition: background-position .6s ease;
}

.paso-card:hover::before {
  background-position: -80% 0;
}

.paso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vh-sombra);
  border-color: rgba(240, 180, 41, .6);
}

.paso-icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--vh-dorado-suave);
  border: 1px solid rgba(240, 180, 41, .55);
  color: var(--vh-dorado-oscuro);
  font-size: 1.2rem;
  margin-bottom: .9rem;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .3s ease, color .3s ease;
}

.paso-card:hover .paso-icono {
  transform: scale(1.12);
  background: var(--vh-dorado);
  color: var(--vh-navy);
}

.paso-numero {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--vh-navy);
  color: var(--vh-dorado);
  font-family: var(--vh-fuente-titulos);
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 5px 14px rgba(0, 18, 48, .25);
}

.paso-card:hover .paso-numero {
  background: var(--vh-dorado);
  color: var(--vh-navy);
}

/* línea de proceso: conecta los pasos entre sí en escritorio */
@media (min-width: 992px) {
  #proceso .col-lg-3:not(:last-child) .paso-card::after {
    content: '';
    position: absolute;
    top: 2.9rem;
    right: -1.6rem;
    width: 1.7rem;
    border-top: 3px dashed rgba(240, 180, 41, .6);
    z-index: 1;
  }
}

.paso-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: .45rem;
  padding-right: 2.2rem;
}

.paso-card p {
  color: var(--vh-muted);
  font-size: .92rem;
  margin: 0;
}

/* ── Valores (nosotros) ────────────────────────────────── */

/* Entrada en cascada: las tarjetas suben una tras otra
   (vertical a propósito: un desplazamiento horizontal
   desbordaría el viewport en móvil) */
#nosotros .reveal-stagger > * {
  opacity: 0;
  transform: translateY(38px);
}

#nosotros .reveal-stagger.visible > * {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, .61, .36, 1);
}

#nosotros .reveal-stagger.visible > *:nth-child(2) { transition-delay: .1s; }
#nosotros .reveal-stagger.visible > *:nth-child(3) { transition-delay: .2s; }
#nosotros .reveal-stagger.visible > *:nth-child(4) { transition-delay: .3s; }

.valor-chip {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--vh-blanco);
  border: 1px solid var(--vh-navy-borde);
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
  box-shadow: 0 2px 10px rgba(0, 18, 48, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* destello dorado que barre la tarjeta */
.valor-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(240, 180, 41, .22), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
  pointer-events: none;
}

.valor-chip:hover::before {
  left: 135%;
}

.valor-chip:hover {
  transform: translateY(-4px);
  box-shadow: var(--vh-sombra);
  border-color: rgba(240, 180, 41, .6);
}

.valor-chip > i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--vh-navy);
  color: var(--vh-dorado);
  font-size: 1.2rem;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .3s ease, color .3s ease;
}

.valor-chip:hover > i {
  transform: scale(1.14) rotate(-8deg);
  background: var(--vh-dorado);
  color: var(--vh-navy);
}

.valor-chip strong {
  font-size: 1.02rem;
}

.valor-chip small {
  color: var(--vh-muted);
  font-size: .9rem;
  line-height: 1.55;
}

/* Texto institucional de la columna izquierda */
.nosotros-texto {
  font-size: 1.02rem;
  line-height: 1.75;
}

/* Origen del nombre: VIal HERrera CONstrucción */
.marca-origen {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .5rem;
  row-gap: .25rem;
  background:
    radial-gradient(420px 120px at 110% -30%, rgba(240, 180, 41, .22), transparent 70%),
    linear-gradient(135deg, var(--vh-navy-oscuro) 0%, var(--vh-navy) 60%, var(--vh-navy-medio) 100%);
  border: 1px solid rgba(240, 180, 41, .38);
  border-left: 5px solid var(--vh-dorado);
  border-radius: 0 16px 16px 0;
  padding: 1rem 1.4rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, .78);
  font-family: var(--vh-fuente-titulos);
  font-size: 1.12rem;
  letter-spacing: .03em;
  box-shadow: 0 10px 26px rgba(0, 12, 33, .32);
}

.marca-palabra {
  white-space: nowrap;
}

.marca-sep {
  color: var(--vh-dorado);
  font-weight: 800;
}

.marca-origen strong {
  color: var(--vh-dorado);
  font-weight: 800;
}

/* ── Contacto ──────────────────────────────────────────── */

.contact-linea {
  display: flex;
  align-items: center;
  gap: .95rem;
  text-decoration: none;
  color: var(--vh-ink);
  padding: .55rem .7rem;
  margin: -.35rem -.7rem 0;
  border-radius: 12px;
  transition: background .2s ease;
}

.contact-linea:hover {
  background: rgba(240, 180, 41, .12);
  color: var(--vh-ink);
}

.contact-icono {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--vh-navy);
  color: var(--vh-dorado);
  font-size: 1.05rem;
}

.contact-linea strong {
  font-size: .95rem;
}

.contact-linea span[data-num],
.contact-linea > span:last-child {
  color: var(--vh-muted);
  font-size: .92rem;
}

.form-card {
  background: var(--vh-blanco);
  border: 1px solid var(--vh-navy-borde);
  border-radius: var(--vh-radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--vh-sombra);
}

.form-label {
  font-weight: 600;
  font-size: .88rem;
}

.captcha-pregunta {
  background: var(--vh-navy);
  color: var(--vh-dorado);
  font-weight: 700;
  border: none;
}

.form-status {
  font-size: .92rem;
  font-weight: 600;
}

.form-status.ok {
  color: #15803d;
}

.form-status.error {
  color: #b91c1c;
}

/* ── Footer ────────────────────────────────────────────── */

.site-footer {
  background: linear-gradient(180deg, var(--vh-navy) 0%, var(--vh-navy-oscuro) 100%);
  color: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  text-decoration: none;
}

.brand-light .brand-text strong {
  color: #fff;
  font-family: var(--vh-fuente-titulos);
  font-size: 1.35rem;
  letter-spacing: .04em;
}

.brand-light .brand-text small {
  color: var(--vh-dorado);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  line-height: 1.55;
  margin-top: .15rem;
  white-space: nowrap;
}

.footer-link {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  word-break: break-word;
}

.footer-link:hover {
  color: var(--vh-dorado);
}

/* ── WhatsApp flotante + volver arriba ─────────────────── */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 1300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--vh-verde-wa);
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

.volver-arriba {
  position: fixed;
  right: 26px;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  z-index: 1290;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--vh-navy);
  color: var(--vh-dorado);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.volver-arriba.visible {
  opacity: 1;
  pointer-events: auto;
}

.volver-arriba:hover {
  transform: translateY(-3px);
}

/* ── Animaciones de aparición ──────────────────────────── */

.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible,
.reveal-stagger.visible > *,
.reveal-stagger.visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .40s; }

/* ── Movimiento reducido ───────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .pulse-dot { animation: none; }

  /* entrada y destellos de los valores sin movimiento */
  #nosotros .reveal-stagger > *,
  #nosotros .reveal-stagger.visible > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .valor-chip::before { display: none; }
  .valor-chip > i { transition: none; }
  .paso-card::before { display: none; }
  .paso-card .paso-icono { transition: none; }

  .servicio-card,
  .paso-card,
  .valor-chip,
  .whatsapp-float,
  .volver-arriba {
    transition: none;
  }
}

/* ── Ajustes responsive ────────────────────────────────── */

@media (max-width: 575.98px) {
  /* El contenido define la altura: evita que el centrado vertical
     empuje el texto por debajo del header fijo */
  .hero {
    min-height: 0;
    max-height: none;
  }

  .hero .display-4 {
    font-size: 2.15rem;
  }

  /* sin salto forzado: evita la "e" huérfana en pantallas estrechas */
  .hero-title br {
    display: none;
  }

  /* más aire lateral en todo el sitio (los bloques no quedan pegados al borde) */
  .container {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }

  /* sin márgenes negativos: las líneas de contacto alinean con el resto */
  .contact-linea {
    margin-left: 0;
    margin-right: 0;
  }

  /* el canal g-5 (−24px por lado) supera el padding del contenedor móvil
     y asomaba 2px por cada lado */
  #contacto .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  /* materiales: icono arriba del texto para no desbordar la media columna */
  .material-cabecera {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: .65rem;
  }

  .material-icono {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .form-card {
    padding: 1.4rem 1.15rem;
  }

  .stat-numeral {
    font-size: 1.5rem;
  }

  .volver-arriba { display: none; }
}
