:root {
  --c-bg: #06061A;
  --c-bg-2: #0A0A26;
  --c-navy: #00002D;
  --c-navy-2: #05052E;
  /* Blue identity — replaces gold */
  --c-gold: #4A8AE8;          /* primary blue accent */
  --c-gold-light: #00C8D8;    /* light blue accent — promoted to teal per brand */
  --c-gold-deep: #2A5FB8;     /* deep blue accent */
  --c-cyan: #00C8D8;
  --c-cyan-dim: #0098A8;
  --c-blue-1: #4A8AE8;
  --c-blue-2: #00C8D8;
  --c-blue-deep: #1B3F8C;
  --c-card: #10122E;
  --c-card-2: #14163A;
  --c-card-border: #1F2A55;
  --c-card-border-soft: #161F40;
  --c-featured: #1B284A;
  --c-muted: #8A95B8;
  --c-muted-2: #5F6884;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { background: var(--c-bg); }

/* Engineering grid signature — 60×60 teal hairlines, faded with a soft
   radial mask so the grid never competes with content. */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,200,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,216,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}
nav.top, section, footer { position: relative; z-index: 1; }

body {
  color: #fff;
  font-family: 'Inter', sans-serif;
  /* `clip` (not `hidden`) keeps horizontal overflow contained without
     creating a scroll container — essential for descendant `position: sticky`
     to keep working. */
  overflow-x: clip;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

/* ---------- NOISE ---------- */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- BACKGROUND GLOW LAYER ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-orb {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,138,232,.07) 0%, rgba(0,200,216,.03) 35%, transparent 70%);
  filter: blur(40px);
}
.bg-orb.o1 { top: -20%; left: -10%; }
.bg-orb.o2 { bottom: -30%; right: -15%; background: radial-gradient(circle, rgba(0,200,216,.06) 0%, rgba(74,138,232,.02) 35%, transparent 70%); }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-size: .65rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-cyan);
  display: inline-block;
}
.display {
  font-family: 'Fraunces', 'Inter', serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.display em { font-style: italic; color: var(--c-gold-light); font-weight: 400; }
.hairline {
  width: 32px; height: 1px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-cyan-dim) 60%, transparent);
}

/* ---------- GOLD TOP LINE ---------- */
.top-hairline {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--c-gold) 20%, var(--c-cyan) 50%, var(--c-gold) 80%, transparent 100%);
  z-index: 9999; opacity: .6;
}

