﻿:root {
  --charcoal: #24160f;
  --charcoal-2: #342015;
  --wood: #7a4b2e;
  --honey: #d8a75d;
  --honey-2: #f0cf8a;
  --cream: #f0e3d1;
  --cream-2: #fbf3e5;
  --moss: #395744;
  --pine: #173c2d;
  --stone: #756f64;
  --line: rgba(36, 22, 15, 0.14);
  --shadow: 0 24px 70px rgba(36, 22, 15, 0.16);
  --soft-shadow: 0 14px 38px rgba(36, 22, 15, 0.1);
  --radius: 8px;
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 114px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--charcoal);
  background:
    linear-gradient(90deg, rgba(36, 22, 15, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(240, 227, 209, 0.98), rgba(251, 243, 229, 0.96) 42%, rgba(226, 213, 194, 0.98)),
    #f0e3d1;
  background-size: 46px 100%, auto;
  font-family: var(--font, "Segoe UI", Arial, sans-serif);
  overflow-x: hidden;
  --steam-cursor-x: 50vw;
  --steam-cursor-y: 50vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 250, 240, 0.22) 48%, transparent 62%),
    repeating-linear-gradient(90deg, rgba(122, 75, 46, 0.025) 0 1px, transparent 1px 7px);
  opacity: 0.62;
}

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
  }
}

body.no-scroll {
  overflow: hidden;
}

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

::selection {
  color: var(--charcoal);
  background: rgba(240, 207, 138, 0.75);
}

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

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

button,
input,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 2px solid var(--honey-2);
  outline-offset: 3px;
}

.steam-field {
  position: fixed;
  inset: 0;
  height: auto;
  overflow: hidden;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: normal;
  mask-image: linear-gradient(0deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.48) 58%, transparent 76%);
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

body.is-hero-zone .steam-field {
  opacity: 0.2;
  visibility: visible;
  transition-delay: 0s;
}

.steam-field::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--steam-cursor-x) var(--steam-cursor-y), rgba(255, 250, 238, 0.34), rgba(216, 167, 93, 0.08) 16%, transparent 34%),
    radial-gradient(circle at calc(var(--steam-cursor-x) + 58px) calc(var(--steam-cursor-y) - 42px), rgba(79, 61, 43, 0.08), transparent 26%);
  filter: blur(18px);
  transform: translateZ(0);
  transition: opacity 0.34s ease;
}

body.is-hero-zone.steam-active .steam-field::after {
  opacity: 0.46;
}

.steam-field span {
  position: absolute;
  bottom: -42vh;
  width: 10vw;
  height: 62vh;
  border-radius: 999px;
  background:
    linear-gradient(180deg, transparent, rgba(255, 252, 239, 0.2) 22%, rgba(121, 95, 63, 0.08) 52%, transparent),
    radial-gradient(ellipse at 50% 80%, rgba(255, 252, 239, 0.22), rgba(121, 95, 63, 0.08) 48%, transparent 68%);
  filter: blur(22px);
  animation: steam-rise 18s ease-in-out infinite;
}

.steam-field span:nth-child(1) { left: 4%; animation-delay: -1s; }
.steam-field span:nth-child(2) { left: 20%; width: 16vw; animation-delay: -7s; }
.steam-field span:nth-child(3) { left: 42%; width: 11vw; animation-delay: -4s; }
.steam-field span:nth-child(4) { left: 60%; width: 18vw; animation-delay: -10s; }
.steam-field span:nth-child(5) { left: 76%; width: 13vw; animation-delay: -2s; }
.steam-field span:nth-child(6) { left: 88%; width: 10vw; animation-delay: -8s; }
.steam-field span:nth-child(7) { left: 12%; width: 8vw; animation-delay: -13s; }
.steam-field span:nth-child(8) { left: 31%; width: 14vw; animation-delay: -15s; }
.steam-field span:nth-child(9) { left: 52%; width: 9vw; animation-delay: -11s; }
.steam-field span:nth-child(10) { left: 69%; width: 15vw; animation-delay: -17s; }
.steam-field span:nth-child(11) { left: 82%; width: 8vw; animation-delay: -5s; }
.steam-field span:nth-child(12) { left: 96%; width: 12vw; animation-delay: -14s; }
.steam-field span:nth-child(13) { left: -4%; width: 14vw; animation-delay: -19s; }
.steam-field span:nth-child(14) { left: 27%; width: 9vw; animation-delay: -21s; }
.steam-field span:nth-child(15) { left: 49%; width: 16vw; animation-delay: -23s; }
.steam-field span:nth-child(16) { left: 91%; width: 11vw; animation-delay: -20s; }

@keyframes steam-rise {
  0% { transform: translateY(0) translateX(0) scaleX(0.72); opacity: 0; }
  16% { opacity: 0.46; }
  68% { opacity: 0.25; }
  100% { transform: translateY(-134vh) translateX(42px) scaleX(1.45); opacity: 0; }
}

