/* DESIGN TOKENS */
:root {
  --primary-color: #704a58;
  --secondary-color: #efe4e7;
  --accent-color: #533240;
  --text-color: #302a2d;
  --bg-color: #fcfaf9;
  --card-bg: #fff;
  --muted: #685c61;
  --line: #ddcfd4;
  --container: 1200px;
  --radius: 8px;
  --space: 24px;
  --font: Arial, Helvetica, sans-serif;
  --display: Georgia, 'Times New Roman', serif;
}
/* BASE AND ACCESSIBILITY */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ad6a22; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(36px, 6vw, 74px); }
h2 { margin-bottom: 24px; font-size: clamp(30px, 3.6vw, 48px); }
h3 { line-height: 1.4; }
em { font-weight: 400; color: var(--primary-color); }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: 48px; }
.eyebrow { margin-bottom: 20px; font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; font-size: 14px; font-weight: 600; color: #fff; background: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 2px; transition: background .3s ease, transform .3s ease; }
.button:hover { background: var(--accent-color); transform: translateY(-2px); }
.button-outline { color: var(--primary-color); background: transparent; }
.button-outline:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--primary-color); font-size: 14px; font-weight: 600; }
.stars { color: var(--primary-color); letter-spacing: .12em; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px; color: #fff; background: var(--primary-color); }
.skip-link:focus { top: 10px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; background: var(--bg-color); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 18px; }
.brand { font: italic 30px/1 var(--display); letter-spacing: -1.4px; }
.brand span { display: block; margin-top: 9px; font: 9px/1.2 var(--font); letter-spacing: .2em; }
.header nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.header nav a { padding-block: 10px; font-size: 14px; }
.header nav a:hover { color: var(--primary-color); }
.header-phone { display: none; white-space: nowrap; font-size: 14px; }
.header-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; color: inherit; background: transparent; border: 1px solid var(--line); }
.menu-toggle span { display: block; height: 1px; margin: 7px 0; background: currentColor; }
.js .menu-toggle { display: block; }
.js .header nav { position: absolute; top: 100%; right: -20px; left: -20px; display: none; padding: 20px; background: var(--bg-color); border-bottom: 1px solid var(--line); }
.js .header nav.is-open { display: flex; flex-direction: column; }
/* HERO */
.hero { overflow: hidden; background: var(--secondary-color); }
.hero-grid { display: grid; }
.hero-copy { padding-block: 46px; animation: enter .8s ease both; }
.hero-copy .eyebrow { color: var(--primary-color); }
.hero h1 { margin-bottom: 24px; }
.hero-description { max-width: 410px; margin-bottom: 28px; color: #54464c; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; font-size: 12px; line-height: 1.9; }
.hero-meta b { font-weight: 600; }
.hero-meta > span { padding-right: 24px; border-right: 1px solid #c9b6be; }
.hero-visual { position: relative; height: 420px; margin-inline: -20px; }
.hero-visual > img { width: 100%; height: 100%; object-position: 50% 27%; }
.photo-caption { position: absolute; right: 24px; bottom: 24px; padding: 6px 12px; font: italic 20px var(--display); color: #fff; background: #302a2d; }
.hero-seal { display: none; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* BENEFITS */
.benefits { display: grid; gap: 28px; padding-block: 40px; border-bottom: 1px solid var(--line); }
.benefits article { display: flex; gap: 18px; }
.line-icon { flex: 0 0 34px; font-size: 32px; line-height: 1.1; color: var(--primary-color); }
.benefits h2 { margin: 0 0 8px; font: 600 17px/1.4 var(--font); letter-spacing: 0; }
.benefits p { margin: 0; font-size: 14px; color: var(--muted); }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: 14px; }
.service-grid { display: grid; gap: 24px; }
.service-card { overflow: hidden; 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(-5px); box-shadow: 0 12px 30px #302a2d12; }
.service-card > img { width: 100%; height: 280px; object-position: center 38%; }
.service-copy { padding: 24px; }
.service-copy .eyebrow { margin-bottom: 12px; font-size: 11px; color: var(--primary-color); }
.service-copy h3 { margin-bottom: 12px; font-size: 18px; }
.service-copy p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.service-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.service-bottom strong { font: 24px var(--display); }
.service-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.all-services { margin-top: 36px; text-align: center; }
.all-services p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
/* ABOUT */
.about { background: #f0eaec; }
.about-grid { display: grid; gap: 32px; }
.about-copy { order: 2; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.about-photo { width: 100%; height: 340px; }
.about-sign { display: flex; align-items: center; gap: 18px; margin-top: 28px; font-size: 14px; }
.about-sign img { width: 64px; height: 64px; border-radius: 50%; }
/* REVIEWS */
.rating-link { display: flex; flex-direction: column; font-size: 13px; }
.rating-link strong { font: 28px var(--display); }
.rating-link .stars { font: 16px var(--font); }
.reviews-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 92%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
.review { min-width: 0; padding: 26px; background: #f4eff1; border-radius: var(--radius); scroll-snap-align: start; }
.review blockquote { margin: 20px 0 24px; font-size: 16px; overflow-wrap: anywhere; }
.review-author { font-size: 14px; font-weight: 600; }
.review time { font-size: 12px; color: var(--muted); }
.swipe-hint { margin-top: 8px; font-size: 12px; color: var(--muted); }
/* CONTACTS */
.contacts { background: var(--secondary-color); }
.contacts-grid { display: grid; gap: 36px; }
.contact-intro { color: var(--muted); }
address { margin-block: 28px; font-style: normal; }
address p { margin-bottom: 18px; }
address span { display: block; font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.social-links { display: flex; gap: 24px; margin-top: 20px; font-size: 14px; }
.social-links a { padding-block: 10px; text-decoration: underline; text-underline-offset: 5px; }
.map-panel { display: flex; flex-direction: column; min-height: 380px; background: var(--card-bg); }
.map-panel > img { flex: 1; width: 100%; min-height: 280px; height: 320px; object-fit: cover; }
.map-details summary { padding: 14px 20px; cursor: pointer; color: var(--primary-color); background: var(--card-bg); }
.map-panel iframe { flex: 1; width: 100%; min-height: 330px; border: 0; }
.map-link { padding: 16px; font-size: 14px; text-align: center; text-decoration: underline; text-underline-offset: 5px; }
/* FOOTER */
.footer { padding-block: 32px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.footer p { margin: 0; }
.footer .brand { font-size: 28px; }
.privacy-link { min-height: 44px; padding: 0; font-size: 12px; color: inherit; background: none; border: 0; text-decoration: underline; }
/* DIALOGS */
dialog { width: min(900px, calc(100% - 24px)); max-height: 85dvh; padding: 24px; color: var(--text-color); background: var(--bg-color); border: 1px solid var(--line); border-radius: var(--radius); }
dialog::backdrop { background: #251b22a6; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dialog-heading h2 { font-size: 32px; }
.dialog-heading .eyebrow { margin-bottom: 8px; }
.close-dialog { position: sticky; top: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 28px; line-height: 1; color: var(--text-color); background: var(--secondary-color); border: 0; border-radius: 50%; }
.price-group { margin-block: 28px; }
.price-group h3 { color: var(--primary-color); }
.price-row { display: grid; grid-template-columns: 1fr; gap: 5px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.price-row strong { white-space: nowrap; }
/* TABLET */
@media (min-width: 768px) {
  .section { padding-block: 72px; }
  .header-phone { display: block; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .hero-copy { padding: 60px 25px 60px 0; }
  .hero-visual { height: 100%; min-height: 560px; margin: 0; }
  .hero-description { font-size: 16px; }
  .benefits { grid-template-columns: repeat(3,1fr); padding-block: 44px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 36px; }
  .section-heading > p { flex-shrink: 0; margin-bottom: 0; }
  .about-grid, .contacts-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .about-copy { order: 0; }
  .about-photo { height: 100%; min-height: 450px; }
  .reviews-grid { grid-auto-flow: row; grid-template-columns: repeat(2,1fr); gap: 24px; overflow: visible; }
  .swipe-hint { display: none; }
  .map-panel { align-self: stretch; }
  .price-row { grid-template-columns: 1fr auto; gap: 24px; }
  dialog { padding: 36px; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  .js .menu-toggle { display: none; }
  .js .header nav, .js .header nav.is-open { position: static; display: flex; flex-direction: row; padding: 0; border: 0; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 18px; }
  .header nav { gap: 14px; }
  .header-inner { min-height: 96px; gap: 20px; }
  .hero-copy { padding: 76px 32px 70px 0; }
  .hero-visual { min-height: 610px; }
  .hero h1 { font-size: 64px; }
  .hero-meta { margin-top: 42px; }
  .hero-seal { position: absolute; bottom: 64px; left: -45px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 90px; height: 90px; font: italic 42px var(--display); color: var(--primary-color); background: var(--secondary-color); border: 1px solid var(--primary-color); border-radius: 50%; }
  .hero-seal span { font: 8px var(--font); letter-spacing: .12em; }
  .service-grid { grid-template-columns: repeat(3,1fr); }
  .service-copy { min-height: 242px; display: flex; flex-direction: column; }
  .service-bottom { margin-top: auto; }
  .about-grid { gap: 80px; }
  .about-photo { min-height: 510px; }
  .reviews-grid { grid-template-columns: repeat(3,1fr); }
  .section { padding-block: 80px; }
}
@media (min-width: 1440px) {
  .hero h1 { font-size: 74px; }
  .hero-copy { padding-block: 86px; }
}
/* NARROW SCREENS AND MOTION PREFERENCES */
@media (max-width: 767px) {
  .header-phone { display: block; font-size: 12px; }
  .header-inner { gap: 8px; }
  .header .brand { font-size: 26px; }
  .header .brand span { font-size: 8px; }
  .hero .actions { gap: 16px; }
  .hero-visual { height: 390px; }
  body:not(.js) .header-inner { flex-wrap: wrap; padding-block: 16px; }
  body:not(.js) .header nav { order: 3; }
}
@media (max-width: 359px) {
  .header-phone { max-width: 103px; white-space: normal; text-align: center; }
  .hero h1 { font-size: 34px; }
  .hero-meta { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  .button, .service-card { transition: none; }
}
