/* ==========================================================================
   Indupag S.A. — hoja de estilos del sitio
   Basado en el diseño aprobado en Claude Design (4 páginas).
   Adaptado a un sistema responsive (mobile / tablet / desktop).
   ========================================================================== */

/* --- Tokens de marca --------------------------------------------------------
   Cada token declara primero un HEX (fallback para navegadores viejos, ej.
   equipos de municipios) y luego el valor OKLCH original del diseño. Los
   navegadores modernos usan el segundo; los viejos ignoran el OKLCH inválido
   y se quedan con el HEX. */
:root {
  --bg:        #f8f8fa;  --bg:        oklch(98% 0.003 260);
  --surface:   #fdfdfe;  --surface:   oklch(99% 0.002 260);
  --ink:       #1c1d22;  --ink:       oklch(15% 0.005 260);
  --ink-soft:  #5f636e;  --ink-soft:  oklch(45% 0.008 260);

  --indigo-900: #141066;  --indigo-900: oklch(26.0% 0.140 273);  /* indigo profundo del logo (2025) */
  --green-300: #86e3b0;  --green-300: oklch(84% 0.10 155);
  --green-700: #116631;  --green-700: oklch(45.0% 0.115 150);
  --green-600: #0b9446;  --green-600: oklch(58.4% 0.156 150);
  --green-500: #2aad59;  --green-500: oklch(66.0% 0.165 150);
  --green-100: #dcf7e1;  --green-100: oklch(95.0% 0.040 150);
  --blue-600:  #2a1eb3;  --blue-600:  oklch(38.3% 0.216 273);  /* azul del logo */
  --blue-100:  #e7eeff;  --blue-100:  oklch(95.0% 0.030 273);

  --steel-700: #6b6e77;  --steel-700: oklch(46% 0.01 260);
  --steel-500: #90939b;  --steel-500: oklch(60% 0.012 260);
  --steel-200: #dee0e4;  --steel-200: oklch(89% 0.006 260);
  --line:      #e2e4e8;  --line:      oklch(90% 0.006 260);
  --divider:   #b4b7bf;  --divider:   oklch(76% 0.008 260);

  --amber-600: #8a5200;  --amber-600: oklch(50% 0.12 65);
  --amber-100: #f6ecdc;  --amber-100: oklch(95% 0.03 75);
  --red-600:   #b23b2f;  --red-600:   oklch(52% 0.16 25);
  --red-100:   #f6e2df;  --red-100:   oklch(94% 0.03 25);

  /* Degradé del hero: se edita acá y aplica a escritorio y celular */
  --scrim-rgb: 20,16,102;
  --scrim-a: 0.93; --scrim-b: 0.80; --scrim-c: 0.18; --scrim-d: 0.05;
  --scrim-s1: 25%; --scrim-s2: 55%;
  --scrim-mobile: 0.30; /* velo plano en celular/tablet: más bajo = foto más nítida */
  --wrap-max: 2200px;
  --wrap-pad: clamp(20px, 3.6vw, 72px);

  --font-display: 'Archivo', system-ui, 'Segoe UI', sans-serif;
  --font-body: 'Barlow', system-ui, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Sin desplazamientos: se mantienen los cambios de color/sombra como feedback */
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .featured__item:hover img, .pcard--link:hover, .spec--btn:hover { transform: none; }
}

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

h1, h2, h3, .disp {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--indigo-900);
  margin: 0;
  line-height: 1.12;
}

p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-700); text-decoration: none; }
.trust__more { font-weight: 700; display: inline-block; padding: 10px 0; }
a:hover { color: var(--indigo-900); }

:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 2px;
}

.mono { font-family: var(--font-mono); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--indigo-900);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* --- Layout ------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.section { padding: clamp(28px, 3vw, 56px) 0 clamp(60px, 6.5vw, 104px); }
.section--tight { padding: 56px 0; }
.section--pad-sm { padding: 64px 0; }

