﻿/* ============================================
   SERMAR CHILE — Shared Stylesheet v2
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #071c2a;
  --deep: #04131d;
  --mid: #0b3040;
  --gold: #56b6ad;        /* acento turquesa marino */
  --gold-light: #9ed9d2;
  --gold-deep: #2f877c;
  --gold-dim: rgba(86,182,173,0.15);
  --white: #f5f2ec;
  --muted: rgba(245,242,236,0.82);
  --border: rgba(86,182,173,0.2);
  --ink: #14383c;         /* texto principal sobre fondos claros */
  --ink-soft: #476b76;    /* texto secundario sobre fondos claros */
  --surface-light: #f7faf9;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --nav-h: 160px;              /* estado top: 2 filas (logo XL + links) */
  --nav-h-scrolled: 78px;      /* estado scroll: 1 fila compacta con logo grande */
  --nav-logo-h: 110px;         /* logo XL en estado top */
  --nav-logo-h-scrolled: 56px; /* logo compacto pero prominente al scroll */
  --nav-ease: cubic-bezier(.68,0,.22,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NAV ----
   Diseño editorial: logo GRANDE centrado + links debajo (estado top).
   Al hacer scroll: logo se desliza a la izquierda y todo colapsa a una fila.
   El logo permanece visible durante toda la transición.
*/
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 clamp(1.25rem, 3vw, 3rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 0.9rem;
  background: linear-gradient(180deg, rgba(4,15,25,0.75) 0%, rgba(4,15,25,0.4) 100%);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition:
    height 0.55s var(--nav-ease),
    padding-bottom 0.55s var(--nav-ease),
    align-items 0s linear 0.3s,
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}
nav.scrolled {
  height: var(--nav-h-scrolled);
  align-items: center;
  padding-bottom: 0;
  background: linear-gradient(180deg, rgba(4,15,25,0.96) 0%, rgba(6,25,35,0.94) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 36px -14px rgba(0,0,0,0.6);
}

/* Línea turquesa animada al final del navbar cuando hay scroll */
nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.5s ease, transform 0.7s var(--nav-ease);
  pointer-events: none;
}
nav.scrolled::after { opacity: 0.85; transform: scaleX(1); }

/* --- LOGO ---
   Position absolute para poder moverlo entre el centro (top state)
   y la izquierda (scrolled state) con una transición fluida.
*/
nav > a:first-child {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  /* estado inicial: centrado en la parte superior del nav */
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  transition:
    top 0.55s var(--nav-ease),
    left 0.55s var(--nav-ease),
    transform 0.55s var(--nav-ease);
}
nav.scrolled > a:first-child {
  top: 50%;
  left: clamp(1.25rem, 3vw, 3rem);
  transform: translateY(-50%);
}
.nav-logo {
  height: var(--nav-logo-h);
  width: auto;
  display: block;
  transition: height 0.55s var(--nav-ease), filter 0.4s ease;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4));
}
nav.scrolled .nav-logo {
  height: var(--nav-logo-h-scrolled);
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.35));
}

/* --- LINKS ---
   Fluyen en el flex row del nav. En estado top se alinean al bottom (debajo del logo).
   En estado scrolled quedan centrados en la fila. Un pequeño offset horizontal
   para no colisionar visualmente con el logo mientras desliza.
*/
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 2.4vw, 2.6rem);
  list-style: none;
  margin: 0 auto;
  transition: gap 0.4s ease, transform 0.55s var(--nav-ease);
}
nav.scrolled .nav-links {
  transform: translateX(0);
}
.nav-links a {
  color: rgba(245,242,236,0.8);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: color 0.3s ease, letter-spacing 0.4s ease;
  position: relative;
  padding: 0.4rem 0;
}
nav.scrolled .nav-links a { letter-spacing: 0.22em; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--nav-ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* --- Idioma + toggle móvil (siempre a la derecha) --- */
.nav-lang { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; z-index: 3; position: relative; }
.lang-switch {
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(245,242,236,0.8); text-decoration: none;
  border: 1px solid var(--border); padding: 0.42rem 0.9rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); background: rgba(86,182,173,0.08); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px;
}
.nav-toggle span {
  display: block; width: 26px; height: 1.5px;
  background: var(--white); transition: all 0.3s ease;
  transform-origin: center;
}
.nav-links.open ~ .nav-lang .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-links.open ~ .nav-lang .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-links.open ~ .nav-lang .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 9rem clamp(1.5rem, 5vw, 5rem) 8rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #06101e 0%, #0a1e3a 50%, #0d2847 100%);
  z-index: 0;
}
.hero-img {
  position: absolute; inset: 0;
  background-image: var(--bg-img);
  background-size: cover; background-position: center;
  z-index: 0; opacity: 0.9;
  filter: saturate(0.9) contrast(1.02);
}
/* Overlay principal: gradient diagonal más suave que deja respirar la imagen a la derecha */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(4,15,25,0.85) 0%, rgba(4,15,25,0.55) 38%, rgba(4,15,25,0.25) 68%, rgba(4,15,25,0.10) 100%);
  z-index: 1;
}
/* Vignette radial + gradient bottom para dar profundidad y transición al value-strip */
.hero-vignette {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 45%, transparent 0%, transparent 40%, rgba(4,15,25,0.35) 100%),
    linear-gradient(180deg, transparent 60%, rgba(4,15,25,0.55) 100%);
}
.hero-waves {
  display: none;
}
.hero-content {
  position: relative; z-index: 5;
  max-width: 720px;
  animation: hero-in 1.1s cubic-bezier(.22,1,.36,1) both;
}

