/* ==========================================================================
   AMCh Asistencia Maquinaria Chile — estilos
   Mobile-first · breakpoints: 360 / 768 / 1024 / 1440
   ========================================================================== */

:root {
  /* Marca */
  --azul-oscuro: #1B3A6B;
  --azul: #2B5EA7;
  /* Acento: SOLO acciones (botones principales, enlaces de acción),
     valoraciones (estrellas) y foco de teclado. Para cambiarlo, editar estas 2 líneas. */
  --acento: #F5A623;
  --acento-hover: #E0931A;
  /* Alternativa amarillo maquinaria: --acento: #F2B705; --acento-hover: #D9A404; */
  --azul-claro: #A9C4EC;   /* hover y estado activo de navegación sobre fondos oscuros */
  /* Neutros fríos, planos (sin texturas) */
  --gris-acero: #F3F5F7;   /* fondo de secciones alternas */
  --linea: #DDE2E8;        /* bordes y separadores */
  --sombra-leve: 0 1px 3px rgba(16, 32, 64, .06);
  --gris-claro: #F5F5F5;
  --blanco: #FFFFFF;
  --texto: #1E1E1E;
  --texto-suave: #4A4F57;
  --borde: #E1E4E8;

  /* Tipografía */
  --font-titulos: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-cuerpo: "Barlow", "Segoe UI", Arial, sans-serif;
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-sm: 0.9375rem;
  /* Barlow Condensed es más angosta: títulos ~11% más grandes */
  --fs-h1: clamp(2.25rem, 1.55rem + 3.35vw, 3.9rem);
  --fs-h2: clamp(1.65rem, 1.33rem + 1.65vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.17rem + 0.4vw, 1.45rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.45vw, 1.3rem);

  /* Espaciado / forma */
  --radio: 8px;
  --sombra: 0 1px 2px rgba(16, 32, 64, .06), 0 4px 16px rgba(16, 32, 64, .07);
  --sombra-hover: 0 2px 4px rgba(16, 32, 64, .08), 0 12px 28px rgba(16, 32, 64, .12);
  --header-h: 64px;
  --gutter: 1rem;
  --section-y: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
  --max-w: 1200px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
/* Sin scroll-behavior: smooth global: así la carga de una página o de un #ancla
   es inmediata. El desplazamiento suave de los enlaces internos (#) lo hace main.js. */
body {
  margin: 0;
  font-family: var(--font-cuerpo);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2 { letter-spacing: .01em; }
h1, h2, h3, h4 {
  font-family: var(--font-titulos);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--azul-oscuro);
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--azul); text-underline-offset: 3px; }
a:hover { color: var(--azul-oscuro); }
:where(.grid, .steps, .chips, .contact__list, .footer ul, .nav__list) { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--acento);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.icon {
  width: 24px; height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--acento);
  color: var(--texto);
  font-weight: 700;
  border-radius: var(--radio);
  text-decoration: none;
}
.skip-link:focus { top: .75rem; }

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .625rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radio);
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--lg { min-height: 52px; padding: .8rem 1.6rem; font-family: var(--font-titulos); font-size: 1.15rem; letter-spacing: .02em; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--acento); /* respaldo para navegadores sin color-mix() */
  background: linear-gradient(135deg, color-mix(in srgb, var(--acento) 82%, #fff) 0%, var(--acento) 50%, var(--acento-hover) 100%);
  color: var(--texto);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--acento) 28%, transparent);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--acento) 0%, var(--acento-hover) 100%);
  color: var(--texto);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--acento) 35%, transparent);
}
.btn--outline-light { border-color: var(--blanco); color: var(--blanco); background: transparent; }
.btn--outline-light:hover { background: var(--blanco); color: var(--azul-oscuro); }
.btn[disabled] { opacity: .7; cursor: progress; }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--azul-oscuro);
  color: var(--blanco);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--blanco);
  text-decoration: none;
  min-height: 44px;
}
.brand:hover { color: var(--blanco); }
.brand__logo {
  width: 42px; height: 43px;
  background: var(--blanco);
  border-radius: 6px;
  padding: 3px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-cuerpo); font-weight: 600; font-size: 1.3rem; letter-spacing: .02em; }
.brand__tag { display: none; font-size: .72rem; opacity: .85; letter-spacing: .03em; }

