@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown: #52443d;
  --brown-2: #65554a;
  --sand: #ebe4e0;
  --white: #ffffff;
  --gold: #ceb692;
  --clay: #9b6745;
  --green: #42523c;
  --mist: #efefef;
  --ink: #221d1a;
  --muted: rgba(82, 68, 61, 0.68);
  --line: rgba(82, 68, 61, 0.18);
  --shadow: 0 22px 70px rgba(82, 68, 61, 0.12);
  --shadow-soft: 0 10px 40px rgba(82, 68, 61, 0.07);
  --glass: rgba(255, 255, 255, 0.74);
  --font-body: "Gilroy", Arial, sans-serif;
  --font-heading: "Romile", Georgia, "Times New Roman", serif;
  --container: 1180px;
  --pad: clamp(20px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 720px;
  font-size: clamp(40px, 4.9vw, 68px);
}

h2 {
  color: var(--brown);
  font-size: clamp(34px, 5vw, 68px);
}

h3 {
  color: var(--brown);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.15;
  font-weight: 500;
}

.section-pad {
  padding: clamp(86px, 10vw, 136px) var(--pad);
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 32px), 1260px);
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 12px 14px 12px 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(82, 68, 61, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand img {
  width: 150px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  color: var(--brown-2);
  font-size: 13px;
  font-weight: 500;
}

.site-nav a,
.header-cta,
.btn,
.catalog-tabs button,
.practice-card a,
.finder-card a {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.contact-card a:hover {
  color: var(--clay);
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: var(--brown);
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.btn-secondary {
  color: var(--brown);
  background: transparent;
  border-color: var(--brown);
}

.btn-secondary:hover {
  color: var(--white);
  background: var(--brown);
}

.btn-light {
  color: var(--brown);
  background: var(--white);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: 156px;
  padding-bottom: clamp(30px, 3.2vw, 46px);
  background: var(--sand);
  overflow: hidden;
}

.hero-content,
.split-layout,
.practice-feature,
.booking-panel,
.location-grid {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 840px);
  gap: 0;
  align-items: center;
  justify-content: center;
}

.section-label {
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-text {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
}

.hero-copy {
  position: relative;
  width: min(100%, 840px);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 54px);
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 58%, rgba(235, 228, 224, 0.68) 100%),
    linear-gradient(90deg, rgba(206, 182, 146, 0.18), rgba(66, 82, 60, 0.08));
  border: 1px solid rgba(82, 68, 61, 0.1);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(82, 68, 61, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.hero-copy::before {
  position: absolute;
  top: 0;
  left: clamp(28px, 4vw, 54px);
  right: clamp(28px, 4vw, 54px);
  z-index: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(206, 182, 146, 0.95), rgba(155, 103, 69, 0.66), rgba(66, 82, 60, 0.35));
  border-radius: 0 0 999px 999px;
  content: "";
}

.hero-copy::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 0;
  width: 32%;
  height: 42%;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(206, 182, 146, 0.14) 42% 43%, transparent 43%),
    linear-gradient(135deg, transparent 0 56%, rgba(82, 68, 61, 0.08) 56% 57%, transparent 57%);
  content: "";
  pointer-events: none;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-proof {
  position: relative;
  width: min(100%, 640px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 26px;
  align-items: center;
  margin-top: 28px;
  padding: 20px 24px 20px 28px;
  color: var(--brown-2);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(82, 68, 61, 0.13);
  border-left: 4px solid rgba(206, 182, 146, 0.92);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(82, 68, 61, 0.08);
}

.hero-proof strong {
  grid-row: span 2;
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 400;
  line-height: 0.9;
  text-align: right;
}

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

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  filter: brightness(0.9) saturate(0.9);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.66) 0%, rgba(235, 228, 224, 0.46) 48%, rgba(235, 228, 224, 0.12) 100%);
  content: "";
}

