:root {
  color-scheme: light;
  --paper: #f5f1e6;
  --card: #fcfaf4;
  --ink: #17271e;
  --muted: #4f5a51;
  --forest: #143426;
  --deep: #10291e;
  --line: #d8d7ca;
  --sage: #c5cfb9;
  --gutter: clamp(20px, 5vw, 72px);
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #a96734; outline-offset: 5px; }
[id] { scroll-margin-block-start: 20px; }
.wrap { width: min(100% - 2 * var(--gutter), 1264px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: 10px auto auto 10px; padding: 10px; background: white; transform: translateY(-170%); }
.skip:focus { transform: none; }

.notice { color: #f5f1e6; background: var(--deep); }
.notice-inner { display: flex; align-items: baseline; gap: 16px; padding-block: 12px; font-size: 13px; line-height: 1.45; }
.notice strong { font-weight: 650; white-space: nowrap; }
.notice-inner > span { color: #e0e6d9; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #e2a96e; vertical-align: 2px; }
.header { display: flex; min-height: 86px; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 119px; height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(15px, 3.3vw, 46px); }
.header a:not(.brand), .footer-bottom a { text-decoration: none; }
.header a:hover, .footer-bottom a:hover { text-decoration: underline; }
.header nav a, .header-phone { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; }
.header-phone { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }

.hero { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(34px, 5.1vw, 74px); align-items: center; padding-block: 32px 48px; }
.hero-copy { padding-block: 24px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.45; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 14px; height: 1px; background: currentColor; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { margin-block: 19px 20px; font-size: clamp(44px, 5.55vw, 81px); line-height: .98; letter-spacing: -.065em; }
.intro { max-width: 440px; color: var(--muted); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.5; }
.price { margin-top: 22px; font-size: 15px; }
.price strong { font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-promo { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; color: #782e2b; font-size: 14px; font-weight: 650; }
.button { display: inline-flex; min-height: 50px; gap: 13px; padding: 11px 17px; align-items: center; justify-content: space-between; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 650; line-height: 1.4; text-decoration: none; }
.button span { font-size: 16px; line-height: 1; }
.button-primary { color: white; background: var(--forest); }
.button-primary:hover { background: #27513d; }
.button-outline { border-color: #8a9386; }
.button-outline:hover { background: #e7e8db; }
.gallery { min-width: 0; }
.gallery-intro { margin-bottom: 12px; }
.gallery-intro h2 { margin: 0 0 4px; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.1; letter-spacing: -.035em; }
.gallery-intro p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.gallery-track { display: flex; overflow: auto hidden; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; background: #785d45; }
.gallery-track::-webkit-scrollbar { display: none; }
.hero-image { position: relative; flex: 0 0 100%; min-width: 0; overflow: hidden; scroll-snap-align: start; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 1.26; object-fit: cover; }
.gallery-controls { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 3px; border-radius: 4px; color: white; background: #17231c; font-size: 11px; font-variant-numeric: tabular-nums; }
.gallery-controls a { display: grid; min-width: 44px; min-height: 44px; place-items: center; border-radius: 4px; font-size: 19px; text-decoration: none; }
.gallery-controls a:hover { background: #355446; }
.gallery-controls a:focus-visible { outline-offset: -3px; outline-color: #f1c293; }
@media (prefers-reduced-motion: no-preference) {
  .gallery-track { scroll-behavior: smooth; }
}

.promo-section { padding-bottom: 44px; }
.promo-card { display: grid; grid-template-columns: minmax(0, 1fr) clamp(160px, 22vw, 260px); gap: 17px clamp(22px, 4vw, 54px); align-items: start; padding: clamp(17px, 3vw, 37px); border: 1px solid #e4cec3; border-radius: 10px; background: #f9ece4; }
.promo-intro h2 { margin-block: 5px 9px; }
.promo-date { color: #782e2b; font-size: 13px; font-weight: 700; line-height: 1.4; }
.promo-intro > p:last-child, .promo-terms p { max-width: 630px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.promo-image { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 100%; height: auto; border-radius: 7px; }
.promo-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.promo-tiers > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 5px; min-width: 0; padding: 11px 13px; border: 1px solid #e4cec3; border-radius: 5px; background: var(--card); }
.promo-tiers dt { color: var(--muted); font-size: 13px; line-height: 1.35; }
.promo-tiers dd { margin: 0; color: #782e2b; font-size: 28px; font-weight: 700; line-height: 1.05; }
.promo-terms { margin-block: 7px 10px; }
.promo-terms summary { display: list-item; width: fit-content; min-height: 44px; padding: 12px 0; cursor: pointer; font-size: 14px; font-weight: 650; }
.promo-terms p { padding-bottom: 10px; }

.section { padding-block: 36px 52px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(240px, 360px); align-items: end; gap: 18px 32px; margin-bottom: 26px; }
h2 { margin-top: 7px; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.052em; }
h3 { font-size: 20px; font-weight: 650; line-height: 1.24; letter-spacing: -.025em; }
.section-heading > p, .steps p, .studio p, .question-list p, .footer-top p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.steps, .studios { display: grid; gap: 12px; }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.steps li, .studio { padding: clamp(16px, 2vw, 25px); border: 1px solid var(--line); border-radius: 7px; background: var(--card); }
.step-number { display: block; margin-bottom: 15px; color: #596e59; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.steps h3, .studio h3 { margin-bottom: 8px; }
.estimate { display: grid; gap: 18px; margin-top: 16px; padding: clamp(18px, 2.9vw, 34px); border-radius: 7px; color: white; background: var(--forest); }
.estimate h3 { margin-bottom: 6px; font-size: clamp(22px, 2.6vw, 30px); }
.estimate p { color: #e0e7db; font-size: 15px; line-height: 1.5; }
.estimate .estimate-links { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.estimate .estimate-phone { font-size: 13px; }
.estimate-phone a { display: inline-block; white-space: nowrap; }
.studios { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio { display: flex; flex-direction: column; align-items: flex-start; }
.studio .studio-city { margin-bottom: 12px; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; }
.studio .text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: auto; padding-top: 8px; color: var(--forest); font-size: 14px; font-weight: 650; }
.text-link:hover { color: #48724e; }
.questions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px 42px; }
.question-list { border-top: 1px solid var(--line); }
.question-list details { border-bottom: 1px solid var(--line); }
.question-list summary { min-height: 52px; padding: 15px 0; cursor: pointer; font-size: 16px; font-weight: 650; }
.question-list summary:hover { color: #48724e; }
.question-list p { padding: 0 20px 16px; }

footer { color: var(--paper); background: var(--deep); }
.footer { padding-block: 39px 20px; }
.footer-top { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 24px 44px; }
.footer-top .eyebrow, .footer-top p { color: var(--sage); }
.footer-top h2 { margin-bottom: 9px; }
.social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.social-links a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 7px 10px; border: 1px solid #617568; border-radius: 4px; font-size: 14px; line-height: 1.3; text-decoration: none; }
.social-links a:hover { background: #294737; }
.social-arrow { margin-left: auto; }
.social-icon { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border-radius: 6px; color: white; }
.social-icon img { width: 14px; height: 14px; }
.telegram { background: #1889bd; }
.max { background: #471aff; }
.vk { background: #0766df; }
.youtube { background: #c90000; }
.instagram { background: linear-gradient(35deg, #b63423, #a01977 58%, #6639b9); }
.tiktok { background: #15151c; }
.whatsapp { background: #127942; }
.email { background: #54607a; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 29px; border-top: 1px solid #4a6153; color: #d2dbcf; font-size: 13px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }

@media (max-width: 960px) {
  .hero { gap: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estimate .estimate-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .notice-inner { display: grid; gap: 3px; padding-block: 9px; }
  .header { display: grid; grid-template-columns: 1fr auto; min-height: auto; gap: 0 10px; padding-top: 5px; }
  .brand img { width: 103px; }
  .header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 8px; }
  .header nav a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 27px 29px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(44px, 10.8vw, 62px); margin-block: 13px 15px; }
  .desktop-break { display: none; }
  .price { margin-top: 14px; }
  .actions { margin-top: 19px; }
  .hero-image img { aspect-ratio: 1.48; }
  .promo-section { padding-bottom: 30px; }
  .promo-card { grid-template-columns: minmax(0, 1fr) clamp(88px, 27vw, 150px); gap: 15px 11px; }
  .promo-intro h2 { font-size: clamp(27px, 6.4vw, 39px); }
  .promo-date { font-size: 12px; }
  .promo-intro > p:last-child { font-size: 13px; }
  .promo-image { grid-row: 1; }
  .promo-offer { grid-column: 1 / -1; }
  .promo-tiers > div { padding: 9px 6px; }
  .promo-tiers dt { font-size: 12px; }
  .promo-tiers dd { font-size: 24px; }
  .section { padding-block: 28px 35px; }
  .section-heading, .questions, .footer-top { grid-template-columns: 1fr; }
  .section-heading { gap: 12px; margin-bottom: 19px; }
  .studios { grid-template-columns: 1fr; gap: 8px; }
  .estimate { gap: 14px; }
  .estimate .estimate-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { padding-block: 30px 10px; }
}

@media (max-width: 400px) {
  .actions { display: grid; }
  .steps, .social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { padding: 13px; }
  .steps h3 { font-size: 17px; }
  .steps p { font-size: 14px; }
  .footer-bottom > span { width: 100%; padding-top: 12px; }
  .gallery-controls { right: 7px; bottom: 7px; gap: 0; }
  .social-links a { padding-inline: 6px; gap: 5px; font-size: 13px; }
  .estimate-links .social-arrow { display: none; }
}
