/* ==========================================================================
   GH Equipos — Hoja de estilos principal
   Colores y tipografía según Guía de Identidad de Marca GH Equipos:
   - Rojo  Pantone 7621 CP  #B1181E (color dominante)
   - Azul  Pantone Black 7 CP #18132E (contraste y estabilidad)
   - Tipografía institucional: Gotham Medium → sustituto web: Montserrat
   ========================================================================== */

:root {
  --red: #B1181E;
  --red-dark: #8E1318;
  --red-soft: #FBEDEE;
  --navy: #18132E;
  --navy-2: #211B3C;
  --navy-3: #2E2850;
  --ink: #18132E;
  --text: #3B3750;
  --muted: #67637C;
  --line: #E4E2EA;
  --bg: #FFFFFF;
  --bg-alt: #F4F3F7;
  --light: #CFCBDD;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Montserrat", sans-serif;

  --radius: 10px;
  --shadow: 0 18px 40px -20px rgba(24, 19, 46, .35);
  --header-h: 78px;
  --gutter: 20px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }

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

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 6px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Elementos de marca ---------- */

/* Etiqueta con las dos barras horizontales del logotipo */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.kicker::before {
  content: ""; width: 30px; height: 11px; flex: none;
  background:
    linear-gradient(currentColor 0 0) top / 100% 3px no-repeat,
    linear-gradient(currentColor 0 0) bottom / 100% 3px no-repeat;
}
.kicker--light { color: #fff; }
.kicker--light::before { color: var(--red); }

.text-red { color: var(--red); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 6px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--navy); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn--block { width: 100%; }

/* ---------- Barra superior ---------- */

.topbar { background: var(--navy); color: #BDB8D0; font-size: .8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; gap: 24px; list-style: none; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar__info a:hover { color: #fff; }
.topbar .icon { width: 16px; height: 16px; color: var(--red); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  color: #BDB8D0; transition: background .2s, color .2s;
}
.topbar__social a:hover { background: var(--red); color: #fff; }
.topbar__social .icon { color: inherit; }

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(24, 19, 46, .45); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 60px; width: auto; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  position: relative; display: block; padding: 10px 13px;
  font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 12px 20px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 8px;
  background: var(--bg-alt); color: var(--navy); cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #D6D2E4;
  min-height: clamp(600px, 86vh, 820px);
  display: flex; align-items: center;
}
.hero__media { position: absolute; inset: 0 0 0 44%; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
          mask-image: linear-gradient(to right, transparent 0%, #000 30%);
}
.hero::before { /* viñeta para legibilidad */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(24, 19, 46, .9) 0%, rgba(24, 19, 46, 0) 60%),
    linear-gradient(to top, rgba(24, 19, 46, .85) 0%, rgba(24, 19, 46, 0) 35%);
}

/* Franjas diagonales rojas inspiradas en las aplicaciones de marca */
.hero__stripes { position: absolute; inset: -10% auto -10% 47%; width: 360px; z-index: -1; pointer-events: none; }
.hero__stripes span { position: absolute; top: 0; bottom: 0; transform: skewX(-24deg); }
.hero__stripes .s1 { left: 0; width: 84px; background: linear-gradient(180deg, #C91D24 0%, var(--red) 45%, #6E0C10 100%); box-shadow: 0 0 60px rgba(177, 24, 30, .45); }
.hero__stripes .s2 { left: 104px; width: 16px; background: var(--red); opacity: .85; }
.hero__stripes .s3 {
  left: 140px; width: 130px;
  background: repeating-linear-gradient(180deg, rgba(177, 24, 30, .75) 0 9px, transparent 9px 22px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 80%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 80%, transparent 100%);
  opacity: .7;
}

.hero__content { position: relative; padding-block: 72px 120px; max-width: 620px; }
.hero__title {
  margin-top: 22px;
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.9rem, 6.4vw, 5.4rem); line-height: .93; letter-spacing: .005em;
  color: #fff;
}
.hero__title .text-red { color: #E0343B; display: block; }
.hero__lead { margin-top: 24px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 540px; color: #D6D2E4; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__facts {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(17, 13, 34, .55); backdrop-filter: blur(6px);
}
.hero__facts ul { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.hero__facts li {
  display: flex; align-items: center; gap: 14px; padding: 20px 24px 20px 0;
  font-size: .9rem; font-weight: 600; color: #fff;
}
.hero__facts li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero__facts .icon { width: 26px; height: 26px; color: #E0343B; }
.hero__facts small { display: block; font-weight: 500; color: #A9A4BF; font-size: .78rem; }

/* ---------- Secciones ---------- */

.section { padding-block: clamp(72px, 9vw, 116px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #C9C5DA; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { margin-top: 16px; font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -.01em; }
.section__lead { margin-top: 16px; font-size: 1.06rem; color: var(--muted); }
.section--dark .section__lead { color: #B3AECA; }

/* ---------- Nosotros ---------- */

.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media picture img { width: 100%; height: auto; }
.about__badge {
  position: absolute; right: 4%; bottom: 2%;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--radius); padding: 14px 18px 14px 14px;
  box-shadow: var(--shadow); border-left: 4px solid var(--red);
}
.about__badge img { width: 74px; height: auto; }
.about__badge strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.about__badge span { font-size: .8rem; color: var(--muted); }
.about__text p + p { margin-top: 16px; }
.about__text .section__title { margin-bottom: 20px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; list-style: none; }
.values li { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.values strong { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1rem; }
.values strong::before { content: ""; width: 4px; height: 18px; background: var(--red); border-radius: 2px; }
.values p { margin-top: 8px; font-size: .86rem; color: var(--muted); line-height: 1.55; }

.backing {
  margin-top: 24px; display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--radius); background: var(--navy); color: #C9C5DA; font-size: .92rem;
}
.backing .icon { width: 28px; height: 28px; color: #E0343B; margin-top: 2px; }
.backing strong { color: #fff; display: block; margin-bottom: 4px; }

/* ---------- Catálogo de equipos ---------- */

.catalog__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: .88rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.catalog__count { font-size: .85rem; color: var(--muted); }

.eq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.eq-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.eq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.eq-card[hidden] { display: none; }
.eq-card__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--navy); border-bottom: 3px solid var(--red);
}
.eq-card__media picture, .eq-card__media img { width: 100%; height: 100%; }
.eq-card__media img { object-fit: cover; transition: transform .6s ease; }
.eq-card:hover .eq-card__media img { transform: scale(1.06); }
.eq-card__media::after { /* degradado sutil para legibilidad de la etiqueta */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 40%; pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 19, 46, .35), rgba(24, 19, 46, 0));
}
.eq-card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 5px 10px; border-radius: 4px; background: var(--navy); color: #fff;
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.eq-card__tag--vehiculo { background: var(--red); }
.eq-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 22px 24px; }
.eq-card__title { font-size: 1.12rem; font-weight: 700; }
.eq-card__desc { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.eq-card__uses { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.eq-card__uses li { padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--navy); font-size: .72rem; font-weight: 600; }
.eq-card__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px;
  font-size: .9rem; font-weight: 700; color: var(--red); text-decoration: none;
}
.eq-card__cta .icon { width: 18px; height: 18px; transition: transform .2s; }
.eq-card__cta:hover .icon { transform: translateX(4px); }

.catalog__note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 36px; padding: 24px 28px; border-radius: var(--radius);
  background: #fff; border: 1px dashed #CBC7D8;
}
.catalog__note p { color: var(--ink); font-weight: 600; }
.catalog__note p span { display: block; font-weight: 500; color: var(--muted); font-size: .9rem; }

/* ---------- Soluciones / sectores ---------- */

.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; }
.sector {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s;
}
.sector::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.sector:hover { box-shadow: var(--shadow); border-color: transparent; }
.sector:hover::after { transform: scaleX(1); }
.sector__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px;
  background: var(--red-soft); color: var(--red); margin-bottom: 20px;
}
.sector__icon .icon { width: 28px; height: 28px; }
.sector h3 { font-size: 1.08rem; margin-bottom: 10px; }
.sector p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ---------- Proceso ---------- */

.process { position: relative; overflow: hidden; isolation: isolate; }
.process::before { /* franja decorativa */
  content: ""; position: absolute; top: -20%; bottom: -20%; right: -150px; width: 220px; z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(177, 24, 30, .35) 0 8px, transparent 8px 22px);
  transform: skewX(-24deg); opacity: .45;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.step__num {
  display: block; font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #E0343B;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { font-size: .92rem; color: #B3AECA; }

/* ---------- Cobertura ---------- */

.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.towns li {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .82rem; font-weight: 600; color: var(--ink);
}
.towns li.is-hq { background: var(--red); border-color: var(--red); color: #fff; }
.coverage__note { margin-top: 22px; font-size: .9rem; color: var(--muted); }

.map-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; background: var(--navy); box-shadow: var(--shadow);
}
.map-card__head { display: flex; align-items: center; gap: 16px; padding: 18px 20px; color: #fff; }
.map-card__icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: var(--red); color: #fff;
}
.map-card__icon .icon { width: 26px; height: 26px; }
.map-card__place { flex: 1; min-width: 0; line-height: 1.3; }
.map-card__place small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FF8A8F; }
.map-card__place strong { display: block; font-size: 1.2rem; }
.map-card__place span { font-size: .82rem; color: #B3AECA; }
.map-card__btn { padding: 11px 16px; font-size: .82rem; flex: none; }
.map-card__map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: #E9E7EF; }

/* ---------- Redes sociales ---------- */

.social__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.social__cards { display: grid; gap: 14px; margin-top: 30px; max-width: 460px; }
.social-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.social-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.social-card__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 12px; color: #fff; }
.social-card__icon .icon { width: 26px; height: 26px; }
.social-card--ig .social-card__icon { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%); }
.social-card--fb .social-card__icon { background: #1877F2; }
.social-card__text { flex: 1; line-height: 1.3; }
.social-card__text strong { display: block; font-size: 1.02rem; }
.social-card__text small { color: var(--muted); font-size: .86rem; }
.social-card__arrow { color: var(--red); transition: transform .2s; }
.social-card:hover .social-card__arrow { transform: translateX(4px); }

.social__gallery { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(320px, 34vw, 440px); }
.social__photo { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--navy); }
.social__photo--lg { grid-row: span 2; }
.social__photo picture, .social__photo img { width: 100%; height: 100%; }
.social__photo img { object-fit: cover; transition: transform .6s ease; }
.social__photo:hover img { transform: scale(1.06); }
.social__overlay {
  position: absolute; inset: auto 12px 12px auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: rgba(24, 19, 46, .78); color: #fff;
  font-size: .78rem; font-weight: 700; backdrop-filter: blur(4px);
}
.social__overlay .icon { width: 18px; height: 18px; }

.nav__social { display: none; }

/* ---------- Preguntas frecuentes ---------- */

.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq .section__head { margin-bottom: 0; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red-soft); color: var(--red); font-size: 1.1rem; font-weight: 700;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 22px 20px; color: var(--muted); font-size: .94rem; }
.faq__item a { color: var(--red); font-weight: 600; }

/* ---------- Banda CTA ---------- */

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--red); color: #fff; padding-block: clamp(48px, 6vw, 72px);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(-66deg, rgba(255, 255, 255, .05) 0 22px, transparent 22px 44px),
    linear-gradient(90deg, rgba(110, 12, 16, .55), rgba(110, 12, 16, 0) 60%);
}
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 {
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: #fff;
}
.cta-band p { margin-top: 10px; color: #FCE3E4; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contacto ---------- */

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact__info {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 4vw, 40px); border-radius: 16px; background: var(--navy); color: #C9C5DA;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.contact__info::after {
  content: ""; position: absolute; right: -70px; bottom: -40px; width: 190px; height: 190px; z-index: -1;
  background: url("../assets/img/logo-gh-equipos-blanco.png") center / contain no-repeat; opacity: .06;
}
.contact__info h3 { font-size: 1.4rem; color: #fff; margin: 14px 0 12px; }
.contact__list { list-style: none; margin-top: 28px; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list .icon-wrap {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255, 255, 255, .07); color: #E0343B;
}
.contact__list small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8F8AA8; font-weight: 700; }
.contact__list a, .contact__list span { color: #fff; font-weight: 600; text-decoration: none; word-break: break-word; }
.contact__list a:hover { color: #FF8A8F; }
.contact__social { display: flex; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s;
}
.contact__social a:hover { background: var(--red); }

.form {
  padding: clamp(24px, 4vw, 40px); border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form__title { font-size: 1.3rem; }
.form__intro { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  background: #FBFBFD; color: var(--ink); font-size: .95rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(24, 19, 46, .08);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); background: var(--red-soft); }
.field__error { display: none; font-size: .78rem; color: var(--red); font-weight: 600; }
.field.is-invalid .field__error { display: block; }

.field .consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; font-weight: 500; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.consent a { color: var(--red); font-weight: 600; }

.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form__hint { font-size: .78rem; color: var(--muted); }
.form__status {
  display: none; margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-size: .9rem; font-weight: 600;
}
.form__status.is-success { display: block; background: #EAF6EF; color: #1B6B3A; }
.form__status.is-error { display: block; background: var(--red-soft); color: var(--red-dark); }

/* ---------- Pie de página ---------- */

.site-footer { background: #110D22; color: #A9A4BF; font-size: .9rem; border-top: 4px solid var(--red); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
.footer__brand img { width: 150px; height: auto; }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer__tagline {
  margin-top: 16px; font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase;
  font-size: 1.25rem; line-height: 1.1; color: #fff;
}
.footer__tagline span { color: #E0343B; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer__links a { text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; color: #E0343B; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; font-size: .8rem; }
.footer__bottom a { color: #C9C5DA; }

/* ---------- WhatsApp flotante (solo si está configurado) ---------- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }
[data-whatsapp][hidden] { display: none !important; }

/* ---------- Página interna (política de datos) ---------- */

.page-hero { background: var(--navy); color: #C9C5DA; padding-block: 56px 48px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 14px; }
.page-hero__meta { margin-top: 12px; font-size: .9rem; color: #B3AECA; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.prose { max-width: 780px; }
.prose p + p, .prose p + h2, .prose ul + p, .prose ol + p { margin-top: 16px; }
.prose h2 { font-size: 1.25rem; margin: 40px 0 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin-top: 12px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--red); font-weight: 600; }
mark.tbd { background: #FFF1B8; color: #5C4400; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal__toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 22px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line);
}
.legal__toc h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.legal__toc ol { padding-left: 20px; display: grid; gap: 7px; font-size: .86rem; }
.legal__toc a { color: var(--ink); text-decoration: none; }
.legal__toc a:hover { color: var(--red); }
.legal__data { list-style: none; padding-left: 0 !important; }
.legal__sign { margin-top: 28px; font-weight: 600; color: var(--ink); }
@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
.notice {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--red-soft); color: var(--red-dark); font-weight: 600; margin-bottom: 28px;
}
.notice .icon { width: 24px; height: 24px; flex: none; }

/* ---------- Animación de aparición ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .eq-grid { grid-template-columns: repeat(3, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__link { padding-inline: 10px; }
  .nav__link::after { left: 10px; right: 10px; }
}

@media (max-width: 1140px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(24, 19, 46, .45);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--red); }
  .nav__social { display: flex; gap: 10px; margin-top: 18px; }
  .nav__social a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; border-radius: 6px; border: 1.5px solid var(--line);
    font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none;
  }
  .nav__social .icon { color: var(--red); }
  .nav__cta { margin-top: 12px; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .brand img { height: 52px; }
  .topbar__info li:nth-child(2) { display: none; }

  .hero { min-height: auto; }
  .hero__media { inset: 0; }
  .hero__media img { -webkit-mask-image: none; mask-image: none; opacity: .5; object-position: 65% 40%; }
  .hero::before { background: linear-gradient(180deg, rgba(24, 19, 46, .55) 0%, rgba(24, 19, 46, .92) 75%); }
  .hero__stripes { left: auto; right: -170px; opacity: .55; }
  .hero__content { padding-block: 64px 48px; }
  .hero__facts { position: relative; }
  .hero__facts ul { grid-template-columns: 1fr; }
  .hero__facts li, .hero__facts li + li { padding: 14px 0; border-left: 0; }
  .hero__facts li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
  .hero { flex-direction: column; align-items: stretch; }

  .about, .coverage, .contact, .social__grid, .faq { grid-template-columns: 1fr; }
  .contact__info { position: relative; top: auto; }
  .about__media { max-width: 640px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .topbar { display: none; }
  .eq-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .values { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .map-card__label img { display: none; }
}

@media (max-width: 560px) {
  .eq-grid, .sectors { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 0; border-left: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .catalog__note .btn, .cta-band .btn { width: 100%; }
  .cta-band__actions { width: 100%; }
  .about__badge { position: static; margin-top: 16px; }
  .map-card__head { flex-wrap: wrap; }
  .map-card__btn { flex: 1 1 100%; }
  .map-card__map { aspect-ratio: 1 / 1; }
  .social__gallery { height: 300px; gap: 10px; }
}
