/* DESIGN TOKENS AND BASE */
:root {
  --primary-color: #ff7438;
  --secondary-color: #171817;
  --accent-color: #ff7438;
  --text-color: #232522;
  --bg-color: #f5f5f0;
  --card-bg: #fff;
  --muted-dark: #b9bcb4;
  --muted-light: #575b53;
  --border: #d5d8cf;
  --radius: 8px;
  --container: 1200px;
  --space: 20px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--text-color); background: var(--bg-color); font: 17px/1.6 var(--font); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #3676d6; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
p + p { margin-top: 18px; }
em { color: var(--primary-color); font-style: normal; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: 48px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; color: #171817; background: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 4px; font-size: 15px; font-weight: 700; text-align: center; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #ff9567; transform: translateY(-2px); }
.button-outline { color: #fff; background: transparent; border-color: #73766e; }
.button-outline:hover { color: #171817; background: #fff; }
.button-dark { color: #fff; background: var(--secondary-color); border-color: var(--secondary-color); }
.button-dark:hover { color: #171817; }
.eyebrow { font-size: 12px; line-height: 1.6; font-weight: 700; letter-spacing: .12em; }
.eyebrow + h2 { margin-top: 14px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; padding: 0; color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 6px; font-size: 15px; }
.stars { color: #ff7438; letter-spacing: 2px; }
.skip-link { position: absolute; z-index: 10; top: -90px; left: 20px; padding: 12px; background: white; }
.skip-link:focus { top: 10px; }
/* HEADER */
.header { position: sticky; z-index: 5; top: 0; color: #fff; background: #171817; border-bottom: 1px solid #393b36; }
.header-inner { display: flex; min-height: 85px; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 900; letter-spacing: -.035em; line-height: 1.1; }
.brand svg { width: 38px; height: 42px; fill: var(--primary-color); }
.brand small { display: block; margin-top: 6px; color: #b9bcb4; font-size: 9px; letter-spacing: .2em; }
.header-phone { margin-right: auto; font-size: 14px; }
.header-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #fff; background: transparent; border: 1px solid #73766e; border-radius: 4px; }
.js .menu-toggle { display: flex; }
.menu-toggle span { width: 21px; height: 2px; background: #fff; }
nav { order: 3; display: flex; width: 100%; flex-wrap: wrap; gap: 4px 20px; }
nav a { display: flex; min-height: 44px; align-items: center; font-size: 14px; color: #d4d6cf; }
nav a:hover { color: var(--primary-color); }
.js nav:not(.open) { display: none; }
.js .header-phone { display: block; order: 2; width: 100%; min-height: 28px; margin: 0; }
.js .header-inner { flex-wrap: wrap; gap: 8px 16px; }
.js nav.open { position: absolute; top: 100%; left: 0; display: flex; padding: 20px; background: #171817; border-bottom: 1px solid #73766e; }
/* HERO SECTION */
.hero { overflow: hidden; color: #fff; background: var(--secondary-color); }
.hero-grid { display: grid; gap: 35px; padding-top: 40px; padding-bottom: 36px; }
.hero-copy { animation: arrive .7s ease both; }
.hero .eyebrow { color: #b9bcb4; font-size: 10px; letter-spacing: .09em; }
.hero .eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--primary-color); }
h1 { margin-block: 24px; font-size: clamp(2.5rem, 5.2vw, 4.5rem); font-weight: 900; line-height: 1.02; letter-spacing: -.065em; }
.hero-intro { color: #c4c7bd; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-info { display: flex; gap: 22px; margin-top: 36px; padding-top: 22px; border-top: 1px solid #3e403b; }
.hero-info p { margin: 0; }
.hero-info b { display: block; font-size: 17px; }
.hero-info p > span { display: block; margin-top: 5px; color: #b9bcb4; font-size: 11px; }
.hero-info .stars { margin-left: 4px; font-size: 11px; }
.hero-visual { position: relative; min-width: 0; min-height: 340px; }
.hero-photo { width: 100%; height: 100%; min-height: 340px; object-position: 60% center; border-radius: 4px; }
.photo-label { position: absolute; top: 16px; left: 16px; padding: 7px 10px; color: #fff; background: #171817e6; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.hero-sticker { position: absolute; right: -8px; bottom: 25px; padding: 18px 23px; color: #171817; background: var(--primary-color); font-size: 23px; line-height: 1.05; font-weight: 900; letter-spacing: -.04em; transform: rotate(-7deg); }
.hero-sticker strong { font-size: 34px; }
.hero-band { display: flex; align-items: center; justify-content: space-around; gap: 25px; padding: 15px 20px; color: #171817; background: var(--primary-color); font-size: 15px; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }
.hero-band i { font-size: 22px; font-style: normal; }
/* ADVANTAGES */
.advantages { border-bottom: 1px solid var(--border); }
.advantages-grid { display: grid; gap: 34px; }
.advantages article { padding-right: 10px; }
.advantages svg { width: 38px; height: 38px; margin-bottom: 16px; fill: none; stroke: #b13c0a; stroke-width: 1.7; }
.advantages h2 { margin-bottom: 12px; font-size: 22px; letter-spacing: -.035em; }
.advantages p { color: var(--muted-light); font-size: 16px; }
/* SERVICES */
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading > p { color: var(--muted-light); font-size: 16px; }
.services .eyebrow { color: #9d3508; }
.services-grid { display: grid; gap: 18px; }
.service-card { display: flex; min-width: 0; flex-direction: column; align-items: start; padding: 28px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #1718170d; }
.service-icon { width: 42px; height: 42px; margin-bottom: 25px; fill: none; stroke: #a93909; stroke-width: 1.6; }
.service-card h3 { margin-bottom: 18px; overflow-wrap: anywhere; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.service-card p { margin-bottom: 24px; color: var(--muted-light); font-size: 15px; }
.service-price { margin-top: auto; padding-top: 15px; font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.services-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; }
.services-bottom p { max-width: 480px; color: var(--muted-light); font-size: 15px; }
/* ABOUT AND GALLERY */
.about { color: #fff; background: var(--secondary-color); }
.about-grid { display: grid; gap: 35px; }
.about-copy { order: 2; }
.about .eyebrow { color: var(--primary-color); }
.about-copy h2 { margin-bottom: 28px; font-size: clamp(2.5rem, 5vw, 4.2rem); }
.about-copy p:not(.eyebrow) { color: #c4c7bd; font-size: 16px; }
.about .text-link { margin-top: 18px; color: var(--primary-color); }
.about-photos { position: relative; padding: 0 25px 44px 0; }
.about-main { width: 100%; height: 330px; border-radius: 4px; }
.about-detail { position: absolute; right: 0; bottom: 0; width: 32%; height: 190px; border: 7px solid #171817; border-radius: 4px; transform: rotate(5deg); }
.about-caption { position: absolute; bottom: 14px; left: 0; color: #b9bcb4; font-size: 10px; letter-spacing: .12em; }
.work-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 48px; }
.work-gallery img { width: 100%; height: 190px; border-radius: 4px; object-position: center 35%; }
.work-gallery figcaption { margin-top: 10px; color: #b9bcb4; font-size: 12px; }
/* REVIEWS */
.rating-link { display: flex; flex-direction: column; gap: 5px; }
.rating-link strong { font-size: 30px; letter-spacing: -.03em; line-height: 1.2; }
.rating-link .stars { font-size: 19px; }
.rating-link > span { color: var(--muted-light); font-size: 13px; }
.mobile-hint { margin-bottom: 18px; color: var(--muted-light); font-size: 13px; }
.reviews-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 90%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 3px 20px; }
.review { min-width: 0; padding: 25px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); scroll-snap-align: start; }
.review .stars { font-size: 17px; }
.reviews .stars { color: #a83908; }
.review blockquote { margin: 20px 0 24px; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.review h3 { font-size: 16px; line-height: 1.4; letter-spacing: 0; }
.review time { color: var(--muted-light); font-size: 12px; }
/* CONTACTS */
.contacts { color: #fff; background: #20221f; }
.contacts-grid { display: grid; gap: 36px; }
.contacts .eyebrow { color: var(--primary-color); }
.contacts h2 { margin-bottom: 28px; }
.contact-phone { display: inline-block; min-height: 44px; margin-bottom: 15px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.contact-line { color: #c4c7bd; font-size: 15px; }
.contact-line span { margin-right: 6px; color: var(--primary-color); font-size: 23px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.social-links { display: flex; gap: 24px; margin-top: 18px; }
.social-links a { display: flex; min-height: 44px; align-items: center; color: #c4c7bd; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.location-card { align-self: start; overflow: hidden; color: #171817; background: var(--bg-color); border-radius: var(--radius); }
.location-card img { width: 100%; height: 280px; }
.location-card > div { padding: 26px; }
.location-card h3 { font-size: 22px; line-height: 1.3; }
.location-card p { margin-block: 8px 24px; color: var(--muted-light); }
/* FOOTER */
.footer { color: #b9bcb4; background: var(--secondary-color); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 28px; font-size: 12px; }
.footer-brand { color: #fff; font-size: 20px; font-weight: 900; letter-spacing: -.05em; }
.footer .text-link { font-size: 12px; }
.footer a { display: inline-flex; min-height: 44px; align-items: center; }
/* DIALOGS */
dialog { width: min(760px, calc(100% - 32px)); max-height: 85dvh; padding: 24px; color: var(--text-color); background: var(--bg-color); border: 0; border-radius: var(--radius); }
dialog::backdrop { background: #000b; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 28px; }
.close-dialog { flex: 0 0 44px; height: 44px; color: var(--text-color); background: transparent; border: 1px solid #767a71; border-radius: 4px; font-size: 30px; line-height: 1; }
.price-row { padding-block: 20px; border-top: 1px solid var(--border); }
.price-row h3 { font-size: 18px; letter-spacing: -.02em; line-height: 1.4; }
.price-row p { margin-top: 8px; font-size: 23px; font-weight: 700; }
dialog > .button { margin-top: 20px; }
/* RESPONSIVE AND MOTION */
@keyframes arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 768px) {
  .section { padding-block: 70px; }
  .header-phone, .js .header-phone { order: 0; display: block; width: auto; margin-left: auto; margin-right: 0; }
  .js .header-inner { flex-wrap: nowrap; }
  .header-cta { display: inline-flex; }
  .menu-toggle { order: 2; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; padding-block: 55px; }
  .hero-copy { padding-block: 20px; }
  .hero-visual { min-height: 440px; }
  .hero-photo { position: absolute; inset: 0; }
  .hero-info { gap: 30px; }
  .hero-band { font-size: 22px; }
  .advantages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contacts-grid { grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; }
  .about-copy { order: 0; }
  .about-main { height: 420px; }
  .about-detail { height: 240px; width: 39%; }
  .work-gallery { gap: 22px; margin-top: 65px; }
  .work-gallery img { height: 340px; }
  .work-gallery figcaption { font-size: 15px; }
  .reviews-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .mobile-hint { display: none; }
  .location-card img { height: 310px; }
}
@media (min-width: 1024px) {
  .section { padding-block: 80px; }
  .header-inner { gap: 22px; }
  nav, .js nav:not(.open) { order: 0; display: flex; width: auto; gap: 20px; }
  .menu-toggle, .js .menu-toggle { display: none; }
  .header-cta { padding-inline: 18px; }
  .brand { font-size: 19px; }
  .hero-grid { grid-template-columns: 1.07fr 1fr; gap: 55px; padding-block: 54px 60px; }
  .hero-copy { padding-block: 22px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-intro { font-size: 19px; }
  .hero-info p > span { font-size: 12px; }
  .hero-sticker { right: -17px; bottom: 38px; padding: 24px 30px; font-size: 29px; }
  .hero-sticker strong { font-size: 43px; }
  .advantages article + article { padding-left: 30px; border-left: 1px solid var(--border); }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 46px 1fr 140px; column-gap: 25px; align-items: center; }
  .service-card:last-child .service-icon { grid-row: 1 / 3; margin: 0; }
  .service-card:last-child h3 { margin-bottom: 8px; }
  .service-card:last-child p { grid-column: 2; margin: 0; }
  .service-card:last-child .service-price { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0; padding: 0; }
  .about-grid { gap: 85px; }
  .about-main { height: 460px; }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 22px; }
  .contacts-grid { gap: 80px; }
}
@media (min-width: 1440px) { .hero-grid { padding-block: 64px 70px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  *, *::before, *::after { animation: none; transition: none; }
}
