:root {
  --green-900: #14352c;
  --green-800: #1b4d3e;
  --green-600: #2d8a5e;
  --green-500: #0eb538;
  --green-100: #e7f3ec;
  --mist: #f2f6f3;
  --stone: #2c3530;
  --stone-soft: #5a665f;
  --white: #ffffff;
  --line: rgba(20, 53, 44, 0.12);
  --shadow: 0 18px 50px rgba(20, 53, 44, 0.14);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Geologica", "Segoe UI", sans-serif;
  --font-body: "Onest", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--stone);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(14, 181, 56, 0.08), transparent 60%),
    linear-gradient(180deg, #f7faf8 0%, var(--mist) 40%, #eef4f0 100%);
  line-height: 1.55;
}

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

a {
  color: var(--green-600);
  text-decoration: none;
}

a:hover {
  color: var(--green-800);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-solid {
  background: rgba(247, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 7.5rem;
  padding-block: 0.35rem;
  transition: min-height 0.25s ease;
}

.site-header.is-solid .header-inner {
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-header.is-solid .brand {
  color: var(--green-800);
}

.brand img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  transition: width 0.25s ease, height 0.25s ease;
}

.site-header.is-solid .brand img {
  width: 63px;
  height: 63px;
}

.brand span {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.2;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.site-header.is-solid .nav a {
  color: var(--stone);
}

.nav a:hover {
  color: var(--green-500);
}

.header-phone {
  font-weight: 600;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 8.5rem 0 3rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 28, 22, 0.72) 0%, rgba(10, 28, 22, 0.35) 48%, rgba(10, 28, 22, 0.45) 100%),
    linear-gradient(180deg, rgba(10, 28, 22, 0.35) 0%, transparent 30%, rgba(10, 28, 22, 0.55) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-layout > * {
  min-width: 0;
}

.hero-content {
  max-width: 34rem;
  padding: 0;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  animation: rise 0.9s ease both;
}

.hero-bullets {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  max-width: 34rem;
  display: grid;
  gap: 0.55rem;
  animation: rise 0.9s ease 0.12s both;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.35;
  font-weight: 500;
}

.hero-bullets li::before {
  content: ">>";
  position: absolute;
  left: 0;
  top: 0;
  color: #7dff9b;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease 0.22s both;
}

.hero-form-card {
  justify-self: end;
  width: min(100%, 400px);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: #ffffff;
  color: #2c3530;
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 0 22px 50px rgba(10, 28, 22, 0.28);
  animation: rise 0.9s ease 0.18s both;
}

.hero-form-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #22272b;
  letter-spacing: -0.02em;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}

.hero-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  width: 100%;
}

.date-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.date-input-wrap:focus-within {
  outline: 2px solid rgba(14, 181, 56, 0.35);
  border-color: #0eb538;
}

.hero-form .field label {
  color: #5c6570;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 1;
}

.hero-form .req {
  color: #e11d48;
}

.hero-form .field input[type="text"],
.hero-form .field input[type="tel"],
.hero-form .field input[type="number"] {
  display: block;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid #cfd6dd;
  background: #ffffff;
  color: #22272b;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
}

.hero-form .field input[type="date"] {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-min-logical-width: 0;
  height: 46px;
  min-height: 46px;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #22272b;
  padding: 0 0.75rem 0 0.9rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.hero-form .field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
  padding: 0;
  min-height: 1.3em;
  line-height: 1.3;
}

.hero-form .field input[type="date"]::-webkit-datetime-edit {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 1.3em;
  padding: 0;
  line-height: 1.3;
}

.hero-form .field input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-form .field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.75;
  margin: 0 0 0 auto;
  padding: 0;
  flex-shrink: 0;
  align-self: center;
}

.hero-form .field input::placeholder {
  color: #9aa3ab;
  opacity: 1;
}

.hero-form .field input:focus {
  outline: 2px solid rgba(14, 181, 56, 0.35);
  border-color: #0eb538;
}