/* Entrada suave — fade + slide up con stagger */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: hero-item-in 0.9s cubic-bezier(.22,1,.36,1) both; }
.hero-content > *:nth-child(1) { animation-delay: 0.15s; }
.hero-content > *:nth-child(2) { animation-delay: 0.28s; }
.hero-content > *:nth-child(3) { animation-delay: 0.42s; }
.hero-content > *:nth-child(4) { animation-delay: 0.56s; }
.hero-content > *:nth-child(5) { animation-delay: 0.70s; }
.hero-content > *:nth-child(6) { animation-delay: 0.84s; }
@keyframes hero-item-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Tag de ubicación arriba del eyebrow */
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(86,182,173,0.1);
  border: 1px solid rgba(86,182,173,0.35);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-location::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.3); }
}

/* Barra de mini-features debajo del CTA */
.hero-features {
  display: flex;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(86,182,173,0.18);
  max-width: 560px;
}
.hero-feature {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.hero-feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: 0.01em;
}
.hero-feature-label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.9);
}

/* Responsive del hero */
@media (max-width: 900px) {
  .hero-features { gap: 1.25rem; margin-top: 2.5rem; }
  .hero-feature-num { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  .hero-features { flex-wrap: wrap; }
  .hero-feature { flex: 1 1 45%; }
}

.value-strip { display:grid; grid-template-columns:repeat(3,1fr); background:#f2f6f3; color:#0b3040; padding:2rem 3rem; gap:1px; }
.value-strip > div { padding:0.5rem 2rem; border-left:1px solid rgba(11,48,64,.16); }
.value-strip > div:first-child { border-left:0; }
.value-strip strong { display:block; font-family:'Cormorant Garamond',serif; font-size:1.45rem; font-weight:600; }
.value-strip span { display:block; color:#52686d; font-size:.72rem; margin-top:.3rem; }
.value-strip .value-icon { width:42px; height:42px; display:grid; place-items:center; margin:0 0 .8rem; color:#2f877c; }
.value-icon svg { width:38px; height:38px; fill:none; stroke:currentColor; stroke-width:1.45; stroke-linecap:round; stroke-linejoin:round; }
.value-icon.logistics { width:52px; }
.value-icon.logistics svg { width:48px; }
.mid-trust { display:none !important; }
/* ---- TRUST FOOTER — Sección institucional B2B ---- */
.trust-footer {
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(86,182,173,0.09) 0%, transparent 55%),
    linear-gradient(180deg, #eef4f2 0%, #e5efec 100%);
  color: var(--ink);
  border-top: 1px solid rgba(11,48,64,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}
/* Línea decorativa turquesa arriba */
.trust-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: clamp(60px, 8vw, 110px);
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-deep) 50%, transparent 100%);
}
.trust-footer-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.2;
  position: relative;
}
.trust-footer-title::before {
  content: attr(data-eyebrow);
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}

.trust-seals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
}
.trust-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.7rem 1.6rem 1.4rem;
  min-width: 200px;
  flex: 1 1 200px;
  max-width: 260px;
  border: 1px solid rgba(47,135,124,0.2);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--nav-ease),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  box-shadow: 0 6px 20px -8px rgba(47,135,124,0.14);
}
.trust-seal:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px -14px rgba(47,135,124,0.3);
  border-color: rgba(47,135,124,0.45);
}
.trust-footer small {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-style: italic;
  max-width: 620px;
  line-height: 1.6;
}

