/* ===========================================================================
   Atlantic SpA — "Descenso operacional"
   Design system: del oleaje al abismo
   =========================================================================== */

:root {
  /* Paleta — del oleaje al abismo */
  --abyss:   #050D1A;
  --deep:    #0A1628;
  --steel:   #11233D;
  --surface: #17304F; /* superficie / navy acerado más claro (tope del hero) */
  --current: #1E88E5;
  --surf:    #4FA8F0;
  --foam:    #EAF1F8;
  --mist:    #8497AE;

  --steel-line: rgba(132, 151, 174, 0.16);
  --steel-line-strong: rgba(132, 151, 174, 0.30);

  /* Tipografía */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Ritmo */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 140px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--foam);
  background-color: var(--deep);
  /* El descenso operacional: el fondo desciende de la superficie al abismo. */
  background-image: linear-gradient(
    180deg,
    var(--surface) 0%,
    #112746        9%,
    var(--deep)    22%,
    #0A1526        42%,
    #091321        60%,
    #07101D        76%,
    #060E1A        88%,
    var(--abyss)   100%
  );
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--current); color: #fff; }

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

/* ---------- Tipografía utilitaria ---------- */
.kicker, .mono {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surf);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .kicker { display: block; margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(34px, 5vw, 52px);
  color: var(--foam);
}
.section-head p {
  margin-top: 20px;
  color: var(--mist);
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 60ch;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; padding-block: var(--section-y); }

/* ---------- Secciones a pantalla completa (ritmo de descenso) ---------- */
html { scroll-behavior: smooth; }
@media (min-width: 920px) and (min-height: 620px) {
  html { scroll-snap-type: y proximity; }
  .snap {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: center;
    padding-block: clamp(96px, 9vh, 132px);
  }
  .snap > .wrap { width: 100%; }
  /* el héroe ya gestiona su propia altura/alineación */
  .hero.snap { display: flex; flex-direction: row; }
  .section-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
}

/* índice de profundidad por sección (etiqueta lateral) */
.depth-tag {
  position: absolute;
  top: clamp(28px, 5vw, 48px);
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
  opacity: 0.55;
  z-index: 2;
}
@media (max-width: 980px) { .depth-tag { display: none; } }

