/* ============================================
   QUANT TRIDENT — VSL / Funnel
   Display: Nohemi · Body: Inter · Accents: Space Mono
   Colors: Moonlight Black #000 + Almagre #dc2d22
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* --- Nohemi (local) --- */
@font-face { font-family:'Nohemi'; font-weight:300; font-style:normal; font-display:swap; src:url('../assets/fonts/Nohemi-Light.ttf') format('truetype'); }
@font-face { font-family:'Nohemi'; font-weight:400; font-style:normal; font-display:swap; src:url('../assets/fonts/Nohemi-Regular.ttf') format('truetype'); }
@font-face { font-family:'Nohemi'; font-weight:500; font-style:normal; font-display:swap; src:url('../assets/fonts/Nohemi-Medium.ttf') format('truetype'); }
@font-face { font-family:'Nohemi'; font-weight:600; font-style:normal; font-display:swap; src:url('../assets/fonts/Nohemi-SemiBold.ttf') format('truetype'); }
@font-face { font-family:'Nohemi'; font-weight:700; font-style:normal; font-display:swap; src:url('../assets/fonts/Nohemi-Bold.otf') format('opentype'); }
@font-face { font-family:'Nohemi'; font-weight:800; font-style:normal; font-display:swap; src:url('../assets/fonts/Nohemi-ExtraBold.ttf') format('truetype'); }
@font-face { font-family:'Nohemi'; font-weight:900; font-style:normal; font-display:swap; src:url('../assets/fonts/Nohemi-Black.ttf') format('truetype'); }

:root {
  --bg: #060606;
  --bg-soft: #0e0e0f;
  --almagre: #dc2d22;
  --almagre-soft: #b3211a;
  --paper: #f3f3ee;
  --text: #f3f3ee;
  --text-soft: rgba(243, 243, 238, 0.82);
  --text-mute: rgba(243, 243, 238, 0.55);
  --card: #121213;
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.18);
  --font: 'Nohemi', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --container: 1120px;
  --r: 14px;
  --r-lg: 20px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image:
    radial-gradient(900px 600px at 50% -160px, rgba(220, 45, 34, 0.16), transparent 62%),
    radial-gradient(700px 500px at 88% 38%, rgba(220, 45, 34, 0.06), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a { color: var(--almagre); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--almagre-soft); }
p { margin: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--font); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
strong { font-weight: 700; color: var(--paper); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 700px) { .container { padding: 0 20px; } }

.section { padding: clamp(56px, 8vw, 100px) 0; }

/* Shared eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--almagre);
  margin-bottom: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  padding: clamp(30px, 5vw, 50px) 16px 0;
  text-align: center;
}
.site-header .logo {
  width: 72px;
  margin: 0 auto;
}
.headline-img {
  width: 760px;
  max-width: 92%;
  margin: clamp(24px, 4vw, 40px) auto 0;
}

/* ============================================
   HERO — video + CTA
   ============================================ */