.smoke-puff {
  position: fixed;
  left: 0;
  top: 0;
  width: clamp(108px, 14vw, 190px);
  height: clamp(108px, 14vw, 190px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 7;
  opacity: 0;
  background:
    radial-gradient(circle at 45% 45%, rgba(255, 255, 255, 0.78), rgba(230, 219, 199, 0.44) 38%, rgba(68, 57, 46, 0.16) 62%, transparent 78%);
  filter: blur(15px);
  box-shadow: 0 0 46px rgba(93, 78, 58, 0.12);
  mix-blend-mode: normal;
  animation: smoke-puff 1.8s ease-out forwards;
  will-change: transform, opacity;
}

@keyframes smoke-puff {
  0% {
    opacity: 0.18;
    transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) scale(0.35);
  }
  18% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy)), 0) translate(-50%, -50%) scale(1.55);
  }
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 14px;
  color: #fff8ea;
  background: linear-gradient(180deg, rgba(49, 31, 21, 0.78), rgba(31, 19, 13, 0.7));
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  z-index: 30;
  box-shadow: 0 18px 58px rgba(13, 8, 5, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(49, 31, 21, 0.94), rgba(31, 19, 13, 0.9));
  border-color: rgba(240, 207, 138, 0.24);
  box-shadow: 0 16px 50px rgba(13, 8, 5, 0.24);
}

.nav-dim {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  opacity: 0;
  background: rgba(16, 10, 6, 0.26);
  backdrop-filter: blur(2px);
  transition: opacity 0.28s ease;
}

.nav-dim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.02);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: inset 0 0 0 1px rgba(240, 207, 138, 0.48), 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 248, 234, 0.7);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  padding: 11px 12px;
  border-radius: var(--radius);
  color: rgba(255, 248, 234, 0.84);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.header-cta,
.btn,
.review-controls button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-cta,
.btn,
.review-controls button,
.tab,
.custom-select-button,
.custom-select-option,
.location-card,
.phone-link,
.control-group label {
  position: relative;
  overflow: hidden;
}

.tap-ripple {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 250, 240, 0.52), rgba(240, 207, 138, 0.2) 45%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  animation: tap-ripple 0.62s ease-out forwards;
}

.header-cta > :not(.tap-ripple),
.btn > :not(.tap-ripple),
.review-controls button > :not(.tap-ripple),
.tab > :not(.tap-ripple),
.custom-select-button > :not(.tap-ripple),
.custom-select-option > :not(.tap-ripple),
.location-card > :not(.tap-ripple),
.phone-link > :not(.tap-ripple),
.control-group label > :not(.tap-ripple) {
  position: relative;
  z-index: 1;
}

.is-pressed {
  transition-duration: 0.12s !important;
}

.btn.is-pressed,
.header-cta.is-pressed,
.tab.is-pressed,
.review-controls button.is-pressed,
.custom-select-button.is-pressed,
.custom-select-option.is-pressed,
.location-card.is-pressed,
.phone-link.is-pressed,
.control-group label.is-pressed {
  transform: scale(0.985);
}

@keyframes tap-ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(28);
  }
}

.header-cta {
  padding: 12px 18px;
  color: var(--charcoal);
  background: var(--honey-2);
}

.header-cta:hover,
.btn:hover,
.review-controls button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: #fff8ea;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.17);
  transform: scale(0.98);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #fff8ea;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -4%;
  height: 28vh;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(240, 227, 209, 0.34), rgba(255, 250, 240, 0.1) 54%, transparent);
  filter: blur(18px);
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  width: 100%;
  height: 100%;
  z-index: -3;
  filter: saturate(0.95) contrast(1.04) brightness(0.78);
  transform: scale(1.02);
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

.hero-cover {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(16, 10, 6, 0.18), rgba(36, 22, 15, 0.04)),
    var(--hero-image) center/cover;
  transform: scale(1.025);
  transition: opacity 1.35s ease, transform 8s ease;
  will-change: opacity, transform;
}

.hero-cover.is-active {
  opacity: 1;
  transform: scale(1.065);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 10, 6, 0.92), rgba(36, 22, 15, 0.58) 48%, rgba(36, 22, 15, 0.16)),
    linear-gradient(0deg, rgba(36, 22, 15, 0.95), rgba(36, 22, 15, 0.04) 45%);
}

@keyframes hero-breathe {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-0.8%, -0.6%, 0); }
}

.hero-steam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8vh;
  height: 72vh;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.9;
  mask-image: linear-gradient(0deg, #000 0%, #000 68%, transparent 100%);
}

.hero-steam span {
  position: absolute;
  bottom: -24vh;
  width: clamp(34px, 7vw, 96px);
  height: 68vh;
  border-radius: 999px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 251, 236, 0.18) 28%, rgba(255, 251, 236, 0.06) 64%, transparent 100%),
    radial-gradient(ellipse at 50% 76%, rgba(255, 251, 236, 0.22), transparent 58%);
  filter: blur(16px);
  transform-origin: 50% 100%;
  animation: hero-steam-rise 10s ease-in-out infinite;
}

.hero-steam::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 34vh;
  background: linear-gradient(0deg, rgba(240, 227, 209, 0.34), rgba(255, 251, 236, 0.13) 58%, transparent);
  filter: blur(18px);
}