/* ============================ NAV ============================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background-color: rgba(8, 18, 33, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--steel-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; border-radius: 7px; object-fit: cover; display: block; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 18px;
  line-height: 1;
}
.brand__name span { color: var(--mist); font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--mist);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--current);
  transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--foam); }
.nav__links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border-radius: 2px;
  transition: transform 0.18s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--current);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 24px -10px rgba(30,136,229,0.7);
}
.btn--primary:hover { background: #2b95ef; transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--steel-line-strong);
  color: var(--foam);
  background: rgba(255,255,255,0.02);
}
.btn--ghost:hover { border-color: var(--surf); color: #fff; }
.btn--lg { padding: 17px 30px; font-size: 16px; }

.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: var(--foam);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__drawer {
    position: fixed;
    inset: 76px 0 auto 0;
    background: rgba(8, 18, 33, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--steel-line);
    display: grid;
    gap: 4px;
    padding: 18px var(--gutter) 28px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
    z-index: 59;
  }
  .nav__drawer.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__drawer a {
    padding: 14px 4px;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 22px;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--steel-line);
    color: var(--foam);
  }
  .nav__drawer .btn { margin-top: 16px; justify-content: center; }
  body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.nav__drawer { display: none; }
@media (max-width: 860px) { .nav__drawer { display: grid; } }

/* ============================ DEPTH RULER (gesto firma) ============================ */
.depth-ruler {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  pointer-events: none;
  height: min(58vh, 460px);
  justify-content: space-between;
}
.depth-ruler__line {
  position: absolute;
  right: 5px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--steel-line-strong) 12%, var(--steel-line-strong) 88%, transparent);
}
.depth-ruler__progress {
  position: absolute;
  right: 4.5px; top: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, var(--surf), var(--current));
  box-shadow: 0 0 8px rgba(79,168,240,0.5);
}
.depth-ruler__tick {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
  opacity: 0.45;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.depth-ruler__tick .t { width: 7px; height: 1px; background: var(--mist); }
.depth-ruler__tick.active { opacity: 1; color: var(--surf); }
.depth-ruler__tick.active .t { background: var(--surf); width: 12px; }
@media (max-width: 1180px) { .depth-ruler { display: none; } }

/* ============================ HERO ============================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.9) contrast(1.03);
}
.hero__photo {
  position: absolute;
  inset: 0;
  background:
    /* duotono navy: oscurece la izquierda para legibilidad del texto */
    linear-gradient(100deg, rgba(5,12,24,0.97) 0%, rgba(7,16,30,0.88) 32%, rgba(8,18,33,0.55) 62%, rgba(10,22,40,0.30) 100%),
    linear-gradient(180deg, rgba(7,16,30,0.55) 0%, transparent 22%, transparent 72%, rgba(5,13,26,0.85) 100%);
}
.hero__tint {
  position: absolute; inset: 0;
  background: var(--deep);
  mix-blend-mode: color;
  opacity: 0.32;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(132,151,174,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132,151,174,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 70% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero__inner { max-width: 880px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.hero__kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--surf);
  box-shadow: 0 0 0 0 rgba(79,168,240,0.6);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79,168,240,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(79,168,240,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,168,240,0); }
}
.hero h1 {
  font-size: clamp(46px, 8.5vw, 92px);
  line-height: 0.92;
  letter-spacing: 0.005em;
}
.hero h1 .accent { color: var(--current); }
.hero__sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--mist);
  max-width: 56ch;
  line-height: 1.6;
}
.hero__actions { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__link {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--foam); font-weight: 500; font-size: 15px;
}
.hero__link .arr { transition: transform 0.2s var(--ease); }
.hero__link:hover { color: var(--surf); }
.hero__link:hover .arr { transform: translateX(4px); }

.hero__meta {
  margin-top: clamp(44px, 6vw, 72px);
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  flex-wrap: wrap;
  border-top: 1px solid var(--steel-line);
  padding-top: 28px;
}
.hero__meta-item { display: grid; gap: 4px; }
.hero__meta-item b {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  color: var(--foam);
}
.hero__meta-item span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--mist); text-transform: uppercase; }

.waterline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--surf), transparent);
  opacity: 0.5;
  z-index: 3;
}

/* ============================ CLIENTES · MARQUEE ============================ */
.clients {
  padding-block: clamp(58px, 7.5vw, 92px);
  background: var(--deep);
  border-top: 1px solid var(--steel-line);
  border-bottom: 1px solid var(--steel-line);
  overflow: hidden;
}
.clients__head { text-align: center; margin-bottom: clamp(38px, 4.5vw, 56px); }
.clients__kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--surf);
  margin-bottom: 18px;
}
.clients__kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--current);
}
.clients__title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--foam);
  line-height: 1.04;
}
.clients__sub {
  margin: 16px auto 0;
  max-width: 52ch;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.55;
  color: var(--mist);
}

/* Pista */
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fade en los bordes hacia el fondo (--deep) */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
  will-change: transform;
}
/* Cada set lleva su propio gap interno + un trailing igual, de modo que
   translateX(-50%) (un set completo) calza sin tirón en la costura. */