.video-wrap {
  width: 100%;
  max-width: 880px;
  margin: clamp(30px, 5vw, 48px) auto clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.video-aspect {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.video-aspect iframe,
.video-aspect video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border: 0;
  text-align: center;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn-block { display: flex; margin: 0 auto; }

.btn-primary {
  background: var(--almagre);
  color: #fff;
  font-size: 17px;
  padding: 17px 40px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 12px 30px rgba(220, 45, 34, 0.28);
}
.btn-primary:hover {
  background: var(--almagre-soft);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(220, 45, 34, 0.42);
}

.btn-green {
  background: var(--almagre);
  color: #fff;
  font-size: 18px;
  padding: 18px 44px;
  width: 100%;
  max-width: 560px;
}
.btn-green:hover {
  background: #fff;
  color: var(--almagre);
  transform: translateY(-2px);
}

/* ----- Feature icons ----- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: clamp(34px, 5vw, 54px) auto 0;
  max-width: 820px;
  align-items: center;
  justify-items: center;
}
.features img { max-height: 78px; width: auto; opacity: 0.95; }
@media (max-width: 700px) { .features { gap: 10px; } .features img { max-height: 46px; } }

/* ----- Audit badge ----- */
.audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--paper);
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.16em;
  margin: clamp(34px, 5vw, 50px) auto 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.audit-badge::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
}
.audit-badge:hover { background: var(--paper); color: #000; border-color: var(--paper); }

/* ============================================
   TESTIMONIALS — NUESTROS CLIENTES (videos)
   ============================================ */
.testimonials { padding: clamp(50px, 7vw, 90px) 0 clamp(30px, 4vw, 50px); }
.testimonials-head {
  text-align: center;
  margin-bottom: clamp(34px, 4vw, 50px);
}
.testimonials-head .eyebrow {
  background: var(--almagre);
  color: #fff;
  font-family: var(--mono);
  padding: 5px 16px;
  border-radius: 5px;
  letter-spacing: 0.18em;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  transform: translateY(8px);
}
.testimonials-head h2 {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(40px, 8.5vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--paper);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
}
.testimonial-video {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--hairline);
  aspect-ratio: 16 / 10;
  transition: border-color 0.2s, transform 0.2s;
}
.testimonial-video:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.testimonial-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
@media (max-width: 800px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; max-width: 480px; }
  .testimonials-head h2 { font-size: clamp(36px, 13vw, 64px); }
}

/* ============================================
   ABOUT — intro + team
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}
.about-intro { display: flex; flex-direction: column; gap: 22px; }
.about-intro .trident-mark { width: 64px; }
.about-intro p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--text-soft);
}
.team-card {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.team-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  aspect-ratio: 4 / 5;
  background: var(--card);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card figcaption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.team-card figcaption strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
}
.team-card figcaption span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--almagre);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ============================================
   DARWINEX
   ============================================ */
.darwinex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.darwinex-title h2 {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.darwinex-title h2 mark {
  background: var(--almagre);
  color: #fff;
  padding: 0 8px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.darwinex-body { display: flex; flex-direction: column; gap: 18px; }
.darwinex-logos { width: 150px; }
.darwinex-body .hairline {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--almagre), transparent);
}
.darwinex-body p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--text-soft);
}
@media (max-width: 820px) {
  .darwinex-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
  position: relative;
}
.final-cta .eyebrow { margin-bottom: 14px; }
.final-cta h2 {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.final-cta .final-lead {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.final-cta .micro {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 16px;
  letter-spacing: 0.04em;
}

/* ============================================
   DISCLAIMER
   ============================================ */
.disclaimer {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.7;
  text-align: center;
  color: var(--text-mute);
  padding: 30px 16px 40px;
  border-top: 1px solid var(--hairline);
  margin-top: 40px;
}
.disclaimer .container { max-width: 920px; }
.disclaimer strong { color: var(--text-soft); }
@media (max-width: 700px) { .disclaimer { font-size: 11px; } }

/* ============================================
   AGENDA / FORM PAGE
   ============================================ */
.agenda-hero {
  text-align: center;
  padding: clamp(40px, 6vw, 70px) 16px 24px;
}
.agenda-hero img { width: 680px; max-width: 90%; margin: 0 auto 28px; }
.agenda-hero h1 {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 800px;
  margin: 0 auto 16px;
}
.agenda-hero p {
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-soft);
  line-height: 1.65;
}
@media (max-width: 700px) { .agenda-hero h1 { font-size: 26px; } .agenda-hero p { font-size: 15px; } }

.agenda-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: clamp(28px, 4vw, 44px) auto;
}
.agenda-bullets .bullet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 16px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  text-align: center;
}
.agenda-bullets .check { font-size: 26px; color: #2ecc71; }
.agenda-bullets b { color: var(--paper); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 700px) { .agenda-bullets { grid-template-columns: 1fr; gap: 10px; max-width: 460px; } }

/* ----- Tally embed card ----- */
.tally-card {
  max-width: 720px;
  margin: clamp(28px, 4vw, 40px) auto clamp(50px, 6vw, 70px);
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2.5vw, 28px);
  overflow: hidden;
}
.tally-card iframe { width: 100%; border: 0; display: block; background: transparent; }