.hero-steam span:nth-child(1) { left: -2%; animation-delay: -1s; }
.hero-steam span:nth-child(2) { left: 7%; width: clamp(44px, 9vw, 124px); animation-delay: -5s; }
.hero-steam span:nth-child(3) { left: 16%; animation-delay: -8s; }
.hero-steam span:nth-child(4) { left: 25%; width: clamp(42px, 8vw, 112px); animation-delay: -3s; }
.hero-steam span:nth-child(5) { left: 35%; animation-delay: -7s; }
.hero-steam span:nth-child(6) { left: 45%; width: clamp(48px, 10vw, 132px); animation-delay: -2s; }
.hero-steam span:nth-child(7) { left: 56%; animation-delay: -9s; }
.hero-steam span:nth-child(8) { left: 66%; width: clamp(40px, 8vw, 110px); animation-delay: -4s; }
.hero-steam span:nth-child(9) { left: 75%; animation-delay: -6s; }
.hero-steam span:nth-child(10) { left: 84%; width: clamp(50px, 10vw, 134px); animation-delay: -10s; }
.hero-steam span:nth-child(11) { left: 92%; animation-delay: -12s; }
.hero-steam span:nth-child(12) { left: 98%; width: clamp(36px, 7vw, 98px); animation-delay: -5.8s; }
.hero-steam span:nth-child(13) { left: 4%; width: clamp(52px, 10vw, 140px); animation-delay: -13s; }
.hero-steam span:nth-child(14) { left: 30%; width: clamp(38px, 7vw, 92px); animation-delay: -14.6s; }
.hero-steam span:nth-child(15) { left: 62%; width: clamp(56px, 11vw, 150px); animation-delay: -15.8s; }
.hero-steam span:nth-child(16) { left: 89%; width: clamp(44px, 9vw, 120px); animation-delay: -16.4s; }

@keyframes hero-steam-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(0.75) rotate(0deg); }
  18% { opacity: 0.58; }
  58% { opacity: 0.42; }
  100% { opacity: 0; transform: translate3d(28px, -54vh, 0) scaleX(1.5) rotate(6deg); }
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
  padding: 132px 0 58px;
}

.hero-copy {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.eyebrow,
.tag {
  margin: 0 0 12px;
  color: var(--honey);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.02;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 248, 234, 0.83);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions,
.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  text-align: center;
}

.btn.primary {
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--honey-2), var(--honey));
  box-shadow: 0 16px 40px rgba(216, 167, 93, 0.25);
}

.btn.secondary {
  color: #fff8ea;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section .btn.secondary,
.shop-panel .btn.secondary {
  color: var(--charcoal);
  background: rgba(36, 22, 15, 0.05);
  border-color: var(--line);
}

.builder .btn.secondary {
  color: #fff8ea;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.small {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--charcoal);
  background: var(--honey-2);
}

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

.hero-facts span,
.chips span,
.product-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 248, 234, 0.88);
  background: rgba(255, 255, 255, 0.08);
}

.hero-offer {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.18), rgba(255, 250, 240, 0.1)),
    rgba(36, 22, 15, 0.18);
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(13, 8, 5, 0.22);
}

.offer-topline,
.price-row,
.summary-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.offer-topline span,
.summary-price span {
  color: rgba(255, 248, 234, 0.72);
}

.offer-topline strong,
.price-row strong,
.summary-price strong {
  white-space: nowrap;
}

.hero-offer h2 {
  margin: 18px 0 12px;
  font-size: 1.65rem;
}

.hero-offer p {
  margin: 0 0 22px;
  color: rgba(255, 248, 234, 0.78);
  line-height: 1.58;
}

.text-link {
  position: relative;
  color: var(--honey-2);
  font-weight: 800;
  background-image: linear-gradient(90deg, currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: color 0.22s ease, background-size 0.28s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: #ffe1a2;
  background-size: 100% 2px;
}

.section {
  position: relative;
  z-index: 2;
  padding: 92px max(18px, calc((100vw - 1180px) / 2));
  overflow: clip;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section::after {
  content: none;
}

@keyframes section-vapor {
  from { transform: translate3d(-2%, 1%, 0) scale(1.04); opacity: 0.1; }
  to { transform: translate3d(2%, -1%, 0) scale(1.08); opacity: var(--section-steam-opacity); }
}

main section[id] {
  scroll-margin-top: 124px;
}

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

.section-head h2 {
  color: var(--charcoal);
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-head p:not(.eyebrow) {
  color: var(--stone);
  font-size: 1.1rem;
  line-height: 1.65;
}

.programs,
.reviews,
.contacts {
  background: var(--cream-2);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tab {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.tab:hover,
.tab:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(36, 22, 15, 0.08);
}

.tab.active {
  color: #fff8ea;
  background: var(--pine);
  border-color: var(--pine);
  box-shadow: 0 14px 34px rgba(23, 60, 45, 0.18);
}

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

.program-card {
  position: relative;
  display: grid;
  grid-template-columns: 205px 1fr;
  height: 100%;
  min-height: 286px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(246, 235, 217, 0.82)),
    rgba(255, 250, 240, 0.76);
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.program-card.is-filter-leaving {
  pointer-events: none;
  animation: card-filter-out 0.2s ease both;
}

.program-card.is-filter-entering {
  animation: card-filter-in 0.36s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-delay: var(--filter-delay, 0ms);
}

.program-card.is-filter-hidden {
  display: none;
}

@keyframes card-filter-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.982); filter: blur(3px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@keyframes card-filter-out {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
  to { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.985); filter: blur(3px); }
}

.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 167, 93, 0.34);
  box-shadow: 0 24px 70px rgba(36, 22, 15, 0.14);
}

.program-card.featured {
  grid-column: span 2;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  min-height: 304px;
}

.program-card.featured .card-media {
  aspect-ratio: auto;
  min-height: 0;
}

.program-card.outcall-card {
  grid-column: span 2;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  min-height: 286px;
}

.program-card.outcall-card .card-media {
  aspect-ratio: auto;
  min-height: 0;
}

.card-media {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: #d8cab9;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.program-card:hover .card-media img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}

.program-card:not(.featured) .card-media {
  aspect-ratio: auto;
  min-height: 0;
}

.program-card:not(.featured) .card-media img {
  object-position: center center;
}

.program-card.featured .card-media img {
  object-position: center 48%;
}

.program-grid .program-card:nth-child(2) .card-media img {
  object-position: center 38%;
}

.program-grid .program-card:nth-child(3) .card-media img {
  object-position: center 42%;
}

.program-grid .program-card:nth-child(4) .card-media img {
  object-position: center 46%;
}

.program-grid .program-card:nth-child(5) .card-media img {
  object-position: center 52%;
}

.program-card.outcall-card .card-media img {
  object-position: center 18%;
}

.program-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.program-body .tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 6px 9px;
  color: var(--wood);
  border: 1px solid rgba(122, 75, 46, 0.14);
  border-radius: var(--radius);
  background: rgba(216, 167, 93, 0.14);
}

.program-body h3,
.builder h3,
.master-card h3,
.shop-school h2,
.faq summary,
.contacts h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.program-body h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.72rem);
}

