/* ==========================================================================
   ScholarySphere.help — core stylesheet
   Design tokens → base → layout → components → sections → responsive
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy:        #001961;
  --navy-2:      #042686;
  --navy-3:      #30577b;
  --navy-soft:   #0b2d7a;
  --accent:      #e57b1e;
  --accent-2:    #ffa23e;
  --accent-soft: #fdf1e4;

  /* Neutrals */
  --white:   #ffffff;
  --bg-alt:  #f8fafc;
  --ink:     #0e141b;
  --body:    #4a5568;
  --muted:   #718096;
  --border:  #e2e8f0;
  --border-2:#cbd5e1;

  /* Type */
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: 24px;
  --sect-y: 100px;
  --sect-y-sm: 64px;

  /* Radii + shadows */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --sh-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --sh:    0 8px 30px rgba(15, 23, 42, .08);
  --sh-lg: 0 20px 50px rgba(15, 23, 42, .12);
  --sh-navy: 0 18px 40px rgba(0, 25, 97, .18);

  --t: .28s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--t); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .45vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* Accessibility helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sect-y); }
.section--sm { padding-block: var(--sect-y-sm); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Section heading block ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--accent-2); }

.sect-head { max-width: 800px; margin-bottom: 56px; }
.sect-head--center { margin-inline: auto; text-align: center; }
.sect-head p { font-size: 1.02rem; color: var(--body); margin-bottom: 0; }
.section--navy .sect-head p { color: rgba(255, 255, 255, .78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(229, 123, 30, .3); }
.btn--primary:hover { background: #d16d13; box-shadow: 0 14px 30px rgba(229, 123, 30, .4); }

.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--sh-navy); }
.btn--navy:hover { background: var(--navy-2); }

.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--accent); color: #fff; }

.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--block { width: 100%; }
.btn--lg { padding: 18px 38px; font-size: 1rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
  font-size: .875rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 46px;
  padding-block: 6px;
}
.topbar__left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar__label { color: rgba(255, 255, 255, .7); }
.topbar__phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: #fff; font-family: var(--font-head);
}
.topbar__phone:hover { color: var(--accent-2); }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__link { color: rgba(255, 255, 255, .88); font-weight: 500; }
.topbar__link:hover { color: var(--accent-2); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(15, 23, 42, .1); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  box-shadow: var(--sh-navy);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.28rem;
  color: var(--navy); letter-spacing: -.02em;
}
.logo__tag { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Nav */
.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
}
.nav__link::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width var(--t);
}
.nav__link:hover, .nav__link.is-active { color: var(--navy); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: 14px; }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  padding: 0;
  place-items: center;
}
.burger span {
  display: block; width: 20px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform var(--t), opacity var(--t);
}
.burger span + span { margin-top: 5px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  background: #fff;
  z-index: 120;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.4, 0, .2, 1);
  padding: 28px 26px 40px;
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(15, 23, 42, .18);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-nav__close {
  font-size: 1.8rem; line-height: 1; color: var(--navy);
  width: 44px; height: 44px;              /* accessible tap target */
  display: grid; place-items: center;
  margin-right: -10px;                    /* keep the glyph optically aligned */
}
.mobile-nav__list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.mobile-nav__list a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--border);
}
.mobile-nav__list a:hover { color: var(--accent); }
.mobile-nav__meta { margin-top: 26px; font-size: .9rem; }
.mobile-nav__meta a { display: block; color: var(--navy); font-weight: 600; margin-bottom: 6px; }