/* ---------- NAV ---------- */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
nav.top.scrolled {
  background: rgba(10,10,30,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(37,37,80,.5);
}
nav .nav-wrap { max-width: 1400px; margin: 0 auto; padding: 1.1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
nav .nav-links { display: flex; align-items: center; gap: 2.2rem; }
@media (max-width: 1180px) {
  nav .nav-links { gap: 1.3rem; }
  nav .nav-links a { letter-spacing: .18em; }
  nav .nav-cta { padding: .65rem 1.1rem; }
}
@media (max-width: 960px) {
  nav .nav-links { gap: 1rem; }
  nav .nav-links a { font-size: .62rem; letter-spacing: .15em; }
}
nav .nav-links a {
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-muted); font-weight: 600; text-decoration: none;
  transition: color .2s;
}
nav .nav-links a:hover { color: #fff; }
nav .nav-cta {
  background: transparent;
  border: 1px solid rgba(74,138,232,.4);
  color: var(--c-gold);
  padding: .7rem 1.4rem;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: all .25s;
}
nav .nav-cta:hover { background: var(--c-gold); color: var(--c-bg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  padding: 1rem 2rem;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #5DD4DD 0%, #00C8D8 50%, #0099A8 100%);
  color: #001418;
  box-shadow: 0 10px 40px -12px rgba(0,200,216,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(0,200,216,.6); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.btn-ghost:hover { border-color: var(--c-gold); color: var(--c-gold-light); }
.btn-cyan {
  background: transparent;
  color: var(--c-cyan);
  border: 1px solid rgba(0,200,216,.35);
}
.btn-cyan:hover { border-color: var(--c-cyan); background: rgba(0,200,216,.08); }

/* ---------- SECTIONS ---------- */
section { position: relative; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.wrap-sm { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

.section-head { max-width: 680px; margin: 0 auto 4rem; text-align: center; }
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 1.2rem;
}
.section-head h2 em { font-style: italic; color: var(--c-gold-light); font-weight: 400; }
.section-head p { color: var(--c-muted); font-weight: 300; margin-top: 1.4rem; line-height: 1.6; font-size: 1.02rem; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; position: relative;
  padding-top: 120px; padding-bottom: 4rem;
  display: flex; align-items: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(0,0,45,.9) 0%, var(--c-bg) 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-copy h1 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 1.4rem 0 1.6rem;
}
.hero-copy h1 em { font-style: italic; color: var(--c-gold-light); font-weight: 400; }
.hero-copy h1 .accent { color: var(--c-cyan); font-style: normal; }
.hero-copy p.lead {
  color: var(--c-muted);
  font-weight: 300;
  line-height: 1.6;
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 2.2rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-trust { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--c-card-border-soft); max-width: 520px; }
.hero-trust-item { flex: 1; }
.hero-trust-item .v { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 300; color: #fff; letter-spacing: -0.02em; }
.hero-trust-item .v em { color: var(--c-gold-light); font-style: italic; }
.hero-trust-item .l { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-muted-2); font-weight: 600; margin-top: .3rem; }

/* ---------- PYRAMID 3D ---------- */
.pyramid-stage {
  position: relative;
  width: 100%;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.pyramid {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  transform: perspective(1200px) rotateX(8deg) rotateY(var(--py-rot, 0deg));
  transform-origin: 50% 100%;
  transition: transform 1s cubic-bezier(.22,1,.36,1);
}

/* ----- Slab (flat pyramid level): trapezoid face + elliptical top for depth ----- */
.slab {
  position: relative;
  cursor: pointer;
  transition: transform .6s cubic-bezier(.22,1,.36,1), filter .5s, opacity .5s;
  /* overlap next slab's top by TOP_DEPTH so they stack seamlessly */
  margin-bottom: calc(var(--top-depth) * -1);
}

/* Bottom drop shadow on each slab (fake ambient) */
.slab-side {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 100%);
  clip-path: polygon(
    var(--inset-pct) var(--top-depth),
    calc(100% - var(--inset-pct)) var(--top-depth),
    100% 100%,
    0% 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Main trapezoid face */
.slab-face {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--slab-c1) 0%, var(--slab-c2) 100%);
  clip-path: polygon(
    var(--inset-pct) var(--top-depth),
    calc(100% - var(--inset-pct)) var(--top-depth),
    100% 100%,
    0% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -20px 40px rgba(0,0,0,.3);
  border: 1px solid transparent;
  transition: filter .3s;
  z-index: 2;
}

/* Top ellipse (elongated ellipse gives isometric "plateau" feel) */
.slab-top {
  position: absolute;
  left: var(--inset-pct);
  right: var(--inset-pct);
  top: 0;
  height: calc(var(--top-depth) * 2);
  transform: translateY(-50%);
  background:
    radial-gradient(ellipse at 50% 50%, var(--slab-top-c) 0%, var(--slab-c1) 80%);
  border-radius: 50%;
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,.08),
    inset 0 -4px 12px rgba(0,0,0,.3),
    0 -4px 20px rgba(0,0,0,.25);
  z-index: 3;
  pointer-events: none;
  transition: all .5s;
}

/* Accent rim on top edge */
.slab-top::before {
  content: '';
  position: absolute; inset: 1px;
  border-radius: 50%;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(0,0,0,.3);
  pointer-events: none;
}

.slab-label-wrap {
  position: relative;
  z-index: 4;
  text-align: center;
  padding-top: calc(var(--top-depth) * 1.5);
  pointer-events: none;
}
.slab-num {
  font-size: .58rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--slab-accent);
  font-weight: 700;
  opacity: .8;
  margin-bottom: .3rem;
}
.slab-label {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(.95rem, 1.4vw, 1.35rem);
  color: #fff;
  letter-spacing: -.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
  line-height: 1;
}

.slab.hovering {
  transform: translateY(-3px);
  filter: brightness(1.15);
}
.slab.hovering .slab-top {
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,.15),
    inset 0 -4px 12px rgba(0,0,0,.3),
    0 0 30px rgba(74,138,232,.35);
}
.slab.active {
  transform: translateY(-6px);
  filter: brightness(1.2);
}
.slab.active .slab-top {
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,.2),
    inset 0 -4px 12px rgba(0,0,0,.2),
    0 0 50px rgba(74,138,232,.55);
}
.slab.active .slab-face {
  box-shadow: inset 0 -20px 40px rgba(0,0,0,.3), inset 0 0 80px rgba(74,138,232,.1);
}
.pyramid.has-active .slab:not(.active) {
  opacity: .4;
  filter: saturate(.6) brightness(.7);
}

.peak-glow {
  position: absolute;
  left: 50%; top: -20px;
  width: 140px; height: 140px;
  margin-left: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,138,232,.5) 0%, rgba(74,138,232,.15) 30%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: peakPulse 3.5s ease-in-out infinite;
}
@keyframes peakPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* floating dots around pyramid */
.pyramid-fx {
  position: absolute; inset: 0; pointer-events: none;
}
.pyramid-fx .dot {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--c-gold); opacity: .4;
  box-shadow: 0 0 10px var(--c-gold);
  animation: floatDot 6s ease-in-out infinite;
}
@keyframes floatDot {
  0%,100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(-14px); opacity: .9; }
}