.marquee__set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(56px, 6.5vw, 130px);
  padding-right: clamp(56px, 6.5vw, 130px);
}
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Logo monocromo (siluetas blancas, sin fondo) */
.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(36px, 3.4vw, 52px);
}
.logo img {
  height: 100%;
  width: auto;
  max-width: clamp(160px, 19vw, 250px);
  object-fit: contain;
  display: block;
  opacity: 0.5;
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.logo:hover img {
  opacity: 1;
  transform: translateY(-1px);
  filter: drop-shadow(0 0 16px rgba(79,168,240,0.55));
}

/* Placeholder de wordmark (BLUMAR sin logo) — reemplazar por <img src="…"> */
.logo__ph {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--foam);
  line-height: 1;
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease);
}
.logo:hover .logo__ph {
  opacity: 1;
  filter: drop-shadow(0 0 16px rgba(79,168,240,0.45));
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
@media (max-width: 560px) {
  .marquee__set { gap: 40px; padding-right: 40px; }
  .logo { height: 30px; }
  .logo img { max-width: 140px; }
  .logo__ph { font-size: 20px; }
}

/* ============================ SERVICIOS ============================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.service {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(17,35,61,0.55), rgba(10,22,40,0.5));
  border: 1px solid var(--steel-line);
  border-radius: 5px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  /* overflow visible: el badge flotante sobresale hacia la costura foto/cuerpo.
     El zoom de la foto se recorta en .service__media, no aquí. */
}
.services__grid .service:nth-child(1),
.services__grid .service:nth-child(2),
.services__grid .service:nth-child(3) { grid-column: span 2; }
.services__grid .service:nth-child(4),
.services__grid .service:nth-child(5) { grid-column: span 3; }

.service:hover {
  transform: translateY(-5px);
  border-color: var(--steel-line-strong);
}

/* media de la tarjeta (foto de faena, duotono navy) */
.service__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--steel);
  border-radius: 5px 5px 0 0;
}
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 0.6s var(--ease);
}
.service:hover .service__media img { transform: scale(1.05); }
.service__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,16,30,0.18) 0%, rgba(7,16,30,0.30) 55%, rgba(10,22,40,0.78) 100%),
    linear-gradient(0deg, rgba(30,136,229,0.10), rgba(30,136,229,0.10));
  pointer-events: none;
}
.service__no {
  position: absolute; top: 16px; left: 18px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--foam); opacity: 0.85; z-index: 2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.service__icon {
  width: 52px; height: 52px;
  padding: 11px;
  color: var(--foam);
  background: var(--current);
  border-radius: 4px;
  box-shadow: 0 10px 22px -8px rgba(5,13,26,0.9);
}
/* Posici\u00f3n flotante solo en el layout del landing (\u00edcono dentro de .service__body,
   solapando la costura foto/cuerpo). El archivo de impresi\u00f3n no tiene esta anidaci\u00f3n. */
.service__body .service__icon {
  position: absolute; left: 26px; top: 0; transform: translateY(-50%); z-index: 3;
}
.service__icon svg { width: 100%; height: 100%; }

