/* ==========================================================================
   Grúas Cono Sur — Sistema de diseño
   Marca: navy #122432 + amarillo #ffcb32 · Montserrat (titulares) + Inter (texto)
   ========================================================================== */

:root {
  /* Marca */
  --navy-950: #08121a;
  --navy-900: #0b1822;
  --navy-800: #122432;
  --navy-700: #1c3447;
  --navy-600: #2a4860;
  --yellow-500: #ffcb32;
  --yellow-400: #ffd75e;
  --yellow-600: #e6b21a;

  /* Neutros */
  --cream: #f8f7f3;
  --paper: #ffffff;
  --ink: #122432;
  --text: #43505b;
  --text-mute: #5f6c77;
  --line: #dfe3e6;
  --line-dark: rgba(255, 255, 255, .12);
  --on-dark: #e9eef2;
  --on-dark-mute: #a9b6c1;

  --whatsapp: #0f7f43;
  --whatsapp-hover: #0b6b38;
  --danger: #c0392b;

  /* Tipografía */
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.2rem + 2.4vw, 2.875rem);
  --fs-hero: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem);

  /* Espaciado */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --section-y: clamp(64px, 5vw + 40px, 120px);
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(8, 18, 26, .06), 0 2px 8px rgba(8, 18, 26, .05);
  --shadow: 0 10px 30px -12px rgba(8, 18, 26, .25);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--yellow-500); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--navy-800); color: var(--on-dark); }
.section--darker { background: var(--navy-900); color: var(--on-dark); }
.section--paper { background: var(--paper); }
.section--dark h2, .section--dark h3, .section--darker h2, .section--darker h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; gap: var(--space-5); align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; gap: var(--space-8); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy-600);
  margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow-500); border-radius: 2px; }
.section--dark .eyebrow, .section--darker .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--yellow-500); }
.h2 { font-size: var(--fs-2xl); font-weight: 800; }
.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--text); margin-top: var(--space-4); }
.section--dark .lead, .section--darker .lead { color: var(--on-dark-mute); }
.mark { background: linear-gradient(transparent 62%, rgba(255, 203, 50, .55) 62%); padding-inline: 2px; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--yellow-500); --btn-fg: var(--navy-900); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary:hover { --btn-bg: var(--yellow-400); box-shadow: 0 8px 24px -8px rgba(255, 203, 50, .6); }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; }
.btn--whatsapp:hover { --btn-bg: var(--whatsapp-hover); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--ghost:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .08); }
.btn--navy { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--navy:hover { --btn-bg: var(--navy-700); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: var(--navy-800); }
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--navy-800); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow, .section--darker .link-arrow { color: var(--yellow-500); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-open { background: rgba(11, 24, 34, .92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 168px; height: auto; }
.nav { display: none; }
.nav ul { display: flex; list-style: none; gap: 4px; }
.nav a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); transition: background-color .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: var(--yellow-500); }
.nav a[aria-current="page"] { color: var(--yellow-500); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-phone { display: none; color: #fff; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); align-items: center; gap: 8px; }
.header-phone:hover { color: var(--yellow-500); }
.header-cta { display: none; }
.menu-toggle { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-sm); color: #fff; cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.is-open .menu-toggle .icon-open { display: none; }
.is-open .menu-toggle .icon-close { display: block; }

.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--navy-900); padding: var(--space-5) var(--gutter) var(--space-7); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease-out), visibility .25s; }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; border-top: 1px solid var(--line-dark); }
.mobile-nav li a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line-dark); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; }
.mobile-nav .btn { margin-top: var(--space-4); width: 100%; }

@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle, .mobile-nav { display: none; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1280px) { .header-phone { display: inline-flex; } }