/* pyramid base shadow */
.pyramid-shadow {
  position: absolute; bottom: 80px; left: 50%;
  width: 520px; height: 80px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,0,0,.55) 0%, rgba(74,138,232,.08) 40%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

/* pyramid hover/click controls */
.pyramid-controls {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  background: rgba(10,10,30,.5);
  border: 1px solid var(--c-card-border-soft);
  backdrop-filter: blur(8px);
  z-index: 5;
}
.pyramid-controls button {
  background: transparent; border: none; color: var(--c-muted); cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.pyramid-controls button:hover { color: var(--c-gold); background: rgba(74,138,232,.08); }
.pyramid-controls .divider { width: 1px; height: 14px; background: var(--c-card-border); margin: 0 .25rem; }
.pyramid-controls .auto-label { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; padding: 0 .5rem; }

/* pyramid level-info drawer (beneath hero) */
.pyramid-info-bar {
  margin-top: 2rem;
  border-top: 1px solid var(--c-card-border-soft);
  padding-top: 2rem;
}
.pyramid-info {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 2rem;
  align-items: start;
  min-height: 170px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s, transform .6s;
}
.pyramid-info.show { opacity: 1; transform: translateY(0); }
.pyramid-info .p-num {
  font-family: 'Fraunces', serif;
  font-size: 4.5rem; font-weight: 300; font-style: italic;
  color: var(--c-gold-light); line-height: .9;
  letter-spacing: -.03em;
}
.pyramid-info .p-num small { font-size: 1rem; color: var(--c-muted); font-style: normal; display: block; letter-spacing: .3em; text-transform: uppercase; margin-bottom: .4rem; font-weight: 600; }
.pyramid-info .p-title {
  font-family: 'Fraunces', serif; font-weight: 300; font-size: 1.6rem; letter-spacing: -.01em;
  margin-bottom: .7rem;
}
.pyramid-info .p-title em { font-style: italic; color: var(--c-gold-light); }
.pyramid-info .p-desc { color: var(--c-muted); font-weight: 300; line-height: 1.55; margin-bottom: 1.2rem; max-width: 480px; font-size: .95rem; }
.pyramid-info .p-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.pyramid-info .chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .85rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-card-border);
  border-radius: 999px;
  font-size: .68rem;
  color: #cfd1e0;
  letter-spacing: .02em;
  font-weight: 500;
  transition: all .2s;
}
.pyramid-info .chip:hover { border-color: rgba(74,138,232,.45); color: var(--c-gold-light); background: rgba(74,138,232,.06); }
.pyramid-info .p-cta {
  display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; min-width: 160px;
}
.pyramid-info .p-cta .btn { width: 100%; }

