/* Náutica Supplies — estilos del sitio
   Paleta tomada del logo (velero): azul #1f4fa2, cian #1692d0, cielo #8ed8ff. */
:root {
  --ink: #10284a;
  --deep: #163a78;
  --ocean: #1f4fa2;
  --ocean-deep: #193f86;
  --ocean-light: #3a73c9;
  --cyan: #1692d0;
  --cyan-dark: #0b6a9e;
  --sky: #8ed8ff;
  --sky-soft: #d9f0ff;
  --foam: #eaf5fc;
  --mist: #f3f8fc;
  --text: #10233b;
  --muted: #4b5f76;
  --on-dark: #ffffff;
  --on-dark-muted: #d2e6f7;
  --line: rgba(16, 40, 74, 0.12);
  --line-dark: rgba(255, 255, 255, 0.22);
  --destructive: #b3261e;
  --radius-control: 6px;
  --radius-lg: 14px;
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --wave-h: clamp(36px, 6vw, 90px);
  --btn-bg: var(--ocean);
  --btn-fg: #fff;
  --btn-hover: var(--ocean-light);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 85%;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--sky); color: var(--ink); padding: 8px 12px; }

/* Secciones oscuras: los botones y acentos cambian a cielo */
.on-dark, .xplode, .pillars, .products, .intl, .cta, .ask, .page-hero, .contact-section, .site-footer {
  --btn-bg: var(--sky);
  --btn-fg: var(--ink);
  --btn-hover: #b6e6ff;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-primary[disabled] { opacity: 0.6; cursor: progress; }
.btn-ghost { color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-outline { color: var(--ocean-deep); border-color: var(--ocean); }
.btn-outline:hover { background: var(--ocean); color: #fff; }
.btn svg { width: 18px; height: 18px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* Encabezado */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(16, 40, 74, 0.5);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 46px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ocean);
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan-dark);
  margin-top: 5px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 160ms ease;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 200ms ease;
}
.nav a:not(.btn):hover { color: var(--ocean); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { padding: 10px 18px; font-size: 15px; }
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .brand-name small { display: none; }
  .brand img { height: 38px; }
  .brand-name { font-size: 18px; }
}

/* Barra fija: alta arriba, compacta con vidrio al bajar, con línea de avance */
:root { --hh-top: 100px; --hh-min: 76px; --hh: var(--hh-top); }
html.is-scrolled { --hh: var(--hh-min); }
body { padding-top: var(--hh-top); }
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 1px 0 var(--line);
  transition: background-color 350ms ease, box-shadow 350ms ease, -webkit-backdrop-filter 350ms ease, backdrop-filter 350ms ease;
}
.site-header .bar { height: var(--hh); padding-top: 0; padding-bottom: 0; transition: height 350ms cubic-bezier(.2, .8, .2, 1); }
.brand { gap: 14px; }
.brand img { height: 58px; transition: height 350ms cubic-bezier(.2, .8, .2, 1); }
.brand-name { font-size: 25px; white-space: nowrap; transition: font-size 350ms cubic-bezier(.2, .8, .2, 1); }
.brand-name small { font-size: 12px; margin-top: 6px; max-height: 18px; overflow: hidden; transition: max-height 300ms ease, opacity 250ms ease, margin-top 300ms ease; }
.nav { gap: 34px; }
.nav a:not(.btn) { font-size: 17px; }
.nav .btn { padding: 13px 26px; font-size: 16.5px; transition: padding 350ms ease, background-color 200ms ease, transform 200ms ease; }
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--sky));
  transform-origin: 0 50%;
  transform: scaleX(var(--sp, 0));
  opacity: 0;
  transition: opacity 300ms ease;
}
.is-scrolled .site-header {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 34px -20px rgba(16, 40, 74, 0.45);
}
.is-scrolled .site-header::after { opacity: 1; }
.is-scrolled .brand img { height: 46px; }
.is-scrolled .brand-name { font-size: 21px; }
.is-scrolled .brand-name small { max-height: 0; opacity: 0; margin-top: 0; }
.is-scrolled .nav .btn { padding: 11px 22px; }
.xplode-stage { transition: top 350ms cubic-bezier(.2, .8, .2, 1), height 350ms cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .nav a:not(.btn) { font-size: 15.5px; }
  .brand img { height: 50px; }
  .brand-name { font-size: 22px; }
  .nav .btn { padding: 12px 22px; font-size: 16px; }
  .is-scrolled .brand img { height: 42px; }
  .is-scrolled .brand-name { font-size: 19px; }
}
@media (max-width: 960px) {
  :root { --hh-top: 80px; --hh-min: 66px; }
  .brand img { height: 48px; }
  .brand-name { font-size: 22px; }
  .nav .btn { padding: 12px 22px; font-size: 16px; }
  .is-scrolled .brand img { height: 40px; }
  .is-scrolled .brand-name { font-size: 19px; }
  .is-scrolled .nav .btn { padding: 10px 18px; }
}
@media (max-width: 420px) {
  :root { --hh-top: 72px; --hh-min: 62px; }
  .brand { gap: 10px; }
  .brand img { height: 42px; }
  .brand-name { font-size: 17px; }
  .nav .btn { padding: 10px 16px; font-size: 15px; }
  .is-scrolled .brand img { height: 36px; }
  .is-scrolled .brand-name { font-size: 16px; }
  .is-scrolled .nav .btn { padding: 9px 14px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .is-scrolled .site-header { background: rgba(255, 255, 255, 0.96); }
}

/* Olas: el mismo separador en todas las secciones */
.has-wave { position: relative; }
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: var(--wave-h);
  pointer-events: none;
  z-index: 2;
}
.wave svg { display: block; width: 100%; height: 100%; }
.wave--flip svg { transform: scaleX(-1); }
.wave--white { color: #fff; }
.wave--mist { color: var(--mist); }
.wave--ocean { color: var(--ocean); }
.wave--deep { color: var(--deep); }
/* Sección con ola al pie: deja espacio para la ola */
.section.has-wave { padding-bottom: calc(var(--wave-h) + clamp(64px, 8vw, 110px)); }

/* Olas animadas de la portada */
.sea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: calc(var(--wave-h) * 1.5);
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.sea svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  animation: drift 18s linear infinite;
}
.sea .w1 { color: rgba(142, 216, 255, 0.35); animation-duration: 26s; bottom: 18%; }
.sea .w2 { color: rgba(22, 146, 208, 0.6); animation-duration: 20s; animation-direction: reverse; bottom: 8%; }
.sea .w3 { color: var(--ocean); animation-duration: 15s; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Subrayado ondulado de títulos */
.swash { display: block; width: 150px; height: 14px; margin-top: 14px; color: var(--cyan); }
.swash path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.center .swash { margin-left: auto; margin-right: auto; }
.products .swash, .intl .swash { color: var(--sky); }

/* Hero */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 20px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--on-dark-muted);
}
.hero-flags li { display: inline-flex; align-items: center; gap: 8px; }
.hero-flags svg { width: 18px; height: 18px; color: var(--sky); }