.program-body p,
.program-body li,
.master-card p,
.master-reviews p,
.shop-panel p,
.school-panel p,
.review-card p,
.faq p,
.contact-copy p {
  color: var(--stone);
  line-height: 1.58;
}

.program-body ul {
  margin: 4px 0 16px;
  padding-left: 18px;
}

.price-row {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.builder {
  color: #fff8ea;
  background:
    linear-gradient(120deg, rgba(24, 42, 31, 0.94), rgba(36, 22, 15, 0.9)),
    url("media/shop-herbs-brooms.webp") center/cover;
  background-blend-mode: normal, normal;
  overflow: visible;
}

.builder::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.1), transparent 28%, rgba(216, 167, 93, 0.12) 72%, transparent),
    linear-gradient(180deg, rgba(16, 10, 6, 0.28), transparent 36%, rgba(16, 10, 6, 0.24));
  z-index: 0;
}

.builder > * {
  position: relative;
  z-index: 1;
}

.builder .section-head h2,
.builder .builder-controls h3,
.builder .builder-summary h3 {
  color: #fff8ea;
}

.builder .section-head p:not(.eyebrow) {
  color: rgba(255, 248, 234, 0.72);
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 18px;
  align-items: start;
}

.builder-mini-summary {
  display: none;
}

.builder-controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.control-group,
.builder-summary {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.11);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(13, 8, 5, 0.11);
}

.control-group.is-select-open {
  z-index: 80;
}

.control-group h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.control-group label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.control-group label:first-of-type {
  border-top: 0;
}

.control-group label:hover,
.control-group label:has(input:checked) {
  background: rgba(255, 250, 240, 0.11);
}

.control-group label:has(input:checked) {
  box-shadow: inset 0 0 0 1px rgba(240, 207, 138, 0.36);
  animation: option-soft-pop 0.34s cubic-bezier(0.19, 1, 0.22, 1);
}

.control-group input[type="radio"],
.control-group input[type="checkbox"] {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  margin: 0;
  appearance: none;
  border: 1px solid rgba(255, 248, 234, 0.54);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(246, 235, 217, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 18px rgba(13, 8, 5, 0.1);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.control-group input[type="radio"] {
  border-radius: 50%;
}

.control-group input[type="radio"]::after,
.control-group input[type="checkbox"]::after {
  content: "";
  display: block;
  transform: scale(0);
  transition: transform 0.18s cubic-bezier(0.19, 1, 0.22, 1);
}

.control-group input[type="radio"]::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--charcoal);
}

.control-group input[type="checkbox"]::after {
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
  transform: rotate(-45deg) scale(0);
}

.control-group input[type="radio"]:checked,
.control-group input[type="checkbox"]:checked {
  border-color: rgba(240, 207, 138, 0.96);
  background: linear-gradient(135deg, var(--honey-2), var(--honey));
  box-shadow: 0 0 0 4px rgba(240, 207, 138, 0.12), 0 8px 20px rgba(13, 8, 5, 0.16);
  animation: control-check-pop 0.26s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes option-soft-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.012); }
  100% { transform: scale(1); }
}

@keyframes control-check-pop {
  0% { transform: scale(0.88); }
  58% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.control-group input[type="radio"]:checked::after {
  transform: scale(1);
}

.control-group input[type="checkbox"]:checked::after {
  transform: rotate(-45deg) scale(1);
}

.control-group input[type="radio"]:focus-visible,
.control-group input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--honey-2);
  outline-offset: 3px;
}

.control-group select {
  width: 100%;
  min-height: 48px;
  padding: 0 44px 0 14px;
  color: #fff8ea;
  border: 1px solid rgba(240, 207, 138, 0.22);
  border-radius: var(--radius);
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--honey-2) 50%),
    linear-gradient(135deg, var(--honey-2) 50%, transparent 50%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.16), rgba(255, 250, 240, 0.08)),
    rgba(36, 22, 15, 0.32);
  background-position:
    calc(100% - 23px) 50%,
    calc(100% - 17px) 50%,
    0 0,
    0 0;
  background-size: 7px 7px, 7px 7px, auto, auto;
  background-repeat: no-repeat;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 28px rgba(13, 8, 5, 0.1);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.control-group select:focus {
  border-color: rgba(240, 207, 138, 0.62);
  background:
    linear-gradient(45deg, transparent 50%, var(--honey-2) 50%),
    linear-gradient(135deg, var(--honey-2) 50%, transparent 50%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.2), rgba(255, 250, 240, 0.1)),
    rgba(36, 22, 15, 0.42);
  background-position:
    calc(100% - 23px) 50%,
    calc(100% - 17px) 50%,
    0 0,
    0 0;
  background-size: 7px 7px, 7px 7px, auto, auto;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 3px rgba(240, 207, 138, 0.2), 0 16px 34px rgba(13, 8, 5, 0.14);
}

