/* =============================================================
   AlturaCo — Global Stylesheet
   White-dominant, near-black text, bold type,
   amber/orange accent, minimal chrome, scroll reveals.
   ============================================================= */

:root {
  /* Light backgrounds */
  --bg:   #ffffff;
  --bg-1: #f9fafb;
  --bg-2: #f3f4f6;

  /* Dark sections */
  --dark:     #0d0d0d;
  --dark-mid: #161616;
  --dark-alt: #1d1d1d;

  /* Amber/orange accent */
  --blue:        #d97706;
  --blue-bright: #f59e0b;
  --blue-dark:   #b45309;
  --blue-pale:   #fffbeb;
  --blue-glow:   rgba(217, 119, 6, 0.10);
  --blue-border: rgba(217, 119, 6, 0.22);

  /* Alias: HTML inline styles reference --green* */
  --green:        #d97706;
  --green-bright: #f59e0b;
  --green-dark:   #b45309;
  --green-glow:   rgba(217, 119, 6, 0.10);
  --green-border: rgba(217, 119, 6, 0.22);

  /* Light-section text */
  --text:      #111111;
  --text-mid:  #4b5563;
  --muted:     #9ca3af;
  --border:    #e5e7eb;
  --border-mid:#d1d5db;

  /* Dark-section text */
  --dt:         #f9fafb;
  --dt-mid:     rgba(249,250,251,.65);
  --dt-muted:   rgba(249,250,251,.38);
  --dborder:    rgba(255,255,255,.08);
  --dborder-mid:rgba(255,255,255,.14);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max:  1200px;
  --r:    10px;
  --r-sm: 7px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 12px rgba(0,0,0,.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.14);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: var(--font); }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem);    font-weight: 900; line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.022em; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem;    font-weight: 600; line-height: 1.35; }
h5 { font-size: .75rem;  font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
p  { line-height: 1.72; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-blue  { color: var(--blue); }
.text-muted { color: var(--muted); }

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1),
              transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible        { opacity: 1; transform: none; }
.reveal-delay-1           { transition-delay: .08s; }
.reveal-delay-2           { transition-delay: .16s; }
.reveal-delay-3           { transition-delay: .24s; }
.reveal-delay-4           { transition-delay: .32s; }
.reveal-delay-5           { transition-delay: .40s; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .16s, color .16s, border-color .16s,
              box-shadow .18s, transform .1s;
  white-space: nowrap;
  letter-spacing: -.005em;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg   { padding: 15px 32px; font-size: .98rem; border-radius: var(--r); }
.btn--sm   { padding: 8px 17px; font-size: .82rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 4px 18px rgba(217,119,6,.32);
}

.btn--ghost {
  background: transparent;
  color: var(--dt-mid);
  border-color: var(--dborder-mid);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,.32);
  color: var(--dt);
  background: rgba(255,255,255,.07);
}

.btn--outline-blue,
.btn--outline-orange,
.btn--outline-green {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue-border);
}
.btn--outline-blue:hover,
.btn--outline-orange:hover,
.btn--outline-green:hover {
  background: var(--blue-glow);
  border-color: var(--blue);
}

.btn--dark {
  background: var(--dark);
  color: var(--dt);
  border-color: var(--dborder-mid);
}
.btn--dark:hover { background: var(--dark-mid); }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 0;
  transition: background .22s, padding .22s, box-shadow .22s, border-color .22s;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 13px 0;
  border-color: var(--border);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dt);
  letter-spacing: -.03em;
  flex-shrink: 0;
  transition: color .18s;
}
.nav--scrolled .nav__logo { color: var(--text); }
.nav__logo span { color: var(--blue); }
.nav__logo-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__links > li > a:not(.btn) {
  color: var(--dt-mid);
  font-size: .87rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  transition: color .14s, background .14s;
}
.nav--scrolled .nav__links > li > a:not(.btn) { color: var(--text-mid); }
.nav__links > li > a:not(.btn):hover           { color: var(--dt); background: rgba(255,255,255,.08); }
.nav--scrolled .nav__links > li > a:not(.btn):hover { color: var(--text); background: var(--bg-1); }
.nav__links > li > a.active { color: var(--blue) !important; }
.nav__links .btn { margin-left: 10px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dt);
  border-radius: 2px;
  transition: transform .2s, opacity .2s, background .18s;
}
.nav--scrolled .nav__toggle span { background: var(--text); }
.nav__toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--open span:nth-child(2) { opacity: 0; }
.nav__toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero (Home) — dark ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dborder-mid), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner      { max-width: 820px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-bright);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.hero h1   { color: var(--dt); margin-bottom: 22px; }
.hero__sub { font-size: 1.15rem; color: var(--dt-mid); max-width: 560px; margin-bottom: 44px; line-height: 1.7; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero__proof {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dt-muted);
  font-size: .84rem;
  font-weight: 500;
}
.hero__proof::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--dborder-mid);
  flex-shrink: 0;
}

