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

:root {
  --blue:       #046BD2;
  --blue-dark:  #045CB4;
  --blue-deep:  #2E4A7A;
  --navy:       #1e293b;
  --slate:      #334155;
  --bg:         #F0F5FA;
  --white:      #FFFFFF;
  --blue-pale:  #D6E8F8;
  --blue-mist:  #E4EFF9;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--navy);
  overflow-x: hidden;
  padding-bottom: 64px; /* space for sticky apply bar */
}

/* ═══ LANGUAGE TOGGLE ═══ */
.lang-en { display: none; }
.lang-active-en .lang-es { display: none; }
.lang-active-en .lang-en { display: inline; }
/* block-level lang spans */
.lang-es-block { display: block; }
.lang-en-block { display: none; }
.lang-active-en .lang-es-block { display: none; }
.lang-active-en .lang-en-block { display: block; }

.lang-toggle {
  display: flex; align-items: center; gap: 0.15rem;
  margin-right: 1.25rem;
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; border: none;
  color: var(--slate); cursor: pointer;
  padding: 0.3rem 0.45rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lang-btn.active { color: var(--blue); background: rgba(4,107,210,0.08); }
.lang-btn:hover:not(.active) { color: var(--navy); }
.lang-sep { color: var(--blue-pale); font-size: 0.8rem; user-select: none; }

/* ═══ APPLY FOR CERTIFICATION BAR ═══ */
.apply-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 250;
  background: var(--blue-deep);
  padding: 0.9rem 5rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 24px rgba(30,41,59,0.18);
}
.apply-bar-text {
  font-size: 0.82rem; font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}
.apply-bar-btn {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white); background: var(--blue);
  border: none; padding: 0.65rem 1.75rem;
  cursor: pointer; border-radius: 100px;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.apply-bar-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* SCROLL PROGRESS */
.progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  background: transparent;
  z-index: 300;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--blue);
  transition: width 0.1s linear;
}

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 5rem;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(240,245,250,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(4,107,210,0.1);
}
.nav-brand {
  text-decoration: none;
  display: flex; align-items: center;
}
.nav-brand img {
  height: 42px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-right { display: flex; align-items: center; }
.nav-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--blue);
  border: none;
  padding: 0.65rem 1.6rem;
  cursor: pointer;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}
.nav-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex; align-items: center;
  padding: 8rem 5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-circle-1 {
  position: absolute;
  width: 680px; height: 680px;
  border-radius: 50%;
  background: var(--blue-pale);
  right: -180px; top: -120px;
  z-index: 0;
}
.hero-circle-2 {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--blue-mist);
  right: 260px; bottom: -80px;
  z-index: 0;
}
.hero-circle-3 {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid var(--blue-pale);
  left: 5rem; bottom: 8rem;
  z-index: 0;
}
.hero-circle-main {
  position: absolute;
  width: 440px; height: 440px;
  right: 5rem; top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.hero-circle-main img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.hero-circle-main-inner {
  display: none;
}
.hero-circle-main-inner strong {
  display: block;
  font-style: normal;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 580px;
}
.hero-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: slide-up 0.7s ease forwards 0.2s;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  opacity: 0;
  animation: slide-up 0.8s ease forwards 0.4s;
}
.hero-headline em {
  font-style: italic;
  color: var(--blue);
}
.hero-body {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--slate);
  margin-top: 1.75rem;
  max-width: 460px;
  opacity: 0;
  animation: slide-up 0.8s ease forwards 0.65s;
}
.hero-cta {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: 2.75rem;
  opacity: 0;
  animation: slide-up 0.7s ease forwards 0.9s;
}
.btn-solid {
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white); background: var(--blue);
  padding: 0.9rem 2.2rem;
  border-radius: 100px; border: none;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-solid:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(4,107,210,0.25); }
.btn-outline {
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue); background: transparent;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: 1.5px solid var(--blue-pale);
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--blue); background: rgba(4,107,210,0.04); }