/* ---- Variante DARK del trust-footer (para páginas con fondo oscuro) ---- */
.trust-footer--dark {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(86,182,173,0.14) 0%, transparent 60%),
    linear-gradient(180deg, var(--deep) 0%, #030f18 100%);
  color: var(--white);
  border-top: 1px solid var(--border);
}
.trust-footer--dark .trust-footer-title {
  color: var(--white);
}
.trust-footer--dark .trust-footer-title::before {
  color: var(--gold-light);
}
.trust-footer--dark .trust-seal {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(86,182,173,0.25);
  color: var(--white);
  box-shadow: 0 10px 28px -10px rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.trust-footer--dark .trust-seal:hover {
  background: rgba(86,182,173,0.08);
  border-color: rgba(86,182,173,0.5);
  box-shadow: 0 22px 40px -14px rgba(0,0,0,0.65);
}
.trust-footer--dark .cert-img-wrap {
  background: #fff;                       /* mantener el logo legible */
  border-color: rgba(86,182,173,0.45);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.trust-footer--dark .trust-seal:hover .cert-img-wrap {
  border-color: var(--gold-light);
}
.trust-footer--dark .cert-name {
  color: var(--white);
}
.trust-footer--dark .cert-desc {
  color: rgba(245,242,236,0.85);
}
.trust-footer--dark small {
  color: rgba(245,242,236,0.9);
}
.inner-hero { min-height:52vh; display:flex; align-items:flex-end; padding:9rem 3rem 4.5rem; position:relative; background:linear-gradient(90deg,rgba(4,19,29,.96),rgba(4,19,29,.45)),url('images/hero-oceano-pacifico.png') center/cover; }
.inner-hero > div { position:relative; z-index:1; max-width:760px; }
.inner-hero p { max-width:580px; margin-top:1.2rem; color:var(--muted); }
.sustainability { display:grid; grid-template-columns:120px minmax(0,760px); justify-content:center; align-items:center; gap:3rem; background:#e8f1ed; color:#183b3f; }
.sustainability .section-title { color:#14383c; }
.sustainability p { color:#52686d; margin-top:1.2rem; }
.sustainability-icon { width:110px; height:110px; border:1px solid rgba(20,90,82,.2); border-radius:50%; display:grid; place-items:center; color:#2f877c; }
.sustainability-icon svg { width:52px; fill:currentColor; }
.trust-heading { text-align:center; padding:2.5rem 1rem .5rem; background:var(--deep); color:var(--gold-light); text-transform:uppercase; letter-spacing:.22em; font-size:.62rem; }

.hero-eyebrow {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.45em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 1.2rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 100%);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 300; line-height: 1.02;
  color: var(--white); margin-bottom: 1.8rem;
  letter-spacing: -0.005em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 0.95rem; font-weight: 300;
  color: rgba(245,242,236,0.85);
  max-width: 540px;
  margin-bottom: 2.8rem;
  line-height: 1.85;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 2.5rem; }

/* Mini badge de certificaciones bajo los CTAs — sutil pero refuerza confianza */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.72);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(86,182,173,0.15);
  max-width: 460px;
}
.hero-trust::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: hero-trust-pulse 2.4s ease-in-out infinite;
}
@keyframes hero-trust-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
.hero-trust span { color: rgba(245,242,236,0.8); }

/* Scroll indicator — centrado sobre los dots */
.hero-scroll {
  position: absolute;
  bottom: 4.5rem;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(245,242,236,0.9);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  text-indent: 0.3em;
  transition: color 0.3s ease, transform 0.3s ease;
  animation: hero-item-in 0.9s cubic-bezier(.22,1,.36,1) both;
  animation-delay: 1.1s;
}
.hero-scroll:hover { color: var(--gold-light); transform: translateY(3px); }
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(86,182,173,0.6) 0%, rgba(86,182,173,0) 100%);
  animation: hero-scroll-line 1.8s ease-in-out infinite;
}
@keyframes hero-scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.1%{ transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 900px) { .hero-scroll { display: none; } }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  text-decoration: none; font-size: 0.68rem;
  font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 10px 24px -8px rgba(47,135,124,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.35s var(--nav-ease), box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '→';
  font-size: 0.9rem;
  letter-spacing: 0;
  transition: transform 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(47,135,124,0.65), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover::after { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1.1rem 2.3rem;
  border: 1px solid rgba(245,242,236,0.35);
  color: var(--white);
  text-decoration: none; font-size: 0.68rem;
  font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(86,182,173,0.1);
  transform: translateY(-2px);
}

.hero-stats {
  position: absolute; right: 3rem; top: 50%;
  transform: translateY(-50%); z-index: 5;
  display: flex; flex-direction: column; gap: 2rem;
}
.stat { text-align: right; border-right: 1px solid var(--border); padding-right: 1.5rem; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }

/* ---- SECTIONS ---- */
section { padding: var(--section-pad) 3rem; }

.section-header { margin-bottom: 3.5rem; }
.section-eyebrow {
  font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300; line-height: 1.1; color: var(--white);
}

/* ---- ABOUT ---- */
.about { background: var(--surface-light); position: relative; overflow: hidden; }
.about::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86,182,173,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.about .section-eyebrow { color: var(--gold-deep); }
.about .section-eyebrow::before { background: var(--gold-deep); }
.about .section-title { color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.9; margin-bottom: 1.2rem; }
.about-text p:last-child { margin-bottom: 0; }

.about-features { display: flex; flex-direction: column; gap: 1.5rem; }
.feature {
  display: flex; gap: 1.4rem; align-items: flex-start;
  padding: 1.4rem; border: 1px solid rgba(11,48,64,0.12);
  background: #fff; border-radius: 8px; transition: all 0.3s;
}
.feature:hover { border-color: rgba(86,182,173,0.5); background: rgba(86,182,173,0.04); }
.feature-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(11,48,64,0.12); border-radius: 6px; color: var(--gold-deep); font-size: 1.1rem;
}
.feature-title { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.35rem; }
.feature-text { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.7; }

/* ---- PRODUCTS ---- */
.products { background: var(--navy); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.product-card {
  background: var(--navy);
  position: relative; overflow: hidden;
  cursor: default;
  transition: background 0.4s;
}
.product-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0);
  transition: transform 0.4s; z-index: 2;
}
.product-card:hover { background: var(--mid); }
.product-card:hover::before { transform: scaleX(1); }