/* Portada: motor que se desarma al bajar */
.xplode { position: relative; height: 330vh; background: #10295a; }
.xplode-stage {
  --e: 0;
  --lab: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(55% 60% at 62% 38%, rgba(58, 115, 201, 0.55) 0%, rgba(58, 115, 201, 0) 70%),
    linear-gradient(180deg, #0d2552 0%, #163a78 100%);
}
.xplode-grid {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) minmax(0, 0.75fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: 84px var(--gutter) calc(var(--wave-h) * 1.5 + 12px);
}
.xplode-col { display: grid; align-items: center; }
.xstep {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 450ms ease, transform 450ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.xplode-stage[data-step="0"] .xstep[data-s="0"],
.xplode-stage[data-step="1"] .xstep[data-s="1"],
.xplode-stage[data-step="2"] .xstep[data-s="2"] { opacity: 1; transform: none; pointer-events: auto; }
.xplode .kicker { padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px dashed rgba(142, 216, 255, 0.4); display: flex; }
.xplode h1, .xplode h2 {
  font-size: clamp(34px, 3.7vw, 60px);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
}
.xplode h1 em, .xplode h2 em { font-style: normal; color: inherit; }
.xlead { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.45; color: var(--on-dark-muted); }
.xplode .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.xplode .xstep > .btn { margin-top: 24px; }
.xplode .hero-flags { margin-top: 24px; padding-top: 20px; border-top: 1px dashed rgba(142, 216, 255, 0.35); display: grid; gap: 10px; }
.xparts { list-style: none; margin: 0; padding: 0; display: grid; }
.xparts li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(142, 216, 255, 0.3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.xparts span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.xplode-object { position: relative; transform: scale(calc(1.24 - var(--e) * 0.2)); transform-origin: 50% 55%; }
.engine-x {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 30px 40px rgba(3, 12, 31, 0.35));
}
@keyframes hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.engine-x .xp { transition: transform 120ms linear; }
.p-covers { transform: translate(0, calc(var(--e) * -150px)); }
.p-head { transform: translate(0, calc(var(--e) * -78px)); }
.p-turbo { transform: translate(calc(var(--e) * 110px), calc(var(--e) * -90px)); }
.p-hx { transform: translate(calc(var(--e) * -110px), calc(var(--e) * -110px)); }
.p-front { transform: translate(calc(var(--e) * -120px), 0); }
.p-pan { transform: translate(0, calc(var(--e) * 90px)); }
.p-filter { transform: translate(0, calc(var(--e) * 50px)); }
.p-trans { transform: translate(calc(var(--e) * 90px), calc(var(--e) * 70px)); }
.engine-x .x-shadow { transform-box: fill-box; transform-origin: center; transform: scaleX(calc(1 + var(--e) * 0.25)); }
.xbadge { opacity: var(--lab); transition: opacity 200ms linear; }
.xbadge text { fill: #0e2a5a; stroke: none; font-family: var(--font-display); font-size: 14px; font-weight: 800; }
.engine-x .spin { transform-box: fill-box; transform-origin: center; animation: spin 3.2s linear infinite; }
.engine-x .spin.slow { animation-duration: 7s; }
.engine-x .spin.fast { animation-duration: 0.8s; }
.engine-x .drop { animation: drip 1.8s ease-in infinite; }
.xplode-side {
  position: absolute;
  z-index: 3;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(210, 230, 247, 0.55);
}
.xplode-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(var(--wave-h) * 1.5 + 6px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(210, 230, 247, 0.75);
  transition: opacity 300ms ease;
}
.xplode-hint::after { content: ""; width: 1px; height: 34px; border-left: 1px dashed rgba(142, 216, 255, 0.7); animation: hint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes hint {
  0% { transform: scaleY(0); }
  60% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}
.xplode-stage:not([data-step="0"]) .xplode-hint { opacity: 0; }
@media (max-width: 1000px) {
  .xplode { height: 300vh; }
  .xplode-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    gap: 10px;
    padding-top: 76px;
  }
  .xplode-object { width: 100%; max-width: 560px; margin: 0 auto; transform: scale(calc(1.06 - var(--e) * 0.06)); }
  .xplode-side, .xplode-hint, .xplode .hero-flags { display: none; }
  .xplode h1, .xplode h2 { font-size: clamp(28px, 7vw, 46px); }
  .xplode .kicker { padding-bottom: 10px; margin-bottom: 12px; }
  .xlead { font-size: 16px; }
  .xplode .actions { margin-top: 16px; }
  .xplode .btn { padding: 12px 20px; font-size: 15px; }
  .xplode .xstep > .btn { margin-top: 14px; }
  .xparts { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .xparts li { padding: 6px 0; font-size: 11px; grid-template-columns: 30px 1fr; }
  .xparts span { width: 22px; height: 22px; font-size: 11px; }
}

/* Motor 3D (si el navegador lo permite; si no, queda el dibujo) */
.engine-3d { position: absolute; inset: -14% -8% -14% 0; width: 108%; height: 128%; display: block; opacity: 0; transition: opacity 600ms ease; }
.x3d-labels { position: absolute; inset: -14% -8% -14% 0; pointer-events: none; opacity: var(--lab); }
.x3d-labels span {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 0 5px rgba(142, 216, 255, 0.22);
}
.is-3d .engine-3d { opacity: 1; }
/* Imagen fija del motor: se ve al instante y cede su lugar al 3D cuando carga (misma posición y tamaño). */
.engine-poster { position: absolute; left: 11.6%; top: 14.9%; width: 76.8%; height: 70.3%; object-fit: contain; pointer-events: none; transition: opacity 600ms ease; }
.is-3d .engine-poster { opacity: 0; }
.is-3d .engine-x { visibility: hidden; }
.is-3d .xplode-object { transform: none; }
.xplode-left, .xplode-right { position: relative; z-index: 2; }

/* Portada en filas: título arriba, motor al centro, texto abajo */
.xplode-stage { top: var(--hh, 64px); height: calc(100vh - var(--hh, 64px)); height: calc(100svh - var(--hh, 64px)); }
.xplode-grid {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(8px, 1.8vh, 22px);
  align-items: stretch;
  padding: clamp(18px, 3.5vh, 40px) var(--gutter) calc(var(--wave-h) * 1.5 + 10px);
}
.xplode-left { text-align: center; }
.xplode h1, .xplode h2 { max-width: 1200px; margin: 0 auto; font-size: clamp(32px, 4.3vw, 72px); line-height: 0.95; }
.xplode-object, .is-3d .xplode-object { height: 100%; min-height: 0; transform: none; }
.engine-x { height: 100%; }
.engine-3d, .x3d-labels { inset: -4% 0; width: 100%; height: 108%; }
.xrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 48px;
  padding-top: 18px;
  border-top: 1px dashed rgba(142, 216, 255, 0.35);
}
.xrow .xlead { max-width: 660px; }
.xplode .xrow .actions, .xplode .xrow > .btn { margin-top: 0; flex: none; }
.xplode .xrow .hero-flags { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; padding-top: 0; border-top: 0; }
.xrow .xparts { flex: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 1000px) {
  .xplode-grid { padding-top: 18px; gap: 10px; }
  .xplode h1, .xplode h2 { font-size: clamp(28px, 7.2vw, 46px); }
  .xplode-object, .is-3d .xplode-object { max-width: none; }
  .xrow { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 14px; }
  .xrow .xparts { width: 100%; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .xplode .xrow .hero-flags { display: none; }
  .xplode .xrow .xlead { font-size: 15px; }
  .xplode .xrow .actions { gap: 8px; }
  .xplode .xrow .btn { padding: 10px 16px; font-size: 14px; }
}

/* Pilares (franja azul) */
.pillars {
  background: var(--ocean);
  color: #fff;
  padding: clamp(28px, 4vw, 48px) var(--gutter) calc(var(--wave-h) + clamp(36px, 5vw, 64px));
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pillar svg { width: 40px; height: 40px; color: var(--sky); }
.pillar h3 {
  margin-top: 16px;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pillar p { margin-top: 6px; color: var(--on-dark-muted); font-size: 16px; }
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* Secciones */
.section { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.bg-white { background: #fff; }
.bg-mist { background: var(--mist); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2, .h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ocean-deep);
}
.section-head p { color: var(--muted); font-size: 18px; max-width: 560px; }
.center { text-align: center; }
.center > p { margin-left: auto; margin-right: auto; }
.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 16px;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
}

/* Marcas */
.brands { background: #fff; padding-top: clamp(64px, 8vw, 100px); }
.brand-grid {
  list-style: none;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.brand-grid li {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 12% 10%;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -26px rgba(16, 40, 74, 0.55);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.brand-grid li:hover { transform: translateY(-4px); border-color: rgba(22, 146, 208, 0.45); box-shadow: 0 22px 40px -26px rgba(16, 40, 74, 0.65); }
.brand-grid img { width: 100%; height: 100%; object-fit: contain; }
.brands-note { margin: 32px auto 0; color: var(--muted); font-size: 17px; max-width: 760px; text-align: center; }
@media (max-width: 900px) {
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 520px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* Productos: catálogo en mosaico */
.products {
  position: relative;
  background-color: var(--ocean);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='40' viewBox='0 0 240 40'%3E%3Cpath d='M0 20 C 30 6 60 6 90 20 S 150 34 180 20 S 225 8 240 14' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 240px 40px;
  color: #fff;
  padding: clamp(40px, 6vw, 72px) var(--gutter) calc(var(--wave-h) + clamp(64px, 8vw, 110px));
}
/* Productos: agua en movimiento detrás del catálogo (líneas finas, movidas con transform para que fluya suave) */
.products {
  background-image:
    radial-gradient(50% 26% at 50% 34%, rgba(142, 216, 255, 0.12) 0%, rgba(142, 216, 255, 0) 100%),
    linear-gradient(180deg, var(--ocean) 0%, var(--ocean) 30%, #1b468f 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  isolation: isolate;
}
.products::before,
.products::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.products::before {
  left: 0;
  width: calc(100% + 640px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='64' viewBox='0 0 640 64'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.1' d='M0 32 C 80 22 240 22 320 32 C 400 42 560 42 640 32'/%3E%3C/svg%3E");
  background-size: 640px 64px;
  animation: waterA 30s linear infinite;
}
.products::after {
  left: -480px;
  width: calc(100% + 480px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='64' viewBox='0 0 480 64'%3E%3Cpath fill='none' stroke='%238ed8ff' stroke-opacity='0.06' stroke-width='1' d='M0 8 C 60 1 180 1 240 8 C 300 15 420 15 480 8'/%3E%3C/svg%3E");
  background-size: 480px 64px;
  animation: waterB 24s linear infinite;
}
@keyframes waterA { from { transform: translateX(0); } to { transform: translateX(-640px); } }
@keyframes waterB { from { transform: translateX(0); } to { transform: translateX(480px); } }
.products > :not(.wave) { position: relative; z-index: 1; }
.products .section-head h2 { color: #fff; }
.products .section-head p { color: var(--on-dark-muted); }
.products .label { color: var(--sky); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 24px 48px -32px rgba(8, 28, 70, 0.75);
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), box-shadow 260ms ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 36px 64px -34px rgba(8, 28, 70, 0.9); }
.card-media {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 28px 28px 44px;
  background: radial-gradient(120% 90% at 50% 45%, #ffffff 0%, var(--foam) 52%, var(--sky-soft) 100%);
  overflow: hidden;
}
.card-media img {
  width: auto;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(16, 40, 74, 0.28));
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
}
.card:hover .card-media img { transform: translateY(-6px) scale(1.04); }
.card-media .illus {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px;
  overflow: visible;
  filter: drop-shadow(0 18px 16px rgba(16, 40, 74, 0.12));
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
}
.card:hover .card-media .illus { transform: translateY(-6px) scale(1.03); }
.illus .spin { transform-box: fill-box; transform-origin: center; animation: spin 3.2s linear infinite; }
.illus .spin.slow { animation-duration: 7s; }
.illus .spin.fast { animation-duration: 0.8s; }
.illus .drop { animation: drip 1.8s ease-in infinite; }
.illus .puff { transform-box: fill-box; transform-origin: center; animation: puff 2.6s ease-out infinite; }
.illus .led { animation: blink 1.6s ease-in-out infinite; }
.illus .bob { animation: bob 3.6s ease-in-out infinite; }
.illus .bob.d1 { animation-delay: -0.9s; }
.illus .bob.d2 { animation-delay: -1.8s; }
.illus .bob.d3 { animation-delay: -2.7s; }
@keyframes drip {
  0% { opacity: 0; transform: translateY(-6px); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(26px); }
}
@keyframes puff {
  0% { opacity: 0.9; transform: translate(0, 0) scale(0.6); }
  100% { opacity: 0; transform: translate(10px, -34px) scale(2.2); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.card-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 34px;
  color: #fff;
}
.card-wave svg { display: block; width: 100%; height: 100%; }
.card-body { padding: 6px clamp(22px, 2.4vw, 32px) clamp(24px, 2.4vw, 32px); }
.card-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-dark);
}
.card h3 {
  margin-top: 8px;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ocean-deep);
}
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 520px; }
.tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 6px 10px;
  border-radius: var(--radius-control);
  background: var(--foam);
  color: var(--ocean-deep);
  font-size: 13px;
  font-weight: 600;
}
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--ocean);
}
.card .more svg { width: 18px; height: 18px; transition: transform 200ms ease; }
.card:hover .more svg { transform: translateX(4px); }
.card--motores { grid-column: 1 / span 7; grid-row: span 2; }
.card--motores .card-media { min-height: 380px; }
.card--motores .card-media img { max-height: 420px; }
.card--motores .card-media .illus { max-height: 380px; }
.card--trans, .card--gen { grid-column: 8 / span 5; }
.card--trans .card-media img, .card--gen .card-media img { max-height: 200px; }
.card--trans .card-media .illus, .card--gen .card-media .illus { max-height: 240px; }
.card--ref .card-media .illus { max-height: 250px; }
.card--ref { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.card--ref .card-media { flex: 1.25; min-height: 260px; padding: 32px; }
.card--ref .card-media img { max-height: 240px; }
.card--ref .card-body { flex: 1; align-self: center; padding: clamp(24px, 3vw, 44px); }
.card--ref .card-wave { top: 0; bottom: 0; left: auto; right: -1px; width: 34px; height: 100%; }
@media (max-width: 1000px) {
  .card--motores { grid-column: 1 / -1; grid-row: auto; }
  .card--motores .card-media { min-height: 300px; }
  .card--trans { grid-column: 1 / span 6; }
  .card--gen { grid-column: 7 / span 6; }
}
@media (max-width: 680px) {
  .card--trans, .card--gen { grid-column: 1 / -1; }
  .card--ref { flex-direction: column; }
  .card--ref .card-media { min-height: 210px; padding-bottom: 44px; }
  .card--ref .card-wave { top: auto; bottom: -1px; right: 0; width: 100%; height: 34px; }
}

/* Nosotros */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-copy h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; text-transform: uppercase; color: var(--ocean-deep); }
.about-copy > p { margin-top: 22px; color: var(--muted); font-size: 18px; max-width: 600px; }
.about-copy > p + p { margin-top: 14px; }
.about-photo { position: relative; margin: 0; }
.about-photo::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--cyan);
  border-radius: 26px;
}
.about-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 26px;
}
.badge {
  position: absolute;
  left: -18px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--ocean);
  color: #fff;
  box-shadow: 0 24px 40px -24px rgba(16, 40, 74, 0.8);
}
.badge strong { font-family: var(--font-display); font-stretch: 85%; font-size: 48px; font-weight: 800; line-height: 1; color: var(--sky); }
.badge span { font-size: 14px; line-height: 1.3; max-width: 140px; }
.stats-band {
  position: relative;
  list-style: none;
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(142, 216, 255, 0.22) 0%, rgba(142, 216, 255, 0) 60%),
    linear-gradient(135deg, var(--deep) 0%, var(--ocean) 100%);
  box-shadow: 0 34px 60px -42px rgba(16, 40, 74, 0.9);
}
.stats-band { isolation: isolate; }
.stats-band::before,
.stats-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.stats-band::before {
  left: 0;
  width: calc(100% + 640px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='48' viewBox='0 0 640 48'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.09' stroke-width='1.1' d='M0 24 C 80 14 240 14 320 24 C 400 34 560 34 640 24'/%3E%3C/svg%3E");
  background-size: 640px 48px;
  animation: waterA 26s linear infinite;
}
.stats-band::after {
  left: -480px;
  width: calc(100% + 480px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='48' viewBox='0 0 480 48'%3E%3Cpath fill='none' stroke='%238ed8ff' stroke-opacity='0.08' stroke-width='1' d='M0 6 C 60 0 180 0 240 6 C 300 12 420 12 480 6'/%3E%3C/svg%3E");
  background-size: 480px 48px;
  animation: waterB 20s linear infinite;
}
.stats-band > .stat { z-index: 1; }
.stat { position: relative; display: grid; align-content: start; gap: 12px; padding: clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 32px); }
.stat-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(142, 216, 255, 0.16); color: var(--sky); }
.stat-ic svg { width: 24px; height: 24px; }
.stat strong {
  font-family: var(--font-display);
  font-stretch: 85%;
  font-size: clamp(46px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.stat-l { color: var(--on-dark-muted); font-size: 15px; line-height: 1.45; max-width: 230px; }
.values {
  list-style: none;
  margin: clamp(28px, 3.5vw, 40px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.values li {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -36px rgba(16, 40, 74, 0.7);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.values li::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: -1px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--cyan), var(--sky));
}
.values li:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -36px rgba(16, 40, 74, 0.8); }
.values svg { width: 54px; height: 54px; padding: 13px; border-radius: 16px; background: var(--foam); color: var(--cyan); }
.values h3 { margin-top: 18px; font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--ocean-deep); }
.values p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; margin-right: 22px; }
  .badge { left: 12px; bottom: 20px; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
}

/* Cómo trabajamos: ruta */
.route-wrap { position: relative; }
.route-line {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 14px;
  height: 40px;
  color: var(--cyan);
}
.route-line svg { display: block; width: 100%; height: 100%; overflow: visible; }
.route-line path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-dasharray: 8 10; animation: sail 2.4s linear infinite; }
@keyframes sail { to { stroke-dashoffset: -36; } }
.route {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.node {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--ocean);
  color: #fff;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 0 0 10px #fff, 0 0 0 11px rgba(22, 146, 208, 0.3);
}
.route li:last-child .node { background: var(--cyan); }
.route h3 { margin-top: 26px; font-size: 26px; font-weight: 800; text-transform: uppercase; color: var(--ocean-deep); }
.route p { margin-top: 10px; color: var(--muted); max-width: 340px; }
@media (max-width: 860px) {
  .route-line { display: none; }
  .route { grid-template-columns: 1fr; gap: 0; border-left: 2px dashed rgba(22, 146, 208, 0.45); margin-left: 33px; }
  .route li { padding: 0 0 36px 30px; position: relative; }
  .route li:last-child { padding-bottom: 0; }
  .node { position: absolute; left: -1px; top: 0; width: 56px; height: 56px; font-size: 22px; transform: translateX(-50%); }
  .route h3 { margin-top: 10px; padding-left: 20px; }
  .route p { padding-left: 20px; }
}

/* Alcance internacional */
.intl {
  position: relative;
  background-color: var(--deep);
  background-image: radial-gradient(42% 36% at 78% 46%, rgba(22, 146, 208, 0.32) 0%, rgba(22, 146, 208, 0) 100%);
  color: #fff;
  padding: clamp(72px, 9vw, 120px) var(--gutter) calc(var(--wave-h) + clamp(64px, 8vw, 110px));
  overflow: hidden;
}
.intl-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.legend { list-style: none; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 18px; }
.legend li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: var(--on-dark-muted); font-size: 15px; }
.legend strong { display: block; color: #fff; font-size: 16px; }
.key { position: relative; width: 34px; height: 34px; border-radius: 50%; }
.key--hub { background: rgba(142, 216, 255, 0.18); }
.key--hub::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 2px #fff; }
.key--route { border-radius: 0; }
.key--route::before { content: ""; position: absolute; left: 0; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: rgba(142, 216, 255, 0.5); }
.key--route::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(142, 216, 255, 0.25); }
.world { margin: 0; }
.world-inner { position: relative; }
.world-inner img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(115% 95% at 38% 42%, #000 62%, transparent 92%); mask-image: radial-gradient(115% 95% at 38% 42%, #000 62%, transparent 92%); }
.world-inner .globe { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.world.is-3d .world-inner { aspect-ratio: 1 / 1; }
.world.is-3d .world-inner > img,
.world.is-3d .world-routes,
.world.is-3d .world-inner > .pin { display: none; }
.world.is-3d .globe { opacity: 1; pointer-events: auto; transition: opacity 600ms ease; }
.globe canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe canvas.is-drag { cursor: grabbing; }
.globe-labels { position: absolute; inset: 0; pointer-events: none; }
.globe-labels .pin { top: 0; left: 0; }
.globe-hint { display: none; margin-top: 6px; text-align: center; font-size: 13px; color: var(--on-dark-muted); letter-spacing: 0.02em; }
.world.is-3d .globe-hint { display: block; }
.world-routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-base { fill: none; stroke-opacity: 0.55; stroke-width: 2.2; }
.route-comet { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 12 88; animation: comet 3.3s cubic-bezier(.45, 0, .25, 1) infinite;  filter: drop-shadow(0 0 4px rgba(142, 216, 255, 0.9)); }
@keyframes comet {
  from { stroke-dashoffset: 12; }
  to { stroke-dashoffset: -88; }
}
.world-routes .end { fill: #fff; }
.world-routes .end-ring { fill: rgba(142, 216, 255, 0.15); stroke: var(--sky); stroke-opacity: 0.6; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: endpulse 2.8s ease-in-out infinite; }
@keyframes endpulse {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 1; }
}
.world-routes .hub-glow { fill: rgba(79, 195, 247, 0.3); filter: blur(8px); }
.world-routes .hub { fill: var(--sky); stroke: #fff; stroke-width: 3; }
.world-routes .hub-ring { fill: none; stroke: var(--sky); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.world-routes .hub-ring.r2 { animation-delay: 1.3s; }
.pin {
  position: absolute;
  z-index: 2;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #fff;
  color: var(--ocean-deep);
  box-shadow: 0 6px 16px -6px rgba(3, 12, 31, 0.6);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
}
.pin--down { transform: translate(-50%, 14px); }
.pin--right { transform: translate(16px, -50%); }
.pin--left { transform: translate(calc(-100% - 18px), -50%); }
.pin--hub { background: #fff; border: 2px solid var(--sky); color: var(--ocean-deep); font-weight: 800; }
@media (max-width: 900px) {
  .world { width: 100%; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .pin { font-size: 10px; padding: 3px 7px; }
  .pin--right { transform: translate(10px, -50%); }
  .pin--left { transform: translate(calc(-100% - 10px), -50%); }
}
.intl .label { color: var(--sky); }
.intl h2 { font-size: clamp(36px, 5vw, 66px); font-weight: 800; text-transform: uppercase; }
.intl h2 em { font-style: normal; color: inherit; }
.intl-top > div > p { margin-top: 22px; font-size: 19px; color: var(--on-dark-muted); max-width: 560px; }
@keyframes ping {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(48px, 6vw, 72px);
}
.service {
  padding: clamp(26px, 3vw, 38px);
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 60px -36px rgba(4, 18, 50, 0.85);
}
.service > svg { width: 52px; height: 52px; padding: 11px; border-radius: 14px; background: var(--foam); color: var(--cyan); }
.service h3 { margin-top: 18px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; text-transform: uppercase; color: var(--ocean-deep); }
.service > p { margin-top: 10px; color: var(--muted); }
.checks { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16px; color: var(--text); }
.checks svg { width: 22px; height: 22px; color: var(--cyan); margin-top: 1px; }
.reach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(16px, 2vw, 24px);
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(4, 18, 50, 0.85);
}
.reach > div { padding: 26px clamp(20px, 2.4vw, 32px); }
.reach > div + div { border-left: 1px solid var(--line); }
.reach h3 {
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-dark);
}
.reach p { margin-top: 8px; font-family: var(--font-display); font-stretch: 85%; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ocean-deep); }
.reach small { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .intl-top { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .reach { grid-template-columns: 1fr; }
  .reach > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Preguntas frecuentes */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-wrap h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; text-transform: uppercase; color: var(--ocean-deep); }
.faq-wrap .intro { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 440px; }
.ask {
  margin-top: 32px;
  padding: 28px;
  border-radius: 20px;
  background: var(--ocean);
  color: #fff;
  max-width: 440px;
}
.ask h3 { font-size: 26px; font-weight: 800; text-transform: uppercase; }
.ask p { margin-top: 8px; color: var(--on-dark-muted); font-size: 16px; }
.ask .btn { margin-top: 20px; }
.faq details {
  margin-bottom: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 200ms ease;
}
.faq details[open] { box-shadow: 0 20px 40px -30px rgba(16, 40, 74, 0.6); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--ocean-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--cyan); transition: transform 200ms ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); }
@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; }
}