/* ---------- Hero con video ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%) scale(1.25); border: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-ready { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(8, 18, 26, .72) 0%, rgba(8, 18, 26, .25) 28%, rgba(8, 18, 26, .35) 55%, rgba(8, 18, 26, .94) 100%),
  linear-gradient(90deg, rgba(8, 18, 26, .7) 0%, rgba(8, 18, 26, 0) 65%); }
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero__content { max-width: 820px; }
.hero__badge { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; margin-bottom: var(--space-5); }
@media (max-width: 599px) { .hero__badge .hide-sm { display: none; } }
.hero__badge img { height: 22px; width: auto; background: var(--yellow-500); padding: 5px 8px; border-radius: 999px; box-sizing: content-box; }
.hero h1 { color: #fff; font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--yellow-500); }
.hero__lead { margin-top: var(--space-5); font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem); color: #dfe6ec; max-width: 640px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__stats { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); }
.hero__stat { padding: var(--space-5) var(--space-4) 0 0; }
.hero__stat dt { font-size: var(--fs-xs); color: #c3ccd4; order: 2; }
.hero__stat dd { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); color: #fff; line-height: 1.1; }
.hero__stat dd span { color: var(--yellow-500); }
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 768px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } .hero__stat + .hero__stat { padding-left: var(--space-5); border-left: 1px solid rgba(255, 255, 255, .12); } }
@media (max-width: 767px) { .hero__stat:nth-child(n+3) { padding-top: var(--space-4); } }
.video-toggle { position: absolute; right: var(--gutter); bottom: 100px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: none; place-items: center; background: rgba(8, 18, 26, .55); border: 1px solid rgba(255, 255, 255, .35); color: #fff; cursor: pointer; transition: background-color .2s; }
.video-toggle:hover { background: rgba(8, 18, 26, .85); }
.video-toggle.is-visible { display: grid; }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle .icon-play { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }
@media (max-width: 767px) { .video-toggle { top: calc(var(--header-h) + 12px); bottom: auto; } }

/* ---------- Franja de confianza ---------- */
.trustbar { background: var(--yellow-500); color: var(--navy-900); }
.trustbar .container { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: center; padding-block: 18px; }
@media (min-width: 1100px) { .trustbar .container { flex-wrap: nowrap; justify-content: space-between; } }
.trustbar li { list-style: none; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); }

/* ---------- Bloque "En resumen" (GEO) ---------- */
.summary { display: grid; gap: var(--space-7); }
@media (min-width: 960px) { .summary { grid-template-columns: 1.15fr 1fr; gap: var(--space-8); align-items: start; } }
.summary__text p + p { margin-top: var(--space-4); }
.summary__text strong { color: var(--ink); }
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.facts h3 { font-size: var(--fs-lg); margin-bottom: var(--space-4); }
.facts dl { display: grid; margin: 0; }
.facts dl > div { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-4); padding-block: 12px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; }
@media (max-width: 480px) { .facts dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Servicios ---------- */
.services { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-700); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.service__num { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xs); letter-spacing: .14em; color: var(--navy-600); }
.service h3 { font-size: var(--fs-xl); }
.service ul { list-style: none; display: grid; gap: 8px; margin-top: var(--space-2); font-size: var(--fs-sm); }
.service li { display: flex; gap: 10px; align-items: flex-start; }
.service li .icon { color: var(--yellow-600); margin-top: 3px; width: 18px; height: 18px; stroke-width: 2.5; }
.service .link-arrow { margin-top: auto; padding-top: var(--space-4); }