/* Botón hamburguesa */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px; height: 48px;
  margin-right: -6px;
  background: transparent;
  border: 0;
  border-radius: var(--radio);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 24px; height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil (panel desplegable) */
.nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--azul-oscuro);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: .5rem var(--gutter) 1.25rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .2s, transform .2s, visibility 0s;
}
/* Sin JS el menú queda visible para no bloquear la navegación */
html:not(.js) .nav { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .header__inner { flex-wrap: wrap; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: .25rem .25rem;
  color: var(--blanco);
  text-decoration: none;
  font-family: var(--font-cuerpo);
  font-weight: 500;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: var(--azul-claro); }
.nav__cta { width: 100%; margin-top: 1rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 760px);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--azul-oscuro);
  color: var(--blanco);
  overflow: hidden;
}
.hero__bg, .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__bg img { object-fit: cover; object-position: center 70%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Móvil: texto sobre el cielo, la máquina queda visible abajo */
  background: linear-gradient(180deg, rgba(18, 40, 76, .9) 0%, rgba(27, 58, 107, .7) 45%, rgba(27, 58, 107, .15) 100%);
}
@media (max-width: 767px) {
  .hero { align-items: flex-start; }
}
@media (min-width: 768px) {
  .hero__bg img { object-position: center; }
  /* Escritorio: texto a la izquierda, la excavadora se ve nítida a la derecha */
  .hero::after {
    background: linear-gradient(90deg, rgba(18, 40, 76, .92) 0%, rgba(27, 58, 107, .72) 40%, rgba(27, 58, 107, .15) 70%, rgba(27, 58, 107, 0) 100%);
  }
}
.hero__content { max-width: calc(var(--max-w) + var(--gutter) * 2); }
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .35rem .8rem;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  color: rgba(255, 255, 255, .8);
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero__title {
  max-width: 17ch;
  font-size: var(--fs-h1);
  color: var(--blanco);
  margin-bottom: 1rem;
}
.hero__lead {
  max-width: 60ch;
  font-size: var(--fs-lead);
  color: #E4EAF3;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-direction: column; gap: .75rem; }
.hero__actions .btn { width: 100%; }

/* ==========================================================================
   SECCIONES GENÉRICAS
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--gris-acero); }
.section--dark { background: var(--azul-oscuro); color: #E4EAF3; }
.section--dark .section__title { color: var(--blanco); }
.section__header { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title { font-size: var(--fs-h2); }
.section__intro { font-size: var(--fs-lead); color: var(--texto-suave); }

.grid { display: grid; gap: 1.25rem; }

/* ---------- Tarjetas de servicio ---------- */
.grid--services { grid-template-columns: 1fr; }
.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-top: 3px solid var(--azul);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--sombra-hover); }
@media (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); }
}
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1rem;
  border-radius: var(--radio);
  background: rgba(43, 94, 167, .1);
  color: var(--azul);
}
.card__icon .icon { width: 28px; height: 28px; }

/* Tarjetas de servicio con la foto como fondo completo */
.card { overflow: hidden; }
.grid--services .card {
  position: relative;
  isolation: isolate;
  justify-content: flex-end;
  min-height: 280px;
  padding-bottom: 1rem;
  border: 0;
  color: #E4EAF3;
}
.grid--services .card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 40, 76, 0) 0%, rgba(18, 40, 76, .05) 30%, rgba(18, 40, 76, .7) 58%, rgba(18, 40, 76, .94) 82%, rgba(18, 40, 76, .97) 100%);
}
.grid--services .card__title { color: var(--blanco); }
.grid--services .card__text { color: #E4EAF3; flex: 0 0 auto; margin-bottom: 0; }
.grid--services .card__link { margin-top: .25rem; }
.grid--services .card__link { color: var(--acento); }
.grid--services .card__link:hover { color: var(--blanco); }
.grid--services .card__icon { width: 40px; height: 40px; margin-bottom: .75rem; background: var(--azul); color: var(--blanco); }
.grid--services .card__icon .icon { width: 22px; height: 22px; }
.card__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul) 100%);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (prefers-reduced-motion: no-preference) {
  .card:hover .card__media img { transform: scale(1.04); }
}
/* Encuadre por foto (fotos 7 y 8) */
.card__media img.img--flota { object-position: 30% 45%; }        /* supervisor (izq.) y fila de camionetas */
.card__media img.img--consultoria { object-position: center 30%; } /* ventana con excavadora; personas abajo */
@media (min-width: 1024px) {
  .grid--services .card { min-height: 340px; }
}
.card__title { font-size: var(--fs-h3); font-weight: 600; }
.card__text { color: var(--texto-suave); flex: 1; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  align-self: flex-start;
  min-height: 44px;
  margin-top: .75rem;
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: .95rem;
  color: var(--azul);
  text-decoration: none;
}
.card__link:hover { color: var(--azul-oscuro); text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .card__link .icon { transition: transform .2s; }
  .card__link:hover .icon { transform: translateX(3px); }
}

