@import url("./design-system/tokens.css");

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --shadow-soft: 0 20px 60px rgba(22, 36, 28, 0.08);
  --shadow-card: 0 10px 30px rgba(22, 36, 28, 0.06);
  --section-space: var(--space-16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--size-body);
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
}

::selection {
  background: var(--color-apple);
  color: var(--text);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--action);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - (var(--page-pad) * 2)), var(--page-max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - (var(--page-pad) * 2)), 820px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section--tight {
  padding-block: var(--space-12);
}

.section--joined {
  padding-top: 0;
}

.section--joined .split {
  align-items: start;
}

.section--stats {
  padding-top: 0;
}

.section--white {
  background: var(--bg-surface);
}

.section--forest {
  background: var(--bg-inverse);
  color: var(--text-on-dark);
}

.eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--text-subtle);
  font-size: var(--size-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.section--forest .eyebrow {
  color: var(--color-apple);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: var(--leading-heading);
  text-wrap: balance;
}

h1 {
  max-width: 940px;
  margin-bottom: var(--space-6);
  font-size: var(--size-h1);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-h1);
  line-height: var(--leading-tight);
}

h2 {
  margin-bottom: var(--space-5);
  font-size: var(--size-h2);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-h2);
}

h3 {
  margin-bottom: 12px;
  font-size: var(--size-h3);
  font-weight: var(--weight-semibold);
}

h4 {
  margin-bottom: 8px;
  font-size: var(--size-h4);
}

.lead {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}

.section--forest .lead,
.section--forest .muted {
  color: var(--color-apple);
}

.muted {
  color: var(--text-muted);
}

.fine-print {
  color: var(--text-subtle);
  font-size: var(--size-sm);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: var(--control-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 25px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--action-text);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--action-hover);
  transform: translateY(-1px);
}

.button--secondary {
  border-color: var(--action);
  background: transparent;
  color: var(--action);
}

.button--secondary:hover {
  background: var(--color-apple);
  color: var(--action);
}

.button--light {
  background: var(--color-apple);
  color: var(--action);
}

.button--light:hover {
  background: var(--color-white);
}

.button--text {
  min-height: var(--tap-min);
  padding-inline: 6px;
  border-radius: 0;
  background: transparent;
  color: var(--action);
  text-decoration: underline;
  text-decoration-color: var(--color-meadow);
  text-underline-offset: 5px;
}

.button--text:hover {
  background: transparent;
  color: var(--action-hover);
  transform: none;
}

.button[disabled] {
  background: var(--bg-sunken);
  color: var(--text-disabled);
  cursor: not-allowed;
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 216, 200, 0.72);
  background: rgba(247, 244, 234, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-forest);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-logo);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 36px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}

.site-nav a:not(.button) {
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: var(--size-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:not(.button):hover {
  color: var(--action);
}

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--action);
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-16);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -220px auto;
  width: 520px;
  height: 520px;
  border: 92px solid rgba(199, 222, 147, 0.34);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: var(--space-16);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy .lead {
  max-width: 650px;
}

.hero-note {
  max-width: 470px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: var(--space-6);
  color: var(--text-subtle);
  font-size: var(--size-sm);
}

.hero-note::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-apricot);
}

.hero-media {
  position: relative;
  min-height: 540px;
}

.hero-photo {
  width: min(100%, 510px);
  height: 540px;
  margin-left: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-soft);
}

.hero-photo--landscape {
  width: 100%;
  max-width: none;
  border-radius: var(--radius-lg);
  object-position: 52% center;
}

.hero-caption {
  position: absolute;
  right: -8px;
  bottom: 28px;
  max-width: 260px;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
  color: var(--text-muted);
  font-size: var(--size-sm);
}

.hero-caption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 var(--space-8);
  padding: 0;
  list-style: none;
}

.fact-row li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: var(--size-sm);
  font-weight: var(--weight-medium);
}

.fact-row li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-meadow);
}