/* ---------- PILLS (SOBRE / NUMBERS) ---------- */
.pills-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.pill {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--c-card-border-soft);
  border-radius: 16px;
  padding: 1.6rem;
  transition: all .3s;
}
.pill:hover { border-color: rgba(74,138,232,.3); transform: translateY(-4px); }
.pill .v { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 300; color: var(--c-gold-light); line-height: 1; letter-spacing: -.02em; }
.pill .v em { font-style: italic; }
.pill .v .small { font-size: 1rem; color: var(--c-muted); margin-left: .2rem; }
.pill .l { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; margin-top: .7rem; }
.pill .d { color: var(--c-muted); font-size: .82rem; font-weight: 300; margin-top: .6rem; line-height: 1.4; }

/* ---------- SOBRE ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) 1.15fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  background: linear-gradient(160deg, var(--c-card) 0%, var(--c-bg-2) 100%);
  border: 1px solid var(--c-card-border);
  border-radius: 24px;
  overflow: hidden;
}
.about-grid > .about-visual {
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--c-card-border);
  aspect-ratio: auto;
  max-height: none;
  height: auto;
  width: 100%;
}
.about-grid > .about-copy { padding: 3.5rem 3rem; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.about-visual {
  aspect-ratio: 4/5;
  max-height: 780px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(0,0,45,.5), rgba(10,10,30,.9)),
    repeating-linear-gradient(45deg, rgba(74,138,232,.04) 0 2px, transparent 2px 18px);
  border: 1px solid var(--c-card-border);
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.about-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(74,138,232,.1), transparent 50%);
}
.about-visual .safra-badge {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .6rem 1rem;
  background: rgba(10,10,30,.7);
  border: 1px solid var(--c-card-border);
  border-radius: 999px;
  font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--c-gold-light); font-weight: 700;
  position: relative; z-index: 2;
  width: fit-content;
}
.about-visual .safra-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-cyan); }
.about-visual .big-num {
  font-family: 'Fraunces', serif; font-weight: 300; font-style: italic;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, var(--c-cyan), var(--c-cyan-dim) 55%, rgba(0,152,168,.15));
  -webkit-background-clip: text; background-clip: text;
  letter-spacing: -.04em;
  position: relative; z-index: 2;
}
.about-visual .big-num-label {
  font-family: 'Fraunces', serif; font-weight: 400; font-style: italic;
  color: var(--c-gold-light); font-size: 1.15rem; margin-top: -.5rem;
  position: relative; z-index: 2;
}
.about-visual .quote {
  position: relative; z-index: 2;
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: 1.15rem; line-height: 1.35; color: #eaeaf5;
  letter-spacing: -.01em;
}
.about-visual .quote em { font-style: italic; color: var(--c-gold-light); }

.about-copy h2 { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.02em; margin: 1.2rem 0 1.5rem; }
.about-copy h2 em { font-style: italic; color: var(--c-gold-light); }
.about-copy p { color: var(--c-muted); font-weight: 300; line-height: 1.65; margin-bottom: 1.2rem; font-size: 1.02rem; }
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.about-features .af {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--c-card-border-soft);
}
.about-features .af-num {
  font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 300; font-style: italic;
  color: var(--c-gold); min-width: 26px;
}
.about-features .af-title { font-weight: 600; color: #fff; font-size: .95rem; }
.about-features .af-desc { color: var(--c-muted); font-size: .85rem; font-weight: 300; margin-top: .2rem; line-height: 1.5; }

/* ---------- QUIZ ---------- */
.quiz-wrap {
  max-width: 880px; margin: 0 auto;
  background: linear-gradient(180deg, var(--c-card) 0%, var(--c-bg-2) 100%);
  border: 1px solid var(--c-card-border);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.quiz-wrap::before {
  content: ''; position: absolute; top: 0; right: 0; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74,138,232,.08), transparent 60%);
  pointer-events: none;
}
.quiz-progress { display: flex; gap: .4rem; margin-bottom: 2rem; position: relative; z-index: 2; }
.quiz-progress .bar { flex: 1; height: 3px; border-radius: 999px; background: var(--c-card-border); transition: background .4s; }
.quiz-progress .bar.done { background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light)); }
.quiz-step { position: relative; z-index: 2; }
.quiz-step .step-tag { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--c-cyan); font-weight: 700; }
.quiz-step h3 { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.02em; margin-top: .8rem; line-height: 1.1; }
.quiz-step h3 em { font-style: italic; color: var(--c-gold-light); }
.quiz-options { margin-top: 2rem; display: grid; gap: .75rem; }
.quiz-opt {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--c-card-border);
  border-radius: 14px;
  cursor: pointer;
  transition: all .25s;
  text-align: left;
  color: #e8e9f5;
  font-size: .95rem;
  font-weight: 400;
  width: 100%;
}
.quiz-opt:hover { border-color: rgba(74,138,232,.4); background: rgba(74,138,232,.04); }
.quiz-opt.selected { border-color: var(--c-gold); background: rgba(74,138,232,.08); }
.quiz-opt .radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--c-card-border);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; flex-shrink: 0;
}
.quiz-opt.selected .radio { border-color: var(--c-gold); }
.quiz-opt .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c-gold); transform: scale(0); transition: transform .25s; }
.quiz-opt.selected .radio::after { transform: scale(1); }

