:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --ink: #183b37;
  --muted: #49615b;
  --teal: #12625b;
  --line: #d6dcd1;
  --peach: #f9e4d6;
  --green: #e6ede3;
  font-family: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #ba5a31; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: "PT Serif", Georgia, serif; font-weight: 700; letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 5.6vw, 5.25rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); }
h3 { font-size: 1.25rem; }
.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-intro { margin: .8rem 0 1.8rem; color: var(--muted); }
.section-intro p + p { margin-top: .35rem; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 5; background: white; padding: .65rem 1rem; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; padding-block: .75rem; }
.site-logo { display: inline-block; }
.site-logo img { width: auto; height: clamp(3.5rem, 6vw, 4.75rem); }
nav { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; align-items: center; }
nav a { color: var(--muted); font-weight: 650; font-size: .93rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: .55rem .95rem;
  font-size: .9rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.button-primary { background: var(--teal); color: #fff; }
.button-header, .button-secondary { border-color: #829b91; color: var(--ink); }
.button-primary:hover { background: #0d4943; }
.button-header:hover, .button-secondary:hover { background: var(--green); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.hero {
  display: grid;
  grid-template-columns: 1fr .94fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(2rem, 5vw, 4.5rem);
}
.location { margin-bottom: .8rem; color: var(--teal); font-size: .95rem; font-weight: 750; }
.hero-subtitle { margin-top: .65rem; font-size: clamp(1.15rem, 2.6vw, 1.6rem); }
.hero-lead { font-size: clamp(1rem, 1.7vw, 1.22rem); color: var(--muted); max-width: 46ch; margin-top: 1.2rem; }
.hero .actions { margin-top: 1.25rem; }
.offer { background: var(--peach); max-width: max-content; border-radius: 1rem; padding: .8rem 1.1rem; margin-top: 1.25rem; }
.hero-photo { width: 100%; height: auto; border-radius: 46% 46% 1.5rem 1.5rem / 40% 40% 1.5rem 1.5rem; background: var(--green); }

.about { background: var(--green); padding-block: clamp(2.3rem, 5vw, 4rem); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.4rem, 5vw, 4rem); }
.principles { display: grid; gap: .9rem; margin: 1.2rem 0 0; }
.principles dt { font-weight: 750; }
.principles dd { margin: .2rem 0 0; color: var(--muted); }
.about img { width: 100%; height: auto; border-radius: 1rem; }

.price-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.prices { width: 100%; table-layout: fixed; border-collapse: collapse; line-height: 1.35; }
.prices th, .prices td { padding: .85rem .55rem; text-align: center; border-bottom: 1px solid var(--line); }
.prices thead { background: var(--green); }
.prices th:first-child { padding-left: .7rem; text-align: left; width: 40%; }
.prices td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices small { display: block; margin-top: .2rem; color: var(--muted); font-weight: 450; white-space: normal; overflow-wrap: anywhere; }
.discounts { background: var(--peach); border-radius: 1rem; padding: 1.4rem; }
.discounts p { margin-top: .6rem; color: var(--muted); }
.discounts table { width: 100%; margin-top: 1rem; border-collapse: collapse; }
.discounts th, .discounts td { padding: .45rem .25rem; border-bottom: 1px solid #d7b9aa; text-align: left; }
.discounts td { font-weight: 800; }
.philosophy p { max-width: 76ch; margin-top: .9rem; }

.gallery { background: var(--green); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem 1rem; margin-top: 1.5rem; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: .85rem; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1.2; object-fit: cover; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.04); }

.faq { display: grid; grid-template-columns: 1fr 1.85fr; gap: 1.5rem; }
.faq details { border-top: 1px solid var(--line); padding-block: .8rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { margin-top: .55rem; color: var(--muted); }

.contacts { background: #133f3a; color: #fcf8ef; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.contacts-inner { display: grid; grid-template-columns: 1fr 1.55fr; gap: 2rem; }
.contacts address { font-style: normal; }
.contacts p { margin-top: .75rem; }
.contacts .actions { margin-top: 1rem; }
.contacts .button-primary { background: var(--peach); color: var(--ink); }
.contacts .button-primary:hover { background: #f3d2bd; }
.contacts .button-secondary { color: inherit; border-color: #a9c0b7; }
.contacts .button-secondary:hover { background: #265a53; }

@media (max-width: 900px) {
  .price-layout { grid-template-columns: 1fr; }
  .discounts { max-width: 30rem; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 2rem); }
  .header-inner nav { order: 1; width: 100%; column-gap: 1rem; }
  .hero, .about-inner, .faq, .contacts-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 30rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices th, .prices td { font-size: clamp(.73rem, 2.8vw, .95rem); padding-inline: .2rem; }
  .prices th:first-child { padding-left: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery img { transition: none; }
}
