/* TOKENS AND BASE */
:root {
  --primary-color: #562b3c;
  --secondary-color: #f6e9ec;
  --accent-color: #9b526d;
  --text-color: #382b30;
  --muted-color: #705e65;
  --bg-color: #fffcfc;
  --card-bg: #fff;
  --line-color: #e7dce0;
  --container-width: 1200px;
  --radius: 8px;
  --section-space: 44px;
  --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.65 var(--font-body); }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--font-heading); font-weight: 400; line-height: 1.13; letter-spacing: -.035em; color: var(--primary-color); }
h1 { font-size: clamp(32px, 5vw, 60px); }
h2 { font-size: clamp(30px, 3.5vw, 44px); }
h3 { line-height: 1.3; }
em { font-weight: 400; color: var(--accent-color); }
.container { width: min(100%, var(--container-width)); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 20px; font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.7; color: var(--muted-color); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 21px; font-size: 14px; line-height: 1.5; text-align: center; color: #fff; background: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 4px; transition: background .3s ease, transform .3s ease, box-shadow .3s ease; }
.button:hover { background: #713b50; transform: translateY(-2px); box-shadow: 0 6px 20px #562b3c19; }
.button-light { color: var(--primary-color); background: transparent; border-color: #bca2ad; }
.button-light:hover { color: var(--primary-color); background: #f1dfe5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 6px; color: var(--primary-color); }
.icon { flex: 0 0 auto; width: 30px; height: 30px; color: var(--accent-color); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px; background: white; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 20; background: #fffcfcfa; border-bottom: 1px solid var(--line-color); }
.header-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; padding-block: 13px; }
.brand { flex-shrink: 0; font-family: var(--font-heading); font-size: 29px; line-height: 1; letter-spacing: -.06em; color: var(--primary-color); }
.brand span { font-style: italic; }
.brand small { display: block; margin-top: 7px; font-family: var(--font-body); font-size: 9px; font-weight: 400; letter-spacing: .23em; }
.menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; color: var(--primary-color); background: transparent; border: 1px solid var(--line-color); border-radius: 4px; }
.menu-toggle span { width: 20px; height: 1px; background: currentColor; transition: transform .3s ease; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav { position: absolute; top: 100%; left: 0; display: none; flex-direction: column; width: 100%; max-height: calc(100dvh - 120px); padding: 16px 20px; overflow-y: auto; background: var(--bg-color); border-bottom: 1px solid var(--line-color); }
.nav.is-open { display: flex; }
.nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.nav a:hover { color: var(--accent-color); }
.header-phone { font-size: 14px; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.header-cta { min-height: 36px; margin-left: auto; padding: 6px 12px; }
/* HERO SECTION */
.hero { overflow: hidden; background: var(--secondary-color); }
.hero-grid { display: grid; padding-inline: 0; }
.hero-copy { padding: 38px 20px 32px; animation: enter .8s ease both; }
.hero .eyebrow { font-size: 10px; letter-spacing: .1em; }
.hero h1 em { display: inline-block; font-size: 1.14em; }
.hero-description { max-width: 420px; margin-block: 24px; color: var(--muted-color); }
.hero .actions { gap: 10px; }
.hero .button { flex: 1 1 auto; }
.rating { display: flex; align-items: center; gap: 14px; width: fit-content; margin-top: 28px; font-size: 12px; line-height: 1.5; }
.rating-number { font-family: var(--font-heading); font-size: 29px; color: var(--primary-color); }
.rating-number span { font-size: 18px; color: var(--accent-color); }
.rating small { display: block; font-size: 12px; color: var(--muted-color); }
.hero-visual { position: relative; min-width: 0; height: 380px; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.photo-caption { position: absolute; left: 16px; bottom: 20px; display: flex; align-items: center; gap: 36px; padding: 15px 20px; background: #fffcfcf2; font-family: var(--font-heading); font-size: 21px; line-height: 1.25; color: var(--primary-color); }
.hero-hours { position: absolute; top: 20px; right: 16px; padding: 6px 10px; font-size: 10px; letter-spacing: .08em; color: #fff; background: var(--primary-color); }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* BENEFITS */
.benefits { display: grid; gap: 26px; padding-block: 34px; border-bottom: 1px solid var(--line-color); }
.benefits article { display: flex; gap: 18px; }
.benefits h2 { margin-bottom: 8px; font: 600 17px/1.4 var(--font-body); letter-spacing: -.02em; }
.benefits p { font-size: 16px; line-height: 1.65; color: var(--muted-color); }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading > p { max-width: 330px; font-size: 15px; color: var(--muted-color); }
.services-grid { display: grid; gap: 24px; }
.service-card { min-width: 0; 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 12px 25px #562b3c0d; }
.service-image { position: relative; height: 240px; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.service-image span { position: absolute; bottom: 14px; left: 16px; padding: 5px 14px; font-size: 12px; background: var(--bg-color); border-radius: 2px; }
.service-copy { padding: 23px; }
.service-copy h3 { font-family: var(--font-heading); font-size: 23px; font-weight: 400; color: var(--primary-color); }
.service-copy > p { min-height: 78px; margin-top: 10px; font-size: 16px; color: var(--muted-color); }
.service-price { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-color); }
.service-price span { display: block; font-size: 12px; line-height: 1.5; color: var(--muted-color); }
.service-price strong { display: block; margin-top: 5px; font-size: 18px; font-weight: 500; color: var(--primary-color); }
.price-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; text-align: center; }
.price-cta p { font-size: 14px; color: var(--muted-color); }
/* ABOUT */
.about { background: var(--secondary-color); }
.about-grid { display: grid; gap: 36px; }
.about-copy > p:not(.eyebrow) { max-width: 460px; margin-top: 24px; color: var(--muted-color); }
.about-note { margin-top: 26px; padding-block: 16px; border-top: 1px solid #d9c5cd; border-bottom: 1px solid #d9c5cd; color: var(--primary-color); font-size: 14px; }
.about-note span { display: block; font-family: var(--font-heading); font-size: 29px; }
.about-copy .text-link { margin-top: 16px; }
.about-photos { position: relative; order: -1; padding: 0 36px 45px 0; }
.about-entrance { width: 100%; height: 380px; object-fit: cover; border-radius: 120px 120px 4px 4px; }
.about-detail { position: absolute; right: 0; bottom: 0; width: 44%; height: 220px; object-fit: cover; border: 6px solid var(--secondary-color); border-radius: 80px 80px 0 0; }
.photo-label { position: absolute; bottom: 10px; left: 5px; font-family: var(--font-heading); font-size: 17px; font-style: italic; color: var(--primary-color); }
/* REVIEWS */
.reviews-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 89%; gap: 16px; margin: 0 -20px; padding: 6px 20px 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
.review { display: flex; flex-direction: column; min-width: 0; padding: 25px; scroll-snap-align: center; border: 1px solid var(--line-color); border-radius: var(--radius); background: #fff; }
.stars { font-size: 17px; letter-spacing: .13em; color: var(--accent-color); }
.review blockquote { margin: 20px 0 26px; font-size: 16px; line-height: 1.75; }
.review-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--secondary-color); color: var(--primary-color); font-family: var(--font-heading); }
.review h3 { font-size: 13px; }
.review time { font-size: 12px; color: var(--muted-color); }
.swipe-hint { margin-bottom: 12px; font-size: 12px; color: var(--muted-color); }
/* CONTACTS */
.contacts { border-top: 1px solid var(--line-color); }
.contact-grid { display: grid; gap: 34px; }
.contact-intro { margin-top: 20px; max-width: 360px; color: var(--muted-color); }
address { display: grid; gap: 22px; margin-block: 28px; font-style: normal; }
address > div { display: flex; gap: 18px; }
address .icon { width: 24px; height: 24px; margin-top: 5px; }
address span { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .1em; color: var(--muted-color); }
address a { display: inline-block; min-height: 32px; }
.location-card { overflow: hidden; border-radius: var(--radius); background: var(--secondary-color); }
.location-card > img { width: 100%; height: 320px; object-fit: cover; object-position: 50% 40%; }
.location-card > div { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.location-card p { font-family: var(--font-heading); font-size: 25px; color: var(--primary-color); }
.location-card small { display: block; margin-top: 3px; font: 12px/1.6 var(--font-body); color: var(--muted-color); }
/* FOOTER */
.footer { padding-block: 32px; border-top: 1px solid var(--line-color); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer p, .footer a:not(.brand) { font-size: 12px; color: var(--muted-color); }
.footer a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; }
/* DIALOGS */
dialog { width: min(880px, calc(100% - 24px)); max-height: 88dvh; padding: 24px 18px; color: var(--text-color); background: var(--bg-color); border: 1px solid var(--line-color); border-radius: 12px; }
dialog::backdrop { background: #24141c99; }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dialog-heading .eyebrow { margin-bottom: 10px; }
.dialog-heading h2 { font-size: 30px; }
.dialog-close { flex-shrink: 0; width: 44px; height: 44px; padding: 0; font-size: 30px; line-height: 1; color: var(--primary-color); background: var(--secondary-color); border: 0; border-radius: 50%; }
.price-note { margin-block: 20px; font-size: 14px; color: var(--muted-color); }
.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.6; }
.price-table th { padding-block: 14px; text-align: left; color: var(--primary-color); }
.price-table td { padding: 14px 10px 14px 0; vertical-align: top; border-top: 1px solid var(--line-color); overflow-wrap: anywhere; }
.price-table th:last-child, .price-table td:last-child { width: 85px; padding-right: 0; text-align: right; }
.dialog-bottom { padding-top: 24px; text-align: center; }
#privacy-dialog { max-width: 650px; }
#privacy-dialog > p { margin-top: 20px; }
/* TABLET */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .container { padding-inline: 28px; }
  .header-inner { display: flex; flex-wrap: nowrap; gap: 20px; }
  .header-phone { margin-left: auto; }
  .menu-toggle { order: 4; margin-left: 0; }
  .header-cta { margin-left: 0; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; padding-inline: 28px; }
  .hero-copy { align-self: center; padding: 45px 32px 45px 0; }
  .hero-visual { height: 570px; }
  .hero .actions { flex-direction: column; align-items: flex-start; }
  .hero .button { flex-grow: 0; }
  .hero .eyebrow { font-size: 11px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { flex-direction: row; align-items: flex-end; }
  .section-heading > p { max-width: 250px; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .about-photos { order: 0; }
  .about-entrance { height: 470px; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; gap: 20px; margin: 0; padding: 6px; overflow: visible; }
  .swipe-hint { display: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .location-card > img { height: 380px; }
  dialog { padding: 32px; }
  .price-table th:last-child, .price-table td:last-child { width: 130px; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .container { padding-inline: 20px; }
  .header-inner { gap: 23px; min-height: 90px; }
  .brand { font-size: 34px; }
  .menu-toggle { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 20px; width: auto; max-height: none; margin-left: auto; padding: 0; border: 0; }
  .nav a { font-size: 12px; }
  .header-phone { margin-left: 0; font-size: 13px; white-space: nowrap; }
  .header-cta { padding: 10px 16px; min-height: 42px; font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr 1fr; padding-inline: 20px; }
  .hero-copy { padding-right: 44px; }
  .hero-visual { height: 610px; }
  .hero .actions { flex-direction: row; }
  .hero-description { font-size: 16px; }
  .hero .button { padding-inline: 18px; }
  .rating { margin-top: 34px; }
  .photo-caption { left: -24px; bottom: 34px; padding: 20px 30px; font-size: 25px; }
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 38px; }
  .benefits article { gap: 16px; }
  .benefits article + article { padding-left: 24px; border-left: 1px solid var(--line-color); }
  .benefits .icon { width: 26px; height: 26px; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-image { height: 270px; }
  .service-copy { padding: 26px; }
  .price-cta { margin-top: 36px; }
  .about-grid { gap: 100px; }
  .about-photos { padding-right: 50px; padding-bottom: 50px; }
  .about-entrance { height: 490px; }
  .about-detail { height: 265px; }
  .about-note { display: flex; align-items: center; justify-content: space-between; }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review { padding: 27px; }
  .contact-grid { gap: 80px; align-items: center; }
  .location-card > img { height: 370px; }
  .location-card > div { flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; padding: 22px; }
  .location-card .button { padding: 10px 12px; font-size: 12px; }
}
@media (min-width: 1440px) {
  .hero-visual { height: 640px; }
  .hero h1 { font-size: 64px; }
}
/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  a, button, .button, .service-card, .menu-toggle span { transition: none; }
}