.direction-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.direction {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.direction:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.direction--individual {
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.direction--group {
  background: var(--color-forest);
  color: var(--text-on-dark);
}

.direction .eyebrow {
  margin-bottom: 10px;
}

.direction--group .eyebrow,
.direction--group p {
  color: var(--color-apple);
}

.direction h3 {
  max-width: 500px;
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
}

.direction:not(.direction--group) p {
  max-width: 470px;
  color: var(--text-muted);
  font-size: 18px;
}

.direction--group p {
  max-width: 470px;
  font-size: 18px;
}

.direction-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: var(--weight-bold);
}

.direction-link span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 180ms ease;
}

.direction:hover .direction-link span {
  transform: translateX(4px);
}

.direction-mark {
  position: absolute;
  right: -52px;
  bottom: -76px;
  width: 280px;
  opacity: 0.08;
  color: currentColor;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: var(--space-16);
  align-items: center;
}

.split--reverse > :first-child {
  order: 2;
}

.portrait-frame,
.photo-frame {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-sunken);
  box-shadow: var(--shadow-card);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 35%;
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-frame--tall img {
  aspect-ratio: 3 / 4;
}

.quote {
  margin: var(--space-8) 0 0;
  padding-left: 24px;
  border-left: 4px solid var(--color-apple);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.4;
}

.section--forest .quote {
  color: var(--text-on-dark);
}

.credential-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--space-10);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
}

.credential-tile {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  padding: 12px;
  border: 0;
  background: var(--bg-surface);
  color: var(--text);
  text-align: left;
  cursor: zoom-in;
  transition: background 180ms ease;
}

.credential-tile:hover {
  background: var(--bg-sunken);
}

.credential-tile__preview {
  display: block;
  padding: 5px;
  border-radius: var(--radius-sm);
  background: var(--bg-sunken);
}

.credential-tile__preview img {
  width: 100%;
  aspect-ratio: 1280 / 904;
  border-radius: 6px;
  background: var(--bg-surface);
  object-fit: contain;
  transition: transform 180ms ease;
}

.credential-tile:hover .credential-tile__preview img {
  transform: scale(1.015);
}

.credential-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
}

.credential-tile > span:not(.credential-tile__preview) {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.route {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 48px;
}

.route-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: var(--space-6);
  padding-bottom: var(--space-10);
}

.route-step:last-child {
  padding-bottom: 0;
}

.route-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 64px;
  bottom: 0;
  left: 31px;
  border-left: 1.5px dashed var(--color-meadow);
}

.route-number {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--action);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--weight-bold);
}

.section--white .route-number {
  background: var(--bg-surface);
}

.route-copy {
  padding-top: 7px;
}

.route-copy p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--text-muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-10);
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: var(--space-4) 0 var(--space-4) var(--space-8);
  border-top: 1px solid var(--border);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 2px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--color-meadow);
  border-radius: 50%;
}

.feature-list strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 18px;
}

.feature-list span {
  color: var(--text-muted);
  font-size: var(--size-sm);
}

.service-table {
  margin-top: var(--space-10);
  border-top: 1px solid var(--border-strong);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(280px, 1.3fr) auto;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border-strong);
}

.service-row h3,
.service-row p {
  margin: 0;
}

.service-row p {
  color: var(--text-muted);
}

.price {
  color: var(--action);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.16);
}

.stat {
  min-height: 142px;
  padding: var(--space-8);
  background: var(--bg-inverse);
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-apple);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-variant-numeric: tabular-nums;
}

.stat span {
  color: var(--text-on-dark);
  font-size: var(--size-sm);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-10);
  margin-top: var(--space-10);
}

.outcome {
  min-height: 0;
  padding: var(--space-6) 0 var(--space-8);
  border-top: 1px solid var(--border-strong);
}

.outcome-index {
  display: inline-block;
  margin-bottom: var(--space-6);
  color: var(--color-meadow);
  font-family: var(--font-display);
  font-size: var(--size-sm);
  font-weight: var(--weight-bold);
}

.outcome p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: var(--size-sm);
}

.schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.schedule-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--color-apple);
}

.schedule-card:nth-child(2) {
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
}

.schedule-card .eyebrow {
  color: var(--action);
}

.schedule-card p {
  margin-bottom: 8px;
}

.schedule-card p:last-of-type {
  margin-bottom: var(--space-6);
}

