:root {
  --ink: #242222;
  --text: #4f4945;
  --muted: #7b736d;
  --line: #ddd6ce;
  --paper: #faf7f0;
  --soft: #f0e8dc;
  --white: #ffffff;
  --plum: #59475a;
  --moss: #586a52;
  --terra: #b7654f;
  --gold: #c4934b;
  --deep: #221d22;
  --shadow: 0 26px 70px rgba(54, 44, 42, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.56;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 247, 240, .94);
  border-bottom: 1px solid rgba(221, 214, 206, .9);
  backdrop-filter: blur(14px);
}

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

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

.brand-sign {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--plum);
  color: #fff8ed;
  font-weight: 900;
  letter-spacing: .04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

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

.nav a:hover,
.header-contact:hover,
.footer-links a:hover {
  color: var(--terra);
}

.header-contact {
  color: var(--plum);
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #fff8ed;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 23, 28, .88) 0%, rgba(45, 34, 45, .7) 48%, rgba(47, 38, 35, .18) 100%),
    url("../images/stretch-hero.jpg") center / cover no-repeat;
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 720px) 330px;
  align-items: center;
  gap: 64px;
  padding: 74px 0 90px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .section-label {
  color: #f3bc8c;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  color: rgba(255, 248, 237, .86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: .18s ease;
}

.btn-primary {
  background: var(--terra);
  color: #fff8ed;
}

.btn-primary:hover {
  background: #a75541;
}

.btn-light {
  color: #fff8ed;
  border-color: rgba(255, 248, 237, .5);
}

.btn-light:hover {
  background: rgba(255, 248, 237, .12);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-notes span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 248, 237, .28);
  border-radius: 999px;
  color: rgba(255, 248, 237, .84);
  font-size: 14px;
}

.hero-panel {
  align-self: end;
  margin-bottom: 34px;
  padding: 26px;
  border: 1px solid rgba(255, 248, 237, .26);
  border-radius: 8px;
  background: rgba(255, 248, 237, .13);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel b {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
}

.hero-panel p {
  color: rgba(255, 248, 237, .82);
}

.panel-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 237, .22);
}

.panel-price span {
  color: rgba(255, 248, 237, .74);
}

.panel-price strong {
  font-size: 28px;
}

.intro,
.section {
  padding: 92px 0;
}

.intro-grid,
.schedule-grid,
.steps-grid,
.rules-grid,
.request-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

.intro p,
.section-head p,
.photo-copy p,
.schedule-grid p,
.steps-grid p,
.detail-copy p,
.rules-grid > div > p,
.request-grid p,
.contacts-grid p {
  color: var(--text);
  font-size: 18px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

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

.format-card,
.rules article,
.contact-card,
.form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(54, 44, 42, .06);
}

.format-card {
  min-height: 230px;
  padding: 26px;
}

.format-card > span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--terra);
  font-weight: 900;
}

.format-card p,
.rules p,
.steps p {
  margin-bottom: 0;
  color: var(--text);
}

.section-photo {
  padding-top: 40px;
}

.photo-grid,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: 58px;
  align-items: center;
}

.photo-grid img,
.detail-grid img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

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

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

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

.schedule-list div {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(89, 71, 90, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
}

.schedule-list b {
  color: var(--plum);
}

.schedule-list span {
  color: var(--text);
}

.price-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.price-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr .6fr;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-head {
  background: var(--plum);
  color: #fff8ed;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.price-row span:nth-child(2) {
  color: var(--muted);
}

.price-row b {
  justify-self: end;
  font-size: 20px;
}

.section-dark {
  background: var(--deep);
  color: #fff8ed;
}

.section-dark p {
  color: rgba(255, 248, 237, .76);
}

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

.steps div {
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(255, 248, 237, .18);
  border-radius: 8px;
  background: rgba(255, 248, 237, .06);
}

.steps b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--terra);
}

.steps span {
  display: block;
  margin-bottom: 8px;
  font-weight: 850;
}

.section-detail {
  padding-bottom: 104px;
}

.notice {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 20px;
  border-left: 4px solid var(--terra);
  background: var(--white);
  color: var(--text);
}

.notice b {
  color: var(--ink);
}

.rules {
  display: grid;
  gap: 14px;
}

.rules article {
  padding: 24px;
}

.request-section {
  background: #fffdf9;
}

.contact-card {
  display: grid;
  gap: 4px;
  width: min(390px, 100%);
  margin-top: 14px;
  padding: 18px 20px;
}

.contact-card span,
.info-list span,
.form label > span {
  color: var(--muted);
  font-size: 14px;
}

.contact-card a {
  color: var(--plum);
  font-size: 20px;
  font-weight: 850;
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

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

.form input,
.form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}

.checkbox input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form.is-sent {
  outline: 3px solid rgba(88, 106, 82, .24);
}

.contacts {
  padding-top: 82px;
}

.contacts a {
  color: var(--plum);
  font-weight: 800;
}

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

.info-list div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.info-list b {
  font-size: 18px;
}

.site-footer {
  padding: 28px 0;
  background: var(--deep);
  color: rgba(255, 248, 237, .76);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner b,
.footer-inner span {
  display: block;
}

.footer-inner b {
  margin-bottom: 4px;
  color: #fff8ed;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

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

  .hero-layout,
  .intro-grid,
  .schedule-grid,
  .steps-grid,
  .rules-grid,
  .request-grid,
  .contacts-grid,
  .photo-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: auto;
    margin-bottom: 0;
  }

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

  .photo-grid img,
  .detail-grid img {
    min-height: 420px;
  }

  .schedule-list div {
    grid-template-columns: 1fr;
  }
}

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

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

  .brand {
    min-width: 0;
  }

  .brand-sign {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
    gap: 12px;
  }

  .hero,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    padding: 82px 0 44px;
    gap: 34px;
  }

  .lead {
    font-size: 18px;
  }

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

  .intro,
  .section {
    padding: 62px 0;
  }

  .format-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .format-card {
    min-height: 0;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-row b {
    justify-self: start;
  }

  .photo-grid img,
  .detail-grid img {
    min-height: 320px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