.service__body { position: relative; padding: 44px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.service h3 {
  font-size: clamp(20px, 2.3vw, 24px);
  color: var(--foam);
  margin-bottom: 12px;
}
.service p { color: var(--mist); font-size: 15px; line-height: 1.55; }

/* tarjeta sin foto (placeholder marcado) */
.service--ph .service__media .ph { position: absolute; inset: 0; align-items: center; justify-content: center; }
.service--ph .service__media .ph__label { padding: 10px 14px; }
.service--ph .service__media::after { display: none; }

@media (max-width: 920px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .services__grid .service { grid-column: span 1 !important; }
}
@media (max-width: 580px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ============================ QUIÉNES SOMOS ============================ */
.about { position: relative; overflow: hidden; background: var(--deep); padding-block: clamp(64px, 8vw, 110px); }
/* Imagen fantasma de fondo: cohesiona toda la sección con la misma faena */
.about__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("uploads/TMA_GPT_3.png") center/cover no-repeat;
  opacity: 0.07; filter: grayscale(0.35) blur(2px);
  transform: scale(1.08);
  -webkit-mask-image: radial-gradient(130% 95% at 26% 24%, #000 0%, transparent 68%);
          mask-image: radial-gradient(130% 95% at 26% 24%, #000 0%, transparent 68%);
}
.about .wrap { position: relative; z-index: 1; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}
/* Columna media — una sola imagen, reactiva al cursor y al scroll */
.about__frame {
  position: relative; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--steel-line-strong);
  box-shadow: 0 34px 70px -34px rgba(0,0,0,0.85);
  aspect-ratio: 4 / 5;
}
.about__frame-inner {
  position: absolute; inset: 0; z-index: 0;
  transform: translateY(var(--apY, 0px));
  transition: transform 0.12s linear;
  will-change: transform;
}
.about__frame-inner img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14) translate3d(var(--ix, 0px), var(--iy, 0px), 0);
  transition: transform 0.55s var(--ease);
  will-change: transform;
}
/* Difuminado del borde interior: la imagen se funde hacia el texto */
.about__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 52%, rgba(10,22,40,0.55) 100%),
    linear-gradient(0deg, rgba(5,13,26,0.55) 0%, transparent 34%);
}
/* Destello que recorre la imagen — caústicas submarinas */
.about__scan {
  position: absolute; inset: -45% -12%; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(234,241,248,0.10) 50%, transparent 58%);
  transform: translateX(-60%);
  animation: aboutSheen 8s var(--ease) infinite;
}
@keyframes aboutSheen { 0%, 14% { transform: translateX(-65%); } 58%, 100% { transform: translateX(65%); } }
/* Foco azul que sigue al puntero */
.about__glow {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 50%), rgba(79,168,240,0.42), transparent 68%);
  opacity: 0; transition: opacity 0.4s ease; mix-blend-mode: screen;
}
.about__frame:hover .about__glow { opacity: 1; }
.about__cap {
  position: absolute; left: 16px; bottom: 16px; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(5,13,26,0.55); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  border: 1px solid var(--steel-line-strong); color: var(--foam);
  font-size: 11px; letter-spacing: 0.14em;
}
.about__cap .pin { width: 7px; height: 7px; border-radius: 50%; background: var(--current); box-shadow: 0 0 0 4px rgba(30,136,229,0.25); }
@media (max-width: 900px) { .about__frame { aspect-ratio: 16 / 10; } }
@media (prefers-reduced-motion: reduce) { .about__scan { animation: none; display: none; } }

/* Columna texto */
.about__since { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.about__since .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--surf); box-shadow: 0 0 0 4px rgba(79,168,240,0.18); }
.about__title { font-size: clamp(44px, 6.4vw, 76px); color: var(--foam); line-height: 0.9; margin-bottom: 26px; }
.about__title .accent { color: var(--surf); }
.about__lead { color: var(--mist); font-size: clamp(15px, 1.5vw, 17px); max-width: 54ch; }
.about__exp-label { display: block; margin: 30px 0 16px; }
.about__exp { list-style: none; display: grid; gap: 12px; }
.about__exp li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center;
  color: var(--foam); font-size: clamp(15px, 1.5vw, 16.5px);
}
.about__exp li svg { width: 20px; height: 20px; color: var(--current); }

.mv { display: grid; margin-top: 36px; }
.mv__item {
  display: grid; grid-template-columns: 44px 1fr; gap: 20px;
  padding: 26px 0; border-top: 1px solid var(--steel-line);
}
.mv__item:last-child { border-bottom: 1px solid var(--steel-line); }
.mv__icon { width: 40px; height: 40px; color: var(--surf); }
.mv__item h3 { font-size: 21px; color: var(--foam); margin-bottom: 10px; }
.mv__item p { color: var(--mist); font-size: 14.5px; line-height: 1.5; }

/* Strip de valores */
.about__values {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--steel-line);
}
.aval { padding: 36px 24px 30px; border-right: 1px solid var(--steel-line); }
.aval:first-child { padding-left: 0; }
.aval:last-child { border-right: none; }
.aval__icon { width: 36px; height: 36px; color: var(--current); margin-bottom: 18px; }
.aval h4 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: 17px; color: var(--foam); letter-spacing: 0.02em; line-height: 1.08; margin-bottom: 10px;
}
.aval p { font-size: 13px; color: var(--mist); line-height: 1.45; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__values { grid-template-columns: repeat(2, 1fr); }
  .aval { border-bottom: 1px solid var(--steel-line); padding-left: 24px; }
  .aval:first-child { padding-left: 24px; }
  .aval:nth-child(2n) { border-right: none; }
}
@media (max-width: 520px) {
  .about__values { grid-template-columns: 1fr; }
  .aval { border-right: none !important; padding-left: 0; }
  .aval:first-child { padding-left: 0; }
}