.hero-scroll-hint {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: slide-up 0.6s ease forwards 1.4s;
}
.scroll-text {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(30,41,59,0.35);
}
.scroll-arrow {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--blue-pale), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.5); }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════
   CIRCLE DIVIDER
═══════════════════════════════ */
.circle-divider {
  display: flex; justify-content: center; align-items: center;
  padding: 4rem 0;
  background: var(--bg);
  overflow: hidden;
}
.circle-divider-group {
  display: flex; align-items: center; gap: 1rem;
}
.cdot {
  border-radius: 50%;
  background: var(--blue-deep);
  flex-shrink: 0;
}
.cdot-lg { width: 120px; height: 120px; opacity: 0.9; }
.cdot-md { width: 72px; height: 72px; opacity: 0.6; }
.cdot-sm { width: 36px; height: 36px; opacity: 0.35; }
.cdot-xs { width: 16px; height: 16px; opacity: 0.2; }

/* ═══════════════════════════════
   SECCIÓN: EL PROBLEMA
═══════════════════════════════ */
#problem {
  background: var(--white);
  padding: 8rem 5rem;
  position: relative;
  overflow: hidden;
}
.problem-deco-circle {
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: var(--bg);
  left: -200px; top: 50%; transform: translateY(-50%);
  z-index: 0;
}
.problem-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7rem; align-items: center;
  position: relative; z-index: 1;
}
.section-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1; letter-spacing: -0.01em;
  color: var(--navy);
}
.section-title em { font-style: italic; color: var(--blue); }
.section-body {
  font-size: 1rem; font-weight: 300;
  line-height: 1.85; color: var(--slate);
  margin-top: 1.5rem; max-width: 440px;
}

.problem-stats {
  display: flex; flex-direction: column; gap: 2rem;
}
.stat-bubble {
  display: flex; align-items: center; gap: 2rem;
  background: var(--bg);
  padding: 2rem 2.5rem;
  border-radius: 1rem;
}
.stat-circle {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; flex-shrink: 0;
  color: var(--white);
}
.stat-circle-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  line-height: 1; letter-spacing: -0.02em;
}
.stat-circle-unit {
  font-size: 0.75rem; font-weight: 500;
  opacity: 0.8; margin-top: 1px;
}
.stat-text {
  font-size: 0.95rem; font-weight: 300;
  line-height: 1.7; color: var(--slate);
}

/* ═══════════════════════════════
   SECCIÓN: QUÉ ES TAG
═══════════════════════════════ */
#what {
  background: var(--bg);
  padding: 8rem 5rem;
  position: relative; overflow: hidden;
}
.what-inner {
  max-width: 1200px; margin: 0 auto;
}
.what-top {
  text-align: center;
  max-width: 700px; margin: 0 auto 6rem;
}
.what-top .section-title { margin-top: 0.5rem; }
.what-top .section-body { margin: 1.25rem auto 0; }

.what-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.what-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
}
.what-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--bg);
  transition: transform 0.4s ease;
}
.what-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(4,107,210,0.1); }
.what-card:hover::before { transform: scale(1.3); }
.what-card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-deep);
  color: var(--white); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.what-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--navy); margin-bottom: 0.75rem;
  position: relative; z-index: 1;
}
.what-card-body {
  font-size: 0.88rem; font-weight: 300;
  line-height: 1.75; color: var(--slate);
  position: relative; z-index: 1;
}

/* ═══════════════════════════════
   SECCIÓN: METODOLOGÍA (5 fases)
═══════════════════════════════ */
#methodology {
  background: var(--blue-deep);
  padding: 8rem 5rem;
  position: relative; overflow: hidden;
}
.method-deco-1 {
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  right: -200px; top: -150px; z-index: 0;
}
.method-deco-2 {
  position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  left: -80px; bottom: -120px; z-index: 0;
}
.method-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.method-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: end; margin-bottom: 5rem;
}
.method-header .section-eyebrow { color: rgba(255,255,255,0.55); }
.method-header .section-title { color: var(--white); }
.method-header .section-title em { color: rgba(255,255,255,0.5); }
.method-intro {
  font-size: 1rem; font-weight: 300;
  line-height: 1.85; color: rgba(255,255,255,0.55);
  align-self: end;
}