/* ---------- Pasos ---------- */
.steps {
  display: grid;
  gap: 0;
  counter-reset: paso;
}
/* Celular: línea vertical a la izquierda; un punto de 8px a la altura de cada etiqueta */
.step {
  position: relative;
  padding: 0 0 2rem 1.75rem;
}
.step:last-child { padding-bottom: 0; }
.step::before { /* línea conectora: del punto de este paso al punto del siguiente */
  content: "";
  position: absolute;
  left: 3.5px;
  top: .5rem;
  bottom: -.5rem;
  width: 1px;
  background: rgba(43, 94, 167, .3);
}
.step:last-child::before { display: none; }
.step::after { /* punto */
  content: "";
  position: absolute;
  left: 0;
  top: calc(.5rem - 4px);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--azul);
}
.step__label {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: .8rem;
  line-height: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--azul);
}
.step__title { font-size: var(--fs-h3); font-weight: 600; margin-bottom: .35rem; }
.step__text { color: var(--texto-suave); }

/* ---------- Misión / Visión ---------- */
.mv { display: grid; }
.mv__col + .mv__col { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--linea); }
.mv__label {
  margin-bottom: .6rem;
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--azul);
}
.mv__text { margin: 0; font-size: 1.2rem; line-height: 1.55; color: var(--azul-oscuro); }


/* ---------- Cobertura ---------- */
.coverage { display: grid; gap: 2rem; align-items: center; }
.coverage__text p { color: var(--texto-suave); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1.25rem; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: var(--blanco);
  border: 1px solid rgba(43, 94, 167, .35);
  color: var(--azul-oscuro);
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: .9rem;
}
.chip:first-child { background: var(--azul-oscuro); color: var(--blanco); border-color: var(--azul-oscuro); }
.coverage__note a { display: inline-block; padding-block: .55rem; font-weight: 700; } /* área táctil ≥ 40px */
/* Mapa de Cobertura: imagen de OpenStreetMap (recortada sin cordillera) enlazada a Google Maps.
   El alto lo da la propia imagen, con la proporción de cada recorte, así no se recorta nada más. */
.map {
  position: relative;
  display: block;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  background: #E8ECEF;
  transition: box-shadow .2s;
}
.map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 544 / 680;               /* celular: recorte x 202–746, y 60–740 (4:5) */
  filter: saturate(.75) contrast(1.05);
}
@media (min-width: 768px) {
  .map img { aspect-ratio: 650 / 730; }   /* escritorio: recorte x 120–770, y 30–760 */
}
.map::after { /* capa azul de marca, sutil */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 107, .12);
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* Marcador sobre Rancagua, justo bajo el nombre para no taparlo.
   En la imagen original (1013x792) el centro urbano está en x ≈ 548 y la palabra
   "Rancagua" termina en y = 283; cada recorte convierte esos valores a porcentaje. --pin-y apunta a ese borde inferior y el +13px
   suma 3px de aire y 10px de radio del punto con su borde, a cualquier escala. */