/* ============================ SEGURIDAD ============================ */
.safety { }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  background: rgba(10,22,40,0.5);
  border: 1px solid var(--steel-line);
  border-radius: 4px;
  padding: 34px 30px 36px;
}
.pillar__icon { width: 40px; height: 40px; color: var(--surf); margin-bottom: 20px; }
.pillar h3 { font-size: 23px; color: var(--foam); margin-bottom: 22px; }
.pillar ul { list-style: none; display: grid; gap: 14px; }
.pillar li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  font-size: 15px; color: var(--mist); line-height: 1.45;
}
.pillar li svg { width: 18px; height: 18px; color: var(--current); margin-top: 2px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ============================ EXPERIENCIA ============================ */
.case {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--steel-line);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 22px;
}
.case__media { position: relative; min-height: clamp(300px, 42vh, 440px); overflow: hidden; }
.case__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}
.case__hint {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--foam);
  background: rgba(5,13,26,0.55); border: 1px solid var(--steel-line-strong);
  padding: 6px 10px; border-radius: 3px; backdrop-filter: blur(4px);
}
.case__body {
  padding: clamp(34px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(17,35,61,0.4);
}
.case__label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--surf);
  margin-bottom: 22px;
}
.case__label .pin { width: 6px; height: 6px; background: var(--current); border-radius: 50%; }
.case h3 { font-size: clamp(28px, 3.4vw, 40px); color: var(--foam); margin-bottom: 18px; }
.case__body p { color: var(--mist); font-size: 16px; line-height: 1.6; max-width: 46ch; }
.case__vessel {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--steel-line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--mist);
}
.case__vessel b { color: var(--foam); font-weight: 500; }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .case__media { min-height: 240px; }
}

/* indicación de interacción */
.work-hint {
  margin-bottom: 18px;
  color: var(--mist);
  display: flex; align-items: center; gap: 9px;
}
.work-hint::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--surf); box-shadow: 0 0 0 0 rgba(79,168,240,0.6);
  animation: pulse 2.6s var(--ease) infinite;
}
@media (prefers-reduced-motion: reduce) { .work-hint::before { animation: none; } }

.work-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.work {
  border: 1px solid var(--steel-line);
  border-radius: 4px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.work:hover { transform: translateY(-4px); border-color: var(--steel-line-strong); }
.work.is-active {
  border-color: var(--surf);
  box-shadow: 0 0 0 1px var(--surf), 0 16px 32px -18px rgba(30,136,229,0.75);
}
.work__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.work__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.82) contrast(1.03) brightness(0.78);
  transition: filter 0.3s var(--ease), transform 0.5s var(--ease);
}
.work:hover .work__media img,
.work.is-active .work__media img { filter: saturate(0.95) contrast(1.04) brightness(1); }
.work.is-active .work__media img { transform: scale(1.04); }
.work__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(5,13,26,0.5) 100%);
}
.work__body { padding: 14px 16px 16px; position: relative; z-index: 2; }
.work__loc {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--surf); margin-bottom: 10px;
}
.work__loc .pin { width: 5px; height: 5px; background: var(--current); border-radius: 50%; }
.work h4 {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.02em; font-size: 16px; color: var(--foam); line-height: 1.1;
}
@media (max-width: 1080px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .work-grid { grid-template-columns: 1fr 1fr; } }

/* animación al cambiar la faena en el visor */
.case--enter .case__media img { animation: caseImg 0.6s var(--ease); }
.case--enter .case__body > * { animation: caseUp 0.5s var(--ease) backwards; }
.case--enter .case__body > *:nth-child(1) { animation-delay: 0.02s; }
.case--enter .case__body > *:nth-child(2) { animation-delay: 0.07s; }
.case--enter .case__body > *:nth-child(3) { animation-delay: 0.12s; }
.case--enter .case__body > *:nth-child(4) { animation-delay: 0.17s; }
@keyframes caseImg {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: none; }
}
@keyframes caseUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .case--enter .case__media img,
  .case--enter .case__body > * { animation: none; }
}