.product-img {
  width: 100%; height: 200px;
  object-fit: cover; object-position: center;
  display: block;
  filter: saturate(0.7) brightness(0.85);
  transition: filter 0.4s, transform 0.4s;
}
.product-card:hover .product-img { filter: saturate(0.9) brightness(0.95); transform: scale(1.03); }

.product-img-wrap {
  overflow: hidden; position: relative;
  background: var(--mid);
}
.product-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,16,30,0.7) 0%, transparent 50%);
  z-index: 1;
}

.product-body { padding: 1.6rem 1.8rem 1.8rem; }

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: var(--white); margin-bottom: 0.2rem;
}
.product-scientific { font-size: 0.68rem; font-style: italic; color: var(--gold); opacity: 0.85; margin-bottom: 0.7rem; }
.product-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.7; }
.product-tag {
  display: inline-block; margin-top: 1rem;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); padding: 0.22rem 0.65rem;
}

/* Fallback when image fails */
.product-img-fallback {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--mid) 0%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

/* ---- SERVICES ---- */
/* ---- SERVICES (rediseño editorial) ---- */
.services {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(86,182,173,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(86,182,173,0.04) 0%, transparent 55%),
    var(--deep);
  position: relative;
}
.services .section-header { max-width: 720px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1300px;
  margin: 0 auto;
}
.service-item {
  padding: 2.2rem 1.8rem 2rem;
  background: linear-gradient(155deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(86,182,173,0.14);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--nav-ease),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
/* Línea acento superior — aparece al hover */
.service-item::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s var(--nav-ease);
  z-index: 2;
}
.service-item:hover {
  transform: translateY(-6px);
  background: linear-gradient(155deg, rgba(86,182,173,0.06) 0%, rgba(86,182,173,0.015) 100%);
  border-color: rgba(86,182,173,0.35);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(86,182,173,0.1) inset;
}
.service-item:hover::before { transform: scaleX(1); }

/* Numeración discreta — chip pequeño en esquina superior derecha */
.service-num {
  display: none;
}

/* Icono en contenedor circular con tratamiento premium */
.service-icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(86,182,173,0.18) 0%, rgba(86,182,173,0.05) 60%, transparent 100%);
  transition: transform 0.4s var(--nav-ease), color 0.3s ease;
  z-index: 2;
}
.service-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(86,182,173,0.25);
  transition: border-color 0.3s ease, transform 0.5s var(--nav-ease);
}
.service-item:hover .service-icon {
  color: var(--gold-light);
  transform: scale(1.06);
}
.service-item:hover .service-icon::after {
  border-color: rgba(86,182,173,0.5);
  transform: scale(1.12);
}
.service-icon svg { width: 24px; height: 24px; stroke-width: 1.4; position: relative; z-index: 1; }

/* Título en Cormorant serif — voz editorial */
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--white);
  margin-bottom: 0.7rem;
  line-height: 1.25;
  text-transform: none;
  position: relative;
  z-index: 2;
}
.service-text {
  font-size: 0.82rem;
  color: rgba(245,242,236,0.85);
  line-height: 1.75;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---- CERT BAR ---- */
.cert-bar {
  background: var(--navy); padding: 3rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 4rem;
  flex-wrap: wrap; justify-content: center;
}
.cert-item { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }
.cert-bar .cert-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.62rem; font-weight: 600; letter-spacing: -0.03em;
}
.cert-bar .cert-icon svg { width: 18px; height: 18px; }

/* ---- CONTACT ---- */
.contact {
  background: var(--surface-light);
  padding: var(--section-pad) clamp(1.5rem, 4vw, 4rem);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-details-card {
  background: #fff;
  border: 1px solid rgba(11,48,64,0.15);
  border-radius: 12px;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: 1.2rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(11,48,64,0.08);
}
.contact-detail:first-child { padding-top: 0; }
.contact-detail:last-child { border-bottom: none; padding-bottom: 0; }
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(11,48,64,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(86,182,173,0.06);
}
.contact-detail-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #0b6b64;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.contact-detail-value { font-size: 0.86rem; color: #1a3a44; line-height: 1.7; font-weight: 500; }
.contact-detail-value a { color: #1a3a44; text-decoration: none; transition: color 0.3s; }
.contact-detail-value a:hover { color: var(--gold-deep); }

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(11,48,64,0.12);
  border-radius: 6px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s;
  background: #fff;
}
.social-link:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  background: rgba(86,182,173,0.06);
}