/* Llamado final con motor */
.cta {
  position: relative;
  background: var(--ocean);
  color: #fff;
  padding: clamp(56px, 7vw, 96px) var(--gutter) calc(var(--wave-h) + clamp(48px, 7vw, 90px));
  overflow: hidden;
}
.cta-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.cta .kicker { color: var(--sky); }
.cta h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; text-transform: uppercase; }
.cta p { margin-top: 18px; font-size: 19px; color: var(--on-dark-muted); max-width: 560px; }
.cta .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.engine { width: 100%; max-width: 640px; justify-self: end; color: #fff; overflow: visible; }
.engine .rot { transform-box: fill-box; transform-origin: center; animation: spin 2.2s linear infinite; }
.engine .rot.slow { animation-duration: 3.4s; }
.engine .idle { animation: idle 1.6s ease-in-out infinite; }
.engine .shaft { stroke-dasharray: 6 6; animation: sail 0.6s linear infinite; }
.engine .prop { transform-box: fill-box; transform-origin: center; animation: prop 0.32s linear infinite; }
.engine .bubble { animation: bubble 2.8s ease-in infinite; opacity: 0; }
.engine .bubble:nth-of-type(2) { animation-delay: 0.9s; }
.engine .bubble:nth-of-type(3) { animation-delay: 1.8s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}
@keyframes prop {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.15); }
}
@keyframes bubble {
  0% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(26px, -40px); }
}
@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
  .engine { justify-self: start; max-width: 460px; }
}