.control-group select option {
  color: var(--charcoal);
  background: #fffaf0;
}

.control-group.has-custom-select select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  z-index: 3;
}

.custom-select.is-open {
  z-index: 60;
}

.custom-select-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 0 48px 0 16px;
  color: #fff8ea;
  text-align: left;
  border: 1px solid rgba(240, 207, 138, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0, rgba(240, 207, 138, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.16), rgba(255, 250, 240, 0.07)),
    rgba(27, 18, 12, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 34px rgba(13, 8, 5, 0.15);
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.custom-select-button::before,
.custom-select-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.custom-select-button::before {
  right: 14px;
  top: 50%;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(240, 207, 138, 0.18);
  border-radius: 50%;
  background: rgba(240, 207, 138, 0.08);
  transform: translateY(-50%);
}

.custom-select-button::after {
  right: 23px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--honey-2);
  border-bottom: 2px solid var(--honey-2);
  transform: translateY(-62%) rotate(45deg);
  transition: transform 0.22s ease;
}

.custom-select-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-button:hover,
.custom-select.is-open .custom-select-button {
  border-color: rgba(240, 207, 138, 0.62);
  background:
    radial-gradient(circle at 18% 0, rgba(240, 207, 138, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.2), rgba(255, 250, 240, 0.1)),
    rgba(27, 18, 12, 0.64);
  box-shadow: 0 0 0 3px rgba(240, 207, 138, 0.16), 0 22px 42px rgba(13, 8, 5, 0.2);
}

.custom-select.is-open .custom-select-button::after {
  transform: translateY(-34%) rotate(225deg);
}

.custom-select-button:focus-visible,
.custom-select-option:focus-visible {
  outline: 2px solid var(--honey-2);
  outline-offset: 3px;
}

.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 4px;
  max-height: min(320px, 56vh);
  padding: 8px;
  border: 1px solid rgba(240, 207, 138, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(54, 35, 24, 0.96), rgba(28, 18, 12, 0.98)),
    rgba(28, 18, 12, 0.98);
  box-shadow: 0 24px 60px rgba(8, 5, 3, 0.34);
  backdrop-filter: blur(16px);
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.custom-select.is-open .custom-select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.custom-select-option {
  width: 100%;
  padding: 12px 12px;
  color: rgba(255, 248, 234, 0.84);
  text-align: left;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 4px);
  background: transparent;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  color: #fff8ea;
  border-color: rgba(240, 207, 138, 0.2);
  background: rgba(255, 250, 240, 0.1);
}

.custom-select-option.is-selected {
  color: #24160f;
  border-color: rgba(240, 207, 138, 0.48);
  background: linear-gradient(135deg, var(--honey-2), #efc16f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.custom-select.is-open .custom-select-option {
  animation: select-option-in 0.24s ease both;
  animation-delay: calc(var(--option-index, 0) * 34ms);
}

@keyframes select-option-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.control-group.compact {
  position: relative;
}

.control-group.compact::after {
  content: none;
}

.builder-summary {
  position: sticky;
  top: 108px;
}

.builder-summary .tag {
  color: var(--honey-2);
}

.builder-summary p,
.summary-list {
  color: rgba(255, 248, 234, 0.76);
  line-height: 1.55;
}

.summary-list {
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-price strong {
  color: var(--honey-2);
  font-size: 1.55rem;
}

.builder-summary.is-updated {
  animation: summary-glow 0.42s ease both;
}

.builder-summary.is-updated .summary-price strong {
  animation: price-flash 0.42s ease both;
}

@keyframes summary-glow {
  0% { box-shadow: 0 18px 55px rgba(13, 8, 5, 0.11); }
  45% { box-shadow: 0 18px 55px rgba(13, 8, 5, 0.11), 0 0 0 4px rgba(240, 207, 138, 0.16); }
  100% { box-shadow: 0 18px 55px rgba(13, 8, 5, 0.11); }
}

@keyframes price-flash {
  0% { transform: translateY(0); color: var(--honey-2); }
  45% { transform: translateY(-2px); color: #ffe7aa; }
  100% { transform: translateY(0); color: var(--honey-2); }
}

@keyframes mini-summary-in {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes mini-summary-pulse {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-1px) scale(1.018); }
  100% { transform: translateY(0) scale(1); }
}

.masters {
  background: var(--cream);
}

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

.master-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.9), rgba(246, 235, 217, 0.82)),
    rgba(255, 250, 240, 0.76);
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.master-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 167, 93, 0.34);
  box-shadow: 0 24px 70px rgba(36, 22, 15, 0.14);
}

.master-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: #cbbba6;
}

.masters-grid .master-card:nth-child(2) > img {
  object-position: center 16%;
}

.masters-grid .master-card:nth-child(3) > img {
  object-position: center 8%;
}

.master-card > div:not(.avatar-mark) {
  padding: 22px;
}

.primary-master {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: stretch;
}