/* Icon-grid variant — used on the first quiz step.
   Two columns, thin-line turquoise icons, title + subtitle stacked. */
.quiz-options.has-icons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}
.quiz-opt-card {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .65rem;
  padding: 1.25rem 1.3rem 1.35rem;
  min-height: 132px;
}
.quiz-opt-card .quiz-opt-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-cyan);
  flex-shrink: 0;
  transition: color .25s, transform .25s;
}
.quiz-opt-card .quiz-opt-icon svg { width: 100%; height: 100%; display: block; }
.quiz-opt-card .quiz-opt-body { display: flex; flex-direction: column; gap: .35rem; }
.quiz-opt-card .quiz-opt-title {
  font-weight: 600; color: #fff; font-size: 1rem;
  letter-spacing: -.005em; line-height: 1.25;
}
.quiz-opt-card .quiz-opt-sub {
  color: var(--c-muted); font-weight: 300;
  font-size: .82rem; line-height: 1.45;
  text-wrap: pretty;
}
.quiz-opt-card:hover .quiz-opt-icon { transform: translateY(-1px); }
.quiz-opt-card.selected .quiz-opt-icon { color: var(--c-cyan); }
.quiz-opt-card.selected { border-color: rgba(0,200,216,.55); background: rgba(0,200,216,.05); box-shadow: 0 0 0 1px rgba(0,200,216,.18) inset; }
.quiz-opt-card:hover { border-color: rgba(0,200,216,.32); background: rgba(0,200,216,.03); }

@media (max-width: 640px) {
  .quiz-options.has-icons { grid-template-columns: 1fr; gap: .75rem; }
  .quiz-opt-card { min-height: 0; }
}

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; position: relative; z-index: 2; }
.quiz-nav .step-count { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.quiz-nav .btn-back { background: none; border: none; color: var(--c-muted); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; cursor: pointer; padding: .5rem 0; transition: color .2s; }
.quiz-nav .btn-back:hover { color: #fff; }
.quiz-nav .btn-back:disabled { opacity: .3; cursor: not-allowed; }

.quiz-result { display: none; position: relative; z-index: 2; text-align: center; padding: 2rem 0; }
.quiz-result.show { display: block; }
.quiz-result .result-badge {
  display: inline-block;
  padding: .5rem 1.1rem;
  background: rgba(74,138,232,.1);
  border: 1px solid rgba(74,138,232,.3);
  border-radius: 999px;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--c-gold-light); font-weight: 700;
}
.quiz-result h3 { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; margin: 1.2rem 0 1rem; }
.quiz-result h3 em { font-style: italic; color: var(--c-gold-light); }
.quiz-result p { color: var(--c-muted); font-weight: 300; max-width: 520px; margin: 0 auto 2rem; line-height: 1.6; }
.quiz-result .result-stages { display: flex; justify-content: center; gap: .6rem; margin-bottom: 2rem; flex-wrap: wrap; }
.quiz-result .result-stage {
  padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--c-card-border); font-size: .7rem; font-weight: 600;
  color: var(--c-muted);
}
.quiz-result .result-stage.priority { background: rgba(74,138,232,.1); border-color: var(--c-gold); color: var(--c-gold-light); }

