:root {
  --bg: #05060a;
  --bg-2: #080b14;
  --ink: #eef2fb;
  --ink-2: #b8c4dc;
  --ink-3: #7c88a3;
  --blue: #5b8dff;
  --blue-2: #7ea7ff;
  --blue-3: #3d6bff;
  --blue-glow: rgba(91, 141, 255, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-hi: rgba(255, 255, 255, 0.14);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  font-size: 16px;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}
body::before {
  top: -15%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(91, 141, 255, 0.28), transparent 60%);
}
body::after {
  bottom: -20%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(61, 107, 255, 0.20), transparent 60%);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Glass */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    0 30px 80px -30px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 40%);
  pointer-events: none;
  border-radius: inherit;
}

/* NAV */
.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 0 20px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 22px;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(10, 12, 20, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(180deg, var(--blue-2), var(--blue-3));
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 8px 20px -8px var(--blue-glow);
}
.nav-cta:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-2), var(--blue-3));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 12px 30px -10px var(--blue-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 20px 40px -14px var(--blue-glow);
}
.btn-lg { padding: 17px 32px; font-size: 16px; }

/* HERO */
.hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px);
  text-align: center;
}
.hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin: 0 auto 22px;
  max-width: 22ch;
  color: var(--ink);
}
.hero-title .hi {
  background: linear-gradient(180deg, var(--blue-2), var(--blue-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* VIDEO */
.video-section {
  padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 5vw, 64px);
}
.video-wrap { width: min(880px, calc(100% - 40px)); margin-inline: auto; }
.video-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    0 40px 100px -30px rgba(91, 141, 255, 0.35),
    0 20px 60px -20px rgba(0, 0, 0, 0.7);
}
.video-frame::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(91, 141, 255, 0.35), transparent 40%, transparent 60%, rgba(91, 141, 255, 0.20));
  z-index: -1;
  filter: blur(20px);
  opacity: .6;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame wistia-player { display: block; width: 100%; height: 100%; }
.video-frame wistia-player:not(:defined) { padding-top: 0 !important; height: 100%; }

/* SECTIONS */
.section {
  padding: clamp(56px, 7vw, 88px) 0;
  text-align: center;
}
.section h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0 0 32px;
  color: var(--ink);
}
.section h2 .hi {
  background: linear-gradient(180deg, var(--blue-2), var(--blue-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* CALENDLY (cream, compact, 2-col) */
.reserve {
  background: #f2ece1;
  color: #14110f;
  padding: clamp(48px, 6vw, 72px) 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.reserve-grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}
.reserve-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reserve-left h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: #14110f;
}
.reserve-left h2 .hi {
  background: linear-gradient(180deg, var(--blue-3), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reserve-left p {
  color: #4a413b;
  font-size: 15.5px;
  margin: 0 0 22px;
  max-width: 32ch;
  line-height: 1.55;
}
.reserve-left .btn { align-self: flex-start; }
.calendly-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,0.2);
  height: 680px;
  width: 100%;
}
.calendly-embed {
  width: 100%;
  height: 100%;
}
.calendly-embed iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .reserve-grid { grid-template-columns: 1fr; gap: 28px; }
  .reserve-left { text-align: center; align-items: center; }
  .reserve-left p { margin-inline: auto; }
  .reserve-left .btn { align-self: center; }
  .calendly-card { height: 720px; }
}
@media (max-width: 640px) {
  .calendly-card { height: 900px; }
}

/* MÉTODO */
.method-inner {
  max-width: 820px;
  margin: 0 auto;
}
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 22px;
}
.logo-lockup::before {
  content: "";
  display: inline-block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
}
.lead {
  color: var(--ink-2);
  font-size: 17px;
  margin: 0 auto 36px;
  max-width: 62ch;
  line-height: 1.6;
}

/* PARTNERS */
.partners {
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  margin: 0 auto;
  max-width: 1080px;
}
.partners-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 22px 40px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.partner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.partner .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue-glow);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* FOOTER */
.footer {
  padding: 26px 0 32px;
  border-top: 1px solid var(--glass-border);
  color: var(--ink-3);
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer .brand { color: var(--ink); font-size: 16px; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-title { font-size: clamp(30px, 8vw, 40px); }
  .partner { font-size: 18px; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 340px; margin-inline: auto; }
  .hero-cta .btn { width: 100%; }
}

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