.map__marker {
  --pin-x: 63.6%;   /* celular: (548 - 202) / 544 */
  --pin-y: 32.8%;   /* celular: (283 - 60) / 680 */
  position: absolute;
  z-index: 1;
  left: var(--pin-x);
  top: calc(var(--pin-y) + 13px);
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--acento);
  box-shadow: 0 0 0 3px var(--blanco), 0 2px 6px rgba(0, 0, 0, .35);
}
.map__marker::after { /* anillo pulsante */
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--acento);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .map__marker::after { animation: pulso-mapa 2.4s ease-out infinite; }
}
@media (min-width: 768px) {
  .map__marker { --pin-x: 65.8%; --pin-y: 34.7%; }   /* escritorio: (548 - 120) / 650 · (283 - 30) / 730 */
}
@keyframes pulso-mapa {
  from { transform: scale(1); opacity: .7; }
  to { transform: scale(2.6); opacity: 0; }
}
.map-block { width: 100%; max-width: 544px; }   /* celular: no más ancho que la imagen (544 px) */
@media (min-width: 768px) { .map-block { max-width: 560px; } }
@media (min-width: 1024px) { .map-block { justify-self: start; } }   /* a la izquierda de su columna, junto al texto */
.map-link { display: block; color: inherit; text-decoration: none; }
.map-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; margin-top: .35rem; }
.map-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-family: var(--font-cuerpo);
  font-size: .8rem;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
}
.map-meta a:hover { color: var(--blanco); text-decoration: underline; }
.map-meta a:last-child { margin-left: auto; } /* "Ver en Google Maps" siempre a la derecha */