.hero-form .field input[type="date"]:focus {
  outline: none;
}

.hero-form .consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: #5c6570;
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero-form .consent input {
  margin-top: 0.15rem;
  accent-color: #2563eb;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn-block {
  width: 100%;
  border-radius: 8px;
  min-height: 48px;
}

.hero-form .form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-form .form-status.is-error {
  color: #b91c1c;
}

.hero-form .form-status.is-ok {
  color: var(--green-600);
}

.cta-band {
  padding: 3.25rem 0;
}

.cta-band--soft {
  background:
    linear-gradient(120deg, rgba(232, 243, 236, 0.95), rgba(247, 250, 248, 0.98)),
    url("../img/gallery-07.jpg") center / cover;
}

.cta-band--deep {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(20, 53, 44, 0.92), rgba(27, 77, 62, 0.86)),
    url("../img/about.jpg") center / cover;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.cta-band-copy {
  max-width: 38rem;
}

.cta-band-copy h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--green-900);
}

.cta-band--deep .cta-band-copy h2 {
  color: var(--white);
}

.cta-band-copy p {
  margin: 0;
  color: var(--stone-soft);
  font-size: 1.05rem;
}

.cta-band--deep .cta-band-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-phone-cta {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-outline {
  background: transparent;
  color: var(--green-800);
  border: 1px solid rgba(27, 77, 62, 0.35);
}

.btn-outline:hover {
  background: rgba(27, 77, 62, 0.06);
  color: var(--green-900);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-800);
  border: 1px solid rgba(27, 77, 62, 0.35);
}

.btn-outline-dark:hover {
  background: rgba(27, 77, 62, 0.06);
  color: var(--green-900);
}

.btn-light {
  background: #fff;
  color: var(--green-800);
}

.btn-light:hover {
  background: #f3f7f4;
  color: var(--green-900);
}

.btn-ghost-on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.specialist {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.specialist-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: center;
}

.specialist-photo {
  position: relative;
  max-width: 360px;
}

.specialist-photo::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  background: linear-gradient(145deg, var(--green-100), rgba(14, 181, 56, 0.18));
  border-radius: 22px;
  z-index: 0;
}

.specialist-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.specialist-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--green-600);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.specialist-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--green-900);
}

.specialist-copy > p {
  margin: 0 0 1.35rem;
  color: var(--stone-soft);
  max-width: 34rem;
  font-size: 1.05rem;
}

.specialist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(14, 181, 56, 0.35);
}

.btn-primary:hover {
  background: #0ca332;
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.btn-phone {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.4rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--green-900);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--stone-soft);
}

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

.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.about-grid img {
  width: 100%;
  height: min(460px, 70vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-copy p + p {
  margin-top: 1rem;
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  color: var(--green-800);
}

.profile-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--green-600);
}

.profile-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.programs {
  display: grid;
  gap: 1rem;
}

.program {
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.7);
  border-left: 4px solid var(--green-500);
  border-radius: 0 12px 12px 0;
}

.program h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
}

.program p {
  margin: 0;
  color: var(--stone-soft);
}

.program p + p {
  margin-top: 0.55rem;
}

.med-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.med-copy {
  display: grid;
  gap: 0.9rem;
}

.med-copy p {
  margin: 0;
  color: var(--stone-soft);
  font-size: 1.02rem;
}

.med-gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #10241c;
  aspect-ratio: 4 / 3;
  width: 100%;
  box-shadow: var(--shadow);
}

.med-slides {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.med-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.med-gallery-slider .room-dots {
  bottom: 1rem;
}

.rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.room {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #10241c;
  color: var(--white);
}

.room-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.room-slides {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.room-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-900);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.room-prev {
  left: 0.55rem;
}

.room-next {
  right: 0.55rem;
}

.room-nav:hover {
  background: #fff;
}

.room-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3.6rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: none;
}

