:root {
  --bg: #f7f4ed;
  --bg-2: #efe8d9;
  --surface: #ffffff;
  --ink: #202722;
  --muted: #70776f;
  --line: #d9d1c3;
  --accent: #c6a66b;
  --brand: #b65a28;
  --green: #174a3b;
  --green-soft: #c8d8c8;
  --cream: #fbf7f0;
  --hero-ink: #f7f4ed;
  --white: #ffffff;
  --header-glass: rgba(247, 244, 237, 0.92);
  --dock: rgba(255, 255, 255, 0.94);
  --btn: #174a3b;
  --btn-ink: #f7f4ed;
  --shadow: 0 16px 40px rgba(23, 74, 59, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: clamp(20px, 5vw, 80px);
  --gutter-left: clamp(16px, 4vw, 80px);
  --gutter-right: clamp(16px, 4vw, 80px);
  --header-h: 76px;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-sans: Manrope, system-ui, sans-serif;
  --focus: 0 0 0 3px rgba(198, 166, 107, 0.55);
}

html[data-theme="dark"] {
  --bg: #121614;
  --bg-2: #1a211e;
  --surface: #1e2622;
  --ink: #f3eee4;
  --muted: #a8afa8;
  --line: #2e3934;
  --accent: #d4b57a;
  --brand: #e07a3d;
  --green: #8fbfab;
  --green-soft: #24332c;
  --cream: #171c19;
  --white: #1e2622;
  --header-glass: rgba(18, 22, 20, 0.92);
  --dock: rgba(30, 38, 34, 0.94);
  --btn: #c6a66b;
  --btn-ink: #121614;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 14px;
  background: var(--green);
  color: #f7f4ed;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  min-height: var(--header-h);
  padding: 8px var(--gutter-right) 8px var(--gutter-left);
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--hero-ink);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

body.is-away .site-header,
body.faq-page .site-header,
body.is-scrolled .site-header,
body.is-nav-open .site-header {
  background: var(--header-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 3px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f3ece3;
  box-shadow: 0 2px 10px rgba(23, 74, 59, 0.12);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-edu {
  color: var(--brand);
}

.brand-tag {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

body:not(.is-away):not(.is-scrolled) .brand-tag {
  color: rgba(247, 244, 237, 0.72);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  grid-column: 2;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--green);
  color: #f7f4ed;
  border-color: var(--green);
}

body:not(.is-away):not(.is-scrolled) .site-nav a {
  background: rgba(12, 22, 18, 0.45);
  color: #f7f4ed;
  border-color: rgba(247, 244, 237, 0.16);
}

body:not(.is-away):not(.is-scrolled) .site-nav a:hover,
body:not(.is-away):not(.is-scrolled) .site-nav a.is-active {
  background: #f7f4ed;
  color: #174a3b;
  border-color: #f7f4ed;
}

.header-actions {
  justify-self: end;
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 244, 237, 0.28);
  border-radius: 12px;
  background: rgba(18, 28, 24, 0.28);
  cursor: pointer;
  position: relative;
  color: #f7f4ed;
}

body.is-away .theme-toggle,
body.is-scrolled .theme-toggle,
body.faq-page .theme-toggle,
body.is-away .nav-toggle,
body.is-scrolled .nav-toggle,
body.faq-page .nav-toggle {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.theme-toggle-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.theme-toggle-icon::before {
  content: "☾";
}

html[data-theme="dark"] .theme-toggle-icon::before {
  content: "☀";
}

.nav-toggle {
  display: none;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.btn-header {
  min-height: 42px;
  padding: 0 16px;
  background: var(--btn);
  color: var(--btn-ink);
  border: 1px solid var(--btn);
}

body:not(.is-away):not(.is-scrolled) .btn-header {
  background: #c6a66b;
  color: #121614;
  border-color: #c6a66b;
}

.hero-row {
  display: grid;
  gap: 28px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 28px) var(--gutter-right) 28px var(--gutter-left);
  color: var(--hero-ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a1410;
}

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 22, 18, 0.72) 0%, rgba(12, 22, 18, 0.38) 48%, rgba(12, 22, 18, 0.16) 100%),
    linear-gradient(180deg, rgba(12, 22, 18, 0.42) 0%, rgba(12, 22, 18, 0.12) 38%, rgba(12, 22, 18, 0.45) 100%);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: 12px 0 0;
}

.hero-brand {
  display: block;
  margin-bottom: 6px;
}

.brand-mark,
.brand-rest {
  font-family: var(--font-serif);
  font-weight: 700;
}

.hero .brand-mark {
  color: #f7f4ed;
}

.hero .brand-rest {
  color: #e8a06a;
}

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

.eyebrow-light {
  color: var(--accent);
}

.display {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(32px, 5.4vw, 62px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.page-hero .display {
  max-width: 12.5em;
  color: #fbf6ee;
  font-size: clamp(34px, 5.8vw, 64px);
  line-height: 1.14;
}

.lede {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.page-hero .lede {
  color: rgba(247, 244, 237, 0.9);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--btn);
  color: var(--btn-ink);
}

.page-hero .btn-solid {
  background: #f7f4ed;
  color: #174a3b;
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.page-hero .btn-ghost {
  border-color: rgba(247, 244, 237, 0.45);
  color: #f7f4ed;
  background: rgba(247, 244, 237, 0.08);
}

.hero-dirs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  max-width: 980px;
}

.hero-dirs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 16px;
  text-align: center;
  text-decoration: none;
  color: #174a3b;
  background: rgba(247, 244, 237, 0.94);
  border: 1px solid rgba(247, 244, 237, 0.98);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 10px 24px rgba(12, 22, 18, 0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-dirs a:hover {
  background: #174a3b;
  color: #f7f4ed;
  transform: translateY(-1px);
}

main {
  position: relative;
  z-index: 1;
  padding: 0;
}

.page-section {
  scroll-margin-top: calc(var(--header-h) + 12px);
  padding: 72px var(--gutter-right) 72px var(--gutter-left);
}

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

.section-intro {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-intro .display {
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
}

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

.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 18px;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service {
  display: block;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service-no {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.service-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.service-who,
.service-result {
  margin: 0 0 14px;
  max-width: 62ch;
  color: var(--muted);
}

.service-result {
  margin-top: 14px;
}

.text-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

html[data-theme="dark"] .text-link {
  color: var(--accent);
}

.plain-list {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

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

.cards-packages {
  align-items: stretch;
}

.cards-packages > * {
  min-width: 0;
}

.extras {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 20px 32px;
  align-items: center;
  margin-top: 16px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.extras h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 28px;
}

.extra-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.extra-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.extra-list li:last-child {
  border-bottom: 0;
}

.extra-list span {
  color: var(--muted);
}

.extra-list strong {
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.package-no {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.package-badge {
  margin: 0 0 10px;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #efe4cc;
  color: #174a3b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

html[data-theme="dark"] .package-badge {
  background: rgba(212, 181, 122, 0.22);
  color: #f3eee4;
}

.package h3,
.card.package h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.card.package {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.package .plain-list {
  margin-bottom: 8px;
  flex: 1;
  align-content: start;
}

#pack-full .plain-list {
  gap: 2px;
}

.card .package-price {
  margin: 16px 0 12px;
  padding: 14px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  border-top: 1px solid var(--line);
}

.package-price strong {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
}

.package-price span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.package .btn,
.extras .btn {
  width: 100%;
  background: #d9e4d9;
  color: #174a3b;
  border-color: #c3d2c3;
  font-weight: 700;
}

.package .btn:hover,
.extras .btn:hover {
  background: #c8d8c8;
  color: #174a3b;
  border-color: #b4c6b4;
}

html[data-theme="dark"] .package .btn,
html[data-theme="dark"] .extras .btn {
  background: rgba(212, 181, 122, 0.14);
  color: #f3eee4;
  border-color: rgba(212, 181, 122, 0.32);
}

html[data-theme="dark"] .package .btn:hover,
html[data-theme="dark"] .extras .btn:hover {
  background: rgba(212, 181, 122, 0.24);
  color: #f3eee4;
}

.price-note {
  margin: 20px 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 14px;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  counter-reset: step;
}

.steps li {
  margin: 0;
  padding: 0;
  counter-increment: step;
}

.step-btn {
  width: 100%;
  display: block;
  position: relative;
  padding: 12px 16px 12px 56px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.step-btn::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #f7f4ed;
  font-size: 13px;
  font-weight: 700;
}

.step-btn:hover,
.step-btn.is-open {
  border-color: var(--green);
}

.step-btn.is-open {
  background: var(--green);
  color: #f7f4ed;
}

.step-btn.is-open::before {
  background: #f7f4ed;
  color: #174a3b;
}

.step-btn.is-open p {
  color: rgba(247, 244, 237, 0.82);
}

.steps h3 {
  margin: 0 0 2px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.step-detail {
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-detail .muted {
  line-height: 1.65;
}

.step-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.step-split dt {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step-split dd {
  margin: 0;
  color: var(--ink);
}

.card {
  padding: 24px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

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

.card .package-badge {
  color: #174a3b;
}

html[data-theme="dark"] .card .package-badge {
  color: #f3eee4;
}

.card.package.is-featured {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

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

.form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:invalid:not(:placeholder-shown),
.form select:invalid:not([value=""]) {
  border-color: transparent;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3e4d8;
  color: #7a3410;
  font-size: 14px;
}

.form-status[data-kind="ok"] {
  background: var(--green-soft);
  color: #174a3b;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.contacts-copy .display {
  margin-bottom: 12px;
}

.contact-direct {
  margin: 18px 0 0;
  font-weight: 600;
}

.contact-direct a {
  color: var(--green);
  font-weight: 800;
}

.faq-hub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding: 22px 26px;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

#faq .section-intro {
  margin-bottom: 20px;
}

.faq-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

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

.faq-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.faq-article {
  max-width: none;
  padding: 8px 0 8px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-article h1 {
  margin-bottom: 8px;
}

.faq-back {
  display: inline-flex;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--green);
}

.faq-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  background: var(--bg-2);
}

.faq-item .faq-a {
  padding: 0 20px 16px;
}

.faq-switch {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.faq-switch p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.faq-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-switch-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.faq-switch-row a:hover {
  background: var(--green);
  color: #f7f4ed;
  border-color: var(--green);
}

.faq-item p,
.faq-item li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.faq-item p {
  margin: 0 0 12px;
}

.faq-item ul {
  margin: 0 0 12px;
  padding: 0 0 0 20px;
  display: grid;
  gap: 4px;
}

body.faq-page {
  background: var(--bg);
}

body.faq-page .social-dock {
  display: none;
}

.social-dock {
  position: fixed;
  right: 12px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-dock a,
.footer-social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dock);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-dock a:hover,
.footer-social a:hover {
  transform: translateY(-1px);
  background: var(--surface);
}

.social-dock img {
  width: 20px;
  height: 20px;
}

.social-dock a[aria-label="TikTok"] img,
.footer-social a[aria-label="TikTok"] img {
  width: 24px;
  height: 24px;
}

html[data-theme="dark"] .social-dock img,
html[data-theme="dark"] .footer-social img {
  filter: invert(0.94) brightness(1.08);
}

body.is-contacts .social-dock {
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding: 22px var(--gutter-right) 22px var(--gutter-left);
  background: var(--green);
  color: #d7e4dc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0;
  display: flex;
  align-items: baseline;
}

.footer-brand .brand-mark,
.footer-brand .brand-rest {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #f7f4ed;
}

.footer-brand .brand-rest {
  color: var(--accent);
}

.footer-tag {
  margin: 0 auto 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 244, 237, 0.62);
}

.footer-social {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 10px;
}

.footer-social a {
  background: rgba(247, 244, 237, 0.12);
  border-color: rgba(247, 244, 237, 0.18);
  box-shadow: none;
}

.footer-social img {
  width: 18px;
  height: 18px;
  filter: invert(0.94) brightness(1.08);
}

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

@media (max-width: 1100px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .site-nav {
    width: 100%;
    grid-column: auto;
    justify-content: center;
  }

  .header-actions {
    justify-self: end;
  }

  .process-layout,
  .contacts-layout,
  .cards-packages,
  .extras {
    grid-template-columns: 1fr;
  }

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

  .page-hero .display {
    max-width: 18ch;
  }
}

@media (max-width: 860px) {
  .cards,
  .cards-packages,
  .faq-hub,
  .faq-grid,
  .step-split,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .btn-header {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px var(--gutter-left) 18px;
    background: var(--header-glass);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

  body.is-nav-open .site-nav {
    display: flex;
    background: var(--bg);
  }

  .social-dock {
    display: none;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 48px;
    border-radius: 12px;
    color: var(--ink);
  }

  body.is-nav-open .site-nav a,
  body.is-nav-open:not(.is-away):not(.is-scrolled) .site-nav a {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
  }

  body.is-nav-open .site-nav a.is-active,
  body.is-nav-open .site-nav a:hover,
  body.is-nav-open:not(.is-away):not(.is-scrolled) .site-nav a.is-active,
  body.is-nav-open:not(.is-away):not(.is-scrolled) .site-nav a:hover {
    background: var(--green);
    color: #f7f4ed;
    border-color: var(--green);
  }

  .service {
    padding: 20px 0;
  }

  .page-section {
    padding: 48px var(--gutter-right) 48px var(--gutter-left);
  }

  .page-hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 16px);
    padding-right: 72px;
  }

  .page-hero .btn-ghost {
    background: rgba(12, 22, 18, 0.45);
  }

  .brand-tag {
    display: none;
  }

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

  .brand-icon {
    width: 48px;
    height: 48px;
  }

  .hero-dirs {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }

  .extras .btn {
    justify-self: start;
  }

  .site-footer {
    padding-right: 16px;
  }

  .footer-tag {
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 430px) {
  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-hero .display {
    max-width: none;
    font-size: clamp(30px, 9vw, 40px);
  }

  .brand-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .faq-card:hover,
  .social-dock a:hover {
    transform: none;
  }
}