/* ---------- Flota (bento) ---------- */
.fleet { display: grid; gap: var(--space-4); }
@media (min-width: 720px) { .fleet { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fleet { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); } .fleet__item--feature { grid-column: span 2; grid-row: span 2; } .fleet__item--wide { grid-column: span 2; } }
.fleet__item--feature { min-height: 520px; }
.fleet__item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--navy-700); border: 1px solid var(--line-dark); }
.fleet__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease-out); }
.fleet__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 18, 26, .05) 0%, rgba(8, 18, 26, .55) 40%, rgba(8, 18, 26, .96) 100%); }
.fleet__item:hover img { transform: scale(1.05); }
.fleet__body { padding: var(--space-5); }
.fleet__tag { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-900); background: var(--yellow-500); padding: 4px 10px; border-radius: 999px; margin-bottom: var(--space-3); }
.fleet__item h3 { color: #fff; font-size: var(--fs-lg); }
.fleet__item--feature h3 { font-size: var(--fs-2xl); }
.fleet__item p { margin-top: 6px; font-size: var(--fs-sm); color: #e3e9ee; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.fleet__more { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-3); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--yellow-500); }
.fleet__item:hover .fleet__more .icon { transform: translateX(4px); }
.fleet__more .icon { transition: transform .2s var(--ease-out); }
.models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-4); list-style: none; }
.models li { font-size: var(--fs-xs); font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- Liebherr ---------- */
.liebherr { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .liebherr { grid-template-columns: 1fr 1.1fr; gap: var(--space-9); } }
.liebherr__logo { display: inline-block; background: var(--yellow-500); padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: var(--space-5); }
.liebherr__logo img { width: 180px; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 600px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit { background: var(--navy-800); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.benefit .icon { width: 28px; height: 28px; color: var(--yellow-500); stroke-width: 1.75; }
.benefit h3 { font-size: var(--fs-md); color: #fff; }
.benefit p { font-size: var(--fs-xs); color: var(--on-dark-mute); line-height: 1.5; }

/* ---------- Industrias / proyectos ---------- */
.industries { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .industries { grid-template-columns: repeat(3, 1fr); } }
.industry { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-3); }
.industry__icon { width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; background: var(--navy-800); color: var(--yellow-500); }
.industry__icon .icon { width: 26px; height: 26px; stroke-width: 1.75; }
.industry h3 { font-size: var(--fs-lg); }
.industry p { font-size: var(--fs-sm); }
.industry .refs { font-size: var(--fs-xs); color: var(--text-mute); padding-top: var(--space-3); border-top: 1px dashed var(--line); margin-top: auto; }
.industry .refs strong { color: var(--ink); }

.projects { margin-top: var(--space-7); display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .projects { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 240px); } .project--tall { grid-row: span 2; } }
.project { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-700); min-height: 200px; }
.project img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.project figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: var(--fs-xs); font-weight: 600; color: #fff; background: rgba(8, 18, 26, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 8px 12px; border-radius: var(--radius-sm); }
@media (max-width: 899px) { .project--tall { grid-column: span 2; min-height: 280px; } }

/* ---------- Seguridad ---------- */
.safety { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .safety { grid-template-columns: .9fr 1.1fr; gap: var(--space-9); } }
.safety__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 620px; background: var(--navy-700); }
.safety__img img { width: 100%; height: 100%; object-fit: cover; }
.safety__badge { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); background: var(--yellow-500); color: var(--navy-900); border-radius: var(--radius); }
.safety__badge strong { font-family: var(--font-head); font-size: 2.25rem; font-weight: 800; line-height: 1; }
.safety__badge span { font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.checklist { list-style: none; display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.checklist li { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); align-items: start; }
.checklist .icon-wrap { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; background: rgba(255, 203, 50, .14); color: var(--yellow-500); }
.checklist h3 { font-size: var(--fs-md); color: #fff; margin-bottom: 4px; }
.checklist p { font-size: var(--fs-sm); color: var(--on-dark-mute); }

/* ---------- Proceso ---------- */
.steps { list-style: none; display: grid; gap: var(--space-5); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: var(--space-6) var(--space-5) var(--space-5); border-top: 3px solid var(--navy-800); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--yellow-500); -webkit-text-stroke: 1px var(--yellow-600); margin-bottom: var(--space-4); }
.step h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.step p { font-size: var(--fs-sm); }

/* ---------- Cobertura ---------- */
.coverage { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .coverage { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }
.coverage__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy-700); }
.coverage__img img { width: 100%; height: 100%; object-fit: cover; }
.regions { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.region { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; padding: var(--space-4) var(--space-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.region__flag { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xs); letter-spacing: .08em; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--yellow-500); }
.region h3 { font-size: var(--fs-md); }
.region p { font-size: var(--fs-sm); margin-top: 2px; }

/* ---------- Clientes ---------- */
.clients { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients__track { display: flex; gap: var(--space-4); width: max-content; animation: marquee 60s linear infinite; list-style: none; }
.clients:hover .clients__track { animation-play-state: paused; }
.clients__track li { flex: 0 0 auto; width: 168px; height: 104px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; }
.clients__track img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.clients__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--space-4) / 2)); } }
.clients-names { margin-top: var(--space-5); text-align: center; font-size: var(--fs-xs); color: var(--text-mute); max-width: 900px; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: var(--space-7); }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: var(--space-9); } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-md); color: var(--ink); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s var(--ease-out); color: var(--navy-600); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--navy-600); }
.faq .answer { padding: 0 0 var(--space-5); font-size: var(--fs-sm); max-width: 68ch; }
.faq .answer p + p { margin-top: var(--space-3); }