/* ----- Form (versión propia, respaldo) ----- */
.form-card {
  max-width: 700px;
  margin: clamp(28px, 4vw, 40px) auto;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
}
.form-card h2 {
  font-family: var(--font);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.form-card .lead {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.65;
}

.form-group { display: flex; flex-direction: column; margin-bottom: 22px; }
.form-group label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 9px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.form-group label .req { color: var(--almagre); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--almagre);
  box-shadow: 0 0 0 3px rgba(220, 45, 34, 0.16);
}
.form-group .help {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-top: 7px;
  line-height: 1.5;
}

.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  cursor: pointer;
  transition: border 0.15s, background 0.15s;
}
.radio-option:hover { border-color: var(--hairline-strong); }
.radio-option input { margin-top: 3px; accent-color: var(--almagre); flex-shrink: 0; }
.radio-option.is-checked { border-color: var(--almagre); background: rgba(220, 45, 34, 0.08); }
.radio-option span { font-size: 14px; line-height: 1.5; color: var(--text-soft); }

.form-submit {
  width: 100%;
  background: var(--almagre);
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  padding: 17px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 12px 30px rgba(220, 45, 34, 0.28);
}
.form-submit:hover { transform: translateY(-2px); background: var(--almagre-soft); }
.form-submit:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

.form-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0.04em;
}

/* ----- Cal.com inline ----- */
.cal-section {
  max-width: 1000px;
  margin: clamp(28px, 4vw, 40px) auto clamp(50px, 6vw, 70px);
  display: none;
}
.cal-section.active { display: block; }
.cal-section h2 {
  text-align: center;
  font-family: var(--font);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
#cal-embed {
  width: 100%;
  min-height: 700px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* ----- Notices ----- */
.notice {
  padding: 13px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  display: none;
}
.notice.is-visible { display: block; }
.notice.error { background: rgba(220, 45, 34, 0.14); border: 1px solid rgba(220, 45, 34, 0.4); color: #ffb4b4; }
.notice.success { background: rgba(46, 204, 113, 0.14); border: 1px solid rgba(46, 204, 113, 0.4); color: #b9f3cf; }

/* ============================================
   GRACIAS PAGE
   ============================================ */
.gracias-hero {
  text-align: center;
  padding: clamp(60px, 8vw, 90px) 16px 40px;
  max-width: 820px;
  margin: 0 auto;
}
.gracias-hero .check-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #2ecc71;
  color: #fff;
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  box-shadow: 0 14px 36px rgba(46, 204, 113, 0.32);
}
.gracias-hero h1 {
  font-family: var(--font);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.gracias-hero p { font-size: 17px; color: var(--text-soft); margin-bottom: 28px; line-height: 1.65; }
@media (max-width: 700px) { .gracias-hero h1 { font-size: 28px; } .gracias-hero p { font-size: 15px; } }

.gracias-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}
.gracias-steps .step {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
}
.gracias-steps .step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--almagre);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.gracias-steps .step h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; letter-spacing: -0.02em; }
.gracias-steps .step p { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
@media (max-width: 760px) { .gracias-steps { grid-template-columns: 1fr; max-width: 460px; } }

.gracias-cta {
  text-align: center;
  padding: 0 16px clamp(50px, 6vw, 70px);
}
.gracias-cta a.btn {
  background: var(--almagre);
  color: #fff;
  padding: 15px 30px;
  font-size: 16px;
  display: inline-flex;
  box-shadow: 0 12px 30px rgba(220, 45, 34, 0.28);
}
.gracias-cta a.btn:hover { background: #fff; color: var(--almagre); transform: translateY(-2px); }
