:root {
  --bg: #f7f3ec;
  --bg-soft: #efe6d8;
  --bg-dark: #111111;
  --card: #ffffff;
  --text: #171717;
  --muted: #6a6258;
  --line: rgba(23, 23, 23, 0.12);
  --gold: #d9ad5c;
  --gold-dark: #a8792d;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.13);
  --container: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(217, 173, 92, 0.28), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(17, 17, 17, 0.08), transparent 28rem);
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 236, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #111;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text span {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #f1cf85);
  color: #111;
  box-shadow: 0 14px 28px rgba(168, 121, 45, 0.24);
}

.btn-gold:hover {
  box-shadow: 0 18px 38px rgba(168, 121, 45, 0.3);
}

.btn-ghost {
  border-color: rgba(17, 17, 17, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.52);
}

.btn-ghost.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.btn-small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

.hero {
  padding: 86px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: stretch;
}

.hero-content,
.hero-card,
.reviews-placeholder,
.booking-form,
.map-card,
.service-card,
.benefits-grid article,
.gallery-item,
.accordion details {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-content {
  border-radius: calc(var(--radius) + 12px);
  padding: clamp(32px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.96), rgba(31, 27, 22, 0.95)),
    radial-gradient(circle at top right, rgba(217, 173, 92, 0.36), transparent 18rem);
  color: #fff;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 830px;
  font-size: clamp(42px, 7vw, 86px);
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions,
.inline-actions,
.contact-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: calc(var(--radius) + 12px);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(16px);
}

.rating-card,
.mini-contact {
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
}

.rating-number {
  display: block;
  font-size: 96px;
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 950;
}

.stars {
  display: block;
  margin-top: 10px;
  color: var(--gold-dark);
  font-size: 24px;
  letter-spacing: 0.08em;
}

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

.rating-card a {
  font-weight: 800;
  color: var(--gold-dark);
}

.mini-contact {
  display: grid;
  gap: 8px;
  align-content: start;
}

.mini-contact span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.mini-contact strong {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.section {
  padding: 78px 0;
}

.section-dark {
  background: #111;
  color: #fff;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 840px;
  margin-bottom: 32px;
}

.section h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.section-head p:not(.eyebrow),
.booking-grid > div > p,
.trust-layout p,
.reviews-placeholder p,
.gallery-item p,
.benefits-grid p,
.accordion p,
.contacts-content p {
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-head p:not(.eyebrow),
.section-dark .booking-grid > div > p,
.section-dark .contacts-content p {
  color: rgba(255, 255, 255, 0.72);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

.service-card .price-note {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--gold-dark);
  font-weight: 900;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 36px;
  align-items: start;
}

.notice {
  margin-top: 24px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(217, 173, 92, 0.42);
  border-radius: 18px;
  background: rgba(217, 173, 92, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

.booking-form {
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 34px);
  background: #fff;
  color: var(--text);
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

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

label,
.form-row label {
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(217, 173, 92, 0.2);
}

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

.error {
  min-height: 18px;
  color: #b3261e;
  font-weight: 700;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 8px;
  color: var(--muted);
}

.consent input {
  width: auto;
  margin-top: 5px;
}

.consent a {
  color: var(--gold-dark);
  font-weight: 850;
}

.form-status {
  min-height: 28px;
  margin: 14px 0 0;
  font-weight: 850;
}

.form-status.success {
  color: #1c7c3d;
}

.form-status.fail {
  color: #b3261e;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

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

.trust-cards article {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  border: 1px solid var(--line);
}

.trust-cards strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.trust-cards span {
  color: var(--muted);
  font-weight: 800;
}

.reviews-placeholder {
  display: grid;
  gap: 18px;
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 42px);
  background: #111;
  color: #fff;
}

.reviews-placeholder h3 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.reviews-placeholder p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 760px;
}

.widget-target {
  min-height: 120px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.54);
}

.widget-target::before {
  content: "Место для официального виджета отзывов";
}

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

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
}

.gallery-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: linear-gradient(135deg, #1a1a1a, #4b3a1f 52%, #d9ad5c);
}

.gallery-item figcaption {
  padding: 16px;
}

.gallery-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.gallery-item p {
  margin: 0;
  font-size: 14px;
}

.center-actions {
  justify-content: center;
  margin-top: 28px;
}

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

.benefits-grid article {
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.benefits-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.benefits-grid p {
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 32px;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  border-radius: 20px;
  background: #fff;
  padding: 18px 20px;
}

.accordion summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

.accordion p {
  margin-bottom: 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.contact-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 900;
}

.contact-list dd {
  margin: 4px 0 0;
  font-size: 19px;
  font-weight: 850;
}

.messenger-note {
  margin-top: 18px;
}

.map-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.map-card iframe {
  display: block;
  min-height: 420px;
  border: 0;
}

.footer {
  padding: 28px 0 92px;
  background: #080808;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner,
.footer-inner div {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer a {
  color: #fff;
  font-weight: 750;
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
}

.mobile-cta a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.mobile-cta a:nth-child(2) {
  background: var(--gold);
  color: #111;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .booking-grid,
  .trust-layout,
  .faq-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
  }

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

  .trust-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text span,
  .header-inner > .btn {
    display: none;
  }

  .hero {
    padding: 46px 0 46px;
  }

  .section {
    padding: 54px 0;
  }

  .hero-content,
  .hero-card,
  .booking-form,
  .reviews-placeholder {
    border-radius: 24px;
  }

  .hero-actions .btn,
  .inline-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .services-grid,
  .gallery-grid,
  .benefits-grid,
  .form-pair {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    display: grid;
  }

  .footer {
    padding-bottom: 96px;
  }
}

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

  *, *::before, *::after {
    transition: none !important;
  }
}