.primary-master > img {
  height: 100%;
  min-height: 320px;
  max-height: 340px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 24%;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips span,
.product-list span {
  color: var(--charcoal);
  border-color: var(--line);
  background: rgba(216, 167, 93, 0.16);
}

.master-reviews {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.master-reviews summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  color: var(--pine);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.master-reviews summary:hover,
.master-reviews summary:focus-visible {
  color: var(--wood);
  padding-left: 2px;
}

.master-reviews summary::-webkit-details-marker {
  display: none;
}

.master-reviews summary::after {
  content: "+";
  margin-left: auto;
  color: var(--honey);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.24s ease, color 0.2s ease;
}

.master-reviews.is-open summary::after {
  content: "-";
  transform: rotate(180deg);
  color: var(--wood);
}

.master-reviews p {
  margin: 0 0 10px;
  padding-left: 14px;
  border-left: 3px solid var(--honey);
  font-style: italic;
  animation: review-in 0.24s ease both;
}

.details-content {
  overflow: hidden;
  transition: height 0.28s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.24s ease;
  will-change: height, opacity;
}

@keyframes review-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.master-card.avatar {
  display: grid;
  grid-template-rows: auto 1fr;
}

.avatar-mark {
  display: grid;
  height: 170px;
  place-items: center;
  color: #fff8ea;
  background:
    linear-gradient(135deg, rgba(57, 87, 68, 0.92), rgba(122, 75, 46, 0.9)),
    url("media/07_location_collage_no_text.jpg") center/cover;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
}

.shop-school {
  background: var(--pine);
  color: #fff8ea;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.shop-panel,
.school-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 420px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(16, 10, 6, 0.86), rgba(16, 10, 6, 0.58) 58%, rgba(16, 10, 6, 0.42)),
    linear-gradient(180deg, rgba(36, 22, 15, 0.22), rgba(36, 22, 15, 0.58)),
    url("media/shop-herbs-brooms.webp") center/cover;
  box-shadow: 0 24px 70px rgba(13, 8, 5, 0.16);
}

.school-panel {
  background:
    linear-gradient(90deg, rgba(16, 10, 6, 0.9), rgba(16, 10, 6, 0.64) 58%, rgba(16, 10, 6, 0.48)),
    linear-gradient(180deg, rgba(36, 22, 15, 0.24), rgba(36, 22, 15, 0.68)),
    url("media/program-four-hands.webp") center 42%/cover;
}

.shop-panel > *,
.school-panel > * {
  position: relative;
  z-index: 1;
}

.shop-school h2,
.shop-school p {
  color: #fff8ea;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.48);
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.product-list span {
  color: #fff8ea;
  border-color: rgba(240, 207, 138, 0.24);
  background: rgba(16, 10, 6, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.shop-panel .btn.secondary {
  color: var(--charcoal);
  background: var(--honey-2);
  border-color: transparent;
}

.review-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  gap: 14px;
}

.review-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.92), rgba(240, 227, 209, 0.9)),
    var(--cream);
  opacity: 0.72;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card::before {
  content: "“";
  display: block;
  height: 30px;
  color: rgba(216, 167, 93, 0.7);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 0.8;
}

.review-card.active {
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.review-card.is-review-entering {
  animation: review-switch-in 0.42s cubic-bezier(0.19, 1, 0.22, 1) both;
}

@keyframes review-switch-in {
  from { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.985); }
  to { opacity: 1; transform: translate3d(0, -6px, 0) scale(1); }
}

.review-card strong {
  color: var(--pine);
}

.review-controls {
  display: none;
  gap: 10px;
  margin-top: 16px;
}

.review-controls button {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--charcoal);
  background: var(--honey-2);
}

.faq {
  background: #f7efe3;
}

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

.faq details {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.7);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

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

.faq summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 1.16rem;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--honey);
  font-size: 1.4rem;
  font-weight: 800;
  transition: transform 0.24s ease, color 0.2s ease;
}

.faq details.is-open {
  background: rgba(255, 250, 240, 0.9);
  border-color: rgba(216, 167, 93, 0.28);
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}

.faq details.is-open summary::after {
  content: "-";
  transform: rotate(180deg);
  color: var(--wood);
}

.faq p {
  margin-top: 0;
  animation: review-in 0.24s ease both;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 24px;
  align-items: start;
}

.contact-copy h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--pine);
  font-weight: 900;
  transition: color 0.22s ease, transform 0.22s ease;
}

.phone-link:hover,
.phone-link:focus-visible {
  color: var(--wood);
  transform: translateX(3px);
}

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

.location-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.location-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 167, 93, 0.3);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow);
}

.location-card span {
  color: var(--honey);
  font-weight: 900;
}

.location-card strong {
  font-size: 1.25rem;
}

.location-card small {
  color: var(--stone);
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 34px max(18px, calc((100vw - 1180px) / 2));
  color: rgba(255, 248, 234, 0.78);
  background:
    linear-gradient(135deg, rgba(23, 60, 45, 0.92), rgba(36, 22, 15, 0.98)),
    var(--charcoal);
  border-top: 1px solid rgba(240, 207, 138, 0.18);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.8fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: start;
}

.footer-brand span {
  display: block;
  margin-bottom: 8px;
  color: #fff8ea;
  font-weight: 900;
}

.footer-brand p,
.footer-legal small {
  margin: 0;
  line-height: 1.55;
}

