/* PRON Ingenieros — hoja de estilos única
   Paleta: azul marino del logo (#1B3A5C) + naranja de los íconos (#E1701A)
   Tipografía: Montserrat (títulos, igual que el logo) + IBM Plex Sans (texto) */

@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #1B3A5C;
  --navy-deep: #12283F;
  --orange: #E1701A;
  --orange-btn: #B65208;
  --orange-btn-hover: #9C4506;
  --orange-soft: #F2A86C;
  --ink: #15283D;
  --muted: #4A5E73;
  --line: #D5DDE6;
  --paper: #F3F6F9;
  --white: #FFFFFF;
  --wa: #25D366;
  --head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: 24px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:target { scroll-margin-top: calc(var(--header-h) + 24px); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 4px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border: 2px solid transparent; border-radius: 4px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--orange-btn); color: #fff; }
.btn--primary:hover { background: var(--orange-btn-hover); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-inv { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--ghost-inv:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--small { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: block; flex: none; }
.brand img { width: 214px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  display: block; padding: 8px 0; text-decoration: none; font-weight: 500; font-size: .98rem;
  color: var(--ink); border-bottom: 2px solid transparent; transition: border-color .18s, color .18s;
}
.nav__links a:not(.btn):hover { border-bottom-color: var(--navy); }
.nav__links a[aria-current="page"] { border-bottom-color: var(--navy); color: var(--navy); font-weight: 600; }
.has-sub { position: relative; }
.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.sub {
  position: absolute; left: -18px; top: 100%; min-width: 230px; padding: 10px 18px; display: none;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy);
  box-shadow: 0 14px 28px rgba(18,40,63,.14);
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.has-sub { padding-bottom: 0; }
.sub a:not(.btn) { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.sub li:last-child a { border-bottom: 0; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff;
  border-radius: 4px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

/* ---------- Portada ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}
.hero__inner { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(52px, 6vw, 80px); }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; color: #A9BCD0; font-weight: 500; margin-bottom: 26px; }
.hero__eyebrow::before { content: ""; width: 32px; height: 2px; background: #A9BCD0; }
.hero h1 {
  font: 800 clamp(2.9rem, 7.4vw, 6rem)/1.02 var(--head); letter-spacing: -.03em; color: #fff;
  margin-bottom: 30px; max-width: 12ch;
}
.hero__lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; max-width: 36ch; color: #D5DDE6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.hero__proof { position: relative; border-top: 1px solid rgba(255,255,255,.18); background: rgba(18,40,63,.55); }
.hero__proof ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero__proof li { display: flex; align-items: center; gap: 18px; padding: 26px 24px 26px 0; }
.hero__proof li + li { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.18); }
.hero__proof strong { font: 800 2.3rem/1 var(--head); color: #fff; letter-spacing: -.02em; }
.hero__proof span { color: #C3D0DE; font-size: .98rem; line-height: 1.4; max-width: 22ch; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }

/* ---------- Bloques generales ---------- */
.block { padding: clamp(64px, 9vw, 112px) 0; }
.block--paper { background: var(--paper); }
.block__head { display: flex; align-items: center; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.block__head h2, .title-2 {
  font: 800 clamp(1.9rem, 3.4vw, 2.7rem)/1.1 var(--head); letter-spacing: -.02em; color: var(--navy);
}
.cota { flex: 1; height: 15px; position: relative; opacity: .4;
  background: linear-gradient(var(--navy), var(--navy)) center / 100% 1px no-repeat; }
.cota::before, .cota::after {
  content: ""; position: absolute; top: 7px; width: 15px; height: 1px; background: var(--navy);
  transform: rotate(-45deg);
}
.cota::before { left: -7px; }
.cota::after { right: -7px; }

/* ---------- Las 4 líneas ---------- */
.lines { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.line-card {
  position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden;
  border-left: 1px solid var(--line); text-decoration: none; color: inherit; transition: background-color .2s;
}
.line-card:first-child { border-left: 0; }
.line-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--navy);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.line-card:hover { background: var(--paper); }
.line-card:hover::before, .line-card:focus-visible::before { transform: scaleX(1); }
.line-card__media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background-color: var(--paper); border-bottom: 1px solid var(--line);
  background-image: linear-gradient(rgba(27,58,92,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(27,58,92,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.line-card__media .ic { width: 84px; height: 84px; }
.line-card__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.line-card:hover .ph { transform: scale(1.04); }
.line-card__body { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 32px; flex: 1; }
.line-card h3 { font: 700 1.3rem/1.2 var(--head); color: var(--navy); }
.line-card p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.line-card .more {
  margin-top: auto; padding-top: 8px; width: max-content; font-weight: 600; color: var(--navy);
}
.line-card .more span { border-bottom: 2px solid var(--navy); padding-bottom: 2px; }

/* ---------- Un solo equipo ---------- */
.statement { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.statement::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 85%);
  mask-image: linear-gradient(90deg, #000, transparent 85%);
}
.statement__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.statement h2 { font: 700 1.05rem/1.2 var(--head); color: #A9BCD0; margin-bottom: 20px; }
.statement__lead { font: 800 clamp(1.9rem, 3.8vw, 3.1rem)/1.12 var(--head); letter-spacing: -.02em; }
.statement__text { font-size: 1.15rem; line-height: 1.7; color: #DCE6F0; max-width: 46ch; }

/* ---------- Cómo trabajamos ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--navy); opacity: .35; }
.step { position: relative; padding: 34px 26px 0 0; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--navy); transform: translateY(-50%);
}
.step__n { font: 800 2.9rem/1 var(--head); color: var(--navy); margin-bottom: 14px; }
.step h3 { font: 700 1.15rem/1.25 var(--head); color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* ---------- Empresas ---------- */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 56px; align-items: center; }
.client { display: grid; place-items: center; height: 64px; min-width: 120px; max-width: 190px; text-align: center;
  font: 700 1rem/1.2 var(--head); color: var(--muted); }
.client img { max-height: 52px; width: auto; max-width: 190px; }

/* ---------- Formulario ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__intro p { color: var(--muted); font-size: 1.15rem; max-width: 36ch; margin-top: 18px; }
.contact-list { margin-top: 36px; display: grid; gap: 22px; }
.contact-list dt { font: 700 .95rem/1.3 var(--head); color: var(--navy); margin-bottom: 2px; }
.contact-list dd { margin: 0; font-size: 1.1rem; }
.contact-list a { text-decoration: none; border-bottom: 2px solid var(--navy); padding-bottom: 1px; }
.contact-list a:hover { color: var(--navy); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .98rem; color: var(--navy); }
.field input, .field select {
  width: 100%; height: 54px; padding: 0 16px; font: 400 1.05rem var(--body); color: var(--ink);
  background: #fff; border: 1px solid #9FB0C2; border-radius: 4px; transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231B3A5C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,58,92,.22); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field__error { color: #B3261E; font-size: .92rem; min-height: 1.2em; }
.form__note { font-size: .92rem; color: var(--muted); }

/* ---------- Páginas de línea ---------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.crumb { font-size: .95rem; color: var(--muted); margin-bottom: 22px; }
.crumb a { text-decoration: none; border-bottom: 1px solid var(--line); }
.crumb a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.page-hero h1 { font: 800 clamp(2.3rem, 4.8vw, 3.8rem)/1.06 var(--head); letter-spacing: -.025em; color: var(--navy); margin-bottom: 22px; }
.page-hero__intro { font-size: 1.25rem; line-height: 1.6; max-width: 46ch; }
.page-hero__icon { width: 172px; height: 172px; }

.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: 38px 0; border-bottom: 1px solid var(--line);
}
.service img { width: 96px; height: 96px; }
.service h3 { font: 700 clamp(1.3rem, 2.2vw, 1.6rem)/1.2 var(--head); color: var(--navy); margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }

.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--line); margin-top: 24px; }
.others a { display: flex; align-items: center; gap: 16px; padding: 22px 24px; text-decoration: none; border-left: 1px solid var(--line); font: 700 1.05rem/1.2 var(--head); color: var(--navy); transition: background-color .2s; }
.others a:first-child { border-left: 0; }
.others a:hover { background: var(--paper); }
.others img { width: 48px; height: 48px; }

/* ---------- Franja de contacto ---------- */
.cta-band { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-band h2 { font: 800 clamp(1.7rem, 3.2vw, 2.4rem)/1.15 var(--head); letter-spacing: -.02em; max-width: 22ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about h2 { font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--head); letter-spacing: -.02em; color: var(--navy); }
.about__lead { font-size: 1.35rem; line-height: 1.55; }
.about__text { color: var(--muted); font-size: 1.15rem; }
.about + .about { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-deep); color: #D6E0EA; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; }
.footer-grid a[href^="https://wa.me"] { white-space: nowrap; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 18px; }
.site-footer h3 { font: 700 .98rem/1.3 var(--head); color: #fff; margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; color: #D6E0EA; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 4px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; color: #A9BACB; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(18,40,63,.3); transition: transform .18s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Adaptación ---------- */
@media (max-width: 1040px) {
  .lines { grid-template-columns: repeat(2, 1fr); }
  .line-card:nth-child(3) { border-left: 0; }
  .line-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: var(--header-h); display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(18,40,63,.12);
  }
  .site-header[data-open="true"] .nav__links { display: flex; }
  .nav__links a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav__links > li:last-child { padding-top: 18px; }
  .nav__links .btn { width: 100%; }
  .sub { position: static; display: block; min-width: 0; padding: 0 0 6px 18px; border: 0; box-shadow: none; }
  .has-sub > a::after { display: none; }
  .sub a:not(.btn) { font-size: .95rem; padding: 12px 0; }
  .sub li:last-child a { border-bottom: 1px solid var(--line); }
  .hero__proof ul { grid-template-columns: 1fr; }
  .hero__proof li, .hero__proof li + li { padding: 18px 0; border-left: 0; }
  .hero__proof li + li { border-top: 1px solid rgba(255,255,255,.18); }
  .hero__proof strong { font-size: 2.1rem; min-width: 64px; }
  .statement__grid, .contact, .about { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  body { font-size: 1.03rem; }
  .brand img { width: 180px; }
  .lines { grid-template-columns: 1fr; }
  .line-card { border-left: 0; border-top: 1px solid var(--line); }
  .line-card:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { padding: 0 0 34px 38px; }
  .step::before { top: 8px; left: 0; transform: none; }
  .step__n { font-size: 2.2rem; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero__icon { width: 112px; height: 112px; order: -1; }
  .service { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 20px; align-items: start; }
  .service img { width: 64px; height: 64px; }
  .service .btn { grid-column: 1 / -1; margin-top: 14px; }
  .others { grid-template-columns: 1fr; }
  .others a { border-left: 0; border-top: 1px solid var(--line); }
  .others a:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .block__head { gap: 18px; }
  .clients { gap: 20px 32px; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- Servicios, índice y páginas de detalle ---------- */
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.service__more { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--navy); }
.service__more:hover { color: var(--navy-deep); }
.hub-text { max-width: 760px; margin: 56px 0 8px; }
.hub-text h2 { font: 800 1.5rem/1.25 var(--head); color: var(--navy); margin-bottom: 14px; letter-spacing: -.01em; }
.hub-text p { color: var(--muted); font-size: 1.08rem; line-height: 1.75; }

.page-hero--svc h1 { font-size: clamp(2rem, 3.9vw, 3.1rem); max-width: 22ch; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.prose h2 { font: 800 1.55rem/1.25 var(--head); letter-spacing: -.01em; color: var(--navy); margin: 52px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.08rem; line-height: 1.75; max-width: 68ch; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; display: grid; gap: 14px; max-width: 68ch; }
.checks li { position: relative; padding-left: 30px; line-height: 1.6; font-size: 1.06rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 12px; background: var(--navy); }
.faq { max-width: 68ch; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 44px 20px 0; font: 700 1.05rem/1.4 var(--head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 500 1.7rem/1 var(--body); color: var(--navy); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 44px 22px 0; margin: 0; color: var(--muted); }
.side { position: sticky; top: 104px; display: grid; gap: 24px; }
.side__card { background: var(--navy); color: #fff; padding: 32px 28px; }
.side__card h3 { font: 800 1.3rem/1.25 var(--head); color: #fff; margin-bottom: 12px; }
.side__card p { color: #D5DDE6; line-height: 1.6; margin-bottom: 22px; }
.side__alt { display: block; margin-top: 16px; text-align: center; color: #fff; font-size: .98rem; text-underline-offset: 4px; }
.side__rel { border: 1px solid var(--line); padding: 24px 28px; }
.side__rel h3 { font: 700 1rem/1.3 var(--head); color: var(--navy); margin-bottom: 14px; }
.side__rel li + li { margin-top: 4px; }
.side__rel a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.side__rel li:last-child a { border-bottom: 0; }
.side__rel a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

.svc-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.svc-index h3 { font: 800 1.1rem/1.3 var(--head); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 3px solid var(--navy); }
.svc-index h3 a { color: var(--navy); text-decoration: none; }
.svc-index li + li { margin-top: 2px; }
.svc-index li a { display: block; padding: 7px 0; text-decoration: none; color: var(--ink); }
.svc-index li a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

.footer-note { color: #A9BACB; max-width: 30ch; line-height: 1.5; }
.footer-services { columns: 1; }
mark.pendiente { background: #FFE9A8; color: #5A3D00; padding: 0 4px; }
.legal h2 { font-size: 1.25rem; margin-top: 40px; }

@media (max-width: 980px) {
  .svc { grid-template-columns: 1fr; gap: 48px; }
  .side { position: static; }
  .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .svc-index { grid-template-columns: 1fr; gap: 28px; }
  .prose h2 { margin-top: 40px; }
}
.footer-bottom { padding-right: 76px; }

/* ---------- v2: apoyos del titular, mapa, clientes en color ---------- */
.supports { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
.supports li { padding: 26px 28px 0 0; }
.supports li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.supports h3 { font: 700 1.1rem/1.25 var(--head); color: #fff; margin-bottom: 8px; }
.supports p { color: #C3D0DE; font-size: 1rem; line-height: 1.55; max-width: 30ch; }
.statement__wide { position: relative; }
.reach { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.reach h2 { font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--head); letter-spacing: -.02em; color: var(--navy); margin-bottom: 18px; }
.reach p { color: var(--muted); font-size: 1.15rem; line-height: 1.65; max-width: 42ch; }
.reach__map { justify-self: center; width: min(100%, 300px); }
.reach__map img { width: 100%; height: auto; display: block; }
.block--white { background: #fff; }
.faq--solo { max-width: 720px; margin-top: 40px; }
.line-card__media .ic { width: 96px; height: 96px; }
@media (max-width: 860px) {
  .supports { grid-template-columns: 1fr; }
  .supports li, .supports li + li { padding: 20px 0; border-left: 0; }
  .supports li + li { border-top: 1px solid rgba(255,255,255,.18); }
  .supports p { max-width: none; }
  .reach { grid-template-columns: 1fr; }
  .reach__map { width: min(70%, 260px); }
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.1; max-width: 20ch; }
.hero__lede { max-width: 48ch; }
@media (max-width: 560px) { .hero h1 { font-size: clamp(1.85rem, 8vw, 2.3rem); max-width: none; } }
[hidden]{display:none !important}
.line-card__media .ic { width: 112px; height: 112px; }

.client__name { font: 700 1.05rem/1.25 var(--head); color: var(--navy); letter-spacing: -.01em; }

.footer-sub { margin-top: 26px; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social li { margin: 0; }
.social__link { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); color: #C3D0DE; transition: background .15s, color .15s, border-color .15s; }
.social__link svg { width: 18px; height: 18px; }
.social__link:hover, .social__link:focus-visible { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.7); }