.schedule-card strong {
  font-family: var(--font-display);
  font-size: 21px;
}

.schedule-card .button {
  width: 100%;
  margin-top: auto;
  padding-inline: var(--space-4);
}

.calendar-note {
  margin-top: var(--space-4);
  margin-bottom: 0;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: var(--size-sm);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(300px, 1.35fr);
  gap: var(--space-16);
  align-items: start;
}

.reviews-copy {
  position: sticky;
  top: 118px;
}

.reviews-copy .lead {
  font-size: var(--size-body);
}

.reviews-widget {
  position: relative;
  width: 100%;
  min-width: 300px;
  height: 600px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
}

.reviews-widget iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.reviews-widget > a {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-2);
  left: var(--space-5);
  color: var(--text-subtle);
  font-size: 10px;
  text-align: center;
  text-decoration: none;
}

.faq {
  margin-top: var(--space-8);
  border-top: 1px solid var(--border-strong);
}

.faq details {
  border-bottom: 1px solid var(--border-strong);
}

.faq summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: var(--weight-semibold);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  width: 36px;
  height: 36px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--action);
  font-family: var(--font-text);
  font-size: 24px;
  font-weight: var(--weight-regular);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  background: var(--bg-inverse);
  color: var(--text-on-dark);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: 24%;
  bottom: -110px;
  width: 240px;
  height: 240px;
  border: 54px solid rgba(199, 222, 147, 0.12);
  border-radius: 50%;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 720px;
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--color-apple);
}

.site-footer {
  padding-block: var(--space-16) var(--space-8);
  border-top: 1px solid var(--border-strong);
  background: var(--bg-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(170px, 0.7fr));
  gap: var(--space-10);
}

.footer-brand p {
  max-width: 420px;
  margin: var(--space-4) 0 0;
  color: var(--text-muted);
  font-size: var(--size-sm);
}

.footer-col h2 {
  margin-bottom: 12px;
  font-size: var(--size-sm);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  min-height: 34px;
  display: block;
  color: var(--text-muted);
  font-size: var(--size-sm);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--action);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: var(--size-xs);
}

dialog {
  width: min(calc(100% - 32px), 620px);
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 24px 90px rgba(22, 36, 28, 0.28);
}

dialog::backdrop {
  background: rgba(22, 36, 28, 0.64);
  backdrop-filter: blur(4px);
}

.dialog-inner {
  position: relative;
  overflow-y: auto;
  max-height: calc(100vh - 32px);
  padding: var(--space-8);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--action);
  cursor: pointer;
}

.dialog-inner h2 {
  max-width: calc(100% - 56px);
  margin-bottom: 10px;
  font-size: clamp(28px, 5vw, 38px);
}

.credential-dialog {
  width: min(calc(100% - 32px), 1100px);
  background: var(--bg-surface);
}

.credential-dialog__inner {
  position: relative;
  overflow-y: auto;
  max-height: calc(100vh - 32px);
  padding: 54px var(--space-6) var(--space-5);
}

.credential-dialog__close {
  z-index: 1;
}

.credential-dialog figure {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.credential-dialog figure img {
  width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: var(--radius-md);
  background: var(--bg);
  object-fit: contain;
}

.credential-dialog figcaption {
  color: var(--text-muted);
  font-size: var(--size-sm);
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: var(--text);
  font-size: 14px;
  font-weight: var(--weight-bold);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--control-height);
  padding: 12px 15px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--action);
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 20px;
  color: var(--danger);
  font-size: var(--size-xs);
}

.consent-check {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.consent-check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--action);
}

.consent-check a {
  color: var(--action);
}

.form-note {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-sunken);
  color: var(--text-muted);
  font-size: 13px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.form-status {
  color: var(--text-muted);
  font-size: 14px;
}

.form-success {
  display: none;
  margin-top: var(--space-8);
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-success-soft);
}

.form-success.is-visible {
  display: block;
}

.form-success strong {
  display: block;
  margin-bottom: 6px;
  color: var(--success);
  font-family: var(--font-display);
  font-size: 21px;
}

.legal-page {
  padding-block: clamp(56px, 8vw, 100px);
}

