/* TOKENS & BASE */
:root {
  --primary-color: #23171d;
  --secondary-color: #edb9cb;
  --accent-color: #f2bace;
  --text-color: #2b2025;
  --bg-color: #faf7f8;
  --card-bg: #ffffff;
  --muted-color: #6a5c63;
  --border-color: #d9cdd2;
  --container: 1200px;
  --radius: 8px;
  --section-space: 48px;
  --font: 'Segoe UI', Arial, 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(--font); color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { max-width: 100%; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -.035em; }
h2 em { font-family: var(--display-font); font-weight: 400; }
h3 { font-size: 19px; font-weight: 600; }
:focus-visible { outline: 3px solid #a52b61; outline-offset: 5px; }
.hero :focus-visible, .header :focus-visible, .about :focus-visible { outline-color: #f2bace; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 22px; font-size: 14px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 52px; justify-content: center; align-items: center; padding: 13px 23px; font-size: 16px; font-weight: 600; line-height: 1.4; text-align: center; color: var(--primary-color); background: var(--accent-color); border: 1px solid var(--accent-color); border-radius: var(--radius); transition: transform .3s ease, background .3s ease; }
.button:hover { background: #ffd5e4; transform: translateY(-2px); }
.button-outline { color: var(--text-color); background: transparent; border-color: var(--text-color); }
.button-small { min-height: 44px; padding: 10px 20px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; padding-block: 8px; text-decoration: underline; text-underline-offset: 6px; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 10px; padding: 12px; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
/* HEADER */
.header { position: sticky; z-index: 10; top: 0; color: #fff5f8; background: var(--primary-color); border-bottom: 1px solid #59434d; }
.header-inner { position: relative; display: flex; min-height: 76px; gap: 18px; align-items: center; flex-wrap: wrap; }
.logo { display: inline-flex; min-height: 44px; align-items: center; font-size: 30px; font-weight: 750; line-height: 1; letter-spacing: -2px; }
.logo span { font-weight: 350; }
.logo i { margin-left: 9px; color: var(--accent-color); font-size: 34px; font-style: normal; }
.header-phone { margin-left: auto; font-size: 14px; white-space: nowrap; }
.header-cta { display: none; }
.menu-toggle { display: flex; width: 44px; height: 44px; margin-left: auto; flex-direction: column; justify-content: center; gap: 7px; background: transparent; border: 1px solid #8b727d; border-radius: var(--radius); }
.menu-toggle span { display: block; width: 20px; height: 1px; margin-inline: auto; background: #fff5f8; }
.header nav { display: none; width: 100%; padding: 5px 0 20px; order: 5; }
.header nav.is-open { display: flex; flex-direction: column; }
.header nav a { display: flex; min-height: 44px; align-items: center; font-size: 16px; }
.header nav a:hover { color: var(--accent-color); }
/* HERO SECTION */
.hero { overflow: hidden; color: #fff5f8; background: var(--primary-color); }
.hero-grid { display: grid; }
.hero-content { padding-block: 44px 34px; animation: enter .7s ease both; }
.hero .eyebrow { color: var(--secondary-color); }
.hero h1 { font-size: clamp(36px, 7vw, 70px); font-weight: 450; letter-spacing: -.05em; line-height: 1.07; }
.hero h1 em { font-family: var(--display-font); font-weight: 400; color: var(--accent-color); }
.hero-description { max-width: 450px; margin-top: 26px; color: #dacbd1; line-height: 1.7; }
.hero-actions { display: flex; margin-top: 28px; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-note { display: none; }
.hero-visual { position: relative; min-width: 0; height: 420px; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; border-radius: 110px 110px 0 0; }
.photo-tag { position: absolute; top: 22px; left: 20px; padding: 7px 12px; font-size: 14px; color: #fff; background: #23171de8; border: 1px solid #b58c9c; border-radius: 30px; }
.rating-badge { position: absolute; right: 0; bottom: 25px; display: flex; gap: 16px; align-items: center; padding: 16px 20px; color: var(--primary-color); background: var(--accent-color); border-radius: var(--radius) 0 0 var(--radius); box-shadow: 0 6px 26px #23171d44; }
.rating-badge strong { font-size: 32px; line-height: 1; font-weight: 500; white-space: nowrap; }
.rating-badge strong span { font-size: 21px; }
.rating-badge > span { font-size: 14px; line-height: 1.4; }
.hero-baseline { display: flex; padding-block: 22px; gap: 10px; flex-wrap: wrap; justify-content: space-between; font-size: 14px; color: #dacbd1; }
.baseline-word { display: none; }
/* BENEFITS */
.benefits { padding-block: 40px; background: #efe5e9; }
.benefits-grid { display: grid; gap: 32px; }
.benefits article { position: relative; padding-left: 48px; }
.benefits svg { position: absolute; top: 0; left: 0; width: 30px; height: 30px; fill: none; stroke: #6b3a50; stroke-width: 1.5; }
.benefits h2 { margin-bottom: 12px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.benefits p { color: #62515a; }
/* SERVICES */
.section-heading { display: flex; margin-bottom: 32px; gap: 24px; flex-direction: column; }
.section-heading > p { color: var(--muted-color); }
.services-grid { display: grid; gap: 22px; }
.service-card { min-width: 0; overflow: hidden; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: 0 6px 20px #2b202506; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px #2b202512; }
.service-card > img { width: 100%; height: 240px; object-fit: cover; object-position: center 46%; }
.service-body { display: flex; height: calc(100% - 240px); padding: 24px; flex-direction: column; }
.service-body h3 { overflow-wrap: anywhere; }
.service-body > p { margin-top: 14px; margin-bottom: 24px; color: var(--muted-color); }
.service-bottom { display: flex; margin-top: auto; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.service-bottom strong { font-size: 25px; font-weight: 500; white-space: nowrap; }
.service-bottom a { display: flex; min-height: 44px; align-items: center; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.services-footer { display: flex; margin-top: 28px; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.services-footer p { color: var(--muted-color); }
/* ABOUT */
.about { color: #fff5f8; background: var(--primary-color); }
.about-grid { display: grid; gap: 36px; }
.about-photo { order: -1; }
.about-photo img { width: 100%; height: 330px; object-fit: cover; border-radius: 140px 140px 8px 8px; }
.about-photo figcaption { padding-top: 14px; font-size: 14px; color: #dacbd1; }
.about .eyebrow, .about h2 em { color: var(--accent-color); }
.about-copy > p:not(.eyebrow) { margin-top: 22px; color: #dacbd1; }
.about-copy > .button { margin-top: 28px; }
.about-signature { display: flex; margin-top: 36px; padding-top: 22px; gap: 22px; align-items: center; font-size: 32px; letter-spacing: -2px; border-top: 1px solid #59434d; }
.about-signature span { font-size: 14px; letter-spacing: .02em; color: #dacbd1; }
/* REVIEWS */
.reviews { background: #f0e5e9; }
.review-total { display: flex; flex-direction: column; gap: 5px; }
.review-total > strong { display: flex; gap: 14px; align-items: center; font-size: 42px; font-weight: 500; line-height: 1.2; }
.review-total strong span { font-size: 18px; color: #80415b; letter-spacing: 2px; }
.review-total > span { font-size: 14px; color: var(--muted-color); }
.reviews-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 92%; gap: 18px; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px 5px 18px; }
.review-card { min-width: 0; padding: 24px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius); scroll-snap-align: start; }
.stars { margin-bottom: 20px; color: #80415b; font-size: 17px; letter-spacing: 3px; }
.review-card blockquote { margin-bottom: 24px; line-height: 1.7; overflow-wrap: anywhere; }
.review-author { font-weight: 600; }
.review-card time { font-size: 14px; color: var(--muted-color); }
.swipe-hint { margin-bottom: 12px; font-size: 14px; color: var(--muted-color); }
/* CONTACTS */
.contacts-grid { display: grid; gap: 36px; }
address { margin-block: 28px; font-style: normal; }
.contact-row { display: grid; padding-block: 16px; gap: 5px; border-bottom: 1px solid var(--border-color); }
.contact-row > span { font-size: 14px; color: var(--muted-color); }
.contact-row a { display: inline-flex; min-height: 44px; align-items: center; }
.contact-actions { display: flex; gap: 22px; flex-wrap: wrap; }
.location-panel { overflow: hidden; background: #eee5e9; border: 1px solid var(--border-color); border-radius: var(--radius); }
.location-art { position: relative; display: grid; height: 260px; place-items: center; overflow: hidden; background: repeating-linear-gradient(0deg, transparent 0 58px,#e0d1d7 59px 60px),repeating-linear-gradient(90deg,transparent 0 58px,#e0d1d7 59px 60px); }
.location-art::before { position: absolute; width: 120%; height: 38px; background: #faf7f8; content: ''; transform: rotate(-30deg); }
.street { position: absolute; font-size: 14px; color: #705e66; }
.street-one { top: 54px; left: 15px; transform: rotate(-30deg); }
.street-two { right: 15px; bottom: 25px; }
.location-mark { position: relative; display: flex; padding: 14px 22px; gap: 18px; align-items: center; font-size: 28px; font-weight: 600; letter-spacing: -1px; color: var(--primary-color); background: var(--accent-color); border: 1px solid #ad7089; border-radius: 40px; }
.location-mark i { font-style: normal; }
.location-bottom { padding: 25px; background: var(--card-bg); }
.location-bottom > strong { font-size: 20px; font-weight: 500; }
.location-bottom p { margin-top: 8px; margin-bottom: 22px; color: var(--muted-color); }
/* FOOTER */
.footer { padding-block: 30px; color: #dacbd1; background: var(--primary-color); }
.footer-inner { display: flex; gap: 20px 30px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.footer .logo { color: #fff5f8; }
.footer-link { min-height: 44px; padding: 0; font-size: 14px; color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 5px; }
.footer a { display: inline-flex; min-height: 44px; align-items: center; }
/* DIALOGS */
dialog { width: min(680px, calc(100% - 32px)); max-height: 85dvh; padding: 24px; color: var(--text-color); background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 12px; }
dialog::backdrop { background: #160c12c9; }
.dialog-header { display: flex; margin-bottom: 24px; gap: 15px; align-items: flex-start; justify-content: space-between; }
.dialog-header h2 { font-size: 28px; }
.dialog-close { min-width: 44px; height: 44px; font-size: 30px; line-height: 1; color: var(--text-color); background: #eadde3; border: 0; border-radius: 50%; }
dialog p { margin-block: 18px; }
.price-row { display: flex; padding-block: 18px; gap: 16px; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
.price-row strong { flex: 0 0 auto; }
/* RESPONSIVE */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .hero-grid { grid-template-columns: 1.12fr 1fr; gap: 24px; align-items: center; }
  .hero h1 { font-size: clamp(42px, 5vw, 70px); }
  .hero-visual { height: 560px; padding-top: 24px; }
  .hero-visual > img { border-radius: 180px 180px 0 0; }
  .hero-note { display: flex; margin-top: 45px; gap: 18px; align-items: center; font-size: 14px; line-height: 1.4; color: #dacbd1; }
  .hero-star { font-size: 60px; line-height: 1; color: var(--accent-color); }
  .baseline-word { display: block; letter-spacing: .2em; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .about-grid, .contacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .about-photo { order: 0; }
  .about-photo img { height: 490px; }
  .reviews-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding: 0; }
  .swipe-hint { display: none; }
  .contact-row { grid-template-columns: 110px 1fr; }
  .footer-inner > p { margin-right: auto; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { min-height: 88px; gap: 22px; flex-wrap: nowrap; }
  .header nav { display: flex; width: auto; margin-left: auto; padding: 0; gap: 20px; order: 0; }
  .header nav a { font-size: 14px; }
  .header-phone { margin-left: 0; }
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .hero-grid { gap: 50px; }
  .hero-visual { height: 640px; }
  .photo-tag { top: 55px; left: 25px; }
  .hero-content { padding-block: 50px; }
  .hero-actions { gap: 24px; }
  .hero-note { margin-top: 54px; }
  .benefits { padding-block: 48px; }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card:last-child { display: grid; grid-template-columns: 1fr 2fr; grid-column: 1/-1; }
  .service-card:last-child > img { height: 260px; }
  .service-card:last-child .service-body { height: auto; padding: 36px; }
  .about-grid, .contacts-grid { gap: 70px; }
  .about-photo img { height: 550px; }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .location-art { height: 330px; }
}
@media (min-width: 1440px) { .hero h1 { font-size: 70px; } .hero-visual { height: 670px; } }
@media (max-width: 374px) {
  .header-inner { gap: 10px; }
  .header-phone { font-size: 12px; }
  .logo { font-size: 26px; }
  .hero h1 { font-size: 34px; }
  .hero-actions { gap: 12px; }
  .price-row { flex-direction: column; }
}
/* MOTION */
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
}
