:root {
  --bg: #fbf8f2;
  --surface: #fffdf8;
  --surface-strong: #fff4e2;
  --ink: #171923;
  --muted: #68707c;
  --line: #ead8c9;
  --accent: #c06b2d;
  --accent-dark: #7f3f87;
  --berry: #7f3f87;
  --teal: #0788a8;
  --green: #6d9f22;
  --rose: #db4c78;
  --sun: #f1a51f;
  --shadow: 0 22px 55px rgba(68, 40, 82, 0.14);
  --radius: 8px;
  --font-display: Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(251, 248, 242, 0.96)),
    var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(234, 216, 201, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}

.brand-mark {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(127, 63, 135, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  min-width: 0;
}

.brand small a {
  color: inherit;
}

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

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.05;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

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

.section {
  padding: 76px clamp(18px, 5vw, 72px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 79px);
  padding-top: 52px;
  overflow: hidden;
  background: #fffdf8;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--rose));
  box-shadow: 0 12px 30px rgba(219, 76, 120, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #a95421, var(--accent-dark));
}

.btn-secondary {
  color: var(--accent-dark);
  border-color: var(--line);
  background: var(--surface);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin: 34px 0 0;
}

.hero-facts div,
.card,
.price-card,
.steps article,
.policy-box,
.lead-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.contact-card.request-card {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}

.hero-facts div {
  padding: 16px;
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 0;
  font-weight: 750;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(68vw, 980px);
  margin: 0;
  border-radius: 0;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #fffdf8 0%, rgba(255, 253, 248, 0.94) 30%, rgba(255, 253, 248, 0.35) 58%, rgba(255, 253, 248, 0) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.1), rgba(255, 253, 248, 0.34));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.intro,
.legal-flow,
.documents {
  background: rgba(255, 253, 248, 0.58);
}

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

.card,
.price-card,
.steps article,
.policy-box {
  padding: 24px;
}

.card p,
.price-card p,
.steps p,
.policy-box li {
  color: var(--muted);
}

.card ul,
.policy-box ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.price-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
}

.price-card .btn {
  margin-top: auto;
}

.analytics-pixel {
  position: absolute;
  left: -9999px;
}

.service-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
}

.programs {
  background:
    radial-gradient(circle at 88% 10%, rgba(219, 76, 120, 0.08), transparent 30%),
    var(--bg);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.program-card {
  display: grid;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  scroll-margin-top: 100px;
}

.program-card-highlight {
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  border-color: rgba(127, 63, 135, 0.28);
  background: linear-gradient(135deg, #fff6fb, var(--surface));
}

.program-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.offer-list {
  display: grid;
  gap: 10px;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.offer-row > div {
  display: grid;
  gap: 2px;
}

.offer-row > div span {
  color: var(--muted);
  font-size: 13px;
}

.offer-row .btn {
  min-height: 40px;
  padding: 9px 14px;
}

.offer-price {
  white-space: nowrap;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
}

.course-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.course-action {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.faq {
  background: rgba(255, 253, 248, 0.58);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-list summary {
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.featured {
  border-color: rgba(127, 63, 135, 0.28);
  background: linear-gradient(180deg, #fff6fb, #fffdf8);
}

.price-label {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-weight: 800;
}

.price {
  margin-bottom: 16px;
  font-size: 34px;
  font-weight: 850;
  color: var(--ink);
}

.steps article span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--accent-dark));
  font-weight: 850;
}

.notice {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--rose);
  background: #fff3f7;
  color: #713146;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.split > div:first-child p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.policy-box a,
.document-card a {
  color: var(--accent-dark);
  font-weight: 800;
}

.document-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.document-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.document-card h3 {
  margin: 0;
  font-size: 18px;
}

.document-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.document-card a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 34px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.details div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff6fb;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
textarea:focus,
.btn:focus-visible,
.document-card a:focus-visible {
  outline: 3px solid rgba(47, 111, 95, 0.24);
  outline-offset: 2px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.checkbox input {
  width: 18px;
  min-width: 18px;
  margin-top: 4px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--accent-dark);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: start;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #eadfce;
  background: #23172c;
}

.site-footer p {
  margin: 6px 0 0;
  color: #cdbfac;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: #fff;
}

.footer-link {
  width: fit-content;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  gap: 14px;
  width: min(520px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

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

.cookie-banner a {
  color: var(--berry);
}

.cookie-banner div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.document-page {
  max-width: 960px;
  margin: 0 auto;
}

.document-page h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.document-page section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.document-page ul {
  padding-left: 22px;
}

.doc-nav {
  justify-content: flex-end;
}

.breadcrumb {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.breadcrumb a {
  color: var(--berry);
}

.breadcrumb span::before {
  content: " / ";
  color: var(--muted);
}

.inner-hero,
.direction-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.author-hero {
  padding-top: 56px;
}

.author-photo,
.direction-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.author-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  object-position: center top;
}

.page-section {
  padding: 72px clamp(18px, 5vw, 72px);
}

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

.content-grid,
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid > article,
.approach-grid > article,
.author-achievement,
.direction-cta {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.fact-number {
  display: block;
  margin-bottom: 8px;
  color: var(--berry);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.approach-grid article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--berry);
  font-weight: 800;
}

.author-teaser {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.author-teaser-photo {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1.04;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.author-teaser-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.direction-visual {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 48px;
  color: var(--berry);
  background:
    radial-gradient(circle at 25% 20%, rgba(211, 115, 54, 0.2), transparent 38%),
    radial-gradient(circle at 75% 75%, rgba(129, 55, 120, 0.2), transparent 38%),
    var(--surface-strong);
  font-family: var(--font-display);
  font-size: clamp(68px, 10vw, 126px);
}

.direction-visual img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
}

.author-achievement,
.direction-cta {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .doc-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero,
  .split,
  .contact-card,
  .inner-hero,
  .direction-hero,
  .author-teaser {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 320px;
  }

  .hero-visual {
    inset: 0 0 auto 0;
    width: 100%;
    height: 360px;
  }

  .hero-visual::after {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0) 0%, rgba(255, 253, 248, 0.72) 58%, #fffdf8 100%),
      linear-gradient(90deg, rgba(255, 253, 248, 0.5), rgba(255, 253, 248, 0.1));
  }

  .service-grid,
  .service-grid-four,
  .price-grid,
  .steps,
  .document-list,
  .program-grid,
  .content-grid,
  .approach-grid,
  .three-columns {
    grid-template-columns: 1fr;
  }

  .author-photo,
  .author-teaser-photo {
    max-width: 520px;
  }

  .program-card-highlight {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

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

  .section {
    padding: 56px 16px;
  }

  .page-section {
    padding: 56px 16px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .price-card .btn {
    width: 100%;
  }

  .program-card {
    padding: 20px 16px;
  }

  .offer-row,
  .course-card {
    grid-template-columns: 1fr;
  }

  .offer-row .btn {
    width: 100%;
  }

  .course-action {
    justify-items: stretch;
  }
}