/* Honeypot — must be invisible to humans */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form {
  background: #fff;
  border: 1px solid rgba(11,48,64,0.15);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.contact-form .section-header { margin-bottom: 1.5rem; }
.contact-form .section-eyebrow { margin-bottom: 0.5rem; }
.contact-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.4rem; }
.form-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #0b6b64;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-label .req { color: rgba(47,135,124,0.6); font-style: normal; margin-left: 2px; }
.form-control {
  width: 100%;
  background: var(--surface-light);
  border: 1px solid rgba(11,48,64,0.22);
  border-radius: 6px;
  color: #1a3a44;
  padding: 0.85rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.form-control:focus {
  border-color: var(--gold-deep);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(86,182,173,0.1);
}
.form-control::placeholder { color: rgba(11,48,64,0.45); }
textarea.form-control { min-height: 140px; resize: vertical; }

/* Custom select dropdown */
.custom-select { position: relative; }
.custom-select-trigger {
  width: 100%;
  background: var(--surface-light);
  border: 1px solid rgba(11,48,64,0.15);
  border-radius: 6px;
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
  border-color: var(--gold-deep);
  background: #fff;
}
.custom-select-trigger svg { flex-shrink: 0; color: var(--gold-deep); transition: transform 0.25s; }
.custom-select.open .custom-select-trigger svg { transform: rotate(180deg); }
.cs-label { color: rgba(11,48,64,0.3); }
.cs-label.selected { color: var(--ink); }
.custom-select-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid rgba(11,48,64,0.12);
  border-radius: 6px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.custom-select.open .custom-select-list { display: block; }
.custom-select-option {
  padding: 0.7rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid rgba(11,48,64,0.06);
}
.custom-select-option:first-child { border-radius: 5px 5px 0 0; }
.custom-select-option:last-child { border-bottom: none; border-radius: 0 0 5px 5px; }
.custom-select-option:hover { background: rgba(86,182,173,0.08); color: var(--gold-deep); }
.custom-select-option.active { color: var(--gold-deep); background: rgba(86,182,173,0.06); }

/* Map embed */
.map-wrap {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.map-wrap iframe { display: block; width: 100%; height: 240px; filter: grayscale(0.15) contrast(1.05); }

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--deep);
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(86,182,173,0.25); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.success-msg {
  display: none;
  padding: 1rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 1rem;
  background: rgba(86,182,173,0.05);
}
.error-msg {
  display: none;
  padding: 1rem;
  border: 1px solid rgba(220,80,80,0.5);
  border-radius: 6px;
  color: rgba(220,100,100,1);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 1rem;
  background: rgba(220,80,80,0.04);
}

/* ---- FOOTER ---- */
footer { background: var(--deep); border-top: 1px solid var(--border); }
.footer-main {
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.footer-logo { height: 44px; width: auto; display: block; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.78rem; color: rgba(245,242,236,0.82); line-height: 1.8; max-width: 250px; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.footer-social-link {
  width: 36px; height: 36px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,242,236,0.72); transition: all 0.3s; text-decoration: none;
}
.footer-social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.78rem; color: rgba(245,242,236,0.82); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  margin-bottom: 0.9rem; font-size: 0.78rem; color: rgba(245,242,236,0.82); line-height: 1.6;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 1px; color: var(--gold); }
.footer-contact-item a { color: rgba(245,242,236,0.82); text-decoration: none; transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.4rem 3rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.footer-copy { font-size: 0.6rem; color: rgba(245,242,236,0.45); letter-spacing: 0.12em; }

/* ---- SCROLL REVEAL — potenciado ---- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s cubic-bezier(.22,1,.36,1),
    transform 1s cubic-bezier(.22,1,.36,1),
    filter 1s cubic-bezier(.22,1,.36,1);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Variantes nuevas */
.reveal-blur {
  opacity: 0;
  filter: blur(12px);
  transition: opacity 1.1s ease, filter 1.1s cubic-bezier(.22,1,.36,1);
}
.reveal-blur.visible { opacity: 1; filter: blur(0); }

.reveal-zoom {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(6px);
  transition:
    opacity 1.1s cubic-bezier(.22,1,.36,1),
    transform 1.4s cubic-bezier(.22,1,.36,1),
    filter 1.1s cubic-bezier(.22,1,.36,1);
}
.reveal-zoom.visible { opacity: 1; transform: scale(1); filter: blur(0); }

/* Reveal con delay escalonado — cuando el padre es .reveal-stagger,
   los hijos entran uno tras otro. */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(.22,1,.36,1),
    transform 0.8s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.18s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.31s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.44s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.57s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.70s; }

/* Parallax del hero-carousel: contenedor y slides se mueven vía JS
   con `--parallax-y`. Sin JS caen a 0 y se comportan igual. */
.hero-carousel { transform: translate3d(0, var(--parallax-y, 0px), 0); will-change: transform; }

/* Imagen del why-choose */
.why-choose-image:hover img { transform: scale(1.03); }

/* Respeta la preferencia del usuario */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-blur, .reveal-zoom, .reveal-left, .reveal-right, .reveal-scale,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .hero-carousel { transform: none !important; }
  .why-choose-image img { transform: none !important; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .value-strip { grid-template-columns:1fr; padding:1.5rem; }
  .value-strip > div { border-left:0; border-top:1px solid rgba(11,48,64,.16); padding:1rem 0; }
  .value-strip > div:first-child { border-top:0; }
  .sustainability { grid-template-columns:1fr; text-align:left; }
  /* En móvil el logo va siempre a la izquierda — sin animación centro→izq */
  nav { height: 68px; padding: 0 1.25rem; align-items: center; padding-bottom: 0; }
  nav.scrolled { height: 58px; }
  nav > a:first-child {
    position: static;
    top: auto; left: auto;
    transform: none;
  }
  nav.scrolled > a:first-child {
    position: static;
    top: auto; left: auto;
    transform: none;
  }
  .nav-logo { height: 44px; }
  nav.scrolled .nav-logo { height: 36px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(4,15,25,0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 1.5rem;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(86,182,173,0.08);
    letter-spacing: 0.28em;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-stats { display: none; }
  section { padding: 4rem 1.5rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-ctas { flex-direction: column; }
  .cert-bar { padding: 2rem 1.5rem; gap: 2rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .footer-bottom { padding: 1.2rem 1.5rem; flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ════════════════════════════════════════════════════
   MARITIME ANIMATIONS
   ════════════════════════════════════════════════════ */

/* ── Sonar rings ── */
@keyframes sonar-expand {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(5); opacity: 0; }
}

.sonar-wrap {
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  z-index: 3;
  pointer-events: none;
}
@media (max-width: 900px) { .sonar-wrap { display: none; } }

.sonar-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--gold), 0 0 24px rgba(86,182,173,0.4);
  z-index: 2;
}

.sonar-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 80px;
  border: 1px solid rgba(86,182,173,0.55);
  border-radius: 50%;
  animation: sonar-expand 3s ease-out infinite;
}

/* ── Nautical data overlay ── */
@keyframes nav-data-blink {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 0.12; }
}

.nav-data {
  position: absolute;
  bottom: 2.5rem;
  left: 3rem;
  z-index: 5;
  pointer-events: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  color: rgba(86,182,173,0.45);
  text-transform: uppercase;
  line-height: 2.2;
}
.nav-data span { display: block; animation: nav-data-blink 4s ease-in-out infinite; }
.nav-data span:nth-child(2) { animation-delay: 1.3s; }
.nav-data span:nth-child(3) { animation-delay: 2.6s; }
@media (max-width: 900px) { .nav-data { display: none; } }

/* ── Depth scan line ── */
@keyframes depth-sweep {
  0%   { left: -30%; }
  100% { left: 110%; }
}

.depth-scan-line {
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(86,182,173,0.045) 50%, transparent 100%);
  pointer-events: none;
  animation: depth-sweep 9s linear infinite;
  z-index: 0;
}

/* ── Cert icon float-bob ── */
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.cert-bar .cert-icon { animation: float-bob 4s ease-in-out infinite; }
.cert-bar .cert-item:nth-child(2) .cert-icon { animation-delay: 0.5s; }
.cert-bar .cert-item:nth-child(3) .cert-icon { animation-delay: 1s; }
.cert-bar .cert-item:nth-child(4) .cert-icon { animation-delay: 1.5s; }
.cert-bar .cert-item:nth-child(5) .cert-icon { animation-delay: 2s; }

/* ── Product card cursor-light ripple ── */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 180px at var(--mx, -300px) var(--my, -300px), rgba(86,182,173,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  transition: background 0.1s;
}

/* ── Service item cursor glow ── */
.service-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 140px at var(--mx, -300px) var(--my, -300px), rgba(86,182,173,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTS V2
   ═══════════════════════════════════════════════════════════ */

/* Sección catálogo — fondo claro, requiere textos oscuros */
.products-catalog {
  background: var(--surface-light);
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1rem, 4vw, 3rem);
  position: relative;
}
.products-catalog::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(86,182,173,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(86,182,173,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.products-catalog > * { position: relative; z-index: 1; }
.products-catalog .section-eyebrow { color: var(--gold-deep); justify-content: center; }
.products-catalog .section-eyebrow::before { background: var(--gold-deep); }
.products-catalog .section-title { color: var(--ink); text-align: center; }
.products-catalog .section-desc { color: var(--ink-soft); text-align: center; margin: 1rem auto 0; }
.products-catalog .catalog-header { max-width: 640px; margin: 0 auto 2.5rem; }

.products-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}
@media (max-width: 900px) {
  .products-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 600px) {
  .products-grid-v2 { grid-template-columns: 1fr; }
}

.product-card-v2 {
  background: #fff;
  border: 1px solid rgba(11,48,64,0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(9,47,61,0.08), 0 2px 8px rgba(9,47,61,0.04);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px -16px rgba(9,47,61,0.22), 0 8px 20px rgba(9,47,61,0.08);
  border-color: rgba(86,182,173,0.35);
}
.product-img-wrap-v2 {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(160deg, #eef4f2 0%, #d6e4e1 100%);
}
.product-img-wrap-v2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  padding: 0.8rem;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1), filter 0.5s ease;
}
.product-img-wrap-v2 img[src*="SAL.png"],
.product-img-wrap-v2 img[src*="SALCOHO.png"],
.product-img-wrap-v2 img[src*="CENT.png"],
.product-img-wrap-v2 img[src*="JIB.png"] { transform: scale(1.3); }
.product-card-v2:hover .product-img-wrap-v2 img[src*="SAL.png"],
.product-card-v2:hover .product-img-wrap-v2 img[src*="SALCOHO.png"],
.product-card-v2:hover .product-img-wrap-v2 img[src*="CENT.png"],
.product-card-v2:hover .product-img-wrap-v2 img[src*="JIB.png"] { transform: scale(1.38); }
.product-card-v2:hover .product-img-wrap-v2 img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.05);
}
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,19,29,0.15) 0%, rgba(4,19,29,0.65) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.4rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
}
.product-card-v2:hover .product-img-overlay { opacity: 1; }
.product-img-overlay span {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.55);
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.08);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.product-card-v2:hover .product-img-overlay span:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}
.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}
.badge {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.badge-capture {
  background: rgba(70,150,200,0.85);
  color: #fff;
}
.badge-aqua {
  background: rgba(47,135,124,0.85);
  color: #fff;
}
.product-body-v2 {
  padding: 1.5rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-name-v2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.15rem;
  line-height: 1.2;
}
.product-scientific-v2 {
  font-size: 0.72rem;
  font-style: italic;
  color: #6e8a93;
  margin-bottom: 0.75rem;
}
.product-desc-v2 { display: none; }
.product-formats-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.product-formats-v2 span {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: rgba(11,48,64,0.06);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}
.product-footer-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(11,48,64,0.07);
  margin-top: auto;
}
.product-category-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(47,135,124,0.1);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.product-link {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.product-link:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
  transform: translateX(3px);
}