.overlay {
  position: fixed; inset: 0; background: rgba(14, 20, 27, .5);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
  z-index: 110;
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-alt);
  padding-block: 76px 84px;
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px;
  right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(0, 25, 97, .07) 0%, transparent 68%);
}
.hero::after {
  width: 420px; height: 420px;
  left: -170px; bottom: -200px;
  background: radial-gradient(circle, rgba(229, 123, 30, .1) 0%, transparent 68%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl { color: var(--navy); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(229, 123, 30, .22);
  border-radius: 4px; z-index: -1;
}
.hero__lead { font-size: 1.08rem; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero__trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid var(--bg-alt);
  margin-left: -12px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: #fff;
  background: var(--navy);
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__avatars span:nth-child(2) { background: var(--navy-3); }
.hero__avatars span:nth-child(3) { background: var(--accent); }
.hero__avatars span:nth-child(4) { background: var(--navy-2); }
.hero__trust-text strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; }
.hero__trust-text small { color: var(--muted); }

/* Rating cards */
.ratings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.rating {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.rating:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.rating__name { font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: var(--ink); margin-bottom: 6px; }
.rating__stars { color: #f5a623; font-size: .9rem; letter-spacing: 1px; margin-bottom: 4px; }
.rating__score { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.05rem; }

/* Hero form card */
.hero-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 34px 32px;
  border-top: 5px solid var(--accent);
}
.hero-card__head { text-align: center; margin-bottom: 24px; }
.hero-card__head h2 { font-size: 1.5rem; margin-bottom: 6px; }
.hero-card__head p { font-size: .92rem; color: var(--muted); margin: 0; }
.hero-card__badge {
  display: inline-block;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-head); font-weight: 800; font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 12px;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .84rem; color: var(--ink); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .94rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%234a5568' d='M7 9 0 2l2-2 5 5 5-5 2 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 25, 97, .1);
}
.field input::placeholder, .field textarea::placeholder { color: #a0aec0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; }
.field__error { display: none; color: #dc2626; font-size: .78rem; margin-top: 4px; }
.field.has-error .field__error { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }

.form-status { display: none; padding: 13px 16px; border-radius: var(--r-sm); font-size: .9rem; margin-top: 14px; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-status.is-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- Marquee (index logos) ---------- */
.marquee { overflow: hidden; position: relative; padding-block: 6px; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-head); font-weight: 800; font-size: 1.22rem;
  color: var(--navy-3); opacity: .62; white-space: nowrap;
  letter-spacing: .01em; transition: opacity var(--t);
}
.marquee__item:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .94rem; margin-bottom: 0; }

.card--link { display: flex; flex-direction: column; }
.card__more {
  margin-top: 18px; font-family: var(--font-head); font-weight: 700;
  font-size: .88rem; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
}
.card--link:hover .card__more { color: var(--accent); gap: 10px; }
.card__more span { transition: transform var(--t); }

/* Numbered process cards */
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 34px 28px 30px; position: relative; height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.step__num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  color: rgba(0, 25, 97, .1); line-height: 1; margin-bottom: 10px;
  transition: color var(--t);
}
.step:hover .step__num { color: rgba(229, 123, 30, .28); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- Stats band ---------- */
.stats {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--sh-navy);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 48px; background: rgba(255, 255, 255, .18);
}
.stat__num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem);
  color: #fff; line-height: 1.1; margin-bottom: 4px;
}
.stat__label { font-size: .88rem; color: rgba(255, 255, 255, .72); }

