/* THEME AND BASE */
:root {
  --primary-color: #171b1e;
  --secondary-color: #262d31;
  --accent-color: #ff8b43;
  --text-color: #202528;
  --bg-color: #f5f6f5;
  --card-bg: #fff;
  --muted: #5b646a;
  --line: #dce0df;
  --radius: 8px;
  --container: 1200px;
  --section-space: 40px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.15; }
h2 { font-size: 30px; letter-spacing: -.035em; }
h3 { font-size: 19px; }
p + p { margin-top: 18px; }
button,a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #b54d0d; outline-offset: 5px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.icon { width: 26px; height: 26px; flex-shrink: 0; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 13px 21px; font-size: 14px; font-weight: 700; line-height: 1.4; color: #171b1e; background: var(--accent-color); border: 1px solid transparent; border-radius: 4px; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #ffa76f; transform: translateY(-2px); }
.button-outline { color: #fff; background: transparent; border-color: #7b8185; }
.button-outline:hover { background: #363f45; }
.button-dark { color: #fff; background: var(--primary-color); }
.button-dark:hover { background: #364047; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px; background: white; color: black; }
.skip-link:focus { top: 10px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 5; color: #fff; background: var(--primary-color); border-bottom: 1px solid #363d42; }
.header-inner { display: grid; grid-template-columns: 1fr auto; min-height: 82px; align-items: center; gap: 8px 14px; padding-block: 13px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.brand > .icon { width: 32px; height: 32px; color: var(--accent-color); }
.brand b { color: var(--accent-color); }
.brand small { display: block; margin-top: 6px; font-size: 9px; font-weight: 400; letter-spacing: .13em; color: #c2c8cc; }
.menu-toggle { display: grid; grid-column: 2; grid-row: 1; width: 44px; height: 44px; align-content: center; gap: 6px; padding: 10px; color: #fff; background: transparent; border: 1px solid #626a70; border-radius: 4px; }
.menu-toggle span { height: 2px; background: currentColor; }
.navigation { display: none; grid-column: 1 / -1; width: 100%; order: 4; }
.navigation.is-open { display: grid; }
.navigation a { padding: 12px 0; color: #d2d7d9; font-size: 14px; }
.navigation a:hover { color: var(--accent-color); }
.header-phone { grid-column: 1; grid-row: 2; font-size: 15px; font-weight: 700; }
.header-phone small { display: inline; margin-left: 10px; font-size: 11px; font-weight: 400; color: #c2c8cc; }
.header-cta { display: none; }
/* HERO SECTION */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--primary-color); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; opacity: .33; }
.hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #171b1ef5, #171b1e55); }
.hero-inner { position: relative; z-index: 1; padding-block: 48px 40px; }
.hero-content { max-width: 600px; animation: appear .7s ease both; }
.hero .eyebrow { color: var(--accent-color); }
.hero h1 { font-size: clamp(28px, 6vw, 48px); font-weight: 800; line-height: 1.16; letter-spacing: -.04em; }
.hero h1 span { color: var(--accent-color); }
.hero-description { max-width: 460px; margin-top: 24px; color: #d3d7da; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-rating { display: inline-flex; align-items: center; gap: 16px; margin-top: 38px; }
.hero-rating > strong { font-size: 40px; line-height: 1; }
.hero-rating > span > span { display: block; font-size: 12px; }
.stars { color: #a44208; letter-spacing: .13em; }
.hero .stars,.rating-summary .stars { color: var(--accent-color); }
.hero-location { position: relative; z-index: 1; padding-block: 16px; background: #171b1ed9; border-top: 1px solid #ffffff24; }
.hero-location .container { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.hero-location .icon { width: 20px; color: var(--accent-color); }
.location-hours { display: none; margin-left: auto; color: #c2c8cc; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* ADVANTAGES */
.advantages { padding-block: 30px; background: #fff; border-bottom: 1px solid var(--line); }
.advantages-grid { display: grid; gap: 26px; }
.advantages article { display: flex; align-items: flex-start; gap: 18px; }
.advantages .icon { width: 32px; height: 32px; color: #a44208; }
.advantages h2 { margin-bottom: 9px; font-size: 18px; letter-spacing: -.02em; }
.advantages p { color: var(--muted); font-size: 14px; }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.section-heading .eyebrow,.about .eyebrow { color: #8f3d0d; }
.section-heading > p { color: var(--muted); font-size: 15px; }
.services-grid { display: grid; gap: 16px; }
.service-card { display: flex; min-width: 0; flex-direction: column; padding: 26px; background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 12px #171b1e03; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #171b1e0c; }
.service-card > .icon { width: 33px; height: 33px; margin-bottom: 26px; color: #a44208; }
.service-card h3 { font-size: 20px; }
.service-card > p { margin-block: 14px 26px; color: var(--muted); font-size: 14px; }
.service-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.service-bottom strong { font-size: 23px; white-space: nowrap; }
.service-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.services-more { display: grid; justify-items: center; gap: 10px; margin-top: 32px; }
.services-more p { color: var(--muted); font-size: 13px; }
/* ABOUT */
.about { background: #e9ecea; }
.about-grid { display: grid; gap: 32px; }
.about-copy > p:not(.eyebrow) { margin-top: 20px; color: #4c565c; }
.about-photo { order: -1; position: relative; overflow: hidden; border-radius: var(--radius); }
.about-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 60% center; }
.about-photo figcaption { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 10px; padding: 22px; color: #fff; font-size: 13px; background: #171b1ee8; }
.about-photo figcaption .icon { color: var(--accent-color); }
.social-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.workshop-strip { display: grid; margin-top: 40px; overflow: hidden; color: #fff; background: var(--primary-color); border-radius: var(--radius); }
.workshop-strip img { width: 100%; height: 200px; object-fit: cover; }
.workshop-strip > div { padding: 26px; }
.workshop-strip .eyebrow { color: var(--accent-color); }
.workshop-strip p:not(.eyebrow) { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.workshop-strip a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 18px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
/* REVIEWS */
.rating-summary { display: grid; align-content: end; gap: 4px; font-size: 13px; }
.rating-summary strong { font-size: 28px; }
.rating-summary .stars { font-size: 17px; }
.reviews-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 20px; }
.review-card { display: flex; flex: 0 0 94%; flex-direction: column; scroll-snap-align: start; min-width: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.review-card blockquote { margin: 18px 0 24px; overflow-wrap: anywhere; font-size: 15px; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: grid; width: 40px; height: 40px; flex-shrink: 0; place-items: center; font-size: 15px; background: #eceeea; border-radius: 50%; }
.review-author h3 { font-size: 14px; }
.review-author time { color: var(--muted); font-size: 12px; }
.swipe-hint { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
/* CONTACTS */
.contacts { color: #fff; background: var(--primary-color); }
.contacts > .container > .eyebrow { color: var(--accent-color); }
.contacts h2 { margin-bottom: 32px; }
.contacts-grid { display: grid; gap: 32px; }
.contact-phone { display: inline-block; font-size: clamp(24px, 6vw, 36px); font-weight: 700; letter-spacing: -.03em; }
.contact-info > p { margin-top: 12px; color: #c2c8cc; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-top: 26px; }
.contact-detail > .icon { color: var(--accent-color); }
.contact-detail h3 { margin-bottom: 9px; font-size: 15px; }
.contact-detail address,.contact-detail p { max-width: 430px; font-style: normal; color: #c2c8cc; font-size: 14px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.location-card { overflow: hidden; color: var(--text-color); background: #fff; border-radius: var(--radius); }
.location-card img { width: 100%; height: 260px; object-fit: cover; }
.location-card > div { padding: 26px; }
.location-card p { margin-top: 8px; color: var(--muted); }
.location-card .button { margin-top: 20px; }
/* FOOTER */
.footer { padding-block: 24px; color: #c2c8cc; background: #101416; border-top: 1px solid #363d42; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.footer .brand { width: 100%; color: white; font-size: 16px; }
.footer p,.footer a:not(.brand),.text-button { font-size: 12px; }
.text-button { min-height: 44px; padding: 0; color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.footer a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; }
/* DIALOGS */
dialog { position: fixed; max-width: 760px; width: calc(100% - 32px); max-height: 85dvh; padding: 24px; color: var(--text-color); background: #fff; border: 0; border-radius: var(--radius); }
dialog::backdrop { background: #101416c9; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 28px; }
.dialog-close { display: grid; width: 44px; height: 44px; flex-shrink: 0; place-items: center; font-size: 30px; background: #edf0ed; border: 0; border-radius: 4px; }
.price-list { margin: 0 0 24px; }
.price-row { display: grid; gap: 8px; padding-block: 17px; border-top: 1px solid var(--line); }
.price-row dt { font-size: 15px; }
.price-row dd { margin: 0; font-weight: 700; white-space: nowrap; }
dialog > .button { margin-top: 20px; }
/* RESPONSIVE LAYOUT */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .header-inner { display: flex; flex-wrap: wrap; gap: 14px; }
  .menu-toggle { order: 3; }
  .header-phone { margin-left: auto; }
  .header-phone small { display: block; margin-left: 0; }
  .header-cta { display: inline-flex; }
  .hero-inner { padding-block: 72px; }
  .hero-photo { left: 32%; width: 68%; opacity: 1; }
  .hero::after { background: linear-gradient(90deg,#171b1e 15%,#171b1ef5 33%,#171b1e99 58%,#171b1e00 90%); }
  .hero-content { max-width: 640px; }
  .location-hours { display: inline; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workshop-strip { grid-template-columns: .8fr 1.2fr; }
  .workshop-strip img { height: 100%; min-height: 260px; }
  .workshop-strip > div { align-self: center; padding: 40px; }
  .reviews-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; padding: 0; }
  .swipe-hint { display: none; }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .contacts-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer .brand { width: auto; margin-right: auto; }
  .price-row { grid-template-columns: 1fr auto; gap: 30px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  h2 { font-size: 38px; }
  .header-inner { min-height: 94px; flex-wrap: nowrap; gap: 22px; }
  .navigation { display: flex; width: auto; order: 0; gap: 18px; margin-left: auto; }
  .navigation a { font-size: 13px; }
  .menu-toggle { display: none; }
  .header-phone { margin-left: 0; white-space: nowrap; }
  .header-cta { padding-inline: 18px; }
  .hero-inner { padding-block: 78px; }
  .hero-description { max-width: 420px; }
  .hero h1 { font-size: 48px; }
  .advantages { padding-block: 36px; }
  .advantages-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
  .advantages article + article { padding-left: 26px; border-left: 1px solid var(--line); }
  .services-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 72px; }
  .about-photo { order: 0; }
  .workshop-strip { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .workshop-strip img { max-height: 300px; }
  .workshop-strip p:not(.eyebrow) { font-size: 36px; }
  .reviews-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: start; }
  .review-card { height: 100%; }
  .contacts-grid { gap: 80px; }
  dialog { padding: 36px; }
}
@media (min-width: 1440px) { .hero-inner { padding-block: 88px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
  .button,.service-card { transition: none; }
}