/* Diagnosis form embedded in result */
.diag-form {
  max-width: 560px;
  margin: 1rem auto 1.4rem;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(0,200,216,.05) 0%, rgba(74,138,232,.03) 100%);
  border: 1px solid rgba(0,200,216,.22);
  border-radius: 18px;
  text-align: left;
}
.diag-form-head { margin-bottom: 1.4rem; text-align: center; }
.diag-form-eyebrow {
  font-size: .62rem; letter-spacing: .35em; text-transform: uppercase;
  font-weight: 700; color: var(--c-cyan); margin-bottom: .6rem;
}
.diag-form-sub {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 1.05rem; line-height: 1.5; color: #dde; margin: 0 auto; max-width: 460px;
}
.diag-form-sub strong { font-style: normal; font-weight: 500; color: var(--c-gold-light); }
.diag-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1.2rem;
}
.diag-field { display: flex; flex-direction: column; gap: .4rem; text-align: left; }
.diag-field span {
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--c-muted); text-align: left;
}
.diag-field input, .diag-field select {
  background: rgba(0,0,0,.3);
  border: 1px solid var(--c-card-border);
  border-radius: 10px;
  padding: .8rem .9rem;
  color: #fff; font-size: .9rem; font-family: inherit; font-weight: 400;
  transition: border-color .2s, background .2s;
}
.diag-field input:focus, .diag-field select:focus {
  outline: none;
  border-color: var(--c-cyan);
  background: rgba(0,200,216,.05);
}
.diag-field select { cursor: pointer; }
.diag-submit { width: 100%; }
.diag-form-disclaimer {
  font-size: .68rem; color: var(--c-muted-2); text-align: center;
  margin: .9rem 0 0 !important; line-height: 1.5; font-weight: 400 !important;
  max-width: none !important;
}
.diag-success {
  max-width: 480px; margin: 1.5rem auto;
  padding: 2.4rem 2rem; text-align: center;
  background: linear-gradient(160deg, rgba(0,200,216,.08), rgba(74,138,232,.04));
  border: 1px solid rgba(0,200,216,.3);
  border-radius: 18px;
}
.diag-success-mark {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 2.4rem; font-weight: 300; color: var(--c-gold-light);
  letter-spacing: -.02em;
}
.diag-success p { margin: .6rem 0 0 !important; }

.diag-restart {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 1.6rem auto 0;
  padding: .65rem 1.1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-card-border);
  border-radius: 999px;
  color: var(--c-muted);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; cursor: pointer;
  transition: all .25s cubic-bezier(.22,1,.36,1);
}
.diag-restart:hover {
  background: rgba(0,200,216,.08);
  border-color: rgba(0,200,216,.4);
  color: var(--c-cyan);
}
.diag-restart svg { transition: transform .5s cubic-bezier(.22,1,.36,1); }
.diag-restart:hover svg { transform: rotate(-180deg); }

@media (max-width: 600px) {
  .diag-form-grid { grid-template-columns: 1fr; }
  .diag-form { padding: 1.4rem; }
}

