/* =========================================================
   VIRTUAL TRANSPORT — Hoja de estilos principal
   Autor: Sitio corporativo estático (HTML5 + CSS3 + JS vanilla)
   Enfoque: mobile-first, accesible y fácil de mantener.
   ========================================================= */

/* ----------------------------------------------------------
   1. VARIABLES (tokens de diseño)
   ---------------------------------------------------------- */
:root {
  /* Paleta de marca */
  --green-900: #112125;   /* Verde oscuro principal */
  --green-850: #0d1a1d;   /* Variante más profunda */
  --green-800: #16292e;   /* Superficie oscura */
  --green-700: #1d343a;   /* Superficie / borde sutil */
  --carbon:    #3F3F45;   /* Gris carbón */
  --white:     #FFFFFF;
  --gray-100:  #F2F2F2;   /* Gris claro */
  --yellow:    #FFF315;   /* Amarillo acento */
  --orange:    #F9A22D;   /* Naranja acento */
  --terracotta:#B54525;   /* Rojo terracota */
  --green-2:   #8BA67B;   /* Verde secundario */
  --black:     #000000;
  --border-1:  #8f8f8f;
  --border-2:  #b3b3b3;
  --border-3:  #d6d6d6;

  /* Roles semánticos */
  --bg:            var(--green-900);
  --bg-alt:        var(--green-850);
  --surface:       #16292e;
  --surface-2:     #1d343a;
  --text:          #e8edee;
  --text-muted:    #a9b6b9;
  --heading:       var(--white);
  --accent:        var(--yellow);
  --accent-2:      var(--orange);
  --on-light-text: #243033;

  /* Tipografía */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Montserrat", var(--font-body);

  /* Medidas */
  --container: 1200px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .18);
  --shadow:    0 14px 34px rgba(0, 0, 0, .28);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, .38);

  /* Animación */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .18s;
  --t: .32s;

  --header-h: 76px;
}

/* ----------------------------------------------------------
   2. RESET BÁSICO
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--heading);
  font-weight: 700;
}

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

/* Accesibilidad: salto al contenido */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  background: var(--accent);
  color: var(--green-900);
  padding: .7rem 1.2rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------
   3. LAYOUT BASE
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  position: relative;
}
.section--dark   { background: var(--bg); }
.section--darker { background: var(--bg-alt); }
.section--light  { background: var(--gray-100); color: var(--on-light-text); }
.section--light h2,
.section--light h3 { color: #16242a; }

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}
.section--light .section__eyebrow { color: var(--terracotta); }
.section__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.01em;
}
.section__lead {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section--light .section__lead { color: #4a585c; }
.section__cta { text-align: center; margin-top: clamp(2rem, 5vw, 3rem); }

/* ----------------------------------------------------------
   4. BOTONES
   ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--green-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(-1px); }

.btn--primary   { --btn-bg: var(--yellow); --btn-fg: #1a1a08; }
.btn--secondary { --btn-bg: var(--orange); --btn-fg: #2a1602; }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: var(--white); color: var(--green-900); border-color: var(--white); }
.btn--ghost.btn--dark { color: var(--white); border-color: rgba(255,255,255,.3); }
.btn--ghost.btn--dark:hover { background: var(--accent); color: var(--green-900); border-color: var(--accent); }

.btn--sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* ----------------------------------------------------------
   5. NAVBAR
   ---------------------------------------------------------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--green-900);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), height var(--t) var(--ease);
}
/* Transparente sobre el hero, sólido al hacer scroll */
.navbar[data-transparent]:not(.is-scrolled) {
  background: linear-gradient(to bottom, rgba(8, 18, 21, .65), rgba(8, 18, 21, 0));
  border-bottom-color: transparent;
}
.navbar.is-scrolled {
  background: rgba(13, 26, 29, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__logo { height: 44px; width: auto; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -.01em;
  color: var(--white);
  white-space: nowrap;
}
.brand__name strong { color: var(--accent); font-weight: 800; }

/* Menú */
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .55rem .85rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  color: #dfe7e8;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .35rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--white); }
.nav__cta { margin-left: .5rem; }

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translate(-50%, -8px); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, 8px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }

/* ----------------------------------------------------------
   6. HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background-size: cover;
  background-position: center;
  background-color: var(--green-850);
  isolation: isolate;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(8, 18, 21, .92) 0%, rgba(11, 26, 29, .72) 45%, rgba(11, 26, 29, .35) 100%),
    linear-gradient(to top, rgba(8, 18, 21, .9), rgba(8, 18, 21, 0) 40%);
}
.hero__content { position: relative; max-width: 760px; padding-block: 3rem; }
.hero__eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.02;
}
.hero__subtitle {
  margin-top: 1.1rem;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: #eef3f3;
  max-width: 36ch;
}
.hero__text { margin-top: 1rem; color: var(--text-muted); font-size: 1.05rem; max-width: 52ch; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* Backgrounds por página */
.hero--inicio   { background-image: url("../img/hero-inicio.jpg"); }
.hero--nosotros { background-image: url("../img/hero-nosotros.jpg"); }
.hero--servicios{ background-image: url("../img/hero-servicios.jpg"); }
.hero--sectores { background-image: url("../img/hero-sectores.jpg"); }
.hero--contacto { background-image: url("../img/hero-contacto.jpg"); }

/* Hero interno (más bajo) para subpáginas */
.hero--page { min-height: 62vh; }
.hero--page .hero__title { font-size: clamp(2.3rem, 6vw, 3.6rem); }

/* Indicador de scroll */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius-pill);
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; }
}