/* ---------- Split (about / founder) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; }
.split__figure {
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  aspect-ratio: 4 / 3.4;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .9);
  padding: 40px; text-align: center;
  box-shadow: var(--sh-navy);
}
.split__figure-inner { max-width: 300px; }
.split__figure svg { width: 62px; height: 62px; margin: 0 auto 18px; color: var(--accent-2); }
.split__figure p { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: #fff; }

.check-list { display: grid; gap: 12px; margin: 24px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }

/* ---------- Team ---------- */
.person {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  padding: 30px 26px;
  height: 100%;
  transition: transform var(--t), background var(--t);
}
.person:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.person__avatar {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-2) 100%);
  display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff;
}
.person h3 { font-size: 1.2rem; margin-bottom: 4px; color: #fff; }
.person__role { font-size: .88rem; color: var(--accent-2); font-weight: 600; margin-bottom: 14px; }
.person__bio { font-size: .9rem; color: rgba(255, 255, 255, .72); margin-bottom: 18px; }
.person__meta { display: flex; gap: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.person__meta div { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.person__meta strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: #fff; }

/* ---------- Contact band ---------- */
.contact-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-tile {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px 26px; display: flex; gap: 18px; align-items: flex-start;
  transition: transform var(--t), box-shadow var(--t);
}
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.contact-tile__icon {
  width: 50px; height: 50px; flex: none; border-radius: 12px;
  background: var(--navy); color: #fff; display: grid; place-items: center;
}
.contact-tile__icon svg { width: 22px; height: 22px; }
.contact-tile h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-tile p { font-size: .86rem; color: var(--muted); margin-bottom: 6px; }
.contact-tile a { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .95rem; word-break: break-word; }
.contact-tile a:hover { color: var(--accent); }

/* ---------- Testimonials ---------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.slider__slide { flex: 0 0 33.3333%; padding-inline: 14px; box-sizing: border-box; }

.quote {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 32px 28px; height: 100%;
  display: flex; flex-direction: column;
}
.quote__stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 14px; }
.quote__text { font-size: .96rem; color: var(--body); margin-bottom: 22px; flex: 1; }
.quote__person { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.quote__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.quote__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .95rem; }
.quote__role { font-size: .8rem; color: var(--muted); }

.slider__nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 38px; }
.slider__btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--border-2); color: var(--navy);
  display: grid; place-items: center;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.slider__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.slider__btn svg { width: 18px; height: 18px; }
.slider__dots { display: flex; gap: 2px; align-items: center; }
/* The visible dot stays small; the button itself is a full-size tap target. */
.slider__dot {
  height: 44px; min-width: 22px;
  padding: 0 5px;
  background: none;
  display: grid; place-items: center;
}
.slider__dot::before {
  content: '';
  display: block;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-2);
  transition: background var(--t), width var(--t);
}
.slider__dot:hover::before { background: var(--navy-3); }
.slider__dot.is-active::before { background: var(--accent); width: 26px; border-radius: var(--r-pill); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq__item.is-open { border-color: var(--navy); box-shadow: var(--sh-sm); }
.faq__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  transition: color var(--t);
}
.faq__q:hover { color: var(--navy); }
.faq__icon {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: var(--bg-alt); color: var(--navy);
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
  transition: transform var(--t), background var(--t), color var(--t);
}
.faq__item.is-open .faq__icon { background: var(--navy); color: #fff; transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .34s cubic-bezier(.4, 0, .2, 1); }
.faq__a-inner { padding: 0 26px 24px; font-size: .95rem; }

/* ---------- Guarantee badges ---------- */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.badge {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 14px 22px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink);
}
.badge svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--r-lg);
  padding: 56px 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  box-shadow: var(--sh-navy);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 123, 30, .22) 0%, transparent 70%);
}
.cta-band__text { position: relative; z-index: 1; max-width: 620px; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-band__actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(161deg, var(--navy) 61%, var(--navy-2) 100%);
  color: rgba(255, 255, 255, .72);
  padding-block: 68px 0;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer h4 {
  color: #fff; font-size: 1.02rem; margin-bottom: 20px;
  font-family: var(--font-head); font-weight: 700;
}
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: var(--accent-2); }
.footer__about { max-width: 340px; margin-bottom: 22px; }
.footer .logo__name { color: #fff; }
.footer .logo__tag { color: rgba(255, 255, 255, .55); }
.footer .logo { margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact div strong { display: block; color: #fff; font-family: var(--font-head); font-size: .85rem; margin-bottom: 3px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: grid; place-items: center;
  transition: background var(--t), transform var(--t);
}
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; color: #fff; }

.newsletter { display: flex; gap: 8px; margin-top: 6px; }
.newsletter input {
  flex: 1; min-width: 0;
  padding: 12px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: .88rem;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter input:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .12); }
.newsletter button {
  flex: none; padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  transition: background var(--t);
}
.newsletter button:hover { background: #d16d13; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: .86rem;
}
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Floating actions ---------- */
.float-actions {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--sh-lg);
  transition: transform var(--t), background var(--t);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn--wa { background: #25d366; color: #fff; }
.float-btn--top {
  background: var(--navy); color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(10px);
}
.float-btn--top svg { width: 20px; height: 20px; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: rgba(255, 255, 255, .82);
  padding-block: 76px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -100px; bottom: -140px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 123, 30, .2) 0%, transparent 70%);
}
.page-hero h1 { color: #fff; margin-bottom: 12px; position: relative; z-index: 1; }
.page-hero p { max-width: 640px; margin-inline: auto; position: relative; z-index: 1; }
.crumbs { display: flex; justify-content: center; gap: 10px; font-size: .88rem; margin-top: 18px; position: relative; z-index: 1; }
.crumbs a { color: var(--accent-2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 560px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer__news { grid-column: 1 / -1; }
  .slider__slide { flex-basis: 50%; }
}

@media (max-width: 992px) {
  :root { --sect-y: 72px; --sect-y-sm: 52px; }
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: 40px; }
  .split__media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; padding: 36px 28px; }
  .stat:nth-child(odd)::before { display: none; }
  .contact-band { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 32px; }
  .cta-band__actions { justify-content: center; }
}

@media (max-width: 768px) {
  .topbar__right { display: none; }
  .topbar__inner { justify-content: center; }
  .ratings { grid-template-columns: 1fr; gap: 12px; }
  .rating { display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .rating__name, .rating__stars, .rating__score { margin: 0; }
  .slider__slide { flex-basis: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; --sect-y: 60px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat::before { display: none !important; }
  .badges { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding-block: 48px 60px; }
  .hero__actions .btn { width: 100%; }
  .hero-card { padding: 26px 20px; }
  .cta-band__actions { flex-direction: column; width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .newsletter { flex-direction: column; }
  .newsletter button { width: 100%; }
}
