/* FOUNDATION */
:root {
  --primary-color: #f2c744;
  --secondary-color: #171a1b;
  --accent-color: #a27b0b;
  --text-color: #212627;
  --bg-color: #f5f6f4;
  --card-bg: #fff;
  --muted: #62696b;
  --line: #dce0dd;
  --radius: 8px;
  --container: 1200px;
  --space: 40px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -1.1px; }
h3 { font-size: 20px; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a27b0b; outline-offset: 5px; }
.container { width: min(100%, var(--container)); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--space) 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; line-height: 1.6; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; font-size: 14px; text-align: center; transition: background .3s ease, transform .3s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: var(--secondary-color); background: var(--primary-color); }
.primary:hover { background: #ffda65; }
.secondary { color: #fff; border-color: #737879; background: #242829; }
.secondary:hover { background: #363d3f; }
.dark { color: #fff; background: var(--secondary-color); }
.dark:hover { background: #353e40; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px; background: var(--primary-color); }
.skip-link:focus { top: 12px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; background: var(--secondary-color); color: white; border-bottom: 1px solid #363a3b; }
.header-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 78px; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; letter-spacing: -.6px; font-style: italic; line-height: 1.2; }
.brand small { display: block; margin-top: 6px; font-size: 8px; font-weight: 400; font-style: normal; letter-spacing: 1.5px; }
.brand-mark { display: flex; gap: 3px; transform: skew(-22deg); }
.brand-mark i { width: 7px; height: 28px; background: var(--primary-color); }
.brand-mark i:first-child { height: 18px; margin-top: 10px; }
.brand-mark i:nth-child(2) { height: 23px; margin-top: 5px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid #555; border-radius: 4px; background: transparent; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 6px auto; background: white; }
nav { display: flex; width: 100%; flex-wrap: wrap; gap: 2px 18px; padding-bottom: 12px; }
nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: #dadcdd; }
nav a:hover { color: var(--primary-color); }
.header-phone { display: block; order: 3; width: 100%; padding-bottom: 12px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.header-phone small { display: none; margin-top: 4px; color: #b6bcbe; font-size: 11px; font-weight: 400; }
.js .menu-toggle { display: block; }
.js nav { display: none; order: 4; }
.js nav.is-open { display: flex; }
/* HERO SECTION */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--secondary-color); }
.hero-image { position: relative; height: 270px; }
.hero-image img { height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-content { position: relative; }
.hero-copy { padding: 30px 0 36px; }
.hero .eyebrow { color: #d7dbd9; font-size: 10px; letter-spacing: 1.1px; }
.hero .eyebrow span { display: inline-block; width: 19px; height: 2px; margin: 0 6px 3px 0; background: var(--primary-color); }
h1 { margin: 22px 0; font-size: clamp(35px, 6vw, 68px); font-weight: 800; letter-spacing: -1.8px; line-height: 1.06; }
h1 em { font-style: normal; color: var(--primary-color); }
.hero-description { margin-bottom: 26px; color: #c7cbca; font-size: 16px; line-height: 1.65; }
.desktop-break { display: none; }
.hero-rating { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.hero-rating > strong { padding-right: 18px; border-right: 1px solid #555b5c; font-size: 28px; }
.hero-rating strong span { color: var(--primary-color); font-size: 24px; }
.hero-rating > div { font-size: 12px; color: #e2e5e3; line-height: 1.6; }
.hero-rating small { display: block; color: #aeb6b6; font-size: 12px; }
.hero-caption { display: none; }
.hero-copy { animation: appear .65s ease both; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* ADVANTAGES */
.advantages { background: white; border-bottom: 1px solid var(--line); }
.advantage-grid { display: grid; }
.advantage-grid article { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.advantage-grid article:last-child { border: 0; }
.advantage-grid svg { flex: 0 0 38px; height: 38px; color: #967108; }
.advantage-grid h2 { margin-bottom: 10px; font-size: 19px; letter-spacing: -.3px; }
.advantage-grid p { color: var(--muted); font-size: 14px; line-height: 1.6; }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.section-heading h2 { margin-top: 12px; }
.section-heading > p { color: var(--muted); font-size: 14px; }
.services .eyebrow, .reviews .eyebrow { color: #776014; }
.service-grid { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; padding: 26px; background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px #17201a0c; }
.service-card > svg { width: 43px; height: 43px; margin-bottom: 24px; }
.service-card h3 { font-size: 20px; line-height: 1.3; }
.service-card p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.service-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 28px; }
.service-bottom strong { font-size: 22px; }
.service-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: #705500; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.all-services { margin-top: 30px; text-align: center; }
.all-services p { margin-top: 12px; color: var(--muted); font-size: 12px; }
/* ABOUT */
.about { overflow: hidden; background: #e9ece8; }
.about-grid { display: flex; flex-direction: column-reverse; gap: 34px; }
.about-copy h2 { margin: 18px 0 28px; }
.about-copy h2 span { color: #636c67; }
.about-copy > p:not(.eyebrow) { margin-top: 18px; color: #4f5954; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-weight: 700; text-decoration: underline; text-underline-offset: 7px; }
.about-photos { position: relative; padding: 0 0 48px; }
.workshop-photo { aspect-ratio: 16/10; object-fit: cover; border-radius: 5px; }
.detail-photo { display: flex; align-items: center; gap: 16px; width: 83%; margin: -25px 0 0 auto; position: relative; color: white; background: var(--secondary-color); border: 6px solid #e9ece8; }
.detail-photo img { width: 42%; height: 115px; object-fit: cover; }
.detail-photo span { font-size: 14px; line-height: 1.3; }
/* REVIEWS */
.reviews { background: #fff; }
.rating-link { display: flex; flex-direction: column; gap: 3px; }
.rating-link strong { font-size: 25px; }
.rating-link strong span { margin-left: 8px; color: #906b00; font-size: 15px; letter-spacing: 2px; }
.rating-link > span { color: var(--muted); font-size: 12px; text-decoration: underline; }
.reviews-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 90%; align-items: start; gap: 16px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; }
.review-card { display: flex; flex-direction: column; min-height: 300px; padding: 25px; background: var(--bg-color); border: 1px solid var(--line); border-radius: var(--radius); scroll-snap-align: start; min-width: 0; }
.stars { margin-bottom: 20px; color: #876600; letter-spacing: 3px; font-size: 16px; }
blockquote { margin: 0 0 25px; font-size: 15px; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #e0e4df; font-size: 14px; font-weight: 700; }
.review-author h3 { font-size: 14px; line-height: 1.4; }
.review-author time { color: var(--muted); font-size: 12px; }
.swipe-hint { margin-top: 12px; color: var(--muted); font-size: 12px; }
.review-card[hidden], .review-controls[hidden] { display: none; }
.js .reviews-grid { grid-auto-columns: 100%; }
.review-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 15px; }
.review-controls button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-color); color: var(--text-color); font-size: 14px; }
.review-controls span { color: var(--muted); font-size: 14px; }
/* CONTACTS */
.contacts { color: white; background: var(--secondary-color); }
.contacts-grid { display: grid; gap: 40px; }
.contacts .eyebrow { color: var(--primary-color); }
.contacts h2 { margin: 14px 0 20px; }
.contact-intro { color: #c0c6c5; }
address { display: flex; flex-direction: column; align-items: flex-start; margin: 26px 0; font-style: normal; }
.contact-phone { font-size: clamp(23px, 4vw, 32px); font-weight: 700; letter-spacing: -.7px; }
.second-phone { display: inline-flex; align-items: center; min-height: 44px; color: #c6ccca; }
.contact-detail { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 22px 0; }
.contact-detail > span { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: #afb8b5; }
.contact-detail p { max-width: 420px; font-size: 14px; }
.contacts .actions { margin-top: 28px; }
.location-card { align-self: start; overflow: hidden; color: var(--text-color); background: white; border-radius: var(--radius); }
.location-card > img { aspect-ratio: 16/10; object-fit: cover; }
.location-card > div { padding: 26px; }
.location-card .eyebrow { color: #776014; }
.location-card h3 { margin-top: 8px; font-size: 25px; }
.location-card p { margin: 8px 0 20px; color: var(--muted); font-size: 14px; }
/* FOOTER */
.footer { padding: 26px 0; background: #121516; color: #aeb6b3; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 25px; font-size: 12px; }
.footer .brand { color: white; font-size: 18px; }
.footer-link { min-height: 44px; padding: 0; border: 0; color: inherit; background: transparent; font-size: inherit; }
.footer a:not(.brand) { display: flex; align-items: center; min-height: 44px; }
/* PRICE LIST AND DIALOGS */
.price-fallback { padding: 40px 20px; background: white; }
.price-shell { max-width: 880px; margin: 0 auto; }
dialog { width: calc(100% - 32px); max-width: 900px; max-height: 88dvh; margin: auto; padding: 24px; color: var(--text-color); background: #fff; border: 0; border-radius: var(--radius); overflow-y: auto; }
dialog::backdrop { background: #0d1112cc; }
#privacy { max-width: 650px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dialog-heading h2 { margin-top: 7px; }
.close-button { display: grid; place-items: center; flex: 0 0 44px; height: 44px; padding: 0; font-size: 30px; line-height: 1; color: var(--text-color); border: 1px solid var(--line); background: #f4f5f2; border-radius: 50%; }
.close-button[hidden] { display: none; }
.price-intro { margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.price-intro a { text-decoration: underline; }
.price-row { display: grid; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 15px; }
.price-row strong { white-space: nowrap; }
/* TABLET */
@media (min-width: 768px) {
  :root { --space: 64px; }
  .header-phone { order: 0; width: auto; padding-bottom: 0; margin-left: auto; }
  .header-phone small { display: block; }
  .menu-toggle { order: 3; }
  nav { order: 4; }
  .hero { min-height: 650px; }
  .hero-image { position: absolute; inset: 0 0 0 45%; height: auto; }
  .hero-image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #171a1b 0%, #171a1b22 50%, #171a1b10), linear-gradient(0deg, #171a1b99, transparent 55%); }
  .hero-copy { max-width: 560px; padding: 65px 0; }
  .desktop-break { display: initial; }
  .hero-caption { position: absolute; right: max(30px, calc((100vw - 1160px)/2)); bottom: 32px; display: flex; flex-direction: column; gap: 5px; padding-left: 18px; border-left: 2px solid var(--primary-color); }
  .hero-caption span { font-size: 10px; letter-spacing: 1.3px; }
  .hero-caption strong { font-size: 14px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .about-photos { padding: 0; }
  .reviews-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: stretch; overflow: visible; }
  .swipe-hint { display: none; }
  .contacts-grid { grid-template-columns: 1.1fr 1fr; }
  .price-row { grid-template-columns: 1fr auto; gap: 30px; }
  dialog { padding: 35px; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --space: 80px; }
  .header-inner { flex-wrap: nowrap; min-height: 88px; }
  .brand { font-size: 24px; }
  .js .menu-toggle { display: none; }
  nav, .js nav, .js nav.is-open { display: flex; order: 0; width: auto; gap: 22px; padding: 0; margin-left: auto; }
  .header-phone { margin-left: 26px; font-size: 17px; }
  .hero { min-height: 660px; }
  .hero-image { left: 42%; }
  .hero-copy { padding: 70px 0; }
  .hero .eyebrow { font-size: 11px; }
  .hero-description { font-size: 17px; }
  .advantage-grid { grid-template-columns: repeat(3, minmax(0,1fr)); padding-top: 30px; padding-bottom: 30px; }
  .advantage-grid article { padding: 0 26px; border-bottom: 0; border-right: 1px solid var(--line); }
  .advantage-grid article:first-child { padding-left: 0; }
  .advantage-grid article:last-child { padding-right: 0; }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 38px; }
  .section-heading > p { max-width: 330px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .service-card { padding: 30px; }
  .about-grid { gap: 65px; }
  .about-copy h2 { font-size: 42px; }
  .detail-photo img { height: 145px; }
  .detail-photo span { font-size: 18px; }
  .reviews-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .contacts-grid { gap: 85px; }
  .location-card > img { aspect-ratio: 16/9; }
  .footer-inner p { margin-right: auto; }
}
@media (min-width: 1440px) {
  .hero-copy { padding-top: 78px; }
  .hero { min-height: 690px; }
}
/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  .button, .service-card { transition: none; }
}