/* ── Stats bar — dark ─────────────────────────────────────── */
.stats-bar {
  background: var(--dark-alt);
  border-bottom: 1px solid var(--dborder);
  padding: 40px 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat { padding: 8px 16px; }
.stat + .stat { border-left: 1px solid var(--dborder); }
.stat__number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--dt);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  display: block;
  font-size: .8rem;
  color: var(--dt-mid);
  line-height: 1.45;
  font-weight: 500;
}

/* ── Page Hero (inner pages) — dark ──────────────────────── */
.page-hero {
  padding: 148px 0 72px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--dborder);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dborder-mid), transparent);
  pointer-events: none;
}
.page-hero .container    { position: relative; z-index: 1; }
.page-hero__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue-bright);
  margin-bottom: 14px;
}
.page-hero h1 { color: var(--dt); margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p  { color: var(--dt-mid); font-size: 1.05rem; max-width: 560px; }
.legal__date  { color: var(--dt-muted); font-size: .84rem; margin-top: 8px; }

/* ── Sections (light) ─────────────────────────────────────── */
.section      { padding: 96px 0; }
.section--alt { background: var(--bg-1); }
.section--dark{ background: var(--bg); }

.section__eyebrow {
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 12px;
}
.section__header          { margin-bottom: 56px; }
.section__header--center  { text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }
.section__header h2       { margin-bottom: 12px; color: var(--text); }
.section__header p        { color: var(--text-mid); font-size: 1rem; }

/* ── Service cards ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px;
  transition: border-color .18s, box-shadow .2s, transform .18s;
}
.section--alt .service-card { background: var(--bg); }
.service-card:hover {
  border-color: var(--blue-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-card__icon {
  width: 44px; height: 44px;
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
}
.service-card h3 { margin-bottom: 9px; font-size: 1rem; color: var(--text); }
.service-card p  { color: var(--text-mid); font-size: .875rem; line-height: 1.65; }
.service-card__tag {
  display: inline-block;
  margin-top: 14px;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  padding: 3px 9px;
  border-radius: 100px;
}

/* ── Niche cards ──────────────────────────────────────────── */
.niches-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.niche-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px 16px;
  text-align: center;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.niche-card:hover {
  border-color: var(--blue-border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.niche-card__icon  { font-size: 1.8rem; margin-bottom: 10px; }
.niche-card h4     { margin-bottom: 7px; font-size: .9rem; color: var(--text); }
.niche-card p      { font-size: .78rem; color: var(--text-mid); line-height: 1.5; }
.niche-card__churn {
  display: inline-block;
  margin-top: 10px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  border: 1px solid var(--blue-border);
}

/* ── Team cards ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.team-card__avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--blue-pale);
  border: 2px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-dark);
  flex-shrink: 0;
  letter-spacing: -.02em;
}
.team-card__role { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 3px; }
.team-card h3    { margin-bottom: 9px; font-size: 1.1rem; color: var(--text); }
.team-card p     { color: var(--text-mid); font-size: .875rem; line-height: 1.65; }

/* ── Guarantee box ────────────────────────────────────────── */
.guarantee-box {
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  border-radius: var(--r);
  padding: 26px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.guarantee-box__icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.guarantee-box h3    { margin-bottom: 7px; color: var(--text); font-size: 1.05rem; }
.guarantee-box p     { color: var(--text-mid); font-size: .9rem; }

/* ── Pricing cards ────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
}
.pricing-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card__label  { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.pricing-card h3      { font-size: 1.45rem; color: var(--text); margin-bottom: 5px; }
.pricing-card__tag    { font-size: .84rem; color: var(--text-mid); margin-bottom: 22px; }
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.pricing-card__amount { font-size: 2.7rem; font-weight: 900; letter-spacing: -.035em; color: var(--text); }
.pricing-card__period { color: var(--muted); font-size: .86rem; }
.pricing-card__features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.pricing-card__features li { display: flex; gap: 10px; font-size: .875rem; color: var(--text-mid); }
.check { color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ── FAQ accordion ────────────────────────────────────────── */
.faq-list { max-width: 700px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  color: var(--text);
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: -.008em;
  transition: color .14s;
}
.faq-trigger:hover { color: var(--blue); }
.faq-trigger__icon {
  width: 26px; height: 26px;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform .25s, background .2s, border-color .2s;
}
.faq-item.open .faq-trigger__icon {
  transform: rotate(45deg);
  background: var(--blue-pale);
  border-color: var(--blue-border);
}
.faq-body { max-height: 0; overflow: hidden; transition: max-height .32s cubic-bezier(.4,0,.2,1); }
.faq-body p { padding-bottom: 20px; color: var(--text-mid); font-size: .91rem; line-height: 1.72; }

/* ── Contact form ─────────────────────────────────────────── */
.form { max-width: 640px; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__label { font-size: .81rem; font-weight: 600; color: var(--text-mid); }
.form__input,
.form__select,
.form__textarea {
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: .92rem;
  padding: 12px 15px;
  width: 100%;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  -webkit-appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--muted); }
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form__select { cursor: pointer; }
.form__select option { background: var(--bg); color: var(--text); }
.form__textarea { resize: vertical; min-height: 116px; }
.form__note { font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* ── CTA strip — dark ─────────────────────────────────────── */
.cta-strip {
  padding: 96px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--dborder);
}
.cta-strip .container  { position: relative; z-index: 1; }
.cta-strip__inner      { max-width: 560px; margin: 0 auto; }
.cta-strip .section__eyebrow { color: var(--blue-bright); margin-bottom: 14px; }
.cta-strip h2          { color: var(--dt); margin-bottom: 14px; }
.cta-strip p           { color: var(--dt-mid); margin-bottom: 32px; font-size: 1.02rem; }
.cta-strip .btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.cta-strip .btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 4px 20px rgba(217,119,6,.4);
}
.cta-strip__sub { margin-top: 14px; font-size: .78rem; color: var(--dt-muted); }

/* ── Footer — dark ────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dborder);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--dborder);
}
.footer .nav__logo { color: var(--dt); }
.footer__brand p   { color: var(--dt-muted); font-size: .875rem; margin-top: 12px; line-height: 1.65; max-width: 240px; }
.footer__col h5    { color: var(--dt-muted); margin-bottom: 16px; }
.footer__col li    { margin-bottom: 11px; }
.footer__col a     { color: rgba(249,250,251,.45); font-size: .875rem; transition: color .14s; }
.footer__col a:hover { color: var(--dt); }
.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__bottom p, .footer__bottom a { color: var(--dt-muted); font-size: .8rem; }
.footer__bottom a:hover { color: var(--dt-mid); }
.footer__legal { display: flex; gap: 20px; }

/* ── Inline utility ───────────────────────────────────────── */
.link-green,
.link-blue { color: var(--blue); }
.link-green:hover,
.link-blue:hover { color: var(--blue-dark); text-decoration: underline; }

/* ── Legal ────────────────────────────────────────────────── */
.legal-content { max-width: 700px; }
.legal-content h2 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 48px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p  { color: var(--text-mid); margin-bottom: 14px; font-size: .91rem; line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.legal-content li { color: var(--text-mid); font-size: .91rem; margin-bottom: 7px; line-height: 1.65; }
.legal-content strong { color: var(--text); }
.legal-content a  { color: var(--blue); }
.legal-content a:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .niches-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section__header { margin-bottom: 40px; }
  .container { padding: 0 20px; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--dark);
    border-left: 1px solid var(--dborder);
    flex-direction: column;
    align-items: flex-start;
    padding: 84px 20px 40px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform .26s cubic-bezier(.4,0,.2,1);
    z-index: 199;
  }
  .nav__links--open { transform: translateX(0); }
  .nav__links > li > a:not(.btn) { color: var(--dt-mid) !important; width: 100%; padding: 12px 14px; font-size: .95rem; }
  .nav__links > li > a:not(.btn):hover { color: var(--dt) !important; background: var(--dborder); border-radius: var(--r-sm); }
  .nav__links .btn { width: 100%; margin-left: 0; margin-top: 8px; }

  .hero { padding: 140px 0 80px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; max-width: 300px; }

  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat    { border-left: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--dborder); }

  .services-grid { grid-template-columns: 1fr; }
  .niches-grid   { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 420px; }
  .form__row     { grid-template-columns: 1fr; }

  .footer__inner  { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 480px) {
  .niches-grid     { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: 1fr; }
  .stat + .stat    { border: none; }
  .stat:nth-child(odd) { border: none; }
  .guarantee-box   { flex-direction: column; }
  .team-card       { flex-direction: column; }
}