.footer-contacts {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.footer-contacts a,
.footer-legal a,
.legal-shell a:not(.btn) {
  color: var(--honey-2);
  font-weight: 850;
  transition: color 0.22s ease, opacity 0.22s ease;
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible,
.legal-shell a:not(.btn):hover,
.legal-shell a:not(.btn):focus-visible {
  color: #ffe1a2;
  opacity: 0.92;
}

.footer-legal {
  display: grid;
  gap: 10px;
}

.footer-legal small {
  color: rgba(255, 248, 234, 0.62);
}

.legal-body {
  background:
    linear-gradient(180deg, rgba(240, 227, 209, 0.98), rgba(251, 243, 229, 0.98)),
    var(--cream-2);
}

.legal-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 132px max(18px, calc((100vw - 980px) / 2)) 76px;
}

.legal-shell {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(246, 235, 217, 0.9));
  box-shadow: var(--soft-shadow);
}

.legal-shell h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
}

.legal-lead {
  max-width: 820px;
  margin-bottom: 30px;
  color: var(--stone);
  font-size: 1.12rem;
  line-height: 1.65;
}

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

.legal-grid article,
.legal-note {
  padding: 20px;
  border: 1px solid rgba(36, 22, 15, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.6);
}

.legal-grid h2 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.legal-grid p,
.legal-note p {
  margin: 0;
  color: var(--stone);
  line-height: 1.62;
}

.legal-note {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.sticky-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 210px;
  min-height: 50px;
  gap: 10px;
  z-index: 40;
  pointer-events: none;
  transition: min-height 0.26s ease;
}

.sticky-contact a {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 12px 15px;
  border-radius: var(--radius);
  color: var(--charcoal);
  border: 1px solid rgba(36, 22, 15, 0.16);
  background: linear-gradient(135deg, rgba(240, 207, 138, 0.96), rgba(216, 167, 93, 0.92));
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(13, 8, 5, 0.2);
  opacity: 0;
  transform: translateX(18px) scale(0.98);
  transition: transform 0.42s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.28s ease, box-shadow 0.2s ease;
}

.sticky-contact.is-visible {
  pointer-events: auto;
}

.sticky-contact.is-visible.show-wa .sticky-wa,
.sticky-contact.is-visible.show-tg .sticky-tg,
.sticky-contact.is-visible:hover a,
.sticky-contact.is-visible:focus-within a,
.sticky-contact.is-visible.is-expanded a {
  opacity: 1;
  transform: translateX(0);
}

.sticky-contact.is-visible.show-wa .sticky-wa,
.sticky-contact.is-visible.show-tg .sticky-tg {
  transition-delay: 0.06s;
}

.sticky-contact.is-visible:hover,
.sticky-contact.is-visible:focus-within,
.sticky-contact.is-visible.is-expanded {
  min-height: 108px;
}

.sticky-contact.is-visible:hover a,
.sticky-contact.is-visible:focus-within a,
.sticky-contact.is-visible.is-expanded a {
  grid-area: auto;
  transition-delay: 0s;
}

.sticky-contact a:hover,
.sticky-contact a:focus-visible {
  transform: translateX(-4px) !important;
  box-shadow: 0 18px 46px rgba(13, 8, 5, 0.24);
}

.sticky-tg {
  color: #fff8ea;
  background: linear-gradient(135deg, rgba(57, 87, 68, 0.96), rgba(36, 22, 15, 0.92));
  border-color: rgba(255, 248, 234, 0.12);
}

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

.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.992);
  transition:
    opacity 0.58s cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms),
    transform 0.68s cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-ready .program-card.reveal,
.motion-ready .master-card.reveal,
.motion-ready .review-card.reveal {
  transform: translate3d(0, 26px, 0) scale(0.985);
}