/* ============================ POR QUÉ ATLANTIC ============================ */
.why { }
.why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--steel-line);
}
.why__item {
  padding: 36px 24px 30px;
  border-bottom: 1px solid var(--steel-line);
  border-right: 1px solid var(--steel-line);
}
.why__grid .why__item:nth-child(5n) { border-right: none; }
.why__item:first-child { padding-left: 0; }
.why__icon { width: 34px; height: 34px; color: var(--current); margin-bottom: 18px; }
.why__item h4 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: 18px; color: var(--foam); letter-spacing: 0.02em; line-height: 1.05; margin-bottom: 10px;
}
.why__item p { font-size: 13.5px; color: var(--mist); line-height: 1.45; }
@media (max-width: 980px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid .why__item:nth-child(5n) { border-right: 1px solid var(--steel-line); }
  .why__grid .why__item:nth-child(2n) { border-right: none; }
  .why__item:first-child { padding-left: 24px; }
}
@media (max-width: 520px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__grid .why__item { border-right: none !important; padding-left: 0; }
}

/* ============================ CONTACTO ============================ */
.contact { padding-bottom: clamp(60px, 8vw, 110px); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact h2 {
  font-size: clamp(40px, 6vw, 70px);
  color: var(--foam);
  line-height: 0.95;
  margin-bottom: 24px;
}
.contact__lead { color: var(--mist); font-size: 17px; max-width: 44ch; margin-bottom: 40px; line-height: 1.6; }
.contact__list { display: grid; gap: 4px; }
.contact__row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--steel-line);
}
.contact__row:last-child { border-bottom: 1px solid var(--steel-line); }
.contact__row .ico {
  width: 22px; height: 22px; color: var(--surf); flex: none;
}
.contact__row .lab { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); display: block; margin-bottom: 3px; }
.contact__row .val { font-size: 16px; color: var(--foam); }
.contact__row a.val:hover { color: var(--surf); }
.contact__row--wa { cursor: pointer; transition: opacity 0.25s ease; }
.contact__row--wa .ico { color: #25D366; transition: filter 0.3s ease; }
.contact__row--wa:hover .val { color: #25D366; }
.contact__row--wa:hover .ico { filter: drop-shadow(0 0 7px rgba(37,211,102,0.55)); }

/* ============================ WHATSAPP · BOTÓN FLOTANTE ============================ */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: inline-flex; align-items: center;
  height: 56px; width: 56px; padding: 0;
  border-radius: 999px; overflow: hidden;
  background: rgba(7,16,29,0.80);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(37,211,102,0.45);
  box-shadow: 0 14px 34px -12px rgba(0,0,0,0.7);
  color: var(--foam);
  transition: width 0.42s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
  animation: waPulse 3.4s ease-in-out infinite;
}
.wa-fab__icon { width: 26px; height: 26px; color: #25D366; flex: none; margin-left: 15px; transition: transform 0.4s var(--ease); }
.wa-fab__label {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  opacity: 0; padding-left: 12px; padding-right: 20px;
  transition: opacity 0.3s ease 0.05s;
}
.wa-fab:hover {
  width: 190px;
  border-color: rgba(37,211,102,0.85);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.75), 0 0 26px -4px rgba(37,211,102,0.45);
  animation: none;
}
.wa-fab:hover .wa-fab__label { opacity: 1; }
.wa-fab:hover .wa-fab__icon { transform: scale(1.06); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 14px 34px -12px rgba(0,0,0,0.7), 0 0 0 0 rgba(37,211,102,0.45); }
  50% { box-shadow: 0 14px 34px -12px rgba(0,0,0,0.7), 0 0 0 11px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }
@media (max-width: 600px) { .wa-fab { right: 16px; bottom: 16px; } }

.contact__close {
  margin-top: 38px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.02em;
  color: var(--surf);
}

/* Formulario */
.form {
  background: rgba(17,35,61,0.45);
  border: 1px solid var(--steel-line);
  border-radius: 5px;
  padding: clamp(28px, 3.5vw, 40px);
}
.form__row { display: grid; gap: 8px; margin-bottom: 20px; }
.form__row label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mist);
}
.form__row input, .form__row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--foam);
  background: rgba(5,13,26,0.6);
  border: 1px solid var(--steel-line);
  border-radius: 3px;
  padding: 13px 15px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.form__row input::placeholder, .form__row textarea::placeholder { color: rgba(132,151,174,0.5); }