/* ---------- Noticias ---------- */
.news { display: grid; gap: var(--space-5); }
@media (min-width: 720px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .news { grid-template-columns: repeat(4, 1fr); } }
.post { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-700); }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.post time { font-size: var(--fs-xs); font-weight: 600; color: var(--navy-600); text-transform: uppercase; letter-spacing: .06em; }
.post h3 { font-size: var(--fs-md); line-height: 1.3; }
.post p { font-size: var(--fs-sm); }

/* ---------- Contacto / CTA final ---------- */
.contact { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .contact { grid-template-columns: 1fr 1.1fr; gap: var(--space-9); align-items: start; } }
.contact__channels { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.channel { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); text-decoration: none; color: #fff; transition: background-color .2s, border-color .2s; }
a.channel:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 203, 50, .5); }
.channel__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--yellow-500); color: var(--navy-900); flex-shrink: 0; }
.channel__icon--wa { background: var(--whatsapp); color: #fff; }
.channel small { display: block; font-size: var(--fs-xs); color: var(--on-dark-mute); }
.channel strong { font-weight: 600; font-size: var(--fs-sm); }

.form { background: var(--paper); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form h3 { font-size: var(--fs-xl); color: var(--ink); }
.form > p { font-size: var(--fs-sm); margin-top: 6px; }
.form__grid { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #c9d0d6; border-radius: var(--radius-sm); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(255, 203, 50, .55); }
.field .hint { font-size: var(--fs-xs); color: var(--text-mute); }
.field .error { font-size: var(--fs-xs); color: var(--danger); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }
.form__foot { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.form__legal { font-size: var(--fs-xs); color: var(--text-mute); }
.form__status { font-size: var(--fs-sm); font-weight: 600; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form__status.is-ok { display: block; background: #e7f6ec; color: #17633a; }
.form__status.is-err { display: block; background: #fbeaea; color: #8f2a1f; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-mute); padding-block: var(--space-8) 104px; font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--space-7); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { color: var(--on-dark-mute); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.site-footer a:hover { color: var(--yellow-500); }
.footer-brand img { width: 200px; margin-bottom: var(--space-4); }
.footer-brand p { max-width: 36ch; }
.socials { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.socials a { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.socials a:hover { border-color: var(--yellow-500); }
.footer-bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; font-size: var(--fs-xs); }
address { font-style: normal; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--whatsapp); color: #fff; box-shadow: 0 10px 30px -6px rgba(31, 168, 85, .6); transition: transform .25s var(--ease-out), background-color .2s; }
.wa-float:hover { transform: scale(1.06); background: var(--whatsapp-hover); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float__label { position: absolute; right: 72px; white-space: nowrap; background: var(--navy-900); color: #fff; font-size: var(--fs-xs); font-weight: 600; padding: 8px 12px; border-radius: var(--radius-sm); opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .clients__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ==========================================================================
   Componentes v2 — más imagen, menos ícono
   ========================================================================== */

/* ---------- Quiénes somos (home) ---------- */
.about { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1000px) { .about { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }
.about__media { position: relative; padding: 0 0 56px 0; }
@media (min-width: 600px) { .about__media { padding: 0 56px 72px 0; } }
.about__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-700); }
.about__main img, .about__small img { width: 100%; height: 100%; object-fit: cover; }
.about__small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--shadow); background: var(--navy-700); }
.about__stamp { position: absolute; left: 20px; top: 20px; background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); max-width: 220px; }
.about__stamp strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; color: var(--yellow-500); line-height: 1; }
.about__stamp span { font-size: var(--fs-xs); color: var(--on-dark); }
.pillars { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.pillar { display: grid; grid-template-columns: 88px 1fr; gap: var(--space-4); align-items: center; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .25s var(--ease-out), box-shadow .25s; }
.pillar:hover { border-color: var(--yellow-500); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.pillar img { width: 88px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.pillar h3 { font-size: var(--fs-md); }
.pillar p { font-size: var(--fs-sm); margin-top: 2px; }
.about__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.facts-strip { margin-top: var(--space-8); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .facts-strip { grid-template-columns: repeat(5, 1fr); } }
.facts-strip > div { background: var(--paper); padding: var(--space-5); }
.facts-strip dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-600); }
.facts-strip dd { margin: 6px 0 0; font-size: var(--fs-sm); color: var(--ink); font-weight: 500; line-height: 1.45; }
@media (max-width: 899px) { .facts-strip > div:last-child { grid-column: 1 / -1; } }

/* ---------- Tarjeta con foto (sectores, etc.) ---------- */
.photo-cards { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .photo-cards { grid-template-columns: repeat(3, 1fr); } }
.photo-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s; }
a.photo-card:hover, .photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.photo-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-700); }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.photo-card:hover .photo-card__img img { transform: scale(1.05); }
.photo-card__label { position: absolute; left: 14px; top: 14px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--yellow-500); color: var(--navy-900); padding: 5px 10px; border-radius: 999px; }
.photo-card__body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.photo-card h3 { font-size: var(--fs-lg); }
.photo-card p { font-size: var(--fs-sm); }
.photo-card .refs { font-size: var(--fs-xs); color: var(--text-mute); padding-top: var(--space-3); border-top: 1px dashed var(--line); margin-top: auto; }
.photo-card .refs strong { color: var(--ink); }

/* ---------- Liebherr con imagen ---------- */
.liebherr__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; background: var(--navy-700); }
.liebherr__media img { width: 100%; height: 100%; object-fit: cover; }
.liebherr__media .liebherr__logo { position: absolute; left: 20px; bottom: 20px; margin: 0; box-shadow: var(--shadow); }
.ticks { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px var(--space-5); margin-top: var(--space-6); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: #fff; font-size: var(--fs-sm); }
.ticks li .icon { color: var(--yellow-500); margin-top: 2px; width: 18px; height: 18px; stroke-width: 2.5; }
.ticks li span { display: block; font-weight: 400; color: var(--on-dark-mute); font-size: var(--fs-xs); margin-top: 2px; }
.section--paper .ticks li, .section:not(.section--dark):not(.section--darker) .ticks li { color: var(--ink); }
.section:not(.section--dark):not(.section--darker) .ticks li .icon { color: var(--yellow-600); }
.section:not(.section--dark):not(.section--darker) .ticks li span { color: var(--text); }

/* ---------- Regiones con foto ---------- */
.region--photo { grid-template-columns: 72px 1fr; align-items: center; }
.region__thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.region__thumb img { width: 100%; height: 100%; object-fit: cover; }
.region__thumb b { position: absolute; left: 4px; bottom: 4px; font-size: 10px; letter-spacing: .06em; background: var(--yellow-500); color: var(--navy-900); padding: 1px 5px; border-radius: 4px; font-family: var(--font-head); }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 18, 26, .94) 0%, rgba(8, 18, 26, .78) 45%, rgba(8, 18, 26, .35) 100%), linear-gradient(180deg, rgba(8, 18, 26, .6) 0%, rgba(8, 18, 26, 0) 30%); }
.page-hero__inner { max-width: var(--container); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; max-width: 820px; }
.page-hero h1 em { font-style: normal; color: var(--yellow-500); }
.page-hero__lead { margin-top: var(--space-4); font-size: clamp(1.0625rem, .95rem + .4vw, 1.25rem); color: #dbe3ea; max-width: 640px; }
.page-hero .hero__ctas { margin-top: var(--space-6); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); color: #b9c5cf; margin-bottom: var(--space-5); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow-500); }
.breadcrumb [aria-current] { color: var(--yellow-500); }

/* ---------- Bloques de contenido genéricos ---------- */
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-9); } .split--reverse > :first-child { order: 2; } }
.split__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-700); position: relative; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__img--contain { background: #fff; border: 1px solid var(--line); }
.split__img--contain img { object-fit: contain; padding: var(--space-5); }
.prose p + p { margin-top: var(--space-4); }
.prose strong { color: var(--ink); }
.section--dark .prose strong, .section--darker .prose strong { color: #fff; }
.prose ul { margin: var(--space-4) 0 0 1.2em; display: grid; gap: 6px; }
.anchor-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.anchor-nav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--navy-800); transition: background-color .2s; }
.anchor-nav a:hover { background: var(--cream); }