/* ---------- PRODUCTS GRID ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.product {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(160deg, var(--c-card) 0%, var(--c-bg-2) 100%);
  border: 1px solid var(--c-card-border-soft);
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all .35s;
  cursor: pointer;
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.product::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(74,138,232,.08), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.product:hover { border-color: rgba(74,138,232,.35); transform: translateY(-4px); }
.product:hover::before { opacity: 1; }
.product .p-num {
  font-family: 'Fraunces', serif; font-size: .9rem; color: var(--c-gold); font-style: italic; font-weight: 400;
  letter-spacing: .05em;
  position: relative; z-index: 2;
}
.product h4 {
  font-family: 'Fraunces', serif; font-weight: 300; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.015em;
  margin-top: 1rem;
  position: relative; z-index: 2;
}
.product h4 em { font-style: italic; color: var(--c-gold-light); }
.product p { color: var(--c-muted); font-size: .85rem; font-weight: 300; line-height: 1.55; margin-top: .8rem; position: relative; z-index: 2; }
.product .arrow {
  position: absolute; bottom: 1.6rem; right: 1.8rem;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--c-card-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gold); transition: all .25s;
  z-index: 2;
}
.product:hover .arrow { border-color: var(--c-gold); background: rgba(74,138,232,.1); transform: translate(3px, -3px); }
.product.wide { grid-column: span 2; }

/* ---------- CONSULTORES ---------- */
.advisors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.advisor {
  border: 1px solid var(--c-card-border-soft);
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(255,255,255,.015);
  transition: all .3s;
}
.advisor:hover { border-color: rgba(74,138,232,.3); transform: translateY(-3px); }
.advisor-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(74,138,232,.12), rgba(0,200,216,.06)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 1px, transparent 1px 8px);
  border: 1px solid var(--c-card-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 300; font-style: italic; font-size: 2.4rem;
  color: var(--c-gold-light);
  margin-bottom: 1rem;
}
.advisor-name { font-weight: 600; font-size: 1rem; }
.advisor-role { color: var(--c-muted); font-size: .78rem; font-weight: 400; margin-top: .15rem; }
.advisor-meta { color: var(--c-muted-2); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--c-card-border-soft); }

/* ---------- TESTIMONIALS ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonial {
  border: 1px solid var(--c-card-border-soft);
  border-radius: 18px;
  padding: 2rem;
  background: rgba(255,255,255,.015);
  display: flex; flex-direction: column;
  gap: 1.4rem;
}
.testimonial .stars { color: var(--c-gold); letter-spacing: 3px; font-size: .85rem; }
.testimonial blockquote {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: #e8e9f5;
  flex: 1;
}
.testimonial blockquote em { font-style: italic; color: var(--c-gold-light); }
.testimonial .author { display: flex; align-items: center; gap: .9rem; padding-top: 1.2rem; border-top: 1px solid var(--c-card-border-soft); }
.testimonial .author .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--c-gold), var(--c-gold-deep)); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 400; font-style: italic; color: var(--c-bg); font-size: 1rem; }
.testimonial .author .n { font-weight: 600; font-size: .9rem; }
.testimonial .author .r { color: var(--c-muted); font-size: .72rem; margin-top: .1rem; }

/* ---------- CONSORCIO CROSS ---------- */
.consorcio-cross {
  border-radius: 28px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(74,138,232,.1), transparent 55%),
    linear-gradient(135deg, var(--c-navy) 0%, var(--c-bg) 100%);
  border: 1px solid var(--c-card-border);
}
.consorcio-cross-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.consorcio-cross h3 {
  font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -.02em; line-height: 1.1; margin-top: 1rem;
}
.consorcio-cross h3 em { font-style: italic; color: var(--c-gold-light); }
.consorcio-cross p { color: var(--c-muted); font-weight: 300; line-height: 1.6; margin-top: 1rem; max-width: 460px; }
.consorcio-bullets { display: flex; gap: 2rem; margin: 1.8rem 0; flex-wrap: wrap; }
.consorcio-bullets div { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold-light); font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.consorcio-bullets div::before { content: '—'; color: var(--c-gold); }