/* ----------------------------------------------------------
   7. BARRA DE STATS
   ---------------------------------------------------------- */
.stats {
  background: var(--carbon);
  border-block: 1px solid rgba(255, 255, 255, .06);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  padding-block: 2.4rem;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  color: var(--accent);
  line-height: 1.1;
}
.stat__label {
  display: block;
  margin-top: .35rem;
  font-size: .9rem;
  color: #d7dcdd;
  letter-spacing: .02em;
}

/* ----------------------------------------------------------
   8. GRIDS + CARDS
   ---------------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 243, 21, .4);
  box-shadow: var(--shadow);
}
.card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.card__text { color: var(--text-muted); font-size: .98rem; }

/* Insignia de icono */
.icon-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 1.15rem;
  border-radius: var(--radius);
  background: radial-gradient(circle at 30% 25%, rgba(255, 243, 21, .18), rgba(255, 243, 21, .05));
  border: 1px solid rgba(255, 243, 21, .35);
  color: var(--accent);
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.icon-badge svg { width: 32px; height: 32px; }
.icon-badge--sm { width: 56px; height: 56px; border-radius: var(--radius-sm); }
.icon-badge--sm svg { width: 28px; height: 28px; }
.card:hover .icon-badge { transform: scale(1.06); background: radial-gradient(circle at 30% 25%, rgba(255, 243, 21, .3), rgba(255, 243, 21, .08)); }

/* Tarjeta de servicio */
.service-card { display: flex; flex-direction: column; }

/* Tarjeta de sector (más compacta) */
.sector-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  padding: 1.5rem;
}
.sector-card .card__title { font-size: 1.05rem; }

/* ----------------------------------------------------------
   9. SECCIÓN SPLIT (imagen + texto)
   ---------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: var(--accent);
  color: var(--green-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-pill);
}
.split__body .section__title { margin-top: .4rem; }
.split__body p { color: var(--text-muted); margin-top: 1rem; }

/* Lista con check */
.check-list { margin: 1.4rem 0; display: grid; gap: .7rem; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.section--light .check-list li { color: #344247; }

/* ----------------------------------------------------------
   10. CTA BAND
   ---------------------------------------------------------- */
.cta-band {
  position: relative;
  background: url("../img/cta-trabajemos.jpg") center / cover fixed;
  background-color: var(--green-850);
  isolation: isolate;
  text-align: center;
}
.cta-band__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(11, 26, 29, .92), rgba(17, 33, 37, .8));
}
.cta-band__content { padding-block: clamp(3.5rem, 8vw, 6rem); }
.cta-band__title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; }
.cta-band__text { margin: 1rem auto 2rem; max-width: 46ch; color: #e5ebec; font-size: 1.1rem; }

/* ----------------------------------------------------------
   11. FOOTER
   ---------------------------------------------------------- */
.footer { background: var(--green-900); border-top: 3px solid var(--accent); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
}
.brand--footer { margin-bottom: 1.1rem; }
.footer__brand p { color: var(--text-muted); max-width: 34ch; }
.footer__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer__title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 3px; background: var(--accent); border-radius: 2px;
}
.footer__links { display: grid; gap: .6rem; }
.footer__links a, .footer__links span { color: var(--text-muted); font-size: .96rem; transition: color var(--t-fast) var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom .container { padding-block: 1.4rem; text-align: center; }
.footer__bottom p { color: #8b9799; font-size: .9rem; }

/* ----------------------------------------------------------
   12. ANIMACIÓN REVEAL (solo cuando hay JS)
   ---------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Pequeño escalonado dentro de grids */
.js .grid .reveal:nth-child(2) { transition-delay: .06s; }
.js .grid .reveal:nth-child(3) { transition-delay: .12s; }
.js .grid .reveal:nth-child(4) { transition-delay: .18s; }
.js .grid .reveal:nth-child(5) { transition-delay: .1s; }
.js .grid .reveal:nth-child(6) { transition-delay: .16s; }
.js .grid .reveal:nth-child(7) { transition-delay: .12s; }
.js .grid .reveal:nth-child(8) { transition-delay: .18s; }

/* ----------------------------------------------------------
   13. UTILIDADES VARIAS
   ---------------------------------------------------------- */
.prose p { color: var(--text-muted); }
.prose p + p { margin-top: 1rem; }
.text-center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--text-muted); }