/* ── Product Filters (fondo claro) ── */
.product-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.65rem 1.5rem;
  border: 1px solid rgba(11,48,64,0.12);
  background: #fff;
  color: var(--ink-soft);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(9,47,61,0.04);
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(9,47,61,0.08);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold-deep) 0%, #256b62 100%);
  color: #fff;
  border-color: var(--gold-deep);
  box-shadow: 0 6px 16px rgba(47,135,124,0.28);
}
.filter-btn.active:hover { transform: translateY(-1px); color: #fff; }

/* Filter counter (opcional, si se agrega en HTML) */
.filter-btn .count { opacity: 0.55; margin-left: 0.4rem; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════
   STAT COUNTERS
   ═══════════════════════════════════════════════════════════ */
.stat-counter-section {
  padding: clamp(3rem, 5vw, 5rem) 3rem;
  background: linear-gradient(135deg, #06101e 0%, #0a1e3a 50%, #0d2847 100%);
  position: relative;
}
.stat-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.stat-counter-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-counter-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.8rem;
}
@media (max-width: 768px) {
  .stat-counters { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   HERO CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease-in-out;
  will-change: opacity, transform;
}
.hero-carousel-slide:first-child {
  filter: brightness(0.65);
}
/* Ken Burns — el slide activo hace un zoom in muy sutil durante el ciclo (6s) */
.hero-carousel-slide.active {
  opacity: 1;
  animation: ken-burns 8s ease-out forwards;
}
@keyframes ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

/* Dots como dashes horizontales — más editorial */
.carousel-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  background: rgba(4,15,25,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}
.carousel-dot {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: width 0.4s cubic-bezier(.22,1,.36,1), background 0.3s ease;
}
.carousel-dot:hover { background: rgba(255,255,255,0.6); }
.carousel-dot.active {
  width: 48px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(86,182,173,0.5);
}

/* ═══════════════════════════════════════════════════════════
   SUSTAINABILITY CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.sustainability-carousel {
  width: min(1280px, calc(100% - 3rem));
  margin: 6rem auto;
  padding: clamp(3rem, 7vw, 6.5rem) clamp(2rem, 5vw, 5rem);
  border-radius: 32px;
  background: linear-gradient(135deg, #dff3ee 0%, #eef7f4 65%, #fff 100%);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(8,43,58,0.07);
  position: relative;
  overflow: hidden;
}
.sustainability-slide {
  display: none;
  grid-template-columns: 130px minmax(0, 780px);
  justify-content: start;
  align-items: center;
  gap: 3rem;
}
.sustainability-slide.active {
  display: grid;
}
.sustainability-carousel .section-title {
  color: #14383c;
}
.sustainability-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}
.sustainability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(11,48,64,0.15);
  cursor: pointer;
  transition: all 0.3s;
}
.sustainability-dot.active {
  background: #2f877c;
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTS CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.products-cta-section {
  padding: clamp(4rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem);
  background: linear-gradient(135deg, #06101e 0%, #0a1e3a 50%, #0d2847 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.products-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(82,198,188,0.06) 0%, transparent 60%);
}
.products-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT MODAL
   ═══════════════════════════════════════════════════════════ */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,19,29,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.product-modal.active {
  visibility: visible;
  opacity: 1;
}
.product-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(4,19,29,0.35);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.product-modal.active .product-modal-content {
  transform: translateY(0) scale(1);
}
.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(4,19,29,0.06);
  color: #0b3040;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s;
}
.product-modal-close:hover {
  background: rgba(4,19,29,0.12);
  color: #000;
}
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.product-modal-img-wrap {
  height: 100%;
  min-height: 380px;
  background: linear-gradient(160deg, #eef4f2 0%, #dce8e7 100%);
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;    /* imagen completa visible, sin recorte */
  object-position: center;
  display: block;
  padding: 1rem;
  transition: opacity 0.35s ease;
}
.product-modal-img-wrap img.fading { opacity: 0; }

/* ── Carrusel de imágenes del modal ── */
.modal-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(11,48,64,0.1);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background 0.25s ease, transform 0.25s ease;
}
.modal-gallery-arrow:hover {
  background: var(--gold-deep);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.modal-gallery-arrow.prev { left: 0.8rem; }
.modal-gallery-arrow.next { right: 0.8rem; }
.modal-gallery-arrow[hidden] { display: none; }

.modal-gallery-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
  padding: 0.4rem 0.8rem;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
}
.modal-gallery-dots:empty { display: none; }
.modal-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(11,48,64,0.25);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  padding: 0;
}
.modal-gallery-dot.active {
  background: var(--gold-deep);
  transform: scale(1.3);
}
.modal-gallery-counter {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  background: rgba(4,19,29,0.7);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-gallery-counter[hidden] { display: none; }
.product-modal-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-modal-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2f877c;
  background: rgba(47,135,124,0.08);
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  width: fit-content;
}
.product-modal-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem,3vw,2.2rem);
  font-weight: 400;
  color: #0b3040;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}