.section--dark { background: var(--indigo-900); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--mint { background: var(--blue-100); }
.section--mint .eyebrow { color: var(--blue-600); }
.section--surface { background: var(--surface); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  display: block;
}
.section--dark .eyebrow { color: var(--green-100); }

.lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 60ch;
}
.section--dark .lead { color: rgba(255,255,255,0.82); }

.h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.h2 { font-size: clamp(1.6rem, 1.25rem + 1.7vw, 2.125rem); }
.h3 { font-size: 1.0625rem; }

/* --- Botones ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 13px 26px;
  border-radius: 2px;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--indigo-900); color: #fff; }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-solid-light { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.btn-solid-light:hover { background: #fff; color: var(--indigo-900); }

/* --- Cards / pills ---------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.card--pad { padding: 26px; }

.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}
.pill--b125 { background: var(--amber-100); color: var(--amber-600); }
.pill--c250 { background: var(--green-100); color: var(--green-700); }
.pill--d400 { background: var(--red-100); color: var(--red-600); }
.pill--green { background: var(--green-100); color: var(--green-700); }

/* --- Placeholder de foto (se reemplaza por <img> real) --------------
   Presentable para publicar: fondo liso, ícono del modelo y "Foto próximamente". */
.ph {
  background: var(--blue-100);
  border: 1px solid var(--line);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  text-align: center;
  color: var(--steel-700);
  min-height: 150px;
}
.ph--dark {
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 9px, transparent 9px, transparent 18px);
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.75);
}
.ph-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-700);
  max-width: 90%;
}
.ph__icon { width: 96px; height: 96px; }
.ph__icon path, .ph__icon circle, .ph__icon rect, .ph__icon line { stroke: var(--blue-600); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; }
.ph__icon .spec__icon-fold { stroke-width: 1; opacity: 0.35; }
.ph--dark .ph-tag { background: rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.4); color: #fff; }
.ph-note { font-family: var(--font-mono); font-size: 11px; opacity: 0.85; }
.photo-fill { display: block; width: 100%; height: 180px; object-fit: cover; }
.pcard .photo-fill { height: auto; aspect-ratio: 3 / 2; border-bottom: 1px solid var(--line); border-radius: 3px 3px 0 0; }
.obra .photo-fill { height: auto; aspect-ratio: 16 / 9; border-bottom: 1px solid rgba(255,255,255,0.14); border-radius: 0; }