/* Lista de viñetas estilizada (servicios internos) */
.feature-list { display: grid; gap: .75rem; margin-top: 1.2rem; }
.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.feature-list--cols { grid-template-columns: 1fr; }

/* Lista numerada estilizada */
.num-list { counter-reset: vt; display: grid; gap: .8rem; margin-top: 1.2rem; }
.num-list li {
  counter-increment: vt;
  position: relative;
  padding-left: 3rem;
  color: var(--text);
}
.num-list li::before {
  content: counter(vt, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9rem;
  color: var(--accent);
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  background: rgba(255, 243, 21, .1);
  border: 1px solid rgba(255, 243, 21, .3);
  border-radius: 50%;
}

/* Etiquetas tipo "chip" */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.chip {
  display: inline-block;
  padding: .55rem 1.05rem;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-pill);
  font-size: .92rem;
  font-weight: 500;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background var(--t) var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ----------------------------------------------------------
   14. BARRAS DE CAPACIDAD / PORCENTAJES
   ---------------------------------------------------------- */
.capacity { display: grid; gap: 1.4rem; margin-top: 1.5rem; }
.capacity__item { }
.capacity__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.capacity__name { font-family: var(--font-head); font-weight: 600; }
.capacity__value { font-family: var(--font-head); font-weight: 800; color: var(--accent); }
.capacity__track {
  height: 12px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.capacity__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius: var(--radius-pill);
  transition: width 1.3s var(--ease);
}

/* ----------------------------------------------------------
   15. PÁGINA NOSOTROS — valores
   ---------------------------------------------------------- */
.value-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(255, 243, 21, .4); }
.value-card__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 243, 21, .12);
  color: var(--accent);
}
.value-card__icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.05rem; }

/* ----------------------------------------------------------
   16. FORMULARIO DE CONTACTO
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
}
.info-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-card + .info-card { margin-top: 1rem; }
.info-card__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 243, 21, .12);
  color: var(--accent);
}
.info-card__icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.info-card a, .info-card p { color: var(--text-muted); }
.info-card a:hover { color: var(--accent); }

.form {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.form__row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: #cfd8d9; }
.field label .req { color: var(--orange); }
.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--green-850);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font: inherit;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #6f7e80; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 243, 21, .18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--invalid input,
.field--invalid textarea { border-color: var(--terracotta); }
.field__error { color: #f0a18c; font-size: .82rem; min-height: 1em; }
.form__actions { margin-top: 1.3rem; }
.form__note { margin-top: .9rem; font-size: .85rem; color: var(--text-muted); }

/* Mensaje de confirmación */
.form-feedback {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(139, 166, 123, .15);
  border: 1px solid var(--green-2);
  color: #e9f1e4;
  font-size: .96rem;
  display: none;
}
.form-feedback.is-visible { display: block; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Mapa */
.map-embed {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .08);
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; }
.map-placeholder {
  display: grid; place-items: center;
  height: 320px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}

/* ----------------------------------------------------------
   17. PÁGINA SERVICIOS — bloques anclados
   ---------------------------------------------------------- */
.svc-block { padding-block: clamp(2.2rem, 5vw, 3.5rem); border-top: 1px solid rgba(255,255,255,.06); }
.svc-block:first-of-type { border-top: 0; }
.svc-block h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.mini-eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: .6rem;
}

/* ----------------------------------------------------------
   18. MEDIA QUERIES
   ---------------------------------------------------------- */
@media (min-width: 600px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .feature-list--cols { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .num-list--2col { grid-template-columns: 1fr 1fr; gap: .8rem 2.2rem; }
}

@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .footer__grid { grid-template-columns: 2fr 1.2fr 1fr 1.4fr; }
}

@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .feature-list--cols { grid-template-columns: repeat(3, 1fr); }
}

/* Navegación móvil */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(13, 26, 29, .98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform var(--t) var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .8rem 1.25rem 1.4rem; }
  .nav__link { display: block; padding: .95rem .6rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand__name { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* ----------------------------------------------------------
   19. PREFERENCIAS DEL USUARIO
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .cta-band { background-attachment: scroll; }
}

/* Evitar parallax pesado en móvil */
@media (max-width: 768px) {
  .cta-band { background-attachment: scroll; }
}