.room-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.room-dots span.is-active {
  background: #fff;
}

.room-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(10, 28, 22, 0.9));
  pointer-events: none;
}

.room h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.room p {
  margin: 0;
  opacity: 0.92;
}

/* Prices — удобно править вручную */
.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--stone);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font: inherit;
  cursor: pointer;
}

.price-tab[aria-selected="true"] {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
}

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

.price-table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table.prices {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

table.prices th,
table.prices td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

table.prices th {
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 600;
}

table.prices tr:last-child td {
  border-bottom: 0;
}

table.prices td:last-child {
  font-weight: 700;
  white-space: nowrap;
  color: var(--green-800);
}

.price-cat,
.price-detail {
  display: inline;
}

.price-detail::before {
  content: " ";
  white-space: pre;
}

.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.review {
  padding: 1.35rem 1.4rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review .score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  color: var(--green-600);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.review .stars {
  color: #f5b301;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  line-height: 1;
}

.review p {
  margin: 0 0 0.75rem;
  color: var(--stone-soft);
}

.review p:last-of-type {
  margin-bottom: 0.9rem;
}

.review cite {
  font-style: normal;
  font-weight: 600;
  color: var(--green-900);
}

.contacts {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-block h3,
.contact-subhead {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--green-900);
}

.contact-subhead {
  margin-top: 1.25rem;
}

.contact-block p,
.contact-block a {
  margin: 0.25rem 0;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.contact-map a {
  display: block;
}

.contact-map img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(8, 18, 14, 0.88);
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-900);
  cursor: pointer;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.7rem;
  height: 2.7rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.06);
}

/* Lead form */
/* leftover lead-form styles removed — form lives in hero card */

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--stone-soft);
  font-size: 0.92rem;
}

.site-footer .disclaimer {
  margin-bottom: 0.75rem;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    color: var(--white);
  }

  .site-header.is-solid .menu-toggle {
    color: var(--green-800);
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(247, 250, 248, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .nav a {
    color: var(--stone) !important;
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .about-grid,
  .rooms,
  .reviews,
  .contacts,
  .hero-layout,
  .specialist-grid,
  .med-grid {
    grid-template-columns: 1fr;
  }

  .specialist-photo {
    max-width: 280px;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    align-items: start;
    padding-top: 5.5rem;
  }

  .hero-form-card {
    justify-self: stretch;
    width: 100%;
    max-width: 420px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-form .field input[type="date"] {
    padding: 0 0.45rem 0 0.7rem;
    font-size: 1rem;
  }

  .hero-form .field input[type="date"]::-webkit-calendar-picker-indicator {
    width: 1rem;
    height: 1rem;
  }

  .price-table-wrap {
    overflow-x: visible;
  }

  table.prices {
    min-width: 0;
    table-layout: fixed;
  }

  table.prices th,
  table.prices td {
    padding: 0.75rem 0.6rem;
  }

  table.prices th:first-child,
  table.prices td:first-child {
    width: 70%;
    white-space: normal;
    line-height: 1.35;
    font-size: 0.88rem;
    vertical-align: top;
  }

  .price-cat,
  .price-detail {
    display: block;
  }

  .price-detail::before {
    content: none;
  }

  .price-detail {
    margin-top: 0.1rem;
  }

  table.prices th:last-child,
  table.prices td:last-child {
    width: 30%;
    text-align: right;
    vertical-align: top;
    padding-left: 0.35rem;
  }

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

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

@media (max-width: 560px) {
  .profile-list {
    grid-template-columns: 1fr;
  }

  .header-phone {
    display: none;
  }

  .brand img {
    width: 84px;
    height: 84px;
  }

  .site-header.is-solid .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .header-inner {
    min-height: 5.5rem;
  }

  .site-header.is-solid .header-inner {
    min-height: 3.75rem;
  }

  .btn-phone {
    font-size: 1.15rem;
  }
}
