:root {
  --ink: #20201f;
  --muted: #6f6961;
  --line: #e7dfd4;
  --paper: #fffaf3;
  --soft: #f3ece2;
  --accent: #b84432;
  --accent-dark: #842f26;
  --olive: #63725a;
  --blue: #496c7a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(55, 42, 32, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, .92);
  border-bottom: 1px solid rgba(32, 32, 31, .08);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: #49443f;
}

.main-nav a:hover,
.footer-inner a:hover {
  color: var(--accent);
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.header-action {
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: #2e2823;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 22, 20, .86) 0%, rgba(24, 22, 20, .58) 42%, rgba(24, 22, 20, .18) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  padding: 92px 0 72px;
}

.hero-copy {
  max-width: 680px;
  color: var(--white);
}

.eyebrow,
.section-head span {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero .eyebrow {
  color: #ffd2c4;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  max-width: 620px;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 24px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-light {
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .12);
  border-radius: 4px;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
}

.strip {
  background: var(--ink);
  color: var(--paper);
}

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

.strip article {
  padding: 30px;
  background: rgba(255, 255, 255, .05);
}

.strip strong {
  display: block;
  margin-bottom: 6px;
  color: #ffd2c4;
  font-size: 36px;
  line-height: 1;
}

.strip span {
  color: rgba(255, 250, 243, .82);
}

.section {
  padding: 92px 0;
}

.muted {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head.narrow {
  max-width: 600px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.program-card,
.price-card,
.lead-form,
.notice,
.teacher-panel,
.quote,
.faq-list details {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(55, 42, 32, .05);
}

.program-card {
  min-height: 320px;
  padding: 26px;
}

.program-card.featured {
  grid-column: span 2;
  background: #fdf2e9;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.card-top span {
  color: var(--olive);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.card-top strong {
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

.program-card p,
.program-card li,
.price-card p,
.steps p,
.notice p,
.quote span,
.faq-list p,
.legal-grid p,
.legal-text p,
.process-photo figcaption {
  color: var(--muted);
}

.program-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.format-grid,
.teacher-grid,
.request-grid,
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(32, 32, 31, .12);
}

.steps span {
  color: var(--accent);
  font-weight: 900;
}

.process-photo {
  margin: 0;
}

.process-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.process-photo figcaption {
  margin-top: 14px;
  font-size: 14px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  padding: 30px;
}

.price-card.accent {
  border-color: rgba(184, 68, 50, .28);
  background: #fff2eb;
}

.price {
  margin: 28px 0 22px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.price-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.teacher-section {
  background: var(--blue);
  color: var(--white);
}

.teacher-panel,
.quote {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: none;
  padding: 34px;
}

.teacher-panel p,
.quote span {
  color: rgba(255, 255, 255, .82);
}

.teacher-section .eyebrow {
  color: #ffd2c4;
}

.quote p {
  font-size: 24px;
  line-height: 1.35;
}

.notice {
  padding: 20px;
  border-left: 5px solid var(--olive);
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d8cec2;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 3px solid rgba(184, 68, 50, .18);
  border-color: var(--accent);
}

.checkbox {
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-weight: 500 !important;
}

.checkbox input {
  min-height: auto;
  margin-top: 4px;
}

.checkbox a,
.legal-grid a,
.legal-text a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
}

.legal-section {
  padding: 58px 0;
  background: #282521;
  color: var(--paper);
}

.legal-grid {
  align-items: start;
}

.legal-grid h2 {
  font-size: 28px;
}

.legal-grid p {
  margin-bottom: 10px;
  color: rgba(255, 250, 243, .82);
}

.legal-grid a {
  color: #ffd2c4;
}

.source-note {
  font-size: 13px;
}

.legal-text {
  padding: 54px 0;
  background: #f8f3ec;
}

.legal-text .container {
  max-width: 980px;
}

.legal-text h2 {
  font-size: 30px;
}

.site-footer {
  padding: 26px 0;
  background: var(--ink);
  color: rgba(255, 250, 243, .78);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner div {
  display: flex;
  gap: 18px;
}

.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: none;
  max-width: 620px;
  padding: 16px;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie.is-visible {
  display: flex;
}

.cookie p {
  margin: 0;
  color: var(--muted);
}

.cookie button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav,
  .header-action {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 620px;
  }

  .program-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .format-grid,
  .teacher-grid,
  .request-grid,
  .legal-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(24, 22, 20, .62), rgba(24, 22, 20, .92));
  }

  .hero-content {
    min-height: 620px;
    padding: 86px 0 44px;
    align-items: end;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 33px;
  }

  .lead {
    font-size: 17px;
  }

  .strip-grid,
  .program-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .strip article {
    padding: 24px 20px;
  }

  .section {
    padding: 66px 0;
  }

  .program-card.featured {
    grid-column: auto;
  }

  .program-card {
    min-height: auto;
  }

  .steps article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lead-form {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie {
    align-items: stretch;
    flex-direction: column;
  }
}