.product-modal-scientific {
  font-size: 0.8rem;
  font-style: italic;
  color: #6e8a93;
  margin-bottom: 1.2rem;
}
.product-modal-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: #3a525a;
  margin-bottom: 1.5rem;
}
.product-modal-formats-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0b3040;
  display: block;
  margin-bottom: 0.6rem;
}
.product-modal-formats-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.product-modal-formats-tags span {
  font-size: 0.72rem;
  padding: 0.35rem 0.7rem;
  background: #f2f6f3;
  border: 1px solid rgba(11,48,64,0.08);
  border-radius: 20px;
  color: #0b3040;
  font-weight: 500;
}
@media (max-width: 900px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .product-modal-img-wrap {
    min-height: 220px;
    border-radius: 20px 20px 0 0;
  }
  .product-modal-body {
    padding: 1.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT CARD ENTRANCE ANIMATION
   ═══════════════════════════════════════════════════════════ */
@keyframes product-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   MISSING STYLES RECOVERY — why-choose, timeline, certs
   ═══════════════════════════════════════════════════════════ */

/* ── Why Choose ── */
.why-choose {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #06101e;
}
.why-choose::before {
  display: none;
}
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  position: relative;
  z-index: 1;
}
.why-choose-text {
  position: relative;
  z-index: 3;
  padding: 5rem clamp(2rem, 5vw, 5rem) 5rem clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-choose-image {
  position: relative;
  overflow: hidden;
  min-height: 450px;
}
.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.why-choose-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #06101e 0%, rgba(6,16,30,0.4) 30%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.section-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 520px;
}
.why-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(86,182,173,0.04);
  border: 1px solid rgba(86,182,173,0.08);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.why-feature-item:hover {
  background: rgba(86,182,173,0.08);
  border-color: rgba(86,182,173,0.18);
}
.why-feature-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(86,182,173,0.15);
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: 1px;
}
.why-feature-text {
  color: rgba(245,242,236,0.9);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* ── Scroll reveal variants ── */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Process Timeline ── */
.process-timeline {
  background: var(--navy);
  padding: var(--section-pad) 3rem;
  position: relative;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.timeline-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.timeline-step {
  position: relative;
  text-align: center;
  padding-top: 1.5rem;
}
.timeline-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}
.timeline-step-title {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.timeline-step-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 240px;
  margin: 0 auto;
}

/* ── Trust Footer — cert images ── */
.cert-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: cert-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cert-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.cert-img-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.2rem;
  background: #fff;
  border: 1.5px solid rgba(47,135,124,0.28);
  box-shadow: 0 4px 10px -2px rgba(47,135,124,0.15);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.trust-seal:hover .cert-img-wrap {
  border-color: var(--gold-deep);
  transform: scale(1.04);
}
.cert-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.cert-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.cert-desc {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 0.15rem;
}

/* ── Responsive fixes ── */
@media (max-width: 900px) {
  .why-choose-grid { grid-template-columns: 1fr; }
  .why-choose-image { min-height: 300px; order: -1; }
  .why-choose-image img { transform: none; }
  .why-choose-image::after { background: linear-gradient(0deg, #06101e 5%, transparent 50%); }
  .why-choose-text { padding: 3rem 2rem; }
  .why-features-list { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid::before { display: none; }
  .timeline-step { padding-top: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .timeline-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-choose-text { padding: 2rem 1.5rem; }
  .why-choose-image img { transform: none; }
  .services-grid { grid-template-columns: 1fr; }
}
/* ── Pantallas grandes ── */
@media (min-width: 1600px) {
  .why-choose-grid { max-width: none; }
  .services-grid { max-width: 1400px; }
  .products-grid { max-width: 1400px; margin: 0 auto; }
}
@media (min-width: 1921px) {
  section { padding-left: clamp(3rem, 8vw, 12rem); padding-right: clamp(3rem, 8vw, 12rem); }
  .hero { padding-left: clamp(3rem, 8vw, 12rem); padding-right: clamp(3rem, 8vw, 12rem); }
}