.motion-ready .program-card.reveal.is-visible,
.motion-ready .master-card.reveal.is-visible,
.motion-ready .review-card.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    max-height: 0;
    padding: 0 10px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.985);
    transform-origin: top center;
    background:
      linear-gradient(180deg, rgba(44, 28, 19, 0.98), rgba(25, 15, 10, 0.94)),
      rgba(36, 22, 15, 0.95);
    border: 1px solid rgba(255, 248, 234, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(13, 8, 5, 0.24);
    backdrop-filter: blur(18px);
    transition:
      opacity 0.28s ease,
      transform 0.42s cubic-bezier(0.19, 1, 0.22, 1),
      max-height 0.42s cubic-bezier(0.19, 1, 0.22, 1),
      padding 0.32s ease,
      visibility 0s linear 0.32s;
  }

  .site-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 13px 16px;
    font-size: 1.04rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.19, 1, 0.22, 1), background 0.2s ease, color 0.2s ease;
  }

  .site-nav.is-open {
    max-height: min(430px, calc(100svh - 86px));
    padding: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .site-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav.is-open a:nth-child(1) { transition-delay: 0.05s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 0.09s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 0.13s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 0.17s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 0.21s; }
  .site-nav.is-open a:nth-child(6) { transition-delay: 0.25s; }

  .site-nav:not(.is-open) a {
    transition-delay: 0s;
  }

  .header-cta {
    display: none;
  }

  .hero-inner,
  .builder-layout,
  .contacts-layout,
  .split,
  .primary-master,
  .footer-inner,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 22px;
    padding-bottom: 34px;
  }

  .hero-offer {
    max-width: 560px;
  }

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

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

  .program-card.featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .program-card.outcall-card {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .builder-controls {
    grid-template-columns: 1fr;
  }

  .builder-summary {
    position: static;
  }

  .primary-master {
    grid-column: span 2;
  }

  .primary-master > img {
    min-height: 300px;
    max-height: 330px;
  }

  .review-track {
    grid-template-columns: 1fr;
  }

  .review-card {
    display: none;
  }

  .review-card.active {
    display: block;
  }

  .review-controls {
    display: flex;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 82px;
  }

  main section[id] {
    scroll-margin-top: 88px;
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 10px 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 10, 6, 0.84), rgba(36, 22, 15, 0.6) 45%, rgba(36, 22, 15, 0.96)),
      linear-gradient(90deg, rgba(36, 22, 15, 0.62), rgba(36, 22, 15, 0.18));
  }

  .hero-inner {
    width: calc(100% - 24px);
    padding-top: 116px;
    padding-bottom: 108px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.65rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions,
  .summary-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .hero-facts span {
    justify-content: center;
    text-align: center;
  }

  .hero-offer {
    display: none;
  }

  .section {
    padding: 56px 14px;
  }

  .builder-mini-summary {
    position: fixed;
    top: 74px;
    left: 14px;
    right: 14px;
    z-index: 28;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 13px;
    color: #fff8ea;
    border: 1px solid rgba(255, 248, 234, 0.18);
    border-radius: var(--radius);
    background: rgba(36, 22, 15, 0.72);
    box-shadow: 0 16px 42px rgba(13, 8, 5, 0.22);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
  }

  .builder-mini-summary.is-floating {
    opacity: 1;
    transform: translateY(0);
  }

  .builder-mini-summary span {
    color: var(--honey-2);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .builder-mini-summary strong {
    min-width: 0;
    overflow: hidden;
    font-size: 0.9rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .builder-mini-summary em {
    color: var(--honey-2);
    font-style: normal;
    font-size: 0.94rem;
    font-weight: 900;
    white-space: nowrap;
  }

  .builder-mini-summary.is-updated {
    animation: mini-summary-pulse 0.34s ease both;
  }

  .section-head h2 {
    font-size: clamp(1.9rem, 8.4vw, 2.35rem);
    line-height: 1.06;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.5;
  }

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

  .program-card.featured,
  .program-card.outcall-card,
  .primary-master {
    grid-column: auto;
  }

  .program-card,
  .program-card.featured,
  .program-card.outcall-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 0;
  }

  .card-media,
  .program-card.featured .card-media,
  .program-card.outcall-card .card-media,
  .program-card:not(.featured) .card-media {
    min-height: 0;
    aspect-ratio: auto;
  }

  .program-body {
    min-width: 0;
    padding: 14px;
  }

  .program-body h3 {
    font-size: 1.16rem;
  }

  .program-body p {
    margin: 8px 0;
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .program-body ul {
    display: none;
  }

  .program-body .tag {
    margin-bottom: 7px;
    font-size: 0.72rem;
  }

  .program-body .price-row {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding-top: 10px;
  }

  .program-body .price-row strong {
    white-space: normal;
    font-size: 0.92rem;
  }

  .program-body .price-row .btn {
    width: auto;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .master-card:not(.primary-master) {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .master-card > div:not(.avatar-mark) {
    min-width: 0;
    padding: 15px;
  }

  .primary-master > img {
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
    object-fit: cover;
    object-position: center 18%;
  }

  .master-card:not(.primary-master) > img {
    width: 100%;
    height: 100%;
    min-height: 168px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 68% top;
  }

  .masters-grid .master-card:nth-child(2) > img {
    object-position: 68% top;
  }

  .masters-grid .master-card:nth-child(3) > img {
    object-position: 50% top;
  }

  .master-card.avatar {
    grid-template-rows: none;
  }

  .avatar-mark {
    height: auto;
    min-height: 100%;
    font-size: 2.4rem;
  }

  .master-card p,
  .master-reviews p {
    font-size: 0.92rem;
  }

  .shop-panel,
  .school-panel {
    min-height: auto;
    padding: 24px;
  }

  .control-group label {
    grid-template-columns: auto 1fr;
  }

  .control-group label strong {
    grid-column: 2;
  }

  .site-footer {
    padding: 26px 14px 92px;
  }

  .footer-inner {
    gap: 18px;
  }

  .legal-main {
    padding: 96px 14px 46px;
  }

  .legal-shell {
    padding: 22px;
  }

  .legal-grid article,
  .legal-note {
    padding: 16px;
  }

  .offer-topline,
  .price-row,
  .summary-price {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .program-body .price-row {
    align-items: center;
    flex-direction: row;
  }

  .program-body .price-row .btn {
    width: auto;
  }

  .sticky-contact {
    left: auto;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: 186px;
  }

  .sticky-contact a {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .steam-field {
    opacity: 0;
  }

  .steam-field span {
    display: none;
  }

  .steam-field::after {
    display: none;
  }

  .smoke-puff {
    width: 110px;
    height: 110px;
    filter: blur(13px);
    animation-duration: 1.15s;
  }

  .hero-backdrop {
    animation: none;
  }

  .hero-steam span:nth-child(n + 9) {
    display: none;
  }

  .hero-steam span {
    animation-duration: 14s;
  }

  .motion-ready .reveal,
  .motion-ready .program-card.reveal,
  .motion-ready .master-card.reveal,
  .motion-ready .review-card.reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .motion-ready .builder-mini-summary.reveal {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .motion-ready .builder-mini-summary.reveal.is-floating {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .section::after,
  .hero-backdrop,
  .hero-steam span,
  .steam-field span {
    animation: none !important;
  }
}