.form__row input:focus, .form__row textarea:focus {
  outline: none; border-color: var(--current); background: rgba(5,13,26,0.85);
}
.form__row textarea { resize: vertical; min-height: 110px; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form__two { grid-template-columns: 1fr; } }
.form__row.err input, .form__row.err textarea { border-color: #e0573e; }
.form__err { font-family: var(--font-mono); font-size: 10.5px; color: #e0573e; letter-spacing: 0.05em; display: none; }
.form__row.err .form__err { display: block; }

/* Botón con ping de sonar */
.btn--sonar { position: relative; overflow: visible; width: 100%; justify-content: center; }
.btn--sonar .ping {
  position: absolute; inset: 0; border-radius: 2px; pointer-events: none;
  border: 1.5px solid var(--surf); opacity: 0;
}
.btn--sonar:hover .ping { animation: sonar 1.4s var(--ease) infinite; }
@keyframes sonar {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .btn--sonar:hover .ping, .hero__kicker .dot { animation: none; }
}
.form__ok {
  display: none;
  margin-top: 18px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--surf); text-align: center;
}
.form__ok.show { display: block; }
.form__fail {
  display: none;
  margin-top: 18px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: #e0573e; text-align: center;
}
.form__fail.show { display: block; }
.btn--sonar.is-loading { opacity: 0.6; cursor: progress; pointer-events: none; }

@media (max-width: 860px) { .contact__inner { grid-template-columns: 1fr; } }

/* ============================ FOOTER ============================ */
.footer {
  border-top: 1px solid var(--steel-line);
  padding-block: clamp(48px, 6vw, 72px);
  background: rgba(5,13,26,0.5);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__brand { display: grid; gap: 18px; max-width: 36ch; }
.footer__tag { color: var(--mist); font-size: 14.5px; line-height: 1.55; }
.footer__col h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--surf); margin-bottom: 16px; font-weight: 400;
}
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col li { font-size: 14px; color: var(--mist); }
.footer__col a:hover { color: var(--foam); }
.footer__bar {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid var(--steel-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--mist);
}
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ============================ PLACEHOLDER DE IMAGEN ============================ */
.ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(48deg, rgba(132,151,174,0.07) 0 2px, transparent 2px 13px),
    linear-gradient(135deg, rgba(17,48,79,0.55), rgba(7,16,30,0.85));
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.ph::before {
  /* duotono navy overlay para unificar foto real */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,13,26,0.7) 100%);
}
.ph__label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(234,241,248,0.7);
  padding: 12px 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.ph__label::before { content: "▣"; color: var(--surf); }

/* ============================ REVEAL ============================ */
/* Base = visible (no-JS / reduced-motion safe). JS adds .anim to <html>. */
.reveal { opacity: 1; transform: none; }
html.anim .reveal {
  opacity: 0;
  transform: translateY(26px);
  /* Emersión: el contenido sube desde el fondo y se aclara, como saliendo del agua */
  filter: blur(7px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--rv-delay, 0ms);
  will-change: opacity, transform, filter;
}
html.anim .reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
/* Variantes direccionales (el JS las asigna a ciertos bloques) */
html.anim .reveal--left  { transform: translateX(-44px); }
html.anim .reveal--right { transform: translateX(44px); }
html.anim .reveal--scale { transform: scale(0.955); filter: blur(9px); }
html.anim .reveal--left.in,
html.anim .reveal--right.in,
html.anim .reveal--scale.in { transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html.anim .reveal,
  html.anim .reveal--left,
  html.anim .reveal--right,
  html.anim .reveal--scale {
    opacity: 1; transform: none; filter: none; transition: none;
  }
}

/* ============================ MOVIMIENTO LIGADO AL USUARIO ============================ */