.legal-banner {
  margin-bottom: 32px;
  padding: var(--space-4) var(--space-5);
  border-left: 4px solid var(--color-apricot);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-surface);
  color: var(--text-muted);
}

.legal-page h2 {
  margin-top: var(--space-10);
  font-size: 26px;
}

.legal-page li,
.legal-page p {
  color: var(--text-muted);
}

.cookie-notice {
  position: fixed;
  z-index: 100;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  left: auto;
  display: flex;
  width: min(720px, calc(100vw - 28px));
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-notice__copy {
  max-width: 470px;
}

.cookie-notice__copy strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 15px;
}

.cookie-notice__copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cookie-notice__copy a {
  color: var(--action);
}

.cookie-notice__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cookie-notice__actions .button {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 13px;
}

.mobile-sticky {
  display: none;
}

.button-row--spaced,
.fine-print--spaced {
  margin-top: var(--space-8);
}

.service-row--compact {
  grid-template-columns: 1fr auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav .button {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  }

  .hero-photo {
    height: 500px;
  }

  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 78px 0 auto;
    z-index: 99;
    display: grid;
    gap: 0;
    padding: 12px var(--page-pad) 24px;
    border-bottom: 1px solid var(--border-strong);
    background: var(--bg);
    box-shadow: 0 18px 34px rgba(22, 36, 28, 0.12);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
  }

  .mobile-menu a {
    min-height: 56px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: var(--weight-semibold);
    text-decoration: none;
  }

  .mobile-menu .button {
    margin-top: var(--space-4);
    border-bottom: 0;
    font-family: var(--font-text);
    font-size: 16px;
  }

  .hero-grid,
  .split,
  .direction-stage,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .reviews-copy {
    position: static;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-photo,
  .hero-photo--landscape {
    width: 100%;
    height: min(120vw, 560px);
    border-radius: var(--radius-lg);
  }

  .hero-caption {
    right: 12px;
    bottom: 16px;
  }

  .direction {
    min-height: 380px;
  }

  .split--reverse > :first-child {
    order: initial;
  }

  .service-row {
    grid-template-columns: 1fr auto;
  }

  .service-row p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .stat-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 76px;
  }

  .cookie-notice {
    right: 12px;
    bottom: 88px;
    left: 12px;
    width: auto;
    display: block;
    padding: 13px;
  }

  .cookie-notice__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
  }

  .cookie-notice__actions .button {
    width: 100%;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 30px;
    height: 32px;
  }

  .mobile-menu {
    inset-block-start: 68px;
  }

  .hero {
    padding-block: var(--space-12);
  }

  .hero::before {
    display: none;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .hero-note {
    margin-top: 16px;
  }

  .hero-photo,
  .hero-photo--landscape {
    height: 118vw;
    max-height: 500px;
    border-radius: var(--radius-lg);
  }

  .hero-caption {
    max-width: 230px;
    padding: 14px 16px;
  }

  .reviews-widget {
    min-width: 0;
    height: 560px;
  }

  .direction {
    min-height: 340px;
  }

  .feature-list,
  .outcome-grid,
  .schedule,
  .stat-ribbon,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .credential-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credential-dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
  }

  .credential-dialog__inner {
    max-height: calc(100vh - 16px);
    padding: 52px 8px 12px;
  }

  .credential-dialog figure img {
    max-height: calc(100vh - 132px);
  }

  .stat-ribbon {
    gap: 0;
  }

  .stat {
    min-height: 112px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-row p {
    grid-column: auto;
    grid-row: auto;
  }

  .price {
    margin-top: 8px;
  }

  .route-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }

  .route-number {
    width: 48px;
    height: 48px;
  }

  .route-step:not(:last-child)::before {
    top: 48px;
    left: 23px;
  }

  .outcome {
    min-height: 0;
  }

  .outcome-index {
    margin-bottom: var(--space-8);
  }

  .cta-panel .button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .field--full,
  .consent-check,
  .form-note,
  .form-actions {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .mobile-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: block;
    padding: 10px var(--page-pad) 12px;
    border-top: 1px solid var(--border);
    background: rgba(247, 244, 234, 0.96);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-sticky.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-sticky .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