.cta-band { background: var(--yellow-500); color: var(--navy-900); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; gap: var(--space-5); align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { font-size: var(--fs-xl); color: var(--navy-900); }
.cta-band p { margin-top: 8px; color: var(--navy-800); }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Modelos de grúas torre ---------- */
.models-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.model { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s; }
.model:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.model__img { aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
.model__img img { width: 100%; height: 100%; object-fit: contain; }
.model__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.model__type { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-600); }
.model h3 { font-size: var(--fs-xl); }
.model p { font-size: var(--fs-sm); }
.model__actions { display: flex; gap: var(--space-2); margin-top: auto; padding-top: var(--space-4); flex-wrap: wrap; }
.model__actions .btn { min-height: 44px; padding: 10px 14px; font-size: var(--fs-xs); flex: 1; }

/* ---------- Tabla ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.table caption { text-align: left; padding: var(--space-4) var(--space-5); font-weight: 600; color: var(--ink); }
.table th, .table td { padding: 12px var(--space-5); text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; border-top: 0; }
.table tbody tr:nth-child(even) { background: #fafaf8; }
.table th[scope="row"] { color: var(--ink); font-weight: 700; white-space: nowrap; }

/* ---------- Equipo ---------- */
.team { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.person { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.person__photo { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--navy-800); display: grid; place-items: center; color: var(--yellow-500); font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: var(--fs-md); }
.person .role { font-size: var(--fs-xs); color: var(--navy-600); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.person ul { list-style: none; margin-top: 6px; display: grid; gap: 2px; font-size: var(--fs-sm); }
.person a { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: 6px; min-height: 28px; overflow-wrap: anywhere; }
.person a:hover { color: var(--navy-600); text-decoration: underline; }
.person a .icon { width: 15px; height: 15px; color: var(--navy-600); }
.team-group + .team-group { margin-top: var(--space-7); }
.team-group > h3 { font-size: var(--fs-lg); margin-bottom: var(--space-4); }

.leaders { display: grid; gap: var(--space-5); }
@media (min-width: 800px) { .leaders { grid-template-columns: repeat(3, 1fr); } }
.leader { text-align: center; padding: var(--space-6) var(--space-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.leader img { width: 144px; height: 144px; border-radius: 50%; margin: 0 auto var(--space-4); object-fit: cover; border: 4px solid var(--yellow-500); }
.leader h3 { font-size: var(--fs-lg); }
.leader .role { font-size: var(--fs-sm); color: var(--navy-600); font-weight: 600; margin-top: 4px; }
.leader p { font-size: var(--fs-sm); margin-top: var(--space-3); }

/* ---------- Línea de tiempo ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: var(--space-5); padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line-dark); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow-500); box-shadow: 0 0 0 4px rgba(255, 203, 50, .2); }
.timeline time { font-family: var(--font-head); font-weight: 800; color: var(--yellow-500); font-size: var(--fs-sm); }
.timeline h3 { font-size: var(--fs-md); color: #fff; margin-top: 2px; }
.timeline p { font-size: var(--fs-sm); color: var(--on-dark-mute); margin-top: 4px; }

/* ---------- Galería de proyectos ---------- */
.gallery { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } .gallery .g-wide { grid-column: span 2; } .gallery .g-tall { grid-row: span 2; } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 180px; background: var(--navy-700); }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: var(--fs-xs); font-weight: 600; color: #fff; background: rgba(8, 18, 26, .72); padding: 6px 10px; border-radius: var(--radius-sm); }

/* ---------- Artículos (noticias) ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: var(--fs-sm); color: var(--text-mute); margin-bottom: var(--space-5); }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__cover { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 var(--space-6); background: var(--navy-700); }
.article__cover img { width: 100%; }
.article .prose { font-size: var(--fs-md); line-height: 1.75; }
.article .prose h2 { font-size: var(--fs-xl); margin: var(--space-6) 0 var(--space-3); }
.article blockquote { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5); border-left: 4px solid var(--yellow-500); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--ink); }
.article blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: var(--fs-sm); color: var(--text-mute); }
.key-points { margin: var(--space-5) 0; padding: var(--space-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.key-points h2 { font-size: var(--fs-md) !important; margin: 0 0 var(--space-3) !important; }
.key-points ul { margin: 0 0 0 1.1em; display: grid; gap: 6px; font-size: var(--fs-sm); }
.news--list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; }
.post--feature { grid-column: 1 / -1; }
@media (min-width: 900px) { .post--feature { flex-direction: row; } .post--feature .post__img { flex: 1.2; aspect-ratio: auto; min-height: 340px; } .post--feature .post__body { flex: 1; padding: var(--space-7); justify-content: center; } .post--feature h3 { font-size: var(--fs-xl); } }

/* ---------- Mapa ---------- */
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: var(--space-3) 0 0; }
.specs > div { background: var(--cream); border-radius: var(--radius-sm); padding: 8px 10px; }
.specs dt { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); }
.specs dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: var(--fs-md); }
.table a { color: var(--ink); text-decoration: none; }
.table a:hover { color: var(--navy-600); text-decoration: underline; }
.page-hero--article { padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero--article::before { background: var(--navy-900); }
.page-hero--article h1 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); }
.post--feature .post__body p { font-size: var(--fs-md); }

/* ---------- Directorio plegable (contacto) ---------- */
.directory { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.directory > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6); min-height: 64px; }
.directory > summary::-webkit-details-marker { display: none; }
.directory > summary strong { font-family: var(--font-head); color: var(--ink); font-size: var(--fs-md); display: block; }
.directory > summary span { font-size: var(--fs-sm); color: var(--text-mute); }
.directory > summary .icon { color: var(--navy-600); transition: transform .25s var(--ease-out); flex-shrink: 0; }
.directory[open] > summary .icon { transform: rotate(45deg); }
.directory > summary:hover strong { color: var(--navy-600); }
.directory__body { padding: 0 var(--space-6) var(--space-6); border-top: 1px solid var(--line); padding-top: var(--space-5); }
.directory .team-group > h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--navy-600); }
.directory .person { padding: 10px 12px; }
.directory .person__photo { width: 52px; height: 52px; font-size: 1rem; }
.directory .person h3 { font-size: var(--fs-sm); }
.directory .person ul { font-size: var(--fs-xs); }
