@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700&display=swap');

/* ============================================
   Design System — Sfat Em
   ============================================ */

:root {
  /* Palette */
  --bg: #FAF6EF;
  --surface: #FFFFFF;
  --section-tint: #F2EBDF;
  --text-primary: #2A241D;
  --text-secondary: #6B5E51;
  --text-muted: #9C8E80;
  --border: #E8DFD2;
  --accent: #BD8C5C;
  --accent-hover: #A87646;
  --accent-soft: #F4E8D7;

  --dot-1: #7D9484;
  --dot-2: #C97C6F;
  --dot-3: #D9B36C;
  --dot-4: #8FA9B0;
  --dot-5: #B58BAA;

  /* Radii */
  --r-input: 4px;
  --r-card: 12px;
  --r-hero: 16px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-elev: 0 8px 24px rgba(189, 140, 92, 0.10), 0 1px 2px rgba(42, 36, 29, 0.04);
  --shadow-nav: 0 1px 0 rgba(232, 223, 210, 1);

  /* Motion */
  --ease-out-quart: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Layout */
  --section-pad: 96px;
  --container-w: 1180px;
}

/* ============================================
   Reset & base
   ============================================ */

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Assistant', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 150ms ease, text-decoration-thickness 150ms ease;
}

a:hover {
  color: var(--accent-hover);
}

p {
  margin: 0 0 1em 0;
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em 0;
  font-weight: 600;
  color: var(--text-primary);
}

h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 28px;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}

.small,
.caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  h3 { font-size: 24px; }
  .lead { font-size: 20px; }
  body { font-size: 17px; }
}

/* ============================================
   Layout helpers
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding-block: 64px;
}

@media (min-width: 768px) {
  section {
    padding-block: var(--section-pad);
  }
  .container {
    padding: 0 32px;
  }
}

.section-tint {
  background: var(--section-tint);
}

.section-surface {
  background: var(--surface);
}

.section-soft {
  background: var(--accent-soft);
}

.text-center {
  text-align: center;
}

/* ============================================
   Dot-cluster ornament
   ============================================ */

.dot-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
  width: fit-content;
}

.dot-cluster span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}

.dot-cluster span:nth-child(1) { background: var(--accent); }
.dot-cluster span:nth-child(2) { background: var(--dot-1); }
.dot-cluster span:nth-child(3) { background: var(--accent); }
.dot-cluster span:nth-child(4) { background: var(--dot-3); }
.dot-cluster span:nth-child(5) { background: var(--accent); }
.dot-cluster span:nth-child(6) { background: var(--dot-4); }
.dot-cluster span:nth-child(7) { background: var(--accent); }

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-block: 40px;
}

.section-ornament span {
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

.section-ornament span:nth-child(1),
.section-ornament span:nth-child(3) {
  width: 8px;
  height: 8px;
}

.section-ornament span:nth-child(2) {
  width: 6px;
  height: 6px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  padding: 14px 28px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  border: 1.5px solid transparent;
  line-height: 1.2;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================
   Navigation
   ============================================ */

.site-nav {
  position: sticky;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: var(--bg);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-nav.scrolled {
  background: var(--surface);
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-brand img {
  height: 44px;
  width: auto;
}

.nav-brand .wordmark {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  transition: color 150ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  margin-inline-start: 8px;
  padding: 10px 22px;
  font-size: 15px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 200ms ease, opacity 200ms ease;
}

.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);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile .btn {
  margin-top: 12px;
  width: 100%;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* Slim funnel nav */

.site-nav.nav-slim .nav-inner {
  justify-content: space-between;
}

.nav-close {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color 150ms ease;
}

.nav-close:hover {
  color: var(--accent);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.hero-medium {
  min-height: 60vh;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 36, 29, 0.55) 0%, rgba(42, 36, 29, 0.20) 35%, rgba(42, 36, 29, 0) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-block {
  max-width: 640px;
  margin-inline-start: auto;
  color: #FFFFFF;
}

.hero-block .eyebrow {
  color: var(--accent-soft);
}

.hero-block h1 {
  color: #FFFFFF;
  margin-bottom: 18px;
}

.hero-block .lead {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
}

.hero-block.hero-centered {
  margin-inline: auto;
  max-width: 720px;
  text-align: center;
}

.hero-block.hero-centered .dot-cluster {
  margin-inline: auto;
}

.hero-block.hero-centered .btn-row {
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero {
    background-attachment: fixed;
  }
}

/* Slim hero (no image) */

.hero-slim {
  min-height: 36vh;
  background: var(--section-tint);
  display: flex;
  align-items: center;
  padding-block: 80px;
}

.hero-slim::before { display: none; }

.hero-slim .hero-content {
  position: static;
}

.hero-slim .hero-block {
  margin-inline: auto;
  max-width: 720px;
  text-align: center;
  color: var(--text-primary);
}

.hero-slim .hero-block h1 {
  color: var(--text-primary);
}

.hero-slim .hero-block .lead {
  color: var(--text-secondary);
}

.hero-slim .hero-block .eyebrow {
  color: var(--accent);
}

/* Header — alternative slim styling for contact page */

.hero-header {
  min-height: 32vh;
  background: var(--bg);
  padding-block: 80px;
  text-align: center;
}

.hero-header::before { display: none; }

.hero-header .hero-block {
  margin-inline: auto;
  max-width: 720px;
  color: var(--text-primary);
}

.hero-header .hero-block h1 {
  color: var(--text-primary);
}

.hero-header .hero-block .lead {
  color: var(--text-secondary);
}

.hero-header .hero-block .eyebrow {
  color: var(--accent);
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-elev);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Icon (thin-line, drawn in CSS via SVG inline) */

.card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--accent);
  display: block;
}

/* ============================================
   Grids
   ============================================ */

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
    align-items: center;
  }
}

/* ============================================
   Section heading
   ============================================ */

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head .lead {
  max-width: 640px;
  margin-inline: auto;
}

/* ============================================
   Pillars
   ============================================ */

.pillars .card {
  padding: 36px 32px;
}

/* ============================================
   For-whom block
   ============================================ */

.for-whom-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
  color: var(--text-primary);
}