/* Portada: botones y marcadores 01–08 en blanco */
.xplode { --btn-bg: #fff; --btn-fg: var(--ocean-deep); --btn-hover: var(--sky-soft); }
.xplode .btn-ghost { background: #fff; color: var(--ocean-deep); border-color: #fff; }
.xplode .btn-ghost:hover { background: var(--sky-soft); border-color: var(--sky-soft); }
.xparts span { background: #fff; color: var(--ocean-deep); }
.x3d-labels span { background: #fff; color: var(--ocean-deep); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2), 0 8px 16px -6px rgba(3, 12, 31, 0.55); }
.xbadge circle { fill: #fff; }
.xbadge text { fill: var(--ocean-deep); }

/* Productos: renders 3D (la sombra ya viene en la imagen) */
.card-media img.render { width: 100%; height: auto; max-height: none; filter: none; }
.card--motores .card-media img.render { max-width: 600px; }
.card--trans .card-media img.render, .card--gen .card-media img.render { max-width: 330px; }
.card--ref .card-media img.render { max-width: 420px; }

/* Asesoría técnica: guía de envío + motor con síntomas */
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.cta::before {
  left: 0;
  width: calc(100% + 640px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='64' viewBox='0 0 640 64'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.1' d='M0 32 C 80 22 240 22 320 32 C 400 42 560 42 640 32'/%3E%3C/svg%3E");
  background-size: 640px 64px;
  animation: waterA 30s linear infinite;
}
.cta::after {
  left: -480px;
  width: calc(100% + 480px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='64' viewBox='0 0 480 64'%3E%3Cpath fill='none' stroke='%238ed8ff' stroke-opacity='0.06' stroke-width='1' d='M0 8 C 60 1 180 1 240 8 C 300 15 420 15 480 8'/%3E%3C/svg%3E");
  background-size: 480px 64px;
  animation: waterB 24s linear infinite;
}
.cta { background: radial-gradient(50% 60% at 78% 40%, rgba(142, 216, 255, 0.18) 0%, rgba(142, 216, 255, 0) 70%), var(--ocean); isolation: isolate; }
.cta-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
.cta .cta-need { margin-top: 28px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.cta-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; max-width: 560px; }
.cta-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--on-dark-muted);
  font-size: 15px;
  line-height: 1.45;
}
.cta-steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ocean-deep); font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.cta-steps strong { display: block; color: #fff; font-size: 16px; }
.diag {
  position: relative;
  margin: 0;
  padding: 22px clamp(18px, 2.4vw, 30px) 0;
  border-radius: 28px;
  color: var(--ink);
  background:
    linear-gradient(rgba(31, 79, 162, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(31, 79, 162, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(80% 70% at 50% 45%, #ffffff 0%, var(--foam) 70%, var(--sky-soft) 100%);
  box-shadow: 0 40px 70px -40px rgba(3, 12, 31, 0.85);
}
.diag-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean); }
.diag-live { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.diag-live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--cyan); animation: hotping 2s ease-out infinite; }
.diag-stage { position: relative; margin: clamp(30px, 4vw, 44px) 0 6px; }
.diag-stage img { display: block; width: 100%; height: auto; }
.hot { position: absolute; width: 0; height: 0; }
.hot i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--cyan); box-shadow: 0 4px 10px -2px rgba(3, 12, 31, 0.5); }
.hot i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--cyan); animation: hotping 2.2s ease-out infinite; }
.hot:nth-child(3) i::after { animation-delay: 0.55s; }
.hot:nth-child(4) i::after { animation-delay: 1.1s; }
.hot:nth-child(5) i::after { animation-delay: 1.65s; }
.hot b {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ocean-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 20px -10px rgba(3, 12, 31, 0.7);
}
.hot--right b { transform: translate(18px, -50%); }
.hot--up b { transform: translate(-16px, calc(-100% - 18px)); }
.hot--down b { transform: translate(-16px, 18px); }
.hot--down.hot--left b { transform: translate(calc(-100% + 16px), 18px); }
@keyframes hotping {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.diag-foot {
  list-style: none;
  margin: 0 calc(-1 * clamp(18px, 2.4vw, 30px));
  padding: 16px clamp(18px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0 0 28px 28px;
}
.diag-foot li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ocean-deep); line-height: 1.3; }
.diag-foot svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--foam); color: var(--cyan); }
@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
  .diag-foot { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 520px) {
  .hot b { font-size: 11px; padding: 4px 9px; }
  .hot i { left: -7px; top: -7px; width: 14px; height: 14px; border-width: 3px; }
  .hot--right b { transform: translate(12px, -50%); }
  .hot--up b { transform: translate(-12px, calc(-100% - 12px)); }
  .hot--down b { transform: translate(-12px, 12px); }
  .hot--down.hot--left b { transform: translate(calc(-100% + 12px), 12px); }
  .cta-steps li { grid-template-columns: 34px 1fr; padding: 12px 14px; }
  .cta-steps span { width: 34px; height: 34px; font-size: 16px; }
}