.phases-row {
  display: flex; gap: 0; position: relative;
}
.phases-row::after {
  content: '';
  position: absolute;
  left: 22px; right: 22px; top: 22px;
  height: 1px; background: rgba(255,255,255,0.12);
  z-index: 0;
}
.phase {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 1.25rem;
  cursor: default;
}
.phase-node {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 600; color: var(--white);
  margin-bottom: 1.75rem;
  position: relative; z-index: 1;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.phase:hover .phase-node {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.15);
}
.phase-content {
  background: rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background 0.3s;
  border: 1px solid rgba(255,255,255,0.07);
}
.phase:hover .phase-content { background: rgba(255,255,255,0.1); }
.phase-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.6rem;
  line-height: 1.3;
}
.phase-desc {
  font-size: 0.82rem; font-weight: 300;
  line-height: 1.65; color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════
   SECCIÓN: CERTIFICADOS
═══════════════════════════════ */
#certificates {
  background: var(--white);
  padding: 8rem 5rem;
  position: relative; overflow: hidden;
}
.cert-deco {
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: var(--bg);
  right: -300px; bottom: -200px; z-index: 0;
}
.cert-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.cert-header {
  max-width: 540px; margin-bottom: 4rem;
}

/* Certificate cards */
.cert-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cert-card {
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cert-card:hover { transform: translateY(-8px); }
.cert-card.bronze { background: #FBF5EF; border: 1px solid #E8D5C0; }
.cert-card.silver { background: #F4F6F9; border: 1px solid #CBD5E1; }
.cert-card.gold   { background: #FFFBEF; border: 1px solid #EDD98A; }
.cert-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.1); }

.cert-circle-bg {
  position: absolute;
  width: 180px; height: 180px; border-radius: 50%;
  top: -40px; right: -40px;
  opacity: 0.15;
}
.bronze .cert-circle-bg { background: #9C6730; }
.silver .cert-circle-bg { background: #8A9BAB; }
.gold   .cert-circle-bg { background: #D4A017; }

.cert-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 100px;
  margin-bottom: 2rem;
}
.bronze .cert-badge { color: #9C6730; background: rgba(156,103,48,0.1); border: 1px solid rgba(156,103,48,0.25); }
.silver .cert-badge { color: #5A6E7E; background: rgba(90,110,126,0.1); border: 1px solid rgba(90,110,126,0.2); }
.gold   .cert-badge { color: #A07808; background: rgba(212,160,23,0.12); border: 1px solid rgba(212,160,23,0.3); }

.cert-score-wrap {
  display: flex; align-items: baseline; gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.cert-score {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 700;
  line-height: 1; letter-spacing: -0.03em;
}
.bronze .cert-score { color: #9C6730; }
.silver .cert-score { color: #5A6E7E; }
.gold   .cert-score { color: #A07808; }

.cert-score-range {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 400; opacity: 0.6;
}
.cert-score-label {
  font-size: 0.78rem; color: var(--slate); opacity: 0.7;
  margin-bottom: 1.5rem;
}
.cert-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  line-height: 1.35; color: var(--navy); margin-bottom: 1.5rem;
}
.cert-features {
  list-style: none; display: flex; flex-direction: column; gap: 0.55rem;
  border-top: 1px solid rgba(0,0,0,0.06); padding-top: 1.25rem;
}
.cert-features li {
  font-size: 0.84rem; font-weight: 300;
  line-height: 1.5; color: var(--slate);
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.cert-dot {
  width: 6px; height: 6px; border-radius: 50%;
  flex-shrink: 0; margin-top: 0.42rem;
}
.bronze .cert-dot { background: #9C6730; }
.silver .cert-dot { background: #5A6E7E; }
.gold   .cert-dot { background: #A07808; }

/* ═══════════════════════════════
   SECCIÓN: EQUIPO
═══════════════════════════════ */
#team {
  background: var(--bg);
  padding: 8rem 5rem;
  position: relative; overflow: hidden;
}
.team-deco-circle {
  position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: var(--white);
  top: -100px; left: -100px; z-index: 0;
}
.team-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.team-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 4rem;
}
.team-header .section-body { margin-top: 1.25rem; }
.team-founder-quote {
  font-family: var(--font-display);
  font-size: 1.25rem; font-style: italic;
  font-weight: 400; line-height: 1.65;
  color: var(--slate);
  border-left: 2px solid var(--blue-pale);
  padding-left: 1.5rem;
}
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 3rem;
  display: grid; grid-template-columns: auto 1fr;
  gap: 2rem; align-items: start;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(4,107,210,0.1); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.team-avatar-initials {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--white);
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--navy); margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.team-bio {
  font-size: 0.9rem; font-weight: 300;
  line-height: 1.8; color: var(--slate);
}

.team-quote-block {
  margin-top: 4rem;
  background: var(--blue-deep);
  border-radius: 1.5rem;
  padding: 4rem 5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.team-quote-block::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -100px; right: -60px;
}
.team-quote-block::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -60px; left: -40px;
}
.team-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic; font-weight: 400;
  color: var(--white); line-height: 1.55;
  max-width: 680px; margin: 0 auto;
  position: relative; z-index: 1;
}
.team-quote-text em { font-style: normal; color: var(--blue-pale); }
.team-quote-attr {
  margin-top: 1.5rem;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  position: relative; z-index: 1;
}

/* ═══════════════════════════════
   SECCIÓN: CTA
═══════════════════════════════ */
#cta {
  background: var(--white);
  padding: 8rem 5rem;
  position: relative; overflow: hidden;
}
.cta-circle-1 {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: var(--bg); left: -200px; top: 50%; transform: translateY(-50%);
}
.cta-circle-2 {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: var(--blue-pale); right: -80px; bottom: -80px;
}
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--navy);
}
.cta-title em { font-style: italic; color: var(--blue); }
.cta-sub {
  font-size: 1rem; font-weight: 300;
  line-height: 1.8; color: var(--slate);
  margin-top: 1.25rem; max-width: 480px;
}
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.btn-solid-lg {
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.06em; white-space: nowrap;
  color: var(--white); background: var(--blue);
  padding: 1.1rem 2.75rem;
  border-radius: 100px; border: none;
  cursor: pointer; text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-solid-lg:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(4,107,210,0.3); }
.cta-note {
  font-size: 0.78rem; color: var(--slate); opacity: 0.55;
  text-align: center;
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer {
  background: var(--navy);
  padding: 3rem 5rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.footer-brand span { color: var(--blue); }
.footer-copy {
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
.footer-nav {
  display: flex; gap: 2rem; list-style: none;
}
.footer-nav a {
  font-size: 0.78rem; font-weight: 400;
  color: rgba(255,255,255,0.4); text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.in { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 960px) {
  nav { padding: 1.25rem 2rem; }
  .nav-links { display: none; }
  #hero { padding: 7rem 2rem 4rem; }
  .hero-circle-main { display: none; }
  .problem-inner,
  .team-header,
  .method-header,
  .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .what-cards { grid-template-columns: 1fr 1fr; }
  .phases-row { flex-direction: column; gap: 1rem; }
  .phases-row::after { display: none; }
  .cert-grid,
  .team-grid { grid-template-columns: 1fr; }
  .cert-index { flex-direction: column; }
  .cert-index-item { border-right: none; border-bottom: 1px solid var(--blue-pale); }
  section { padding-left: 2rem !important; padding-right: 2rem !important; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-nav { display: none; }
  .team-quote-block { padding: 3rem 2rem; }
  .cta-actions { align-items: flex-start; }
  .apply-bar { padding: 0.75rem 1.5rem; }
}

/* ® symbol size */
sup.reg { font-size: 0.55em; vertical-align: 0.25em; font-style: normal; }

/* ═══ QUESTIONNAIRE MODAL ═══ */
.q-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(30,41,59,0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.q-overlay.is-open {
  opacity: 1; pointer-events: all;
}
.q-panel {
  background: var(--white);
  border-radius: 1.25rem;
  width: 100%; max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2.75rem 2rem;
  position: relative;
  box-shadow: 0 24px 80px rgba(30,41,59,0.22);
  transform: translateY(16px);
  transition: transform 0.3s ease;
}
.q-overlay.is-open .q-panel {
  transform: translateY(0);
}
.q-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  background: none; border: none;
  font-size: 1.5rem; line-height: 1;
  color: var(--slate); cursor: pointer;
  opacity: 0.5; transition: opacity 0.2s;
}
.q-close:hover { opacity: 1; }

.q-progress-wrap {
  height: 4px; background: var(--blue-pale);
  border-radius: 100px; margin-bottom: 2rem;
  overflow: hidden;
}
.q-progress-fill {
  height: 100%; background: var(--blue);
  border-radius: 100px;
  transition: width 0.4s ease;
}
.q-step-label {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.5rem;
}
.q-step-title {
  font-family: var(--font-display);
  font-size: 1.85rem; font-weight: 600;
  color: var(--navy); margin-bottom: 1.75rem;
  line-height: 1.2;
}

.q-field { margin-bottom: 1.25rem; }
.q-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 500;
  color: var(--slate); margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.q-input,
.q-select,
.q-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 400;
  color: var(--navy);
  background: var(--bg);
  border: 1.5px solid var(--blue-pale);
  border-radius: 0.6rem;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.q-input:focus,
.q-select:focus,
.q-textarea:focus { border-color: var(--blue); }
.q-textarea { resize: vertical; min-height: 80px; }
.q-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23334155' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.q-scale {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.q-scale input[type="radio"] { display: none; }
.q-scale label {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--blue-pale);
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.q-scale input[type="radio"]:checked + label {
  background: var(--blue); border-color: var(--blue); color: var(--white);
}
.q-scale label:hover { border-color: var(--blue); color: var(--blue); }

.q-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--blue-mist);
}
.q-btn-back {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 500;
  color: var(--slate); background: none; border: none;
  cursor: pointer; letter-spacing: 0.04em;
  opacity: 0.7; transition: opacity 0.2s;
}
.q-btn-back:hover { opacity: 1; }
.q-btn-next {
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white); background: var(--blue);
  border: none; padding: 0.85rem 2rem;
  border-radius: 100px; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.q-btn-next:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(4,107,210,0.25); }

/* Result screen */
.q-result { text-align: center; padding: 1.5rem 0 0.5rem; }
.q-result-spinner {
  width: 48px; height: 48px;
  border: 3px solid var(--blue-pale);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: q-spin 0.8s linear infinite;
  margin: 0 auto 1.25rem;
}
@keyframes q-spin { to { transform: rotate(360deg); } }
.q-result-loading { font-family: var(--font-body); font-size: 0.9rem; color: var(--slate); }
.q-score-wrap { display: none; }
.q-score-number {
  font-family: var(--font-display);
  font-size: 5rem; font-weight: 700;
  line-height: 1;
  transition: color 0.5s ease;
}
.q-score-label {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.5rem; color: var(--slate);
}
.q-level-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4rem 1.1rem; border-radius: 100px;
  margin: 0.75rem 0 1rem;
  transition: background 0.5s, color 0.5s;
}
.q-level-desc {
  font-family: var(--font-body);
  font-size: 0.88rem; line-height: 1.65;
  color: var(--slate); max-width: 480px;
  margin: 0 auto 1rem;
}
.q-result-note {
  font-size: 0.78rem; color: var(--slate);
  opacity: 0.65; margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

@media (max-width: 600px) {
  .q-panel { padding: 1.75rem 1.25rem 1.5rem; }
  .q-step-title { font-size: 1.45rem; }
  .q-score-number { font-size: 3.5rem; }
}
