/* THEME AND BASE */
:root {
  --primary-color: #424b36;
  --secondary-color: #e9e9df;
  --accent-color: #a84726;
  --text-color: #2a3025;
  --muted-color: #62675a;
  --bg-color: #faf8f2;
  --card-bg: #f1f0e8;
  --line-color: #d5d8cb;
  --container: 1200px;
  --radius: 8px;
  --section-space: 48px;
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 16px/1.6 var(--body-font); color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button { font: inherit; color: inherit; }
img { display: block; width: 100%; height: auto; }
p { margin: 0 0 20px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--display-font); line-height: 1.08; letter-spacing: -.04em; }
h2 { font-size: clamp(32px, 4vw, 48px); }
em { font-weight: 400; color: var(--primary-color); }
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 5px; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 20px; background: var(--bg-color); transform: translateY(-150%); }
.skip:focus { transform: none; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 14px 22px; border: 1px solid var(--primary-color); border-radius: 3px; font-size: 14px; font-weight: 600; transition: background .3s ease, transform .3s ease; }
.primary { color: var(--bg-color); background: var(--primary-color); }
.primary:hover { background: #303c28; transform: translateY(-2px); }
.outline { background: transparent; }
.outline:hover { background: var(--secondary-color); }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 14px; border-bottom: 1px solid var(--line-color); }
.text-link:hover { color: var(--accent-color); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line-color); background: var(--bg-color); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 85px; }
.logo { display: flex; flex-direction: column; align-items: center; line-height: .85; }
.logo > span { font-family: var(--display-font); font-size: 48px; letter-spacing: -.06em; }
.logo-dot { color: var(--accent-color); }
.logo small { margin-top: 8px; font-size: 9px; letter-spacing: .09em; }
.header-phone { margin-left: auto; font-size: 12px; font-weight: 700; white-space: nowrap; }
.header-phone span { display: block; text-align: right; font-size: 10px; font-weight: 400; color: var(--muted-color); }
.menu-toggle { display: grid; gap: 6px; place-content: center; order: 3; width: 44px; height: 44px; border: 1px solid var(--line-color); background: transparent; }
.menu-toggle span { width: 19px; height: 1px; background: var(--text-color); }
nav { position: absolute; top: 100%; left: -20px; right: -20px; display: flex; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line-color); background: var(--bg-color); }
.js nav { display: none; }
.js nav.open { display: flex; }
nav a { padding: 10px; font-size: 14px; }
nav a:hover { color: var(--accent-color); }
html:not(.js) .header { position: relative; }
html:not(.js) .header-inner { flex-wrap: wrap; }
html:not(.js) nav { position: static; flex-basis: 100%; }
html:not(.js) .menu-toggle { display: none; }
/* HERO SECTION */
.hero { display: grid; padding-top: 28px; }
.hero-copy { padding: 10px 0 34px; animation: enter .8s ease both; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.little-star { font-size: 28px; line-height: 1; color: var(--accent-color); }
h1 { font-size: clamp(43px, 6vw, 74px); }
.hero-description { margin: 24px 0; color: var(--muted-color); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-color); }
.rating { display: inline-flex; align-items: center; gap: 12px; }
.rating > b { font: 38px var(--display-font); }
.stars { display: block; font-size: 15px; letter-spacing: .12em; color: var(--accent-color); }
.rating small { display: block; font-size: 10px; color: var(--muted-color); }
.hero-hours { font-size: 12px; color: var(--muted-color); }
.hero-hours b { color: var(--text-color); font-weight: 400; }
.hero-visual { position: relative; min-height: 390px; }
.hero-visual > img { height: 440px; object-fit: cover; object-position: 50% 52%; border-radius: 180px 180px 3px 3px; }
.photo-label { position: absolute; bottom: 17px; left: 20px; padding: 5px 10px; font-size: 9px; letter-spacing: .18em; color: var(--bg-color); background: #303c28; }
.hero-stamp { position: absolute; top: 22px; right: -8px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 92px; height: 92px; border: 1px solid var(--primary-color); border-radius: 50%; font: italic 37px/.8 var(--display-font); background: var(--bg-color); transform: rotate(12deg); }
.hero-stamp small { margin-top: 8px; font: 8px var(--body-font); }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* BENEFITS */
.benefits { display: grid; gap: 28px; padding-block: 45px; margin-top: 30px; border-bottom: 1px solid var(--line-color); }
.benefits article { display: flex; gap: 18px; }
.benefit-icon { font: 34px/1.2 var(--display-font); color: var(--primary-color); }
.benefits h2 { margin-bottom: 10px; font: 19px var(--display-font); letter-spacing: -.01em; }
.benefits p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-color); }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 18px; color: var(--muted-color); }
.section-heading > p { margin: 0; color: var(--muted-color); }
.service-grid { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line-color); border-radius: var(--radius); background: var(--card-bg); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px #2a302511; }
.card-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 30px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-color); }
.service-card h3 { margin-bottom: 14px; font: 25px/1.2 var(--display-font); }
.service-card p { font-size: 14px; color: var(--muted-color); }
.card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.card-bottom strong { font-weight: 400; font-size: 19px; }
.card-bottom a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-color); border-radius: 50%; font-size: 23px; }
.card-bottom a:hover { background: var(--secondary-color); }
.full-price { margin-top: 30px; }
.full-price summary { display: flex; width: fit-content; margin-inline: auto; list-style: none; }
.full-price summary::-webkit-details-marker { display: none; }
.price-content { padding-top: 32px; }
.price-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.price-heading h2 { font-size: 32px; }
.close-price { display: none; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line-color); border-radius: 50%; font-size: 28px; background: transparent; }
.full-price[role="dialog"] { position: fixed; inset: 16px; z-index: 50; width: min(850px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; overflow: auto; border: 1px solid var(--line-color); border-radius: var(--radius); background: var(--bg-color); box-shadow: 0 0 0 100vmax #182014b8; }
.full-price[role="dialog"] summary { display: none; }
.full-price[role="dialog"] .close-price { display: block; }
.full-price[role="dialog"] .price-content { padding: 0; }
.price-content > p { margin-top: 20px; color: var(--muted-color); }
.price-group h3 { margin-top: 30px; padding-bottom: 10px; font: 23px var(--display-font); }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-color); font-size: 14px; }
.price-row strong { white-space: nowrap; font-weight: 600; }
/* ABOUT */
.about { display: flex; flex-direction: column; gap: 36px; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p:not(.eyebrow) { color: var(--muted-color); }
.about-photo { order: -1; margin: 0; }
.about-photo img { aspect-ratio: 1.12; object-fit: cover; border-radius: 3px 3px 80px 3px; }
.about-photo figcaption { padding-top: 12px; font-size: 11px; color: var(--muted-color); }
.about-signature { display: block; margin-top: 26px; font: italic 27px var(--display-font); color: var(--primary-color); }
/* REVIEWS */
.reviews { background: var(--secondary-color); }
.review-rating { font: 36px var(--display-font); }
.review-rating .stars { display: inline; font-size: 20px; }
.review-rating small { display: block; margin-top: 10px; font: 12px var(--body-font); }
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 16px; padding: 5px 3px 15px; overflow-x: auto; scroll-snap-type: x mandatory; }
.review { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--bg-color); scroll-snap-align: start; }
.review blockquote { margin: 22px 0 26px; font-size: 16px; line-height: 1.65; }
.review-author { margin-top: auto; font-size: 14px; font-weight: 700; }
.review time { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: var(--muted-color); }
.swipe-hint { margin: 16px 0 0; font-size: 12px; color: var(--muted-color); }
/* CONTACTS */
.contact-grid { display: grid; gap: 32px; }
.contact-label { font-size: 10px; letter-spacing: .15em; color: var(--muted-color); }
.address { margin-top: 12px; font: 28px/1.3 var(--display-font); }
.contact-phone { display: block; width: fit-content; margin: 26px 0; font-size: 22px; }
.socials { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.location-photo { position: relative; min-height: 340px; }
.location-photo img { height: 100%; min-height: 340px; object-fit: cover; border-radius: var(--radius); }
.map-link { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 16px; font-size: 14px; border-radius: 3px; background: var(--bg-color); }
.map-link:hover { background: var(--secondary-color); }
/* FOOTER AND PRIVACY */
.footer { padding-block: 30px; color: var(--bg-color); background: var(--primary-color); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 26px; }
.footer .logo > span { font-size: 42px; }
.footer p, .footer a:not(.logo), .privacy-link { margin: 0; font-size: 12px; }
.footer a:not(.logo), .privacy-link { display: inline-flex; align-items: center; min-height: 44px; }
.privacy-link { padding: 0; border: 0; color: inherit; background: transparent; }
.privacy-dialog { width: min(560px, calc(100% - 32px)); max-height: 85dvh; padding: 32px; border: 1px solid var(--line-color); border-radius: var(--radius); color: var(--text-color); background: var(--bg-color); }
.privacy-dialog::backdrop { background: #182014b8; }
.privacy-dialog h2 { margin: 20px 0; font-size: 30px; overflow-wrap: anywhere; }
.dialog-close { float: right; width: 44px; height: 44px; border: 1px solid var(--line-color); font-size: 26px; background: transparent; }
/* RESPONSIVE LAYOUT */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .hero { grid-template-columns: 1.08fr 1fr; align-items: center; gap: 35px; padding-top: 40px; }
  .hero-copy { padding: 15px 0; }
  .hero-visual > img { height: 570px; }
  .hero-description { font-size: 16px; }
  .hero-stamp { right: -12px; width: 100px; height: 100px; }
  .hero-bottom { gap: 12px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 35px; }
  .section-heading > p { font-size: 14px; }
  .about { flex-direction: row; align-items: center; gap: 45px; }
  .about-copy, .about-photo { width: 50%; }
  .about-photo { order: 0; }
  .review-grid { grid-auto-flow: initial; grid-auto-columns: auto; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 0; }
  .swipe-hint { display: none; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 50px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { min-height: 100px; }
  .logo > span { font-size: 56px; }
  .menu-toggle { display: none; }
  .js nav, nav { position: static; display: flex; flex-direction: row; gap: 12px; padding: 0; border: 0; }
  .header-phone { margin-left: 0; font-size: 15px; }
  .header-phone span { font-size: 11px; }
  .hero { gap: 70px; padding-top: 46px; }
  .hero-copy { padding-block: 24px; }
  .hero-description { margin-block: 28px 32px; }
  .hero-bottom { margin-top: 50px; }
  .hero-visual > img { height: 615px; border-radius: 240px 240px 3px 3px; }
  .hero-stamp { top: 40px; right: -16px; width: 110px; height: 110px; font-size: 42px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 44px; padding-block: 45px; }
  .benefits article + article { padding-left: 26px; border-left: 1px solid var(--line-color); }
  .service-grid, .review-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { min-height: 290px; padding: 30px; }
  .about { gap: 90px; }
  .about-photo img { aspect-ratio: 1.1; }
  .review { padding: 30px; }
}
@media (min-width: 1440px) {
  .hero { gap: 90px; }
  .hero-stamp { right: -20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
  .hero-copy { animation: none; }
  .button, .service-card { transition: none; }
}

/* MISHLEN QA 1.3.3: keep decorative hero seal within 768–1439px viewport. */
@media (min-width: 768px) and (max-width: 1439px) {
  .hero-visual .hero-stamp { right: 0; }
}