.for-whom-list li:last-child {
  border-bottom: none;
}

.for-whom-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.for-whom-list li:nth-child(2)::before { background: var(--dot-1); }
.for-whom-list li:nth-child(3)::before { background: var(--dot-3); }
.for-whom-list li:nth-child(4)::before { background: var(--dot-4); }
.for-whom-list li:nth-child(5)::before { background: var(--dot-2); }

/* ============================================
   Gallery (3 images)
   ============================================ */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--r-card);
}

/* ============================================
   Testimonials
   ============================================ */

.voices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .voices {
    grid-template-columns: repeat(2, 1fr);
  }
}

.voice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 36px 32px;
  position: relative;
}

.voice .quote-mark {
  position: absolute;
  top: 18px;
  inset-inline-end: 28px;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  font-family: serif;
  opacity: 0.45;
}

.voice p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.voice cite {
  font-style: normal;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   Closing CTA band
   ============================================ */

.cta-band {
  background: var(--accent-soft);
  text-align: center;
}

.cta-band-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-band h2 {
  margin-bottom: 18px;
}

.cta-band .lead {
  margin-bottom: 32px;
  color: var(--text-secondary);
}

/* ============================================
   Pricing block
   ============================================ */

.pricing {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 36px;
  max-width: 720px;
  margin-inline: auto;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}

.pricing-row:last-of-type {
  border-bottom: none;
}

.pricing-row .label {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
}

.pricing-row .label small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 4px;
}

.pricing-row .amount {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.pricing-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

/* ============================================
   Locations table
   ============================================ */

.locations-table {
  background: transparent;
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.locations-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .locations-row {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
    align-items: center;
  }
}

.locations-row .region {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.locations-row .day,
.locations-row .time {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ============================================
   Numbered steps (services session breakdown)
   ============================================ */

.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .steps-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.step-block .step-number {
  font-size: 56px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.step-block h3 {
  margin-bottom: 10px;
}

.step-block p {
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   Numbered list (registration steps)
   ============================================ */

.numbered-list {
  counter-reset: nl;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.numbered-list li {
  position: relative;
  padding: 18px 60px 18px 0;
  border-bottom: 1px solid var(--border);
  list-style: none;
  counter-increment: nl;
}

.numbered-list li::before {
  content: counter(nl, decimal-leading-zero);
  position: absolute;
  inset-inline-end: 0;
  top: 18px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.numbered-list li h3 {
  margin: 0 0 6px 0;
  font-size: 19px;
}

.numbered-list li p {
  margin: 0;
  color: var(--text-secondary);
}

/* ============================================
   Data grid (practical details)
   ============================================ */

.data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.data-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px 24px;
}

.data-cell .label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.data-cell .value {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

/* ============================================
   Forms
   ============================================ */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .form-card {
    padding: 48px;
  }
}

.form-row {
  margin-bottom: 22px;
}

.form-row label,
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-helper {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  padding: 12px 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  direction: rtl;
  text-align: right;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(189, 140, 92, 0.15);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-muted);
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

.radio-group,
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-group label,
.chip-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.radio-group input,
.chip-group input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-group label:has(input:checked),
.chip-group label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text-primary);
}

.form-submit {
  margin-top: 12px;
  width: 100%;
}

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--r-card);
  font-size: 15px;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: var(--accent-soft);
  color: var(--text-primary);
  border: 1px solid var(--accent);
}

.form-status.error {
  background: #FBEEE9;
  color: #8B3A2A;
  border: 1px solid #D9B6A8;
}

.form-privacy-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================
   Funnel — multi-step flow
   ============================================ */

.funnel-shell {
  background: var(--bg);
}

.funnel-intro {
  background: var(--accent-soft);
  text-align: center;
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding-block: 80px;
}

.funnel-intro .container-narrow .eyebrow {
  display: inline-block;
}

.funnel-form-wrap {
  background: var(--bg);
  padding-block: 64px;
}

.funnel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-hero);
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .funnel-card {
    padding: 48px;
  }
}

.progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.progress-bar .seg {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  transition: background-color 220ms ease;
}

.progress-bar .seg.filled {
  background: var(--accent);
}

.funnel-page { display: none; }
.funnel-page.active { display: block; }
.quote-step { display: none; }
.quote-step.active { display: block; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }

.funnel-step-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.funnel-page h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.funnel-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.funnel-nav .btn {
  flex: 1;
  min-width: 120px;
}

.funnel-nav .btn-secondary[disabled],
.funnel-nav .btn-secondary.hidden {
  visibility: hidden;
}

.reassurance {
  background: var(--bg);
  padding-block: 56px;
}

.reassurance-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .reassurance-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
  font-size: 15px;
  color: var(--text-secondary);
}

.reassurance-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.confirmation {
  text-align: center;
  padding: 48px 32px;
}

.confirmation h2 {
  margin-bottom: 14px;
}

.confirmation p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ============================================
   Faculty placeholder avatars
   ============================================ */

.faculty-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .faculty-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.faculty-card {
  text-align: center;
}

.faculty-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--section-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--border);
}

.faculty-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.faculty-cred {
  font-size: 13px;
  color: var(--text-secondary);
}

.faculty-note {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  margin-top: 18px;
}

/* ============================================
   Framework concept blocks
   ============================================ */

.concept-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.concept-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px 24px;
}

.concept-block h4 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
}

.concept-block p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   Quiet links (chevron)
   ============================================ */

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 150ms ease, color 150ms ease;
}

.quiet-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

.quiet-link .chev {
  transition: transform 200ms ease;
}

.quiet-link:hover .chev {
  transform: translateX(-4px);
}

/* ============================================
   Contact card grid
   ============================================ */

.contact-card {
  text-align: center;
  padding: 36px 28px;
}

.contact-card .card-icon {
  margin-inline: auto;
  margin-bottom: 18px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 3em;
}

.contact-card .social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.contact-card .social-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--text-primary);
}

.contact-card .social-row a:hover {
  color: var(--accent);
}

/* Locations summary horizontal row */

.locations-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 24px;
}

.locations-summary span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.locations-summary span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: 56px 28px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px 28px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 40px;
  }
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 14px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 40px;
}

.footer-brand .wordmark {
  font-size: 20px;
  font-weight: 600;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  max-width: 340px;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-primary);
  font-size: 15px;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact a {
  display: block;
  color: var(--text-primary);
  font-size: 15px;
  margin-bottom: 8px;
  transition: color 150ms ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.footer-signature {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
  text-align: center;
  margin: 0;
}

.footer-signature a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-signature a:hover {
  color: var(--accent);
}

/* Minimal footer (funnel page) */

.footer-minimal {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}

.footer-minimal-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-minimal-row .channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer-minimal-row a {
  color: var(--text-secondary);
}

.footer-minimal-row a:hover {
  color: var(--accent);
}

/* ============================================
   Story (about) prose block
   ============================================ */

.story p {
  margin-bottom: 1.2em;
  color: var(--text-primary);
  line-height: 1.85;
  font-size: 17px;
}

.story p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Scroll reveal
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out-quart), transform 700ms var(--ease-out-quart);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero {
    background-attachment: scroll !important;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================
   Hero rests static at every breakpoint, per the
   "static at rest" baseline in the design system.
   ============================================ */

/* ============================================
   Closing line (single-line invitation)
   ============================================ */

.closing-line {
  background: var(--bg);
  text-align: center;
  padding-block: 56px;
  font-size: 16px;
  color: var(--text-secondary);
}

.closing-line a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* ============================================
   Generic two-column on white
   ============================================ */

.framework-block {
  background: var(--surface);
}

.framework-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1em;
}

.framework-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Misc utilities
   ============================================ */

.muted {
  color: var(--text-secondary);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 24px; }

.privacy-prose h2 {
  margin-top: 32px;
}

.privacy-prose p,
.privacy-prose li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}

.privacy-prose ul {
  list-style: disc;
  padding-inline-start: 24px;
  margin-bottom: 1em;
}
