/* FOUNDATION */
:root {
  --primary-color: #722f42;
  --secondary-color: #eaded6;
  --accent-color: #bf9d74;
  --text-color: #292823;
  --muted-color: #66615a;
  --bg-color: #faf8f4;
  --card-bg: #fff;
  --line-color: #dcd6cc;
  --container: 1200px;
  --radius: 8px;
  --space: 24px;
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
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; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 5px; }
button { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2 { font-family: var(--font-heading); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(42px, 10vw, 64px); letter-spacing: -.045em; }
h2 { font-size: 34px; letter-spacing: -.035em; }
h3 { font-size: 19px; line-height: 1.4; font-weight: 500; }
em { color: var(--primary-color); font-weight: 400; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: 48px; }
.eyebrow { margin-bottom: 18px; color: var(--primary-color); font-size: 12px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 48px; justify-content: center; align-items: center; padding: 12px 22px; border: 1px solid var(--primary-color); border-radius: 3px; color: #fff; background: var(--primary-color); font-size: 14px; font-weight: 600; text-align: center; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #532030; transform: translateY(-2px); }
.button.outline { color: var(--primary-color); background: transparent; }
.button.outline:hover { background: #f0e5e6; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; border-bottom: 1px solid currentColor; font-size: 14px; }
.text-link:hover { color: var(--primary-color); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px; color: white; 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-color); }
.header-inner { display: flex; min-height: 82px; align-items: center; gap: 8px; }
.brand { display: inline-block; font: 30px/.9 var(--font-heading); letter-spacing: -.065em; }
.brand span { display: block; margin-top: 10px; font: 9px/1.2 var(--font-body); letter-spacing: .27em; text-transform: uppercase; }
.header-phone { margin-left: auto; font-size: 12px; font-weight: 600; white-space: nowrap; }
.header-phone span { display: none; }
.header-cta { display: none; }
.menu-button { display: grid; flex-shrink: 0; width: 44px; height: 44px; align-content: center; gap: 6px; padding: 10px; border: 1px solid var(--line-color); background: transparent; }
.menu-button span { display: block; height: 1px; width: 22px; background: var(--text-color); transition: transform .3s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 16px 20px; border-bottom: 1px solid var(--line-color); background: var(--bg-color); box-shadow: 0 12px 20px #29282310; }
.navigation.open { display: grid; }
.navigation a { padding: 12px 0; font-size: 14px; }
.navigation a:hover { color: var(--primary-color); }
/* HERO SECTION */
.hero { padding-top: 30px; }
.hero-copy { padding-block: 16px 32px; animation: appear .8s ease both; }
.hero h1 em { display: inline-block; }
.hero-description { max-width: 380px; margin-top: 26px; color: var(--muted-color); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.hero-location { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 14px; }
.hero-location p span { display: block; color: var(--muted-color); font-size: 12px; }
.location-icon { font-size: 32px; color: var(--primary-color); }
.hero-photo { position: relative; height: 360px; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; border-radius: 160px 160px 4px 4px; }
.photo-label { position: absolute; top: 30px; left: 50%; width: max-content; transform: translateX(-50%); padding: 5px 12px; color: white; background: #292823b8; font-size: 10px; text-transform: uppercase; letter-spacing: .17em; }
.rating-badge { position: absolute; bottom: 20px; left: -10px; display: flex; align-items: center; gap: 18px; padding: 16px 22px; background: var(--bg-color); box-shadow: 0 6px 30px #29282314; }
.rating-badge > strong { font: 32px var(--font-heading); }
.rating-badge strong span { color: var(--primary-color); font-size: 22px; }
.rating-badge > span { padding-left: 18px; border-left: 1px solid var(--line-color); font-size: 11px; line-height: 1.6; }
.hero-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; padding: 20px; border-block: 1px solid var(--line-color); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.hero-line b { color: var(--primary-color); font-weight: 400; }
/* BENEFITS */
.benefits { display: grid; gap: 30px; padding-block: 40px; }
.benefits article { display: flex; gap: 18px; }
.benefits svg { flex: 0 0 28px; margin-top: 3px; color: var(--primary-color); }
.benefits h2 { font: 19px/1.4 var(--font-heading); letter-spacing: -.015em; }
.benefits p { margin-top: 10px; color: var(--muted-color); font-size: 16px; line-height: 1.7; }
/* SERVICES */
.services { background: #f0ece6; }
.section-heading { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.section-heading > p { color: var(--muted-color); font-size: 16px; }
.service-grid { display: grid; gap: 24px; }
.service-card { overflow: hidden; background: var(--card-bg); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px #29282312; }
.service-card > img, .service-art { width: 100%; height: 250px; object-fit: cover; }
.service-card:nth-child(1) > img { object-position: center 55%; }
.service-card:nth-child(2) > img { object-position: center 45%; }
.service-card:nth-child(3) > img { object-position: center 55%; }
.service-card:nth-child(5) > img { object-position: center 32%; }
.service-body { display: flex; flex-direction: column; min-height: 220px; padding: 24px; }
.service-body h3 { overflow-wrap: anywhere; }
.service-body p { margin-top: 12px; margin-bottom: 24px; color: var(--muted-color); font-size: 16px; }
.service-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-color); }
.service-bottom strong { font: 23px var(--font-heading); }
.service-bottom a { display: inline-flex; min-height: 44px; align-items: center; color: var(--primary-color); font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.service-art { position: relative; display: flex; align-items: center; justify-content: center; background: #e6dacf; }
.service-art span { font: 34px/1.25 var(--font-heading); text-align: center; }
.service-art svg { position: absolute; right: 24px; bottom: 24px; color: var(--primary-color); }
.all-services { margin-top: 36px; text-align: center; }
.all-services p { margin-top: 10px; font-size: 12px; color: var(--muted-color); }
/* ABOUT */
.about-grid { display: grid; gap: 32px; }
.about-copy { order: 2; }
.about-copy > p:not(.eyebrow) { max-width: 470px; margin-top: 24px; color: var(--muted-color); }
.about-copy > .text-link { margin-top: 22px; }
.about-photo { order: 1; position: relative; }
.about-photo img { width: 100%; height: 410px; object-fit: cover; object-position: 50% 40%; border-radius: 4px 4px 150px 4px; }
.about-photo figcaption { margin-top: 12px; color: var(--muted-color); font-size: 12px; }
.about-sign { margin-top: 35px; font: 38px var(--font-heading); letter-spacing: -.05em; }
.about-sign span { display: block; margin-top: 5px; font: 10px var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
/* REVIEWS */
.reviews-section { border-top: 1px solid var(--line-color); }
.reviews-rating { display: flex; flex-direction: column; font-size: 12px; }
.reviews-rating strong { font-size: 14px; font-weight: 500; }
.stars { color: var(--primary-color); font-size: 16px; letter-spacing: .16em; }
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--primary-color) transparent; align-items: start; }
.review { padding: 24px; background: #f0ece6; border-radius: var(--radius); scroll-snap-align: start; min-width: 0; }
.review-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 20px; }
.review-head time { color: var(--muted-color); font-size: 11px; }
.review blockquote { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.review-author { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line-color); font-size: 14px; font-weight: 600; }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 24px; font-size: 12px; }
.round-button { display: inline-flex; flex-shrink: 0; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-color); border-radius: 50%; color: var(--primary-color); background: transparent; font-size: 26px; line-height: 1; }
.round-button:hover { background: var(--secondary-color); }
/* CONTACTS */
.contacts { background: #e9e1d8; }
.contacts-grid { display: grid; gap: 36px; }
.contact-intro { margin-top: 22px; color: var(--muted-color); }
address { display: grid; gap: 22px; margin-top: 30px; font-style: normal; }
address div > span { display: block; margin-bottom: 3px; color: var(--muted-color); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.contact-phone { font: 28px var(--font-heading); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.social-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 12px; }
.social-links a { display: flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.map-panel { min-width: 0; align-self: center; padding: 16px; border: 1px solid #cec1b3; border-radius: var(--radius); }
.map-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.map-heading > span { font: 26px var(--font-heading); letter-spacing: -.04em; }
.map-heading .text-link { font-size: 12px; }
.map-panel iframe { display: block; width: 100%; height: 320px; border: 0; background: #ded8d0; }
.map-panel > p { margin-top: 12px; font-size: 11px; color: var(--muted-color); }
/* FOOTER */
.footer { padding-top: 38px; }
.footer-top { display: flex; flex-direction: column; gap: 25px; padding-bottom: 30px; }
.footer-top p { color: var(--muted-color); font: italic 20px var(--font-heading); }
.footer-top > a:last-child { font-size: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 30px; padding-block: 22px; border-top: 1px solid var(--line-color); color: var(--muted-color); font-size: 11px; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-bottom > span { display: inline-flex; align-items: center; }
/* DIALOG AND PRIVACY */
dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 40px); padding: 24px; border: 0; border-radius: var(--radius); color: var(--text-color); background: var(--bg-color); }
dialog::backdrop { background: #201c19b3; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.dialog-heading h2 { font-size: 36px; }
.dialog-heading .eyebrow { font-size: 10px; }
.price-list { margin-block: 24px; }
.price-row { display: grid; gap: 8px; padding-block: 18px; border-bottom: 1px solid var(--line-color); }
.price-row dt { font-size: 15px; overflow-wrap: anywhere; }
.price-row dd { margin: 0; color: var(--primary-color); font: 23px var(--font-heading); white-space: nowrap; }
.price-note { font-size: 14px; color: var(--muted-color); }
.price-note a { display: inline-flex; min-height: 44px; align-items: center; color: var(--primary-color); }
html:not(.js) #prices-dialog { position: static; display: block; max-height: none; margin: 40px auto; }
html:not(.js) .close-dialog, html:not(.js) #open-prices { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; }
html:not(.js) .navigation { position: static; display: flex; flex-wrap: wrap; width: 100%; order: 5; gap: 16px; }
html:not(.js) .menu-button { display: none; }
.privacy { max-width: 800px; }
.privacy h1 { font-size: clamp(30px, 6vw, 48px); overflow-wrap: anywhere; }
.privacy h2 { margin-top: 30px; font-size: 28px; }
.privacy p { margin-block: 20px; }
.privacy .button { margin-top: 20px; }
/* TABLET */
@media (min-width: 768px) {
  .container { width: min(100% - 64px, var(--container)); }
  .section { padding-block: 70px; }
  h2 { font-size: 43px; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .hero-copy { padding-block: 28px; }
  .hero-photo { height: 530px; }
  .hero h1 { font-size: 59px; }
  .hero-line { gap: 35px; }
  .hero-actions { gap: 10px 20px; }
  .benefits { gap: 24px; padding-block: 48px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; }
  .section-heading > p { max-width: 280px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .about-copy { order: 1; }
  .about-photo { order: 2; }
  .about-photo img { height: 570px; }
  .review-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  .review-controls { display: none; }
  .contacts-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-top { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-bottom { align-items: center; justify-content: space-between; }
  .price-row { grid-template-columns: 1fr auto; gap: 30px; }
  dialog { padding: 36px; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  .brand { font-size: 35px; }
  .header-inner { gap: 24px; min-height: 94px; }
  .navigation { position: static; display: flex; gap: 22px; margin-left: auto; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .navigation a { font-size: 12px; }
  .header-phone { margin-left: 6px; font-size: 14px; }
  .header-phone span { display: block; margin-top: 4px; font-size: 10px; font-weight: 400; color: var(--muted-color); }
  .menu-button { display: none; }
  .header-cta { display: inline-flex; font-size: 12px; padding: 10px 18px; min-height: 42px; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: .96fr 1.04fr; gap: 70px; }
  .hero h1 { font-size: 76px; }
  .hero-photo { height: 600px; }
  .hero-photo > img { border-radius: 230px 230px 4px 4px; }
  .hero-photo .photo-label { top: 50px; }
  .hero-line { margin-top: 40px; gap: 55px; }
  .rating-badge { left: -32px; bottom: 32px; padding: 18px 28px; }
  .benefits { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; padding-block: 56px; }
  .benefits article + article { border-left: 1px solid var(--line-color); padding-left: 30px; }
  .section { padding-block: 80px; }
  .service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-card > img, .service-art { height: 280px; }
  .service-body { min-height: 245px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 100px; }
  .about-photo img { height: 610px; }
  .review-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .reviews-rating { text-align: right; }
  .contacts-grid { gap: 80px; }
  .map-panel iframe { height: 390px; }
}
/* WIDE SCREENS */
@media (min-width: 1440px) {
  .hero-grid { gap: 100px; }
  .hero h1 { font-size: 84px; }
  .hero-description { margin-top: 30px; }
}
/* MOTION PREFERENCES */
@keyframes appear { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  *, *::before, *::after { animation: none; transition: none; }
}