/* Cotización en la misma página */
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.quote-aside { position: sticky; top: calc(var(--hh, 76px) + 28px); }
.quote-aside .swash { color: var(--cyan); }
.quote-lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 520px; }
.quote-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.quote-points li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px -32px rgba(16, 40, 74, 0.7);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.quote-points svg { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--foam); color: var(--cyan); }
.quote-points strong { display: block; color: var(--ocean-deep); font-size: 17px; margin-bottom: 2px; }
.quote-note { margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--cyan); background: rgba(22, 146, 208, 0.07); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 15px; max-width: 520px; }
.quote .form-card { position: relative; border-radius: 26px; padding-top: clamp(30px, 4vw, 46px); box-shadow: 0 40px 80px -50px rgba(16, 40, 74, 0.75); }
.quote .form-card::before { content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--cyan), var(--sky)); }
.form-title { margin-bottom: 22px; line-height: 1.1; font-family: var(--font-display); font-stretch: 85%; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; text-transform: uppercase; color: var(--ocean-deep); }
@media (max-width: 900px) {
  .quote-layout { display: flex; flex-direction: column; gap: 0; }
  .quote-aside { display: contents; }
  .quote-aside > * { order: 0; }
  .quote .form-card { order: 1; margin-top: 30px; }
  .quote-points { order: 2; margin-top: 36px; }
  .quote-note { order: 3; }
}