/* --- Topbar ---------------------------------------------------------- */
.topbar {
  background: var(--indigo-900);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar__contact { display: flex; gap: 22px; font-family: var(--font-mono); flex-wrap: wrap; }
.topbar__contact a { color: inherit; }
.topbar__contact a:hover { color: #fff; }
.topbar__addr { font-family: var(--font-mono); opacity: 0.75; text-align: right; }

/* --- Nav ----------------------------------------------------------- */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__logo { height: 72px; width: auto; }
.nav__links {
  display: flex;
  gap: 34px;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
}
.nav__links a { color: var(--ink); padding: 4px 0; }
.nav__links a:hover { color: var(--indigo-900); }
.nav__links a[aria-current="page"] {
  color: var(--indigo-900);
  border-bottom: 2px solid var(--green-700);
}
.nav__cta { flex-shrink: 0; }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  padding: 10px;
  cursor: pointer;
  color: var(--indigo-900);
}
.nav__toggle svg { display: block; }

/* --- Hero (Inicio) ------------------------------------------------- */
.hero {
  background: var(--indigo-900);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero__photo {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  border: none;
  border-radius: 0;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 20px;
}
.hero .eyebrow { color: var(--green-300); text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  z-index: 1;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(var(--scrim-rgb),var(--scrim-a)) 0%, rgba(var(--scrim-rgb),var(--scrim-b)) var(--scrim-s1), rgba(var(--scrim-rgb),var(--scrim-c)) var(--scrim-s2), rgba(var(--scrim-rgb),var(--scrim-d)) 100%);
  z-index: 2;
}
.hero .wrap { position: relative; z-index: 3; padding-top: 96px; padding-bottom: 108px; }
.hero__inner { max-width: 680px; }
.hero h1 { color: #fff; margin-top: 18px; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.125rem; line-height: 1.6; margin-top: 22px; max-width: 560px; }
.hero__actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* --- Page hero (subpáginas) -------------------------------------- */
.pagehead { background: var(--blue-100); padding: 34px 0 38px; }
.pagehead h1 { margin-top: 8px; }
.pagehead p { margin-top: 12px; }

/* --- Grids genéricas -------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.split--reverse { grid-template-columns: 0.9fr 1.1fr; }
.split__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* --- Trust strip ---------------------------------------------- */
.trust { background: var(--surface); border-bottom: 2px solid var(--line); padding: 34px 0; }
.trust__label {
  font-family: var(--font-mono);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.trust__logos { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 0; row-gap: 14px; }
.logo-chip {
  position: relative;
  padding: 14px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
}
.logo-chip + .logo-chip::before {
  content: ""; position: absolute; left: 0; top: 50%;
  height: 20px; transform: translateY(-50%);
  border-left: 2px solid var(--divider);
}

/* --- Stats -------------------------------------------------- */
.stats { background: var(--blue-100); border-top: 2px solid var(--line); padding: 52px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; line-height: 1.1; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.375rem); color: var(--blue-600); }
.stat__label { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }

/* --- Product / obra cards --------------------------------- */
/* --- Productos destacados (Inicio) ------------------------------- */
.section--featured { padding-bottom: clamp(28px, 3.5vw, 56px); }
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.featured__item { display: block; color: var(--ink); }
.featured__item img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--line);
  transition: box-shadow .2s ease, transform .2s ease;
}
.featured__item:hover img { box-shadow: 0 10px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
.featured__name {
  display: block; margin-top: 12px; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
}
@media (max-width: 640px) { .featured { grid-template-columns: 1fr; gap: 28px; } }

.pcard { display: flex; flex-direction: column; overflow: hidden; }
.pcard .ph { border: none; border-bottom: 1px solid var(--line); border-radius: 3px 3px 0 0; min-height: 0; aspect-ratio: 3 / 2; }
.pcard__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.pcard__body h3 { color: var(--ink); }
.pcard__body p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; flex-grow: 1; }
.pcard__body a { font-size: 0.86rem; font-weight: 600; }
.pcard--link { color: var(--ink); transition: box-shadow .2s ease, transform .2s ease; }
.pcard--link:hover { color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
.pcard__cta { font-size: 0.86rem; font-weight: 600; color: var(--green-700); }
.pcard--link:hover .pcard__cta { color: var(--indigo-900); }

.obra {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  overflow: hidden;
}
.obra .ph { min-height: 130px; border: none; border-bottom: 1px solid rgba(255,255,255,0.14); border-radius: 0; }
.obra__body { padding: 18px; }
.obra__title { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 0.97rem; }
.obra__meta { font-family: var(--font-mono); color: var(--green-100); font-size: 0.72rem; margin-top: 6px; }

/* --- Spec cards (bolardos) -------------------------------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 20px;
}
.spec__icon { width: 44px; height: 44px; }
.spec__icon path, .spec__icon circle, .spec__icon rect { stroke: var(--green-700); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spec__icon .spec__icon-fold { stroke: var(--green-700); stroke-width: 1.5; opacity: 0.5; }
.spec__name { font-weight: 700; font-size: 0.94rem; margin-top: 10px; color: var(--ink); }
.spec__txt { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.55; margin-top: 6px; }
.spec--btn { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
.spec--btn:hover { color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }

/* --- Ficha de bolardo (foto grande + detalle) ------------------- */
.bolardo-list { display: grid; gap: 24px; margin-top: 48px; }
.bolardo {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.bolardo:target { border-color: var(--green-600); box-shadow: 0 0 0 2px var(--green-600); }
.bolardo__media { position: relative; aspect-ratio: 16 / 9; align-self: stretch; justify-self: stretch; width: 100%; min-width: 0; background: #fff; border-right: 1px solid var(--line); }
.bolardo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bolardo__media .ph { position: absolute; inset: 0; min-height: 0; border: 0; border-radius: 0; }
.bolardo__body { padding: 32px 40px; align-self: center; }
.bolardo__list { margin: 14px 0 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); }
.bolardo__list li::marker { color: var(--green-600); }
.bolardo__list strong { color: var(--ink); }
@media (max-width: 860px) {
  .bolardo { grid-template-columns: 1fr; }
  .bolardo__media { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .bolardo__body { padding: 22px 20px; }
}

/* --- Tablas ---------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
table.data { border-collapse: collapse; width: 100%; min-width: 520px; }
table.data th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1.5px solid var(--green-700);
  white-space: nowrap;
}
table.data td { font-size: 0.86rem; padding: 13px 16px; border-bottom: 1px solid var(--line); }
table.data tr:nth-child(even) td { background: rgba(0,0,0,0.02); }
.table-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 10px; }

/* --- Tab bar (Productos, ancla) ------------------------- */
.tabbar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabbar::-webkit-scrollbar { display: none; }
.tabbar a {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 10px;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.tabbar a:hover { color: var(--green-700); }
.tabbar a[aria-current="true"] { color: var(--indigo-900); border-bottom-color: var(--green-700); }
.tabsticky { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: var(--nav-h, 107px); z-index: 40; }
.tabsticky .wrap { position: relative; }
@media (max-width: 640px) {
  .tabsticky .wrap::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 2px;
    width: 36px;
    background: linear-gradient(90deg, transparent, var(--surface));
    pointer-events: none;
  }
}

/* offset para anclas debajo de nav sticky */
[id] { scroll-margin-top: calc(var(--nav-h, 107px) + 64px); }

/* --- Tech cards (dark) --------------------------------- */
.techcard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  padding: 26px;
}
.techcard h3 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem; }
.techcard p { color: rgba(255,255,255,0.75); font-size: 0.86rem; line-height: 1.6; margin-top: 10px; }
.techcard strong { color: #fff; }

/* --- Valores / misión ---------------------------------- */
.value__num { font-family: var(--font-mono); color: var(--green-700); font-size: 0.82rem; }
.value__name { font-weight: 700; font-size: 0.97rem; margin-top: 10px; }
.value__txt { font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.55; }

/* --- Lista de clientes -------------------------------- */
.clients { --cols: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.client {
  flex: 0 0 calc((100% - (var(--cols) - 1) * 10px) / var(--cols));
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

/* --- CTA band --------------------------------------- */
.ctaband {
  background: var(--blue-100);
  border-radius: 4px;
  padding: 48px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.ctaband > div { max-width: 560px; }
.ctaband p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 10px; }

/* --- Contacto ------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row svg { flex-shrink: 0; margin-top: 2px; }
.info-row__label { font-weight: 700; font-size: 0.9rem; }
.info-row__val { font-size: 0.86rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }
.info-row__val a { color: var(--ink-soft); }
.info-row__val a:hover { color: var(--green-700); }

.map-embed { width: 100%; height: 280px; border: 0; border-radius: 3px; display: block; margin-top: 20px; filter: grayscale(0.15); }

/* --- Formulario --------------------------------- */
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { display: flex; flex-direction: column; }
.form label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.form label .req { color: var(--red-600); }
.field {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
}
.field:focus { border-color: var(--green-600); outline: none; box-shadow: 0 0 0 3px rgba(11,148,70,0.18); }
textarea.field { min-height: 120px; resize: vertical; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%236B7280' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { font-size: 0.9rem; padding: 14px 16px; border-radius: 3px; display: none; }
.form__status.is-visible { display: block; }
.form__status--ok { background: var(--green-100); color: var(--green-700); border: 1px solid var(--green-500); }
.form__status--err { background: var(--red-100); color: var(--red-600); border: 1px solid var(--red-600); }

.field-error { color: var(--red-600); font-size: 0.78rem; margin-top: 6px; display: none; }
.form__group.has-error .field { border-color: var(--red-600); }
.form__group.has-error .field-error { display: block; }

/* --- Footer ----------------------------------- */
.footer { background: var(--indigo-900); padding: 56px 0 28px; color: rgba(255,255,255,0.75); }
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer__brand-name { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.2rem; }
.footer__brand p { color: rgba(255,255,255,0.65); font-size: 0.86rem; margin-top: 10px; line-height: 1.6; }
.footer__col h2 {
  font-family: var(--font-mono);
  color: var(--green-100);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  font-weight: 600;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; }
.footer__legal { font-family: var(--font-mono); color: rgba(255,255,255,0.62); font-size: 11.5px; text-align: center; padding-top: 22px; }

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.center { text-align: center; }
.right { text-align: right; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet grande / laptop chica */
@media (max-width: 1080px) {
  .split, .split--reverse { gap: 40px; }
  .trust__logos { grid-template-columns: repeat(3, 1fr); }
  .logo-chip:nth-child(3n+1)::before { display: none; }
  .clients { --cols: 4; }
}

/* Tablet */
@media (max-width: 860px) {
  .section { padding: 64px 0 68px; }
  .section--pad-sm { padding: 48px 0; }

  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav .wrap { min-height: 68px; }
  .nav__logo { height: 60px; }
  .tabsticky { top: var(--nav-h, 98px); }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    padding: 8px 0;
  }
  .nav__links.is-open a {
    padding: 14px var(--wrap-pad);
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open a[aria-current="page"] {
    border-bottom: 1px solid var(--line);
    background: var(--blue-100);
  }
  .nav__links.is-open .nav__cta-mobile {
    display: block;
    margin: 12px var(--wrap-pad) 6px;
    border-bottom: none !important;
  }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .topbar__addr { display: none; }
  .ctaband { padding: 32px; }
  /* Celular/tablet: la foto se ve limpia arriba y se funde al índigo donde empieza el texto */
  .hero__img, .hero__scrim { inset: 0 0 auto 0; height: auto; aspect-ratio: 3 / 2; }
  .hero__scrim { background: linear-gradient(180deg, rgba(var(--scrim-rgb), var(--scrim-mobile)) 0%, rgba(var(--scrim-rgb), 0) 30%, rgba(var(--scrim-rgb), 0) 55%, rgba(var(--scrim-rgb), 1) 100%); }
  .hero .wrap { padding-top: calc(100vw * 2 / 3 - 56px); padding-bottom: 56px; }
  .hero .eyebrow { text-shadow: none; }
}

/* Teléfono */
@media (max-width: 560px) {
  body { font-size: 15px; }

  .section { padding: 48px 0 52px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .clients { --cols: 2; }
  .trust__logos { grid-template-columns: repeat(2, 1fr); }
  .logo-chip:nth-child(odd)::before { display: none; }
  .logo-chip:nth-child(even)::before { display: block; }
  .stats__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }

  .topbar { font-size: 12px; }
  .topbar .wrap { justify-content: center; }
  .topbar__contact { gap: 0 14px; justify-content: center; line-height: 1.5; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .ctaband { padding: 28px 22px; text-align: left; }
  .ctaband .btn { width: 100%; }

  .card--pad { padding: 20px; }
  .pcard__body { padding: 18px; }

  /* Objetivos táctiles más altos */
  .footer__col ul { gap: 0; }
  .footer__col a { display: inline-block; padding: 10px 0; }
  .topbar__contact a { display: inline-block; padding: 6px 0; }
}

/* Pantallas anchas: escalar tipografía y hero para aprovechar el ancho */
@media (min-width: 1600px) {
  body { font-size: 17px; }
  .nav__logo { height: 84px; }
  .hero .wrap { padding-top: 120px; padding-bottom: 132px; }
  .hero__inner { max-width: 820px; }
  .hero p { max-width: 660px; font-size: 1.25rem; }
  .h1 { font-size: 3.75rem; }
  .h2 { font-size: 2.4rem; }
}
@media (min-width: 2200px) {
  body { font-size: 18px; }
  .hero__inner { max-width: 960px; }
  .hero p { max-width: 760px; }
}

/* --- Utilidades que reemplazan estilos inline ------------------------ */
.h1--page { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.4rem); }
.h2--sm { font-size: 1.6rem; }
.h2--cta { font-size: 1.75rem; }
.h2--card { font-size: 1.25rem; }
.h3--sm { font-size: 0.95rem; }
.lead--wide { max-width: 80ch; }
.lead--wide strong { color: var(--ink); }
.lead--list { padding-left: 1.2em; display: grid; gap: 4px; }
.lead--list li::marker { color: var(--green-600); }
.section--dark .lead--full { color: rgba(255,255,255,0.78); max-width: none; }
.text-body { font-size: 1rem; line-height: 1.65; }
.text-note { font-size: 0.85rem; color: var(--ink-soft); }
.text-fine { font-size: 0.75rem; color: var(--ink-soft); }
.link-light { color: #fff; display: inline-block; padding: 10px 0 2px; border-bottom: 1px solid rgba(255,255,255,0.5); }
.link-light:hover { color: #fff; border-bottom-color: #fff; }
.stack-22 { display: flex; flex-direction: column; gap: 22px; }
.info-row svg { color: var(--green-700); }
.card-note { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; margin-top: 6px; }
.load-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.load-row { display: flex; gap: 10px; align-items: baseline; color: rgba(255,255,255,0.75); font-size: 0.8rem; }
.techcard--media { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.techcard__img { width: 160px; height: 210px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.techcard__text { flex: 1; min-width: 220px; }
.techcard__text p { max-width: 100ch; }
.narrow-center { max-width: 640px; text-align: center; }
.narrow-center .lead { margin-left: auto; margin-right: auto; }
.hero__actions--center { justify-content: center; margin-top: 28px; }
table.data td.cell-strong { font-weight: 600; }
.split__photo--tall { aspect-ratio: 4 / 3; }
.split__ph { aspect-ratio: 4 / 3; min-height: 0; width: 100%; border-radius: 4px; }

/* --- Bolardos: texto a la izquierda, línea completa de modelos a la derecha --- */
.bolardos-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.bolardos-intro__img { width: 100%; height: auto; mix-blend-mode: multiply; } /* el fondo blanco de la foto se funde con el de la página */
@media (max-width: 860px) { .bolardos-intro { grid-template-columns: 1fr; gap: 20px; } }

/* --- Mobiliario: foto completa, sin recortes (fondo blanco como las miniaturas de Inicio) --- */
.pcard .photo-fill--contain { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.pcard--contain .ph { aspect-ratio: 4 / 3; }
.h3--split { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 12px; }
.pcard__body .pcard__desc { flex-grow: 1; }
.pcard__body .pcard__desc p { flex-grow: 0; margin: 0; }

/* --- Tapas de inspección: tarjeta por modelo, 2 fotos siempre visibles --- */
.tcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tcard { overflow: hidden; display: flex; flex-direction: column; }
.tcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 20px 16px; border-bottom: 1px solid var(--line); }
.tcard__head h3 { color: var(--ink); }
.tcard__sub { margin-top: 4px; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.5; }
.tcard__spec { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 0.85rem; color: var(--ink-soft); text-align: right; flex-shrink: 0; }
.tcard__photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line); }
.tcard__photos img { display: block; }
.tcard__photos img, .tcard__photos .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 0; border-radius: 0; min-height: 0; background-color: var(--blue-100); }
@media (max-width: 860px) { .tcards { grid-template-columns: 1fr; } }
.tcard__photos { flex-grow: 1; }
.tcard__photos--single { display: block; background: #fff; }
.tcard__photos--single img { aspect-ratio: 16 / 9; object-fit: contain; background: #fff; }
.tcard__photos img, .tcard__photos .ph { align-self: stretch; }
.tcard__photos--fit { background: #fff; }
.tcard__photos--fit img { object-fit: contain; background: #fff; min-height: 0; }
@media (max-width: 860px) { .tcard__photos--fit img { aspect-ratio: 4 / 5; } }
.tcard__photos--tall img, .tcard__photos--fit.tcard__photos--tall img { aspect-ratio: 3 / 5; }
.split__photo--wide { aspect-ratio: 3 / 2; }