/* --- Entrada del héroe (escalonada, al cargar) --- */
html.anim .hero__inner > * {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  animation: heroEmerge 1s var(--ease) forwards;
}
html.anim .hero__inner > .hero__kicker { animation-delay: 0.15s; }
html.anim .hero__inner > h1            { animation-delay: 0.28s; }
html.anim .hero__inner > .hero__sub    { animation-delay: 0.46s; }
html.anim .hero__inner > .hero__actions{ animation-delay: 0.62s; }
html.anim .hero__inner > .hero__meta   { animation-delay: 0.76s; }
@keyframes heroEmerge {
  to { opacity: 1; transform: none; filter: none; }
}

/* parallax: el JS escribe --hero-shift al hacer scroll */
.hero__img {
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.13);
  will-change: transform;
}
.hero__grid {
  transform: translate3d(0, calc(var(--hero-shift, 0px) * 0.4), 0);
  will-change: transform;
}

/* etiqueta de profundidad del héroe: deriva suave con el scroll */
.hero .depth-tag {
  transform: translateY(calc(var(--hero-shift, 0px) * -0.5));
}

/* --- Etiquetas de profundidad por sección: entran desde la derecha --- */
html.anim .depth-tag.rv {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.anim .depth-tag.rv.in { opacity: 0.55; transform: none; }

/* --- Foco que sigue al cursor sobre las tarjetas --- */
.spotlight { position: relative; }
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(79, 168, 240, 0.16),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.spotlight:hover::before { opacity: 1; }
/* mantener el contenido por encima del foco */
.service__media, .service__body,
.work__media, .work__body,
.pillar > * { position: relative; z-index: 2; }

/* el JS añade tilt vía variables; transición suave al soltar */
.service { transform-style: preserve-3d; }

/* --- Línea inferior de los enlaces de nav, ligada a la sección visible --- */
.nav__links a.is-active { color: var(--foam); }
.nav__links a.is-active::after { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html.anim .hero__inner > * { opacity: 1; transform: none; filter: none; animation: none; }
  .hero__img { transform: scale(1.13); }
  .hero__grid, .hero .depth-tag { transform: none; }
  .spotlight::before { display: none; }
}

/* ============================================================================
   REFINAMIENTOS RESPONSIVOS Y DE RENDIMIENTO
   (sin alterar la estética: solo aire en títulos que envuelven y ajustes móviles)
   ============================================================================ */

/* Títulos que envuelven en varias líneas: un poco más de interlineado para que
   las mayúsculas acentuadas (Í, Ó, Ñ) no queden pegadas a la línea siguiente. */
.section-head h2 { line-height: 1.04; }
.contact__info h2 { line-height: 1.05; }
.pillar h3, .why__item h4, .work__body h4, .aval h4, .service__body h3 { text-wrap: balance; }

/* Tablet */
@media (max-width: 760px) {
  .section-head h2 { line-height: 1.06; }
  .about__title { line-height: 0.96; }
  .mv__item h3, .pillar h3 { line-height: 1.08; }
}

/* Móvil */
@media (max-width: 560px) {
  .hero h1 { line-height: 0.98; }
  .hero__sub { margin-top: 22px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__actions .hero__link { margin-top: 2px; }
  .contact__info h2 { line-height: 1.08; }
  .about__since { margin-bottom: 16px; }
  .mv__item { gap: 16px; }
}

/* Pantallas muy estrechas: evita que los números del héroe se aprieten */
@media (max-width: 380px) {
  .hero__meta { gap: 22px 30px; }
}

/* Rendimiento: el pie de página, siempre fuera de la vista inicial, no se
   renderiza hasta acercarse (sin cambio visual). */
.footer { content-visibility: auto; contain-intrinsic-size: auto 520px; }

/* Contacto: valores largos (email sin espacios, lista de teléfonos) se ajustan
   con elegancia en pantallas estrechas, sin desbordar ni encimarse. */
.contact__row .val { overflow-wrap: anywhere; line-height: 1.5; }
@media (max-width: 420px) {
  .contact__row { gap: 13px; }
}