/* Pie */
.site-footer {
  background: var(--deep);
  color: var(--on-dark-muted);
  padding: 48px var(--gutter) 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: var(--sky); }
.site-footer h3 {
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-about { max-width: 380px; margin-top: 18px; font-size: 15px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Página de contacto */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--deep) 0%, var(--ocean) 100%);
  color: var(--on-dark);
  padding: clamp(64px, 9vw, 112px) var(--gutter) calc(var(--wave-h) * 1.5 + 40px);
  overflow: hidden;
}
.page-hero h1 { position: relative; z-index: 3; font-size: clamp(40px, 6vw, 80px); font-weight: 800; text-transform: uppercase; max-width: 900px; }
.page-hero p { position: relative; z-index: 3; margin-top: 20px; font-size: 19px; color: var(--on-dark-muted); max-width: 640px; }
.page-hero .kicker { position: relative; z-index: 3; }
.contact-section { background: var(--ocean); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-aside { color: #fff; }
.contact-aside h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; text-transform: uppercase; }
.contact-aside > p { margin-top: 16px; color: var(--on-dark-muted); }
.contact-aside ol { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; counter-reset: tip; }
.contact-aside li { counter-increment: tip; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.contact-aside li::before {
  content: counter(tip, decimal-leading-zero);
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: 22px;
  color: var(--sky);
}
.contact-aside li strong { display: block; }
.contact-aside li span { color: var(--on-dark-muted); font-size: 16px; }
.contact-aside .note {
  margin-top: 32px;
  padding: 18px 20px;
  border-left: 3px solid var(--sky);
  background: rgba(16, 40, 74, 0.25);
  color: var(--on-dark-muted);
  font-size: 15px;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Formulario */
.form-card {
  --btn-bg: var(--ocean);
  --btn-fg: #fff;
  --btn-hover: var(--ocean-light);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(16, 40, 74, 0.7);
  color: var(--text);
}
.form-status { color: var(--muted); }
.wix-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .req { color: var(--cyan-dark); margin-left: 2px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="number"],
.field input[type="date"],
.field input[type="time"],
.field input[type="datetime-local"],
.field input[type="password"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--mist);
  border: 1px solid rgba(16, 40, 74, 0.22);
  border-radius: var(--radius-control);
  padding: 13px 14px;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ocean); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(22, 146, 208, 0.25); }
.field [aria-invalid="true"] { border-color: var(--destructive); }
.field .help { font-size: 14px; color: var(--muted); }
.field .error { font-size: 14px; color: var(--destructive); min-height: 0; }
.field .error:empty { display: none; }
.field .other-input { margin-top: 8px; }
.field .other-input[hidden] { display: none; }
.choice { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.choice input { width: 18px; height: 18px; accent-color: var(--ocean); }
.field fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.form-card .label { color: var(--cyan-dark); }
.form-error { color: var(--destructive); font-weight: 500; }
.form-error:empty { display: none; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .btn { width: 100%; justify-content: center; }
.form-note { font-size: 14px; color: var(--muted); }
.thanks h2 { font-size: 34px; font-weight: 800; text-transform: uppercase; color: var(--ocean); }
.thanks p { margin-top: 14px; color: var(--muted); }
.thanks .btn { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .route-comet { display: none; }
}