.consorcio-visual {
  position: relative; aspect-ratio: 1.1; border-radius: 20px; overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(74,138,232,.12), transparent 70%), rgba(0,0,0,.3);
  border: 1px solid rgba(74,138,232,.15);
  display: flex; align-items: center; justify-content: center;
}
.consorcio-visual .cv-big {
  font-family: 'Fraunces', serif; font-weight: 300; font-style: italic;
  font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.04em;
  color: transparent;
  background: linear-gradient(180deg, var(--c-gold-light), var(--c-gold-deep));
  -webkit-background-clip: text; background-clip: text;
  text-align: center;
  line-height: 1;
}
.consorcio-visual .cv-sub { text-align: center; color: var(--c-muted); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-top: .6rem; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 520px; gap: 4rem; }
.contact-left h2 { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.02em; line-height: 1.05; margin: 1.2rem 0 1.5rem; }
.contact-left h2 em { font-style: italic; color: var(--c-gold-light); }
.contact-left p { color: var(--c-muted); font-weight: 300; line-height: 1.65; font-size: 1.02rem; max-width: 420px; }
.contact-ways { margin-top: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.c-way {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--c-card-border-soft);
  transition: all .25s;
  text-decoration: none; color: inherit;
}
.c-way:hover { border-color: rgba(74,138,232,.35); background: rgba(74,138,232,.04); }
.c-way-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(74,138,232,.08);
  border: 1px solid rgba(74,138,232,.25);
  color: var(--c-gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-way .l { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.c-way .v { font-weight: 500; font-size: .98rem; margin-top: .15rem; }

.contact-form {
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-row { display: grid; gap: 1rem; }
.form-row + .form-row { margin-top: 1rem; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-input {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-card-border);
  color: #fff;
  padding: 1rem 1.2rem;
  font-family: inherit;
  font-size: .92rem;
  width: 100%;
  border-radius: 10px;
  outline: none;
  transition: all .2s;
}
.form-input:focus { border-color: var(--c-gold); background: rgba(255,255,255,.05); }
.form-input::placeholder { color: var(--c-muted-2); }
.form-label { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; margin-bottom: .5rem; display: block; }
.form-hour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.form-hour {
  padding: .7rem .4rem;
  text-align: center;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--c-card-border);
  border-radius: 8px;
  font-size: .78rem;
  color: #cfd1e0;
  cursor: pointer;
  transition: all .2s;
}
.form-hour:hover { border-color: rgba(74,138,232,.35); color: var(--c-gold-light); }
.form-hour.active { border-color: var(--c-gold); background: rgba(74,138,232,.1); color: var(--c-gold-light); }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--c-card-border-soft);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  background: var(--c-bg-2);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
footer h5 { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 1.2rem; }
footer a { color: var(--c-muted); font-size: .88rem; text-decoration: none; display: block; margin-bottom: .6rem; transition: color .2s; }
footer a:hover { color: var(--c-gold-light); }
footer .legal { font-size: .72rem; color: var(--c-muted-2); line-height: 1.55; border-top: 1px solid var(--c-card-border-soft); padding-top: 2rem; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 80;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-cyan);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,200,216,.45);
  transition: transform .25s, box-shadow .25s;
  color: #001418;
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- TWEAKS PANEL ---------- */
.tweaks-panel {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 200;
  background: rgba(10,10,30,.92);
  border: 1px solid var(--c-card-border);
  border-radius: 18px;
  padding: 1.3rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  min-width: 260px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  display: none;
}
.tweaks-panel.show { display: block; }
.tweaks-panel h6 { font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: var(--c-gold-light); font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.tweaks-panel h6::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--c-gold); }
.tw-group { margin-bottom: 1rem; }
.tw-label { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; margin-bottom: .5rem; }
.tw-row { display: flex; gap: .3rem; flex-wrap: wrap; }
.tw-opt {
  padding: .4rem .7rem; border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-card-border);
  font-size: .68rem;
  color: #cfd1e0; cursor: pointer; transition: all .2s;
}
.tw-opt.active { border-color: var(--c-gold); background: rgba(74,138,232,.1); color: var(--c-gold-light); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pyramid-stage { height: 500px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .consorcio-cross-grid { grid-template-columns: 1fr; }
  .pills-row, .products-grid, .advisors, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .product.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  nav .nav-links a:not(.nav-cta) { display: none; }
  .pills-row, .products-grid, .advisors, .testimonials { grid-template-columns: 1fr; }
  .product.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .pyramid-info { grid-template-columns: 1fr; }
  .pyramid-info .p-num { font-size: 3rem; }
  .quiz-wrap { padding: 2rem 1.5rem; }
  .contact-form { padding: 1.8rem; }
  .form-row.two { grid-template-columns: 1fr; }
  .consorcio-cross { padding: 2rem; }
  .tweaks-panel { left: .8rem; right: .8rem; bottom: 5rem; }
  .hero-trust { flex-wrap: wrap; gap: 1.2rem; }
}