/* Cobertura con foto de fondo del valle */
.section--photo { position: relative; isolation: isolate; overflow: hidden; background: var(--azul-oscuro); color: #E4EAF3; }
.section__bg, .section__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.section__bg img { object-fit: cover; object-position: center 60%; }
.section--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, #13294D 0%, rgba(19, 41, 77, 0) 22%),
    linear-gradient(180deg, rgba(18, 40, 76, .9) 0%, rgba(27, 58, 107, .72) 55%, rgba(18, 40, 76, .55) 100%);
}
.section--photo .section__title { color: var(--blanco); }
.section--photo .coverage__text p { color: #E4EAF3; }
.section--photo .chip { background: rgba(255, 255, 255, .95); border-color: transparent; }
.section--photo .chip:first-child { background: var(--azul); color: var(--blanco); }
.section--photo .coverage__note a { color: var(--acento); }
.section--photo .map { border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.section--photo .map-link:hover .map { box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
@media (min-width: 768px) {
  .section__bg img { object-position: center 55%; }
  .section--photo::after {
    background:
      linear-gradient(180deg, #13294D 0%, rgba(19, 41, 77, 0) 25%),
      linear-gradient(90deg, rgba(18, 40, 76, .92) 0%, rgba(27, 58, 107, .75) 45%, rgba(27, 58, 107, .35) 100%);
  }
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact { display: grid; gap: 2rem; align-items: start; }
.form {
  padding: 1.5rem 1.25rem;
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  box-shadow: var(--sombra-leve);
}
.form__required-note { font-size: var(--fs-sm); color: var(--texto-suave); }
.form__grid { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label { font-weight: 700; font-size: .95rem; }
.req { color: #B3261E; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  border: 1.5px solid #8A929C;
  border-radius: var(--radio);
  background: var(--blanco);
  font-size: 1rem; /* evita zoom en iOS */
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3A6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #6B7280; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(43, 94, 167, .25);
}
.field [aria-invalid="true"] { border-color: #B3261E; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .2); }
.field__error { margin: 0; min-height: 0; color: #B3261E; font-size: .875rem; font-weight: 700; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status {
  margin-top: 1rem;
  padding: 0;
  border-radius: var(--radio);
  font-weight: 700;
}
.form__status:empty { display: none; }
.form__status.is-success { padding: 1rem; background: #E7F5EC; color: #14532D; border: 1px solid #A7D7B8; }
.form__status.is-error { padding: 1rem; background: #FDECEA; color: #8A1C14; border: 1px solid #F3B8B2; }
.form__status { overflow-wrap: anywhere; }
.form__status a { color: inherit; }

.contact__title { font-size: var(--fs-h3); }
.contact__list { display: grid; gap: .5rem; }
.contact__item {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 56px;
  padding: .75rem 1rem;
  border-radius: var(--radio);
  background: var(--gris-claro);
  color: var(--texto);
  text-decoration: none;
  transition: background-color .2s;
}
a.contact__item:hover { background: #E9EEF5; color: var(--texto); }
.contact__item strong { display: block; font-family: var(--font-cuerpo); font-weight: 600; font-size: .8rem; color: var(--azul-oscuro); }
.contact__item > span:nth-child(2) { min-width: 0; }
.contact__value { display: block; color: var(--texto-suave); }
.contact__value--break, .break { overflow-wrap: break-word; }
.contact__icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--azul-oscuro);
  color: var(--blanco);
}
.contact__icon .icon { width: 20px; height: 20px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #142D54;
  color: #D5DEEB;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 5.5rem; /* espacio para el botón flotante en móvil */
}
.footer a { color: #D5DEEB; text-decoration: none; }
.footer a:hover { color: var(--blanco); text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__logo {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  flex: none;
  padding: 8px;
  border-radius: var(--radio);
  background: var(--blanco);
}
.footer__logo img { width: 54px; height: auto; }
.footer__name { margin: 0; font-family: var(--font-cuerpo); font-weight: 600; font-size: 1.4rem; color: var(--blanco); }
.footer__tagline { margin: 0; color: var(--azul-claro); font-weight: 600; }
.footer__title {
  margin-bottom: .75rem;
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blanco);
}
.footer__col ul { display: grid; gap: .1rem; }
.footer__col li { min-height: 44px; display: flex; align-items: center; }
.footer__col li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__social { display: flex !important; gap: .5rem !important; }
.footer__social a {
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
}
.footer__social a:hover { background: var(--azul); color: var(--blanco); border-color: var(--azul); text-decoration: none; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; font-size: .875rem; }
.footer__bottom p { margin: 0; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1A7F43; /* verde con contraste AA para el ícono blanco */
  color: var(--blanco);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
  transition: transform .2s, background-color .2s;
}
.wa-float:hover { background: #146636; color: var(--blanco); }
.wa-float .icon { width: 30px; height: 30px; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float:hover { transform: scale(1.06); }
}

/* ---------- Animaciones de aparición ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease-out, transform .35s ease-out;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ==========================================================================
   BREAKPOINTS
   ========================================================================== */

/* ≥ 360px: teléfonos estándar */
@media (min-width: 360px) {
  :root { --gutter: 1.25rem; }
  .form { padding: 1.75rem 1.5rem; }
}

/* ≥ 480px: teléfonos grandes */
@media (min-width: 480px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
  .brand__tag { display: block; }
}

/* ≥ 768px: tablet */
@media (min-width: 768px) {
  :root { --gutter: 2rem; --header-h: 72px; }
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .mv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv__col + .mv__col { margin-top: 0; padding-top: 0; border-top: 0; padding-left: 3rem; border-left: 1px solid var(--linea); }
  .mv__col:first-child { padding-right: 3rem; }
  .form__grid { grid-template-columns: repeat(2, 1fr); }
  .field--full { grid-column: 1 / -1; }
  .form { padding: 2rem; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding-bottom: 2rem; }
  .footer__bottom { padding-bottom: 1rem; }
  .footer__bottom .container { padding-right: calc(var(--gutter) + 72px); }

  /* Pasos en 2x2 */
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
  .step { padding-bottom: 0; }
  .step::before { display: none; } /* tablet 2x2: solo los puntos */
}

/* ≥ 1024px: escritorio */
@media (min-width: 1024px) {
  /* Menú horizontal */
  .nav-toggle { display: none; }
  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; gap: .25rem; }
  .nav__link {
    border: 0;
    padding: .25rem .65rem;
    border-radius: 6px;
    position: relative;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: .65rem; right: .65rem; bottom: 8px;
    height: 2px;
    background: rgba(255, 255, 255, .85);
    transform: scaleX(0);
    transition: transform .2s;
  }
  .nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }
  .nav__link:hover { color: var(--blanco); }
  .nav__link[aria-current="true"] { color: var(--blanco); }
  .nav__cta { width: auto; margin: 0; }

  .grid--services { grid-template-columns: repeat(3, 1fr); }

  /* Pasos horizontales con línea conectora */
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  /* Escritorio: línea horizontal sobre las 4 columnas, con un punto sobre cada paso */
  .step { padding: 1.75rem 0 0; text-align: left; }
  .step::after { top: 0; }
  .step::before {
    display: block;
    left: 0; right: -1.5rem;
    top: 3.5px; bottom: auto;
    width: auto; height: 1px;
  }
  .step:last-child::before { display: block; right: 0; }

  .coverage { grid-template-columns: 1fr 1fr; gap: 4rem; }
  /* centra el texto respecto del mapa (no del mapa + línea de créditos de abajo) */
  .coverage__text { margin-bottom: calc(.35rem + 24px); }
  .contact { grid-template-columns: 3fr 2fr; gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr .8fr; }
  .hero { min-height: min(82vh, 720px); }
}

/* ≥ 1440px: pantallas grandes */
@media (min-width: 1440px) {
  :root { --max-w: 1280px; }
  .nav { gap: 2rem; }
  .nav__link { padding-inline: .85rem; }
}

/* ==========================================================================
   ESTILO MODERNO: degradados, profundidad y texturas sutiles
   ========================================================================== */

/* Header con degradado */
.header {
  background: linear-gradient(90deg, #142D54 0%, #1B3A6B 55%, #224780 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.nav { background: linear-gradient(180deg, #1B3A6B 0%, #142D54 100%); }
@media (min-width: 1024px) { .nav { background: none; } }

/* Botón de contorno claro: fondo semitransparente (sin backdrop-filter, por rendimiento) */
.btn--outline-light { background: rgba(255, 255, 255, .06); }

/* Sección oscura: degradado azul profundo */
.section--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 5%, rgba(43, 94, 167, .5) 0%, transparent 45%),
    linear-gradient(180deg, #21467F 0%, #1B3A6B 45%, #13294D 100%);
}



/* Canales de contacto */
.contact__icon { background: linear-gradient(135deg, #2B5EA7 0%, #142D54 100%); }
.contact__item { background: linear-gradient(135deg, #F3F6FA 0%, #ECF1F7 100%); border: 1px solid transparent; transition: border-color .2s, background .2s; }
a.contact__item:hover { border-color: rgba(43, 94, 167, .3); background: linear-gradient(135deg, #EEF3F9 0%, #E4EBF5 100%); }


/* Footer con degradado */
.footer { background: linear-gradient(180deg, #142D54 0%, #0D1F3C 100%); }

/* Impresión */
@media print {
  .header, .wa-float, .hero__bg, .map, .form { display: none !important; }
  .hero { min-height: auto; color: var(--texto); background: none; }
  .hero__title { color: var(--azul-oscuro); }
}

/* ==========================================================================
   PÁGINAS DE SERVICIO
   (tarjetas clicables del index + páginas /servicios/*.html)
   ========================================================================== */

/* Tarjeta de servicio completa clicable: "enlace extendido".
   .card::after ya se usa para el degradado, por eso el área clicable
   la crea el ::after del enlace, que cubre toda la tarjeta. */
.grid--services .card { cursor: pointer; }
.grid--services .card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.grid--services .card__link:focus-visible { outline: none; }
.grid--services .card:focus-within { outline: 3px solid var(--acento); outline-offset: 3px; }
.grid--services .card:focus-within .card__media img { transform: scale(1.04); }

/* Hero del servicio: misma técnica que la portada, más bajo */
.hero--servicio {
  min-height: min(68vh, 560px);
  padding-block: clamp(2.5rem, 7vw, 5rem);
}
.hero--servicio .hero__bg img { object-position: center; }
/* Consultoría: encuadre más alto para que se vea la excavadora por la ventana */
.hero--servicio .hero__bg img.img--consultoria { object-position: center 22%; }
.hero--servicio .hero__title { max-width: 20ch; }

/* Ruta de navegación */
.breadcrumb { margin-bottom: 1rem; font-size: .9rem; font-weight: 500; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 .5rem; color: rgba(255, 255, 255, .55); }
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #E4EAF3;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .4);
}
.breadcrumb a:hover { color: var(--azul-claro); }
.breadcrumb [aria-current="page"] { color: var(--blanco); font-weight: 600; }

/* ¿En qué consiste? */
.prose { max-width: 760px; }
.prose p { font-size: var(--fs-lead); color: var(--texto-suave); }



/* Preguntas frecuentes (acordeón con <details>) */
.faq { display: grid; gap: .75rem; max-width: 860px; }
.faq__item {
  background: linear-gradient(160deg, #FFFFFF 0%, #F6F8FB 100%);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.faq__item[open] { border-color: rgba(43, 94, 167, .35); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: .9rem 1.25rem;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-cuerpo);
  font-weight: 600;
  font-size: 1rem;
  color: var(--azul-oscuro);
  border-radius: var(--radio);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  margin-right: 4px;
  border-right: 2.5px solid var(--azul);
  border-bottom: 2.5px solid var(--azul);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s;
}
.faq__item[open] > .faq__question::after { transform: translateY(3px) rotate(-135deg); }
.faq__question:hover { color: var(--azul); }
.faq__answer { padding: 0 1.25rem 1.1rem; color: var(--texto-suave); }

/* Bloque final de llamado a la acción */
.cta-band { text-align: center; }
.cta-band .section__title { max-width: 26ch; margin-inline: auto; }
.cta-band__text { max-width: 52ch; margin: 0 auto 1.75rem; font-size: var(--fs-lead); }

/* Volver a todos los servicios */
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 2rem;
  font-family: var(--font-cuerpo);
  font-weight: 600;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* Nota bajo "Para quién es" (servicios de gestión) */
.segment-note {
  margin-top: 1.5rem;
  font-family: var(--font-cuerpo);
  font-size: .95rem;
  font-weight: 500;
  color: #4F5E75; /* gris azulado */
}

/* Sección Servicios del index: dos grupos (operativos / gestión y consultoría) */
.service-group__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin-bottom: .35rem; }
.service-group__intro { max-width: 62ch; margin-bottom: 1.5rem; color: var(--texto-suave); }
.service-group + .service-group { margin-top: clamp(3rem, 2.5rem + 2vw, 4rem); }
.service-group--gestion {
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--linea);
  border-radius: 12px;
  background: var(--blanco);
}
.service-group--gestion .segment-note { margin-bottom: 0; }
@media (min-width: 768px) {
  .grid--services.grid--services-gestion { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  /* Operativos: 2x2 hasta 1279px (en 4 columnas quedarían angostas) */
  .grid--services.grid--services-ops { grid-template-columns: repeat(2, 1fr); }
  /* Gestión: tarjetas anchas y más bajas (formato horizontal) */
  .grid--services-gestion .card { min-height: 260px; }
  .grid--services-gestion .card__text { max-width: 44ch; }
}
@media (min-width: 1280px) {
  .grid--services.grid--services-ops { grid-template-columns: repeat(4, 1fr); }
  /* Más altas en 4 columnas para que el texto quede sobre la zona oscura del degradado */
  .grid--services-ops .card { min-height: 420px; }
}

/* ==========================================================================
   MEJORAS UX v2
   ========================================================================== */

/* Botón secundario (contorno azul) para fondos claros */
.btn--secondary { border-color: var(--azul); color: var(--azul-oscuro); background: var(--blanco); }
.btn--secondary:hover { background: var(--azul-oscuro); border-color: var(--azul-oscuro); color: var(--blanco); }

/* ---------- Reseñas de Google ---------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .85rem; margin: .75rem 0 0; }
.rating-summary__score { font-family: var(--font-titulos); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--azul-oscuro); }
.rating-summary__count { color: var(--texto-suave); }
.stars { display: inline-flex; gap: 2px; color: var(--acento); }
.icon-star { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rating-summary .icon-star { width: 22px; height: 22px; }

.reviews { display: grid; gap: 1.25rem; }
.reviews__side { display: grid; gap: 1.25rem; }
.review {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 1.5rem;
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  box-shadow: var(--sombra-leve);
}
.review::before { /* borde superior azul */
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--azul);
}
.review__quote { margin: .75rem 0 1rem; }
.review__quote p { margin: 0; color: var(--texto); font-size: 1.05rem; }
.review__author { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.review__author strong { font-family: var(--font-cuerpo); font-weight: 600; font-size: 1rem; color: var(--azul-oscuro); }
.review__source { font-size: .85rem; color: var(--texto-suave); }
.review--featured { padding: 2rem 1.5rem 1.75rem; }
.review--featured::after { /* comillas decorativas */
  content: "\201C";
  position: absolute;
  top: -.15em; right: .15em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 1;
  color: rgba(43, 94, 167, .15);
  pointer-events: none;
}
.review--featured .review__quote p { font-size: 1.15rem; line-height: 1.65; }
.reviews__actions { margin-top: 2rem; }
@media (min-width: 1024px) {
  .reviews { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: stretch; }
  .review--featured { padding: 2.5rem 2.25rem 2rem; }
  .review--featured::after { font-size: 10rem; }
}

/* ---------- Tarjetas de servicio alineadas en escritorio ---------- */
@media (min-width: 1024px) {
  .grid--services-ops .card__title,
  .grid--services-otros .card__title { min-height: 2.4em; }
  .grid--services-ops .card__text,
  .grid--services-otros .card__text { min-height: 6.4em; } /* 4 líneas × 1.6 */
}

/* ---------- Tarjeta lateral fija en páginas de servicio ---------- */
.aside-cta { display: none; }
@media (min-width: 1024px) {
  .with-aside {
    display: grid;
    grid-template-columns: minmax(0, 62fr) minmax(0, 34fr);
    column-gap: 4%;
    align-items: start;
  }
  .with-aside .prose, .with-aside .faq { max-width: none; }
  .aside-cta {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 1.5rem;
    background: var(--blanco);
    border: 1px solid var(--linea);
    border-top: 3px solid var(--azul);
    border-radius: var(--radio);
    box-shadow: var(--sombra-leve);
  }
  .aside-cta__title { font-family: var(--font-cuerpo); font-weight: 600; font-size: var(--fs-h3); line-height: 1.25; color: var(--azul-oscuro); margin-bottom: .5rem; }
  .aside-cta__text { color: var(--texto-suave); margin-bottom: 1.25rem; }
  .aside-cta .btn + .btn { margin-top: .75rem; }
  .aside-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    margin-top: .75rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    text-decoration: none;
  }
  .aside-cta__phone:hover { text-decoration: underline; }
}

/* ---------- Footer con columna Servicios (Redes bajo Contacto) ---------- */
.footer__title--redes { margin-top: 1.5rem; }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.25fr 1fr 1.35fr 1.4fr; gap: 2rem; }
}

/* ==========================================================================
   AJUSTES MENORES v3
   ========================================================================== */

/* Footer más corto en celular (< 768px):
   fila 1 marca · fila 2 Navegación | Servicios · fila 3 Contacto (con Redes debajo).
   El correo no cabe junto a las redes sin cortarse, por eso Contacto va a ancho completo. */
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; row-gap: 2rem; }
  .footer__brand,
  .footer__grid > .footer__col:last-child { grid-column: 1 / -1; }
  .footer__grid > nav.footer__col ul { gap: 8px; }
  .footer__grid > nav.footer__col li { min-height: 36px; }
  .footer__grid > nav.footer__col li a { min-height: 36px; line-height: 1.3; padding-block: .25rem; }
}

/* Reseña destacada: contenido centrado verticalmente en escritorio */
@media (min-width: 1024px) {
  .review--featured { display: flex; flex-direction: column; justify-content: center; }
}

/* ==========================================================================
   REDISEÑO v4: formatos editoriales (sin tarjetas)
   ========================================================================== */

/* ¿Por qué AMCh?: título + bajada a la izquierda, lista numerada a la derecha */
.why { display: grid; gap: 2rem; }
.why__lead { max-width: 46ch; font-size: var(--fs-lead); color: #E4EAF3; }
.why__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.why__item { padding: 1.35rem 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.why__title { margin-bottom: .3rem; font-size: 1.35rem; font-weight: 600; color: var(--blanco); }
.why__text { margin: 0; color: rgba(255, 255, 255, .8); }
@media (min-width: 1024px) {
  .why { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .why__item { padding: 1.6rem 0; }
}

/* Qué incluye: lista con check, en 2 columnas desde tablet */
.check-list { display: grid; list-style: none; margin: 0; padding: 0; }
.check-list__item {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: .85rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--linea);
}
.check-list__icon { width: 22px; height: 22px; margin-top: .15rem; color: var(--azul); stroke-width: 2.5; }
.check-list__title { margin-bottom: .25rem; font-size: 1.25rem; font-weight: 700; }
.check-list__text { margin: 0; color: var(--texto-suave); }
@media (min-width: 768px) {
  .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}

/* Para quién es: segmentos en fila (escritorio) o en columna (celular/tablet) */
.segments { display: grid; list-style: none; margin: 0; padding: 0; }
.segments__item { padding: 1.15rem 0; border-top: 1px solid var(--linea); }
.segments__item:first-child { border-top: 0; padding-top: 0; }
.segments__name { margin-bottom: .3rem; font-size: 1.4rem; font-weight: 600; }
.segments__text { margin: 0; color: var(--texto-suave); }
@media (min-width: 1024px) {
  .segments { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .segments__item { padding: 0 1.75rem; border-top: 0; border-left: 1px solid var(--linea); }
  .segments__item:first-child { padding-left: 0; border-left: 0; }
  .segments__item:last-child { padding-right: 0; }
}
