:root {
  --navy: #0b1f3a;
  --navy-2: #142c4f;
  --teal: #01988f;
  --teal-light: #0fc7ba;
  --teal-soft: #e3f4f2;
  --bg: #ffffff;
  --bg-tint: #f2f7f7;
  --bg-card: #ffffff;
  --ink: #0b1f3a;
  --ink-body: #3f4a58;
  --ink-muted: #6b7684;
  --ink-faint: #97a1ac;
  --border: rgba(11, 31, 58, 0.1);
  --border-strong: rgba(11, 31, 58, 0.18);
  --sev-critical: #dc2626;
  --sev-high: #f97316;
  --sev-medium: #eab308;
  --sev-low: #22c55e;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 24px;
}
.container-narrow { max-width: 720px; }
.container-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.section { padding-block: 120px; background: var(--bg); position: relative; }
.section-dark {
  background: var(--bg-tint);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  top: -220px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,152,143,0.16), transparent 70%);
  pointer-events: none;
}
.section-dark::after {
  content: "";
  position: absolute;
  bottom: -260px; left: -180px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,31,58,0.10), transparent 70%);
  pointer-events: none;
}
.section-dark .container { position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px;
  font-weight: 500;
}
.eyebrow-light { color: var(--teal); }
.eyebrow .arrow { color: var(--teal); margin: 0 2px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  margin: 0 0 24px;
  max-width: 18ch;
  text-wrap: balance;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section-title-light { color: var(--navy); }

.section-lead {
  font-size: 18px;
  color: var(--ink-body);
  max-width: 62ch;
  margin: 0 0 48px;
}
.section-dark .section-lead { color: var(--ink-body); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  padding: 10px 0;
  box-shadow: 0 6px 24px rgba(11,31,58,0.07);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--teal);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--navy); color: #ffffff !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); display: block; }

/* ---------- BUTTONS ---------- */
.btn {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #ffffff; }
.btn-primary:hover { background: var(--teal-light); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #ffffff; }
.btn-ghost:hover { border-color: #ffffff; background: rgba(255,255,255,0.1); }
.btn-submit { width: 100%; margin-top: 8px; }
.btn-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

/* ---------- HERO ---------- */
/* El hero conserva un velo oscuro porque hay vídeo/gradiente de fondo detrás del
   texto (necesario para legibilidad sobre cualquier imagen en movimiento) — es la
   única sección que no es blanca. El logo nunca aparece sobre este fondo: vive en
   la barra de navegación, que es blanca siempre, y en el footer, también blanco. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 24px 100px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(1,152,143,0.28), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(11,31,58,0.9), transparent 60%),
    linear-gradient(160deg, #0b1f3a 0%, #0d2846 65%, #071322 100%);
}
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,10,18,0.35) 0%, rgba(5,10,18,0.55) 55%, rgba(5,10,18,0.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.12;
  margin: 0 0 28px;
  text-wrap: balance;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  color: rgba(255,255,255,0.82);
  max-width: 62ch;
  margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--teal-light);
  border-radius: 100px;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- STATS ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 12px 28px rgba(11,31,58,0.05);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.stat-unit { font-size: 24px; color: var(--teal); }
.stat-card p { margin: 0; color: var(--ink-body); font-size: 15px; }

.pull-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 26px);
  color: var(--navy);
  text-align: center;
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 10px 24px rgba(11,31,58,0.04);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 18px;
}
.step-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy);
}
.step p { font-size: 14.5px; color: var(--ink-body); margin: 0; }

.product-shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--navy);
  background: #05070b;
  box-shadow: 0 24px 60px rgba(11,31,58,0.18);
}
.product-shot img { width: 100%; aspect-ratio: 21/8; object-fit: cover; object-position: center 20%; }
.product-shot-caption {
  margin: 0;
  padding: 18px 24px;
  font-size: 13.5px;
  color: rgba(245,243,238,0.55);
  border-top: 1px solid rgba(245,243,238,0.1);
  font-family: var(--font-mono);
  background: #0a0e14;
}

/* ---------- PRINCIPLES ---------- */
.principles { display: flex; flex-direction: column; gap: 28px; }
.principle { display: flex; gap: 20px; }
.principle-icon {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--teal), var(--navy));
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.principle h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 6px; color: var(--navy); }
.principle p { font-size: 14.5px; color: var(--ink-body); margin: 0; }

.split-media { position: relative; }
.media-frame {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--navy) 0%, #0d2440 45%, var(--teal) 150%);
  position: relative;
  box-shadow: 0 24px 60px rgba(11,31,58,0.18);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame-empty::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.media-frame-empty::after {
  content: "Verictia";
  position: absolute;
  bottom: 28px; left: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}

/* ---------- MODULES ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.module-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 14px;
  padding: 26px 22px;
  min-height: 140px;
  box-shadow: 0 10px 24px rgba(11,31,58,0.04);
}
.module-card h3 {
  font-size: 15px;
  color: var(--navy);
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
}
.module-card p { font-size: 13.5px; color: var(--ink-body); margin: 0; line-height: 1.55; }

/* ---------- CINEMATIC QUOTE ---------- */
.quote-section {
  position: relative;
  padding: 140px 24px;
  text-align: center;
  background: #ffffff;
  overflow: hidden;
}
.quote-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 620px 420px at 20% 30%, rgba(1,152,143,0.14), transparent 70%),
    radial-gradient(ellipse 620px 420px at 82% 70%, rgba(11,31,58,0.12), transparent 70%);
}
.cinematic-quote {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 36px);
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.cinematic-sub {
  position: relative;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
  margin: 0;
}

/* ---------- CONTACT FORM ---------- */
.contact-form { margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(1,152,143,0.15);
}
.form-note { font-size: 12.5px; color: var(--ink-faint); text-align: center; margin: 14px 0 0; }
.form-status {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin: 14px 0 0;
  min-height: 20px;
}
.form-status.success { color: #0f7a5a; }
.form-status.error { color: #c0392b; }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-tint); border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand img { height: 50px; margin: 0 auto 10px; }
.footer-brand p {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin: 0;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--ink-muted); }
.footer-links a:hover { color: var(--navy); }
.footer-legal { font-size: 12px; color: var(--ink-faint); max-width: 60ch; margin: 8px 0 0; }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .container-split { grid-template-columns: 1fr; gap: 40px; }
  .split-media { order: -1; max-width: 340px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .section { padding-block: 80px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 32px rgba(11,31,58,0.08);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-cta { width: 100%; text-align: center; }

  .steps { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .quote-section { padding: 100px 24px; }
}
