/* DESIGN TOKENS AND BASE */
:root {
  --primary-color: #a84125;
  --secondary-color: #ddd6c7;
  --accent-color: #f1d8ab;
  --text-color: #2f3028;
  --muted-color: #656458;
  --bg-color: #f5f2eb;
  --card-bg: #fffdf8;
  --line-color: #d9d5c9;
  --container: 1200px;
  --space: 24px;
  --radius: 8px;
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--text-color); background: var(--bg-color); font: 16px/1.6 var(--font-body); }
a { color: inherit; text-decoration: none; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-heading); font-weight: 400; line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: 48px; }
h2 { margin-bottom: 24px; font-size: 36px; }
h3 { font-size: 20px; line-height: 1.35; }
em { color: var(--primary-color); font-weight: 400; }
p { margin-bottom: 20px; }
:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 5px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: 48px; }
.eyebrow { margin-bottom: 20px; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 52px; padding: 14px 23px; color: #fffdf8; background: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 3px; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .3s ease, background .3s ease; }
.button:hover { background: #87351f; transform: translateY(-2px); }
.button span { font-size: 21px; line-height: 1; }
.button-outline { color: var(--text-color); background: transparent; border-color: #918d7f; }
.button-outline:hover { color: var(--card-bg); background: var(--text-color); }
.text-link { display: inline-flex; align-items: center; gap: 17px; min-height: 44px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--text-color); }
.text-link:hover, .socials a:hover { color: var(--primary-color); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
[hidden] { display: none; }
/* HEADER */
.header { position: sticky; z-index: 10; top: 0; background: var(--bg-color); border-bottom: 1px solid var(--line-color); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; min-height: 88px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font: 20px/1.2 var(--font-heading); }
.brand small { display: block; margin-top: 8px; font: 8px/1.3 var(--font-body); letter-spacing: .1em; }
.brand-mark { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 50%; font-size: 25px; font-style: italic; }
.brand-mark span { position: absolute; top: -10px; right: -3px; background: var(--bg-color); font: 23px var(--font-body); }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; width: 100%; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
nav a:hover { color: var(--primary-color); }
.header-phone { font-size: 13px; font-weight: 600; }
.header-phone span { display: block; color: var(--primary-color); font-size: 12px; }
.menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 44px; height: 44px; padding: 8px; color: var(--text-color); background: transparent; border: 1px solid var(--line-color); }
.menu-toggle span { width: 22px; height: 1px; background: currentColor; }
.menu-toggle[hidden] { display: none; }
.js nav { display: none; }
.js nav.is-open { display: flex; }
.js .header-phone { width: 100%; text-align: right; }
/* HERO SECTION */
.hero { display: grid; gap: 30px; padding-top: 32px; padding-bottom: 40px; }
.hero-copy { animation: appear .7s ease both; }
.dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--primary-color); border-radius: 50%; }
.hero h1 { margin-bottom: 22px; }
.hero-description { max-width: 350px; color: var(--muted-color); font-size: 16px; }
.hero-meta { display: flex; flex-direction: column; gap: 3px; margin-top: 26px; color: var(--muted-color); font-size: 11px; }
.hero-visual { position: relative; min-width: 0; padding-right: 20px; padding-bottom: 35px; }
.hero-photo { width: 78%; height: 360px; border-radius: 130px 130px 3px 3px; object-position: 50% 45%; }
.hero-inset { position: absolute; right: 0; bottom: 18px; width: 43%; height: 210px; border: 6px solid var(--bg-color); border-radius: 100px 100px 3px 3px; }
.photo-caption { position: absolute; right: 6px; top: 0; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .2em; }
.rating-stamp { position: absolute; display: flex; align-items: center; gap: 13px; bottom: 4px; left: 0; padding: 12px 16px; background: var(--accent-color); border: 1px solid #e3c796; box-shadow: 0 7px 20px #302e2410; transform: rotate(-4deg); }
.rating-stamp strong { font: 32px/1 var(--font-heading); }
.rating-stamp strong span { color: var(--primary-color); font-size: 18px; }
.rating-stamp > span { padding-left: 12px; border-left: 1px solid #9e8a69; font-size: 10px; line-height: 1.5; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* BENEFITS */
.benefits { display: grid; gap: 24px; padding-block: 30px; border-block: 1px solid var(--line-color); }
.benefits article { display: flex; align-items: start; gap: 16px; }
.benefit-icon { min-width: 34px; color: var(--primary-color); font-size: 32px; line-height: 1.1; }
.benefits h2 { margin-bottom: 7px; font: 600 16px/1.4 var(--font-body); letter-spacing: 0; }
.benefits p { margin: 0; color: var(--muted-color); font-size: 14px; line-height: 1.6; }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 8px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 310px; margin: 0; color: var(--muted-color); font-size: 14px; }
.service-grid { display: grid; gap: 20px; }
.service-card { overflow: hidden; background: var(--card-bg); border: 1px solid var(--line-color); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #292c2010; }
.service-card > img { width: 100%; height: 240px; }
.service-body { padding: 24px; }
.service-body .eyebrow { margin-bottom: 14px; color: var(--primary-color); }
.service-body h3 { margin-bottom: 14px; font-weight: 500; }
.service-body > p:not(.eyebrow) { color: var(--muted-color); font-size: 14px; }
.service-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-color); }
.service-bottom strong { font-size: 18px; font-weight: 500; white-space: nowrap; }
.service-bottom a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12px; }
.service-bottom a:hover { color: var(--primary-color); }
.price-details { margin-top: 30px; }
.price-details > summary { display: flex; width: fit-content; margin: auto; list-style: none; }
.price-details > summary::-webkit-details-marker { display: none; }
.catalog { padding-block: 24px; }
.catalog > p { color: var(--muted-color); font-size: 14px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line-color); font-size: 14px; }
.price-row span { overflow-wrap: anywhere; }
.price-row strong { flex-shrink: 0; font-size: 14px; font-weight: 600; white-space: nowrap; }
.catalog-subtitle { margin-top: 36px; }
.catalog-cta { margin-top: 28px; }
/* ABOUT */
.about { display: grid; gap: 38px; }
.about-copy { order: 2; }
.about-copy > p:not(.eyebrow) { color: var(--muted-color); }
.about-note { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.about-note > span { color: var(--primary-color); font-size: 62px; line-height: 1; }
.about-note p { margin: 0; font-family: var(--font-heading); font-size: 19px; line-height: 1.3; font-style: italic; }
.about-images { position: relative; padding-right: 30px; padding-bottom: 70px; }
.interior { width: 87%; height: 360px; border-radius: 3px; }
.process { position: absolute; right: 0; bottom: 34px; width: 44%; height: 200px; border: 6px solid var(--bg-color); }
.image-note { position: absolute; bottom: 0; font-size: 9px; letter-spacing: .14em; }
/* REVIEWS */
.reviews { background: #ece8de; }
.review-rating { display: grid; gap: 5px; }
.review-rating strong { font-family: var(--font-heading); font-size: 38px; font-weight: 400; }
.review-rating strong span { color: var(--primary-color); font-size: 16px; letter-spacing: 3px; }
.review-rating a { min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.review-grid { display: flex; gap: 18px; overflow-x: auto; padding: 5px 3px 20px; scroll-snap-type: x mandatory; }
.review-card { display: flex; flex-direction: column; flex: 0 0 92%; min-width: 0; padding: 25px; background: var(--card-bg); border: 1px solid var(--line-color); border-radius: var(--radius); scroll-snap-align: start; }
.stars { margin-bottom: 18px; color: var(--primary-color); font-size: 15px; letter-spacing: 4px; }
blockquote { margin: 0 0 26px; }
blockquote p { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.review-author { display: grid; gap: 3px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-color); font-size: 13px; }
.review-author time { color: var(--muted-color); font-size: 11px; }
.mobile-hint { font-size: 12px; color: var(--muted-color); }
/* CONTACTS */
.contacts { display: grid; gap: 34px; }
.contact-intro { color: var(--muted-color); }
.contact-phone { display: inline-flex; min-height: 44px; margin-bottom: 24px; font-size: clamp(21px, 5vw, 31px); letter-spacing: -.03em; }
.socials { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 22px; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.address-card { position: relative; padding: 30px; background: #e8e4d8; border: 1px solid var(--line-color); }
.address-symbol { position: absolute; top: 12px; right: 25px; color: #736a52; font-size: 54px; }
.address-card .eyebrow { margin-top: 10px; }
.address-card h3 { position: relative; margin-top: 50px; font: 27px/1.3 var(--font-heading); }
.address-card p:not(.eyebrow) { color: var(--muted-color); font-size: 14px; }
.address-card .button { width: 100%; margin-top: 15px; padding-inline: 15px; font-size: 12px; }
/* FOOTER AND PRIVACY */
.footer { border-top: 1px solid var(--line-color); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 24px; padding-block: 28px; font-size: 11px; }
.footer-brand { display: flex; gap: 22px; width: 100%; font: 25px var(--font-heading); }
.footer-brand span { color: var(--primary-color); }
.footer p { margin: 0; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.privacy { max-width: 760px; }
.privacy h1 { margin-top: 44px; font-size: clamp(30px, 6vw, 48px); overflow-wrap: anywhere; }
.privacy p a { text-decoration: underline; }
/* NATIVE PRICE DIALOG */
.dialog-open { overflow: hidden; }
.price-dialog { width: min(820px, calc(100% - 24px)); max-height: calc(100dvh - 40px); padding: 0 20px 20px; color: var(--text-color); background: var(--bg-color); border: 1px solid var(--line-color); border-radius: var(--radius); }
.price-dialog::backdrop { background: #1f211cc4; }
.dialog-bar { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 16px; background: var(--bg-color); border-bottom: 1px solid var(--line-color); }
.dialog-bar h2 { margin: 0; font-size: 26px; }
.dialog-close { flex-shrink: 0; width: 44px; height: 44px; color: var(--text-color); background: transparent; border: 1px solid var(--line-color); border-radius: 50%; font-size: 27px; }
/* RESPONSIVE LAYOUT */
@media (min-width: 375px) {
  .hero h1 { font-size: 56px; }
  .hero-photo { height: 410px; }
  .hero-inset { height: 240px; }
}
@media (min-width: 768px) {
  .container { width: min(calc(100% - 64px), var(--container)); }
  .section { padding-block: 65px; }
  h2 { font-size: 43px; }
  .js .header-phone { width: auto; }
  .menu-toggle { order: 3; }
  .js nav { order: 4; }
  .hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 25px; padding-block: 50px; }
  .hero h1 { font-size: 60px; }
  .hero-photo { height: 440px; }
  .hero-inset { height: 250px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 20px; padding-block: 32px; }
  .benefits article { gap: 12px; }
  .benefit-icon { min-width: 25px; font-size: 26px; }
  .benefits p { font-size: 12px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { display: flex; flex-direction: column; }
  .service-body { display: flex; flex-direction: column; flex: 1; }
  .service-bottom { margin-top: auto; }
  .about { grid-template-columns: 1fr 1fr; align-items: center; }
  .about-copy { order: 0; }
  .review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .mobile-hint { display: none; }
  .contacts { grid-template-columns: 1fr 1fr; align-items: center; }
  .address-card { padding: 32px; }
  .footer-brand { width: auto; margin-right: auto; }
}
@media (min-width: 1024px) {
  .section { padding-block: 80px; }
  .header-inner { flex-wrap: nowrap; min-height: 96px; }
  .brand { font-size: 23px; }
  .brand small { font-size: 8px; }
  .js .menu-toggle { display: none; }
  nav, .js nav { display: flex; width: auto; order: 0; gap: 21px; }
  .header-phone { font-size: 15px; text-align: right; }
  .header-phone span { margin-top: 3px; }
  .hero { grid-template-columns: .95fr 1.05fr; gap: 65px; padding-top: 44px; padding-bottom: 55px; }
  .hero h1 { font-size: 80px; }
  .hero-copy .eyebrow { margin-bottom: 28px; }
  .hero-description { max-width: 360px; margin-bottom: 30px; }
  .hero-meta { margin-top: 38px; }
  .hero-visual { padding-right: 35px; padding-bottom: 35px; }
  .hero-photo { width: 78%; height: 530px; border-radius: 210px 210px 3px 3px; }
  .hero-inset { width: 43%; height: 310px; bottom: 8px; border-width: 8px; }
  .rating-stamp { left: -30px; bottom: 16px; padding: 16px 22px; }
  .photo-caption { top: 30px; right: 10px; }
  .benefits { gap: 48px; padding-block: 35px; }
  .benefits p { font-size: 13px; }
  .benefits article { gap: 18px; }
  .benefit-icon { min-width: 34px; font-size: 34px; }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; margin-bottom: 38px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card > img { height: 265px; }
  .service-body { padding: 27px; }
  .compact .service-body { padding-top: 28px; }
  .about { gap: 100px; }
  .about-images { padding-bottom: 75px; }
  .interior { height: 470px; }
  .process { height: 250px; }
  .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-card { padding: 28px; }
  .contacts { gap: 90px; }
  .address-card { padding: 40px; }
  .address-card h3 { font-size: 33px; }
  .price-dialog { padding-inline: 36px; }
}
@media (min-width: 1440px) {
  .hero { gap: 90px; padding-block: 55px 65px; }
  .hero-photo { height: 560px; }
  .hero-inset { height: 335px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  .button, .service-card { transition: none; }
}
