@font-face {
  font-family: Manrope;
  src: url("manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  font-family: Manrope, Arial, sans-serif;
  font-size: 100%;
  --paper: #f5f5f0;
  --ink: #172936;
  --body: #41515a;
  --dark: #101d29;
  --dark-deep: #0c1823;
  --light: #f4f4ee;
  --quiet: #bbc8cb;
  --accent: #ffb15e;
  --line: #d7ddda;
  --radius: 16px;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, p, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #d27524; outline-offset: 4px; }
[id] { scroll-margin-block-start: 1.5rem; }

.wrap { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 8vw, 8rem); }
.section h2, .footer h2 {
  max-width: 18ch;
  font-size: clamp(2.15rem, 4.45vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.section-heading { margin-bottom: clamp(1.75rem, 4vw, 3.25rem); }
.intro { max-width: 45rem; margin-top: 1.15rem; color: var(--body); font-size: clamp(1.03rem, 1.6vw, 1.26rem); line-height: 1.62; }
.prose { color: var(--body); font-size: 1rem; line-height: 1.72; }
.prose p + p { margin-top: 1.1rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: fit-content;
  color: #88501d;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .11em;
}
.eyebrow::before { width: 1.75rem; height: 2px; background: currentColor; content: ""; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.topbar { position: relative; z-index: 1; background: var(--dark); color: var(--light); }
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5rem;
  gap: 2rem;
  border-bottom: 1px solid #33424e;
}
.brand, .header-phone, .navigation a { text-decoration: none; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .75rem; font-size: .92rem; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.brand-mark { display: inline-grid; position: relative; place-items: center; width: 2rem; height: 2rem; border: 1px solid #805b3b; border-radius: .45rem; color: var(--accent); }
.brand-mark::before { width: .87rem; height: .87rem; transform: rotate(45deg); border: 1.5px solid currentColor; content: ""; }
.brand-mark::after { position: absolute; left: calc(50% - .21rem); top: calc(50% - .21rem); width: .42rem; height: .42rem; transform: rotate(45deg); background: currentColor; content: ""; }
.navigation { display: flex; align-items: center; gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.navigation a { color: #d2dbe0; font-size: .93rem; font-weight: 650; }
.header-phone { justify-self: end; color: var(--accent); font-size: .95rem; font-weight: 800; white-space: nowrap; }
.navigation a:hover, .footer-phone:hover, .header-phone:hover { text-decoration: underline; text-underline-offset: .3em; }

.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--light); }
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: linear-gradient(90deg, #6e8fa01f 1px, transparent 1px), linear-gradient(#6e8fa01f 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 68% 48%, #000 8%, transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; align-items: center; min-height: clamp(34rem, 53vw, 46rem); }
.hero-copy { position: relative; z-index: 1; width: 52%; padding-block: 4.6rem; }
.hero-copy .eyebrow { color: var(--accent); }
.hero h1 { margin-top: 1.45rem; font-size: clamp(3rem, 5.4vw, 5rem); font-weight: 800; line-height: 1.035; letter-spacing: -.072em; }
.hero-description { max-width: 29rem; margin-top: 1.7rem; color: #c4d0d5; font-size: clamp(1rem, 1.55vw, 1.22rem); line-height: 1.67; }
.hero-art {
  position: absolute;
  top: 50%;
  right: -5.15%;
  width: 69%;
  aspect-ratio: 1.5;
  transform: translateY(-50%);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 95%, transparent), linear-gradient(0deg, transparent, #000 13%, #000 89%, transparent);
  mask-composite: intersect;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.about { background: var(--paper); }
.about .eyebrow { margin-bottom: 1.4rem; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; column-gap: clamp(2rem, 6vw, 6.5rem); row-gap: 2rem; }
.about-text { grid-column: 1; }
.about-figure { grid-row: span 2; align-self: start; margin-top: .2rem; padding: clamp(.5rem, 2vw, 1.15rem); background: #e6e9e4; border: 1px solid #dadfda; border-radius: var(--radius); }
.about-figure img { width: 100%; height: auto; border-radius: .5rem; }

.advantages { background: #e9eee9; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; padding: 0; margin: 0 0 2.75rem; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 1rem; min-height: 6rem; padding: 1rem; background: #f6f7f2; border: 1px solid #dbe1da; border-radius: 12px; font-size: 1rem; font-weight: 750; line-height: 1.35; }
.feature-list li:nth-child(1) { --icon: url("advantage-1.svg"); }
.feature-list li:nth-child(2) { --icon: url("advantage-2.svg"); }
.feature-list li:nth-child(3) { --icon: url("advantage-3.svg"); }
.feature-list li:nth-child(4) { --icon: url("advantage-4.svg"); }
.feature-list li:nth-child(5) { --icon: url("advantage-5.svg"); }
.feature-list li:nth-child(6) { --icon: url("advantage-6.svg"); }
.feature-icon { display: grid; flex: 0 0 2.6rem; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: .6rem; background: #e8eee8; }
.feature-icon::before { width: 1.65rem; height: 1.65rem; background: #2f6157; mask: var(--icon) center / contain no-repeat; content: ""; }
.gallery { position: relative; }
.gallery-track { display: grid; grid-auto-columns: min(75%, 53rem); grid-auto-flow: column; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #839692 #d6dfd8; padding-bottom: .35rem; }
.gallery-frame { overflow: hidden; border-radius: var(--radius); aspect-ratio: 1.82; background: #cbd6d1; scroll-snap-align: start; }
.gallery-frame img, .photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-controls { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .85rem; }
.gallery-button { display: grid; min-width: 2.75rem; min-height: 2.75rem; place-items: center; color: var(--ink); background: #f6f7f2; border: 1px solid #aebcb6; border-radius: 50%; }
.gallery-button:hover { background: #dbe6de; }
.gallery-button span { display: block; width: .56rem; height: .56rem; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateX(-1px) rotate(45deg); }
.gallery-button:first-child span { transform: translateX(1px) rotate(-135deg); }

.planning { background: var(--paper); }
.planning-intro, .planning-details { display: grid; grid-template-columns: 1.02fr .98fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.planning-intro { align-items: center; }
.planning-intro h2 { max-width: 13ch; }
.planning-photo { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; border-radius: var(--radius); }
.planning-details { margin-top: clamp(2.3rem, 5vw, 4.5rem); }
.documents { padding: clamp(1.3rem, 3vw, 2.4rem); background: #e7ece7; border-radius: var(--radius); font-size: 1rem; line-height: 1.55; }
.documents p { margin-bottom: .8rem; font-weight: 800; }
.documents ul { margin: 0; padding-left: 1.22rem; color: var(--body); }
.documents li + li { margin-top: .45rem; }
.documents li::marker { color: #397066; }

.pricing { background: #dfe8e2; }
.price-list { border-top: 1px solid #acbdb4; }
.price-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding-block: 1.4rem; border-bottom: 1px solid #acbdb4; }
.price-list dt { max-width: 41rem; font-size: clamp(1rem, 1.7vw, 1.24rem); font-weight: 700; }
.price-list dd { font-size: clamp(1.25rem, 3vw, 2.55rem); font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
.photo-grid a { display: block; overflow: hidden; aspect-ratio: 1.33; background: #bfcec5; border-radius: .75rem; }
.photo-grid a:hover img { filter: brightness(1.12); }
.image-dialog { max-width: min(94vw, 75rem); max-height: 92vh; padding: 0; overflow: visible; background: var(--dark); border: 0; border-radius: .65rem; }
.image-dialog::backdrop { background: #0c1823e8; }
.image-dialog img { max-height: 92vh; border-radius: .65rem; object-fit: contain; }
.image-close { position: absolute; top: .65rem; right: .65rem; width: 2.75rem; height: 2.75rem; background: #102331; border: 1px solid #e1ecec; border-radius: 50%; }
.image-close::before, .image-close::after { position: absolute; inset: calc(50% - 1px) auto auto calc(50% - .5rem); width: 1rem; height: 2px; transform: rotate(45deg); background: #fff; content: ""; }
.image-close::after { transform: rotate(-45deg); }

.callback { background: var(--dark); color: var(--light); }
.callback-inner { display: grid; grid-template-columns: 1fr .9fr; gap: 3rem; align-items: center; }
.callback .intro { color: var(--quiet); }
.request-form { display: grid; align-content: start; gap: .75rem; }
.request-form input { width: 100%; min-height: 3.4rem; padding: .8rem 1rem; color: var(--light); background: #1d2c37; border: 1px solid #61727c; border-radius: .45rem; }
.request-form input::placeholder { opacity: 1; color: #c4d0d5; }
.request-form button { min-height: 3.4rem; color: #1e1d17; background: var(--accent); border: 0; border-radius: .45rem; font-weight: 800; }
.request-form button:hover { background: #ffbf7e; }
.form-status { min-height: 1.5rem; color: var(--quiet); font-weight: 700; }
.form-status a { color: var(--accent); white-space: nowrap; }

.footer { padding-block: 3rem 1.75rem; color: var(--quiet); background: var(--dark-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 3rem; font-size: .97rem; line-height: 1.65; }
.footer h2 { color: var(--light); font-size: clamp(2rem, 3vw, 2.8rem); }
.footer-phone { display: inline-block; margin-block: 1rem .75rem; color: var(--accent); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; text-decoration: none; }
.footer-requisites p + p { margin-top: .8rem; }
.copyright { margin-top: 2.25rem; padding-top: 1.15rem; border-top: 1px solid #33424e; font-size: .88rem; }

@media (max-width: 980px) {
  .wrap { width: min(100% - 3.5rem, 76rem); }
  .hero-copy { width: 54%; }
  .hero-art { right: -8%; width: 69%; }
  .feature-list li { gap: .75rem; }
  .about-grid { column-gap: 2.75rem; }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 2.5rem); }
  .topbar-inner { grid-template-columns: 1fr auto; min-height: 0; padding-block: 1rem .85rem; gap: .9rem; }
  .brand { gap: .55rem; font-size: .82rem; }
  .brand-mark { width: 1.65rem; height: 1.65rem; }
  .header-phone { grid-area: 1 / 2; font-size: .83rem; }
  .navigation { grid-column: 1 / -1; }
  .navigation a { font-size: .86rem; }
  .hero-inner { min-height: 0; }
  .hero-copy { width: 100%; padding: 3rem 0 0; }
  .hero h1 { max-width: 12.5ch; font-size: clamp(2.32rem, 8.5vw, 4.1rem); letter-spacing: -.06em; }
  .hero-description { max-width: 31rem; margin-top: 1rem; }
  .hero-art { position: relative; inset: auto; width: calc(100% + 1.5rem); margin: .25rem -.75rem 1rem; transform: none; }
  .about-grid, .planning-intro, .planning-details, .callback-inner, .footer-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .about-figure { grid-row: auto; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-track { grid-auto-columns: 86%; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .feature-list li { align-items: flex-start; flex-direction: column; gap: .6rem; font-size: .93rem; }
  .feature-icon { flex-basis: auto; }
  .price-list > div { grid-template-columns: 1fr; gap: .4rem; }
}

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