/* FOUNDATION */
:root {
  --primary-color: #34253f;
  --secondary-color: #e9e2ef;
  --accent-color: #735483;
  --text-color: #302638;
  --muted-color: #675d6e;
  --bg-color: #fcfbfd;
  --card-bg: #ffffff;
  --line-color: #d9d0de;
  --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: 95px; }
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 { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #9270ac; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
svg { width: 32px; height: 32px; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display-font); font-weight: 400; line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(38px, 7vw, 68px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 19px; line-height: 1.35; font-weight: 500; }
em { font-weight: 400; color: var(--accent-color); }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 23px; font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center; color: white; background: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 3px; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #594068; transform: translateY(-2px); }
.button-outline { color: var(--primary-color); background: transparent; border-color: #9a8da3; }
.button-outline:hover { color: white; }
.button-light { color: var(--primary-color); background: #eee7f3; border-color: #eee7f3; }
.button-light:hover { color: white; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid currentColor; font-size: 14px; }
.text-link:hover { color: var(--accent-color); }
.skip { position: absolute; z-index: 100; top: 0; left: 20px; padding: 12px; color: white; background: var(--primary-color); transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }
/* HEADER */
.header { position: sticky; z-index: 20; top: 0; background: var(--bg-color); border-bottom: 1px solid var(--line-color); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 15px; }
.logo { display: inline-block; font: 38px/.8 var(--display-font); letter-spacing: -.06em; }
.logo span { display: block; margin-top: 10px; font: 9px/1.3 var(--body-font); letter-spacing: .17em; }
.header-phone { margin-left: auto; font-size: 13px; white-space: nowrap; }
.header-cta { display: none; }
.menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; order: 4; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line-color); border-radius: 3px; background: transparent; gap: 6px; }
.menu-toggle span { width: 21px; height: 1px; background: var(--primary-color); }
nav { position: absolute; top: 78px; left: -20px; right: -20px; display: flex; flex-direction: column; padding: 15px 20px; background: var(--bg-color); border-bottom: 1px solid var(--line-color); }
.js nav:not(.is-open) { display: none; }
nav a { padding: 10px; font-size: 14px; }
nav a:hover { color: var(--accent-color); }
/* HERO */
.hero { overflow: hidden; background: #f0ebf4; }
.hero-layout { display: grid; }
.hero-content { padding-block: 38px; animation: enter .8s ease both; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.small-star { font-size: 24px; line-height: 1; }
.hero-description { margin-block: 25px; color: var(--muted-color); font-size: 16px; line-height: 1.7; }
.hero .actions { gap: 18px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; padding-top: 23px; border-top: 1px solid #d1c5da; gap: 16px; }
.rating { display: flex; align-items: center; gap: 14px; }
.rating strong { font: 32px var(--display-font); white-space: nowrap; }
.rating strong span { font-size: 20px; color: var(--accent-color); }
.rating > span, .hero-hours { font-size: 12px; line-height: 1.5; color: var(--muted-color); }
.hero-hours strong { font-size: 14px; color: var(--primary-color); font-weight: 500; }
.hero-visual { position: relative; min-width: 0; margin-inline: -20px; height: 410px; }
.hero-photo { width: 100%; height: 100%; object-position: 50% 40%; }
.photo-caption { position: absolute; bottom: 16px; left: 20px; padding: 5px 11px; font-size: 12px; color: white; background: var(--primary-color); }
.hero-seal { position: absolute; top: 22px; right: 20px; display: flex; flex-direction: column; justify-content: center; width: 94px; height: 94px; border: 1px solid var(--primary-color); border-radius: 50%; font: 28px/1.2 var(--display-font); text-align: center; background: #eee7f3; transform: rotate(10deg); }
.hero-seal span { margin-top: 5px; font: 8px var(--body-font); letter-spacing: .06em; }
@keyframes enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
/* ADVANTAGES */
.advantages { padding-block: 32px; border-bottom: 1px solid var(--line-color); }
.advantages-grid { display: grid; gap: 24px; }
.advantages article { display: flex; align-items: flex-start; gap: 18px; }
.advantages svg { color: var(--accent-color); }
.advantages h2 { margin-bottom: 6px; font: 17px/1.4 var(--body-font); letter-spacing: 0; }
.advantages p { font-size: 16px; line-height: 1.65; color: var(--muted-color); }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 23px; margin-bottom: 30px; }
.section-heading > p { color: var(--muted-color); font-size: 14px; }
.services-grid { display: grid; gap: 22px; }
.service-card { overflow: hidden; min-width: 0; 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(-5px); box-shadow: 0 12px 25px #34253f0f; }
.service-card > img { height: 260px; object-position: center 38%; }
.service-body { padding: 23px; }
.service-body p { margin-top: 10px; color: var(--muted-color); font-size: 16px; }
.service-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-color); }
.service-bottom strong { font-size: 16px; font-weight: 500; }
.service-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.service-icon { margin: 24px 23px 0; color: var(--accent-color); }
.compact { background: #f4f0f7; }
.compact .service-body { padding-top: 16px; }
.price-action { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; text-align: center; }
.price-action p { color: var(--muted-color); font-size: 12px; }
/* ABOUT */
.about { background: #ebe4f0; }
.about-layout { display: grid; gap: 35px; }
.about-copy > p:not(.eyebrow) { margin-top: 22px; color: #5c4f65; }
.about-copy .text-link { margin-top: 20px; }
.about-photos { position: relative; order: -1; padding: 0 35px 45px 0; }
.interior { width: 88%; height: 350px; border-radius: 150px 150px 3px 3px; }
.detail { position: absolute; right: 0; bottom: 35px; width: 42%; height: 190px; border: 6px solid #ebe4f0; }
.about-note { position: absolute; bottom: 0; left: 0; font-size: 12px; color: var(--accent-color); letter-spacing: .04em; }
.about-detail { margin-top: 32px; padding-top: 20px; border-top: 1px solid #ccbdd6; font-size: 14px; }
.about-detail span { display: block; margin-top: 5px; color: var(--muted-color); }
/* REVIEWS */
.review-score { display: flex; flex-direction: column; font-size: 12px; color: var(--muted-color); }
.review-score strong { font: 35px var(--display-font); color: var(--primary-color); }
.review-score strong span { margin-left: 8px; font: 15px var(--body-font); letter-spacing: .06em; color: var(--accent-color); }
.swipe-hint { margin-bottom: 15px; color: var(--muted-color); font-size: 12px; }
.reviews-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 90%; overflow-x: auto; gap: 18px; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.review { padding: 25px; border: 1px solid var(--line-color); background: white; border-radius: var(--radius); scroll-snap-align: start; }
.stars { color: var(--accent-color); font-size: 16px; letter-spacing: .14em; }
blockquote { margin: 18px 0 24px; font-size: 16px; line-height: 1.8; }
.review-author { font-size: 14px; font-weight: 600; }
.review time { color: var(--muted-color); font-size: 12px; }
/* CONTACTS */
.contacts { background: #f0ebf4; }
.contact-layout { display: grid; gap: 35px; }
.contact-intro { margin-block: 23px 28px; color: var(--muted-color); }
address { font-style: normal; }
.contact-line { display: flex; align-items: center; gap: 13px; font-size: 15px; }
.contact-line span { display: block; margin-top: 6px; color: var(--muted-color); font-size: 14px; }
.contact-phone { display: inline-block; margin: 24px 0; font: 30px var(--display-font); letter-spacing: -.02em; }
.contacts .actions { gap: 12px; }
.visit-card { position: relative; overflow: hidden; padding: 32px; color: #eee7f3; background: var(--primary-color); border-radius: var(--radius); }
.visit-brand { position: absolute; top: 5px; right: -15px; font: 160px var(--display-font); opacity: .06; }
.visit-card > p { position: relative; font: 40px/1.15 var(--display-font); letter-spacing: -.04em; }
.visit-card em { color: #d4bee4; }
.visit-address { margin: 30px 0; font-size: 14px; }
/* PRICE MODAL */
.full-price { padding-block: 45px; }
.full-price > p { margin-block: 18px; font-size: 14px; color: var(--muted-color); }
.price-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.price-header h2 { font-size: 36px; }
.price-header .eyebrow { margin-bottom: 8px; }
.price-list { margin: 20px 0 30px; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding-block: 15px; border-bottom: 1px solid var(--line-color); font-size: 14px; }
.price-row dt { overflow-wrap: anywhere; }
.price-row dd { align-self: center; margin: 0; font-weight: 600; text-align: right; }
.price-dialog { width: min(850px, calc(100% - 24px)); max-height: 88dvh; padding: 25px; color: var(--text-color); background: var(--bg-color); border: 0; border-radius: var(--radius); }
.price-dialog .full-price { width: 100%; padding: 0; }
dialog::backdrop { background: #21172bc9; }
.close-prices { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-color); border-radius: 50%; color: var(--primary-color); background: transparent; font-size: 28px; line-height: 1; }
.close-prices[hidden] { display: none; }
.privacy-dialog { width: min(580px, calc(100% - 30px)); padding: 30px; color: var(--text-color); border: 0; border-radius: var(--radius); }
.privacy-dialog h2 { font-size: 30px; overflow-wrap: anywhere; }
.privacy-dialog p { margin-block: 20px; }
/* FOOTER */
.footer { padding-block: 32px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner > span { color: var(--muted-color); font-size: 12px; }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-inner > div a, .privacy-trigger { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--muted-color); background: transparent; border: 0; font-size: 12px; }
.privacy-trigger { text-decoration: underline; text-underline-offset: 4px; }
/* RESPONSIVE LAYOUTS */
@media (min-width: 768px) {
  :root { --section-space: 65px; }
  .hero-layout { grid-template-columns: 1.1fr 1fr; }
  .hero-content { padding: 45px 25px 40px 0; }
  h1 { font-size: 46px; }
  .hero-visual { height: auto; min-height: 600px; margin: 0; }
  .hero-photo { position: absolute; }
  .hero-seal { top: auto; right: auto; bottom: 65px; left: -35px; }
  .hero-bottom { justify-content: flex-start; gap: 28px; }
  .hero .actions { gap: 12px; }
  .hero .actions .button { padding-inline: 15px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .advantages article { flex-direction: column; gap: 12px; }
  .about-layout { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .about-photos { order: 0; }
  .interior { height: 420px; }
  .detail { height: 210px; }
  .reviews-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
  .swipe-hint { display: none; }
  .contact-layout { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .visit-card { padding: 35px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { min-height: 90px; gap: 24px; }
  .header-cta { display: inline-flex; min-height: 43px; padding: 10px 19px; }
  .header-phone { font-size: 14px; }
  .menu-toggle { display: none; }
  nav, .js nav:not(.is-open) { position: static; display: flex; flex-direction: row; padding: 0; margin-left: auto; border: 0; gap: 4px; }
  nav a { padding: 10px 6px; font-size: 13px; }
  .hero-layout { grid-template-columns: 1.15fr 1fr; }
  .hero-content { padding: 67px 45px 45px 0; }
  h1 { font-size: 60px; }
  .hero-description { margin-block: 28px 30px; }
  .hero-visual { min-height: 660px; }
  .hero .actions { gap: 26px; }
  .hero .actions .button { padding-inline: 24px; }
  .hero-bottom { margin-top: 42px; }
  .hero-seal { width: 118px; height: 118px; left: -45px; bottom: 75px; font-size: 34px; }
  .hero-seal span { font-size: 10px; }
  .photo-caption { left: auto; right: 18px; }
  .advantages { padding-block: 35px; }
  .advantages-grid { gap: 35px; }
  .advantages article { flex-direction: row; gap: 18px; }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card > img { height: 290px; }
  .service-body { padding: 25px; }
  .price-action { margin-top: 40px; }
  .about-layout { gap: 100px; }
  .about-photos { padding: 0 50px 45px 0; }
  .interior { height: 500px; }
  .detail { height: 250px; }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .review { padding: 28px; }
  .contact-layout { gap: 100px; }
  .visit-card { padding: 45px; }
  .visit-card > p { font-size: 48px; }
  .price-dialog { padding: 40px; }
}
@media (min-width: 1440px) {
  h1 { font-size: 68px; }
  .hero-content { padding-top: 75px; }
  .hero-visual { min-height: 700px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
  .button, .service-card { transition: none; }
}