.studio-glimpse {
  padding: clamp(28px, 5vw, 64px) var(--pad) clamp(52px, 7vw, 88px);
  background: linear-gradient(180deg, var(--sand) 0%, var(--white) 100%);
}

.studio-glimpse-frame {
  position: relative;
  width: min(100%, var(--container));
  height: clamp(300px, 45vw, 560px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(82, 68, 61, 0.13);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.studio-glimpse-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(0.94) contrast(0.98);
}

.studio-glimpse-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 29, 26, 0.02) 38%, rgba(34, 29, 26, 0.42) 100%);
  content: "";
}

.studio-glimpse-caption {
  position: absolute;
  left: clamp(22px, 4vw, 46px);
  bottom: clamp(20px, 4vw, 42px);
  z-index: 1;
  width: min(440px, calc(100% - 44px));
  color: var(--white);
}

.studio-glimpse-caption span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-glimpse-caption strong {
  display: block;
  max-width: 420px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.02;
}

.section-head {
  width: min(100%, var(--container));
  margin: 0 auto 54px;
  text-align: center;
}

.section-head.compact {
  width: min(100%, 820px);
}

.section-head p:not(.section-label) {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.pain-section,
.core,
.testimonials,
.location {
  background: var(--white);
}

.pain-grid,
.finder-grid,
.catalog-grid,
.offers-grid,
.quote-grid,
.program-strip {
  width: min(100%, var(--container));
  margin: 0 auto;
}

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

.pain-grid article {
  min-height: 270px;
  padding: 30px;
  background: var(--sand);
  border: 1px solid rgba(82, 68, 61, 0.11);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pain-grid article:nth-child(even) {
  background: var(--mist);
}

.pain-grid article:hover,
.finder-card:hover,
.practice-card:hover,
.offer-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.icon-mark,
.feature-number,
.practice-card span,
.offer-card > span {
  display: inline-block;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.icon-mark {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--brown);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(82, 68, 61, 0.08);
}

.pain-grid h3 {
  margin-top: 54px;
  margin-bottom: 18px;
}

.pain-grid p,
.split-copy p,
.feature-copy p,
.finder-card p,
.practice-card p,
.program-strip p,
.offer-card p,
.booking-panel p,
.location-grid p,
.faq-list p,
blockquote p {
  color: var(--muted);
}

.about,
.finder,
.catalog,
.booking,
.programs {
  background: var(--sand);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 630px;
}

.image-main {
  width: 76%;
  height: 590px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 270px;
  object-fit: cover;
  border: 12px solid var(--sand);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-copy p {
  margin-top: 24px;
  font-size: 18px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 42px 0;
}

.stat-row div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.stat-row strong {
  display: block;
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.stat-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: var(--brown-2);
}

.clean-list li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

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

.finder-card,
.practice-card,
.offer-card,
blockquote,
.contact-card {
  border: 1px solid rgba(82, 68, 61, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.finder-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  backdrop-filter: blur(12px);
}

.finder-card p {
  margin-top: 18px;
}

.finder-card a,
.practice-card a {
  width: max-content;
  margin-top: auto;
  color: var(--clay);
  font-size: 14px;
  font-weight: 700;
}

.finder-card a:hover,
.practice-card a:hover {
  color: var(--brown);
}

.practice-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  margin-top: 70px;
}

.practice-feature:first-of-type {
  margin-top: 0;
}

.practice-feature.reverse .feature-copy {
  order: 2;
}

.feature-copy h3 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 400;
}

.feature-copy p {
  margin-top: 22px;
  font-size: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 12px 16px;
  color: var(--brown-2);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.feature-media {
  height: 460px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

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

.catalog-tabs {
  width: min(100%, var(--container));
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: -18px auto 36px;
}

.catalog-tabs button {
  min-height: 42px;
  padding: 10px 18px;
  color: var(--brown);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.catalog-tabs button.is-active,
.catalog-tabs button:hover {
  color: var(--white);
  background: var(--brown);
  border-color: var(--brown);
}

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

.practice-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  overflow: hidden;
}

.practice-card:nth-child(6n + 2),
.practice-card:nth-child(6n + 5) {
  background: rgba(239, 239, 239, 0.82);
}

.practice-card.is-hidden {
  display: none;
}

.card-media {
  position: relative;
  height: 230px;
  margin: -28px -28px 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(235, 228, 224, 0.72), rgba(255, 255, 255, 0.8)),
    var(--sand);
  border-radius: 18px 18px 12px 12px;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.practice-card h3 {
  margin-top: 18px;
}

.practice-card p {
  margin: 16px 0 22px;
}

.practice-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: auto 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

.practice-card dd {
  margin: 0;
  color: var(--brown);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.program-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
  border: 0;
}

.program-strip article {
  min-height: 245px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(82, 68, 61, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.program-strip p {
  margin-top: 18px;
}

.offers {
  background: var(--white);
}

.offers-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
}

.offer-card {
  position: relative;
  padding: 34px;
  background: var(--sand);
  text-align: center;
}

.offer-card.featured {
  color: var(--brown);
  background: var(--sand);
  border: 2px solid var(--clay);
}

.offer-card.featured > span {
  position: absolute;
  top: -15px;
  left: 50%;
  padding: 9px 18px;
  color: var(--white);
  background: var(--clay);
  border-radius: 999px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.offer-card h3 {
  margin-top: 20px;
}

.offer-card p {
  margin-top: 18px;
}

.offer-value {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  color: var(--brown);
}

.offer-value strong {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 400;
  line-height: 0.9;
}

.offer-value span {
  padding-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.offer-note {
  min-height: 28px;
  margin-bottom: 30px;
  color: var(--muted);
}

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

blockquote {
  margin: 0;
  padding: 34px;
  background: var(--white);
}

blockquote::before {
  display: block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 18px;
  letter-spacing: 0.1em;
  content: "★★★★★";
}

blockquote p {
  font-size: 18px;
}

blockquote cite {
  display: block;
  margin-top: 28px;
  color: var(--brown);
  font-style: normal;
  font-weight: 700;
}

.faq {
  background: var(--mist);
}

.faq-list {
  width: min(100%, 900px);
  margin: 0 auto;
}

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0;
  color: var(--brown);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--clay);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 720px;
  padding: 0 0 28px;
}

.booking {
  background: var(--brown);
}

.booking-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 5vw, 62px);
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(34, 29, 26, 0.24);
}

.booking-panel h2 {
  margin-bottom: 24px;
}

.booking-form {
  display: grid;
  gap: 18px;
}

.booking-form label {
  display: grid;
  gap: 8px;
}

.booking-form span {
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-form input,
.booking-form select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--brown);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
}

.booking-form input:focus,
.booking-form select:focus {
  border-color: var(--brown);
  background: var(--white);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.form-status {
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.form-status.is-success {
  color: var(--green);
  background: rgba(66, 82, 60, 0.08);
  border-color: rgba(66, 82, 60, 0.22);
}

.form-status.is-error {
  color: var(--clay);
  background: rgba(155, 103, 69, 0.08);
  border-color: rgba(155, 103, 69, 0.24);
}

.form-status[hidden] {
  display: none;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.location-grid p {
  max-width: 650px;
  margin-top: 22px;
  font-size: 18px;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.contact-card a {
  color: var(--brown);
  font-weight: 600;
}

.wa-widget {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 70;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.wa-widget > * {
  pointer-events: auto;
}

.wa-widget-toggle {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(34, 29, 26, 0.24);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wa-widget-panel {
  position: relative;
  width: min(430px, calc(100vw - 32px));
  display: grid;
  gap: 18px;
  padding: 36px 46px;
  background: var(--white);
  border: 1px solid rgba(82, 68, 61, 0.14);
  border-radius: 20px;
  box-shadow: 0 24px 74px rgba(34, 29, 26, 0.22);
}

.wa-widget-panel[hidden] {
  display: none;
}

.wa-widget-close {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.wa-widget-panel label {
  display: grid;
  gap: 8px;
}

.wa-widget-panel span {
  color: var(--brown);
  font-size: 15px;
  font-weight: 500;
}

.wa-widget-panel input {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  color: var(--brown);
  background: var(--white);
  border: 1px solid rgba(82, 68, 61, 0.24);
  border-radius: 8px;
  outline: none;
}

.wa-widget-panel input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(66, 82, 60, 0.12);
}

.wa-widget-submit {
  min-height: 48px;
  color: var(--white);
  background: #42b83a;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.wa-widget-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.wa-widget-status {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.wa-widget-status.is-success {
  color: var(--green);
  background: rgba(66, 82, 60, 0.08);
}

.wa-widget-status.is-error {
  color: var(--clay);
  background: rgba(155, 103, 69, 0.08);
}

.wa-widget-status[hidden] {
  display: none;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 56px var(--pad);
  color: var(--white);
  background: var(--brown);
  text-align: center;
}

.site-footer img {
  width: 190px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 170px auto auto;
  }

  .site-nav {
    gap: 14px;
  }

  .header-cta {
    padding-inline: 18px;
  }

  .hero-content,
  .split-layout,
  .practice-feature,
  .booking-panel {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 100%;
  }

  .studio-glimpse-frame {
    height: clamp(330px, 72vw, 520px);
  }

  .image-stack {
    min-height: 520px;
  }

  .image-main {
    height: 500px;
  }

  .practice-feature.reverse .feature-copy {
    order: 0;
  }

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

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

  .location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr auto;
    padding: 10px 12px 10px 16px;
  }

  .brand img {
    width: 128px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: var(--brown);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 1.5px;
    display: block;
    background: var(--white);
    border-radius: 999px;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

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

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    inset: 76px 10px auto;
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav.is-open a:last-child {
    border-bottom: 0;
  }

  .hero.section-pad {
    min-height: auto;
    padding-top: 124px;
    padding-bottom: 42px;
  }

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

  h1 {
    font-size: 38px;
  }

  .hero-text {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-copy {
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 16px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.74) 42%, rgba(235, 228, 224, 0.54) 100%);
  }

  .hero-media img {
    filter: brightness(0.96) saturate(0.86);
  }

  .studio-glimpse {
    padding-top: 22px;
    padding-bottom: 58px;
  }

  .studio-glimpse-frame {
    height: 380px;
    border-radius: 18px;
  }

  .studio-glimpse-frame img {
    object-position: 48% 54%;
  }

  .studio-glimpse-caption strong {
    max-width: 280px;
  }

  .section-pad {
    padding-top: 74px;
    padding-bottom: 74px;
  }

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

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
  }

  .btn,
  .header-cta {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 24px;
    padding: 16px 20px;
  }

  .hero-proof strong {
    grid-row: auto;
    font-size: 38px;
    text-align: left;
  }

  .pain-grid,
  .catalog-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid article {
    min-height: 220px;
  }

  .pain-grid h3 {
    margin-top: 48px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: auto;
  }

  .image-main,
  .image-small {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }

  .image-small {
    margin-top: 14px;
  }

  .feature-media {
    height: 340px;
  }

  .practice-card,
  .finder-card,
  .offer-card,
  blockquote,
  .booking-panel {
    padding: 24px;
  }

  .card-media {
    height: 220px;
    margin: -24px -24px 22px;
  }

  .wa-widget {
    right: 14px;
    bottom: 14px;
  }

  .wa-widget-toggle {
    width: 56px;
    height: 56px;
    font-size: 16px;
  }

  .wa-widget-panel {
    width: calc(100vw - 28px);
    padding: 32px 28px 28px;
  }

  .practice-card dl {
    grid-template-columns: 1fr;
  }

  .practice-card dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
