/* FOUNDATION */
:root {
  --primary-color: #38242f;
  --secondary-color: #754658;
  --accent-color: #f0bfd0;
  --text-color: #38242f;
  --muted-color: #6c5963;
  --bg-color: #fcf9fa;
  --card-bg: #fff;
  --line-color: #e5dce0;
  --radius: 8px;
  --container: 1200px;
  --section-space: 48px;
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 16px/1.65 var(--font-body); color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-underline-offset: 5px; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(43px, 7vw, 76px); }
h2 { font-size: clamp(32px, 4.1vw, 48px); }
h3 { font-size: 20px; line-height: 1.4; }
em { font-weight: 400; color: var(--secondary-color); }
p + p { margin-top: 18px; }
:focus-visible { outline: 3px solid #a95579; outline-offset: 5px; }
.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--secondary-color); }
.eyebrow.light { color: var(--accent-color); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 24px; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; color: #fff; background: var(--primary-color); border: 1px solid transparent; border-radius: 3px; transition: background .3s ease, transform .3s ease; cursor: pointer; }
.button:hover { background: var(--secondary-color); transform: translateY(-2px); }
.button.pink { color: var(--primary-color); background: var(--accent-color); }
.button.pink:hover { background: #ffdae7; }
.button.outline { color: var(--primary-color); background: transparent; border-color: var(--primary-color); }
.button.outline:hover { background: #f1e4e9; }
.button.small { min-height: 44px; padding: 10px 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.skip { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 12px; background: #fff; }
.skip:focus { top: 10px; }
/* HEADER */
.header { position: sticky; z-index: 20; top: 0; background: var(--bg-color); border-bottom: 1px solid var(--line-color); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 90px; padding-block: 12px; }
.brand { display: inline-block; font: 38px/.9 var(--font-display); letter-spacing: -.065em; text-decoration: none; }
.brand span { display: block; margin-top: 10px; font: 9px/1.3 var(--font-body); letter-spacing: .2em; }
.header-phone { font-size: 14px; font-weight: 700; text-decoration: none; }
.header-phone span { display: block; font-size: 11px; font-weight: 400; color: var(--muted-color); }
.header-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line-color); background: transparent; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: var(--primary-color); }
.js .menu-toggle { display: block; }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; width: 100%; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--secondary-color); text-decoration: underline; }
.js nav { display: none; }
.js nav.is-open { display: flex; }
/* HERO SECTION */
.hero { overflow: hidden; color: #fff; background: var(--primary-color); }
.hero-grid { display: grid; padding-inline: 0; }
.hero-copy { padding: 42px 20px 32px; animation: arrive .7s ease both; }
.hero h1 em { color: var(--accent-color); }
.hero-description { margin: 24px 0 28px; color: #e0d4da; font-size: 16px; line-height: 1.8; }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 24px; border-top: 1px solid #725b68; }
.hero-bottom > p { margin: 0; font-size: 13px; color: #e0d4da; }
.rating { text-decoration: none; }
.rating strong { display: block; font-size: 21px; }
.rating strong span { margin-left: 10px; color: var(--accent-color); font-size: 15px; letter-spacing: .1em; }
.rating > span { display: block; margin-top: 3px; font-size: 12px; color: #e0d4da; }
.hero-visual { position: relative; min-height: 400px; }
.hero-photo { height: 440px; object-fit: cover; object-position: 50% 42%; }
.photo-label { position: absolute; top: 24px; left: 24px; padding: 7px 14px; font-size: 12px; letter-spacing: .05em; background: var(--primary-color); }
.hero-inset { position: absolute; right: 18px; bottom: 20px; width: 120px; padding: 6px; background: #fcf9fa; transform: rotate(5deg); }
.hero-inset img { height: 120px; object-fit: cover; }
.hero-inset span { display: block; padding: 8px 4px; font: italic 13px/1.4 var(--font-display); color: var(--primary-color); }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
/* BENEFITS */
.benefits { padding-block: 32px; border-bottom: 1px solid var(--line-color); }
.benefits-grid { display: grid; gap: 26px; }
.benefits article { display: flex; align-items: flex-start; gap: 18px; }
.benefits svg { flex-shrink: 0; width: 28px; height: 28px; fill: none; stroke: var(--secondary-color); stroke-width: 1.2; }
.benefits h2 { margin: 0 0 6px; font: 600 16px/1.4 var(--font-body); letter-spacing: 0; }
.benefits p { color: var(--muted-color); font-size: 16px; line-height: 1.6; }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.section-heading > p { max-width: 340px; color: var(--muted-color); }
.service-grid { display: grid; gap: 24px; }
.service-card { display: flex; flex-direction: column; 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(-5px); box-shadow: 0 12px 28px #38242f0d; }
.service-card > img { height: 260px; object-fit: cover; object-position: center 45%; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 25px; }
.service-body .eyebrow { margin-bottom: 10px; }
.service-body h3 { margin-bottom: 12px; font-size: 19px; }
.service-body p { 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: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-color); }
.service-bottom strong { font-size: 20px; }
.service-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.full-price { margin-top: 32px; text-align: center; }
.full-price > summary { list-style: none; width: fit-content; margin: auto; }
.full-price > summary::-webkit-details-marker { display: none; }
#price-content { text-align: left; }
#price-content h2 { margin: 22px 0 12px; font-size: 32px; }
.price-table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 14px; }
.price-table caption { padding: 10px 0; text-align: left; color: var(--muted-color); }
.price-table th { text-align: left; color: var(--secondary-color); }
.price-table td, .price-table th { padding: 14px 6px; border-bottom: 1px solid var(--line-color); overflow-wrap: anywhere; }
.price-table td:last-child, .price-table th:last-child { width: 95px; text-align: right; white-space: nowrap; }
/* ABOUT */
.about { background: #f1e8ed; }
.about-grid { display: flex; flex-direction: column-reverse; gap: 32px; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy p:not(.eyebrow) { color: #62515b; }
.about-copy .button { margin-top: 26px; }
.about-photo { position: relative; }
.about-photo img { height: 390px; object-fit: cover; object-position: center 38%; border-radius: 120px 120px 4px 4px; }
.about-photo figcaption { position: absolute; right: 16px; bottom: 16px; left: 16px; display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; color: #fff; background: var(--primary-color); font: 25px var(--font-display); }
.about-photo figcaption span { font: 12px var(--font-body); }
/* REVIEWS */
.review-rating { text-decoration: none; }
.review-rating strong { display: block; font-size: 30px; }
.review-rating strong span { color: var(--secondary-color); font-size: 16px; letter-spacing: .08em; }
.review-rating > span { font-size: 13px; color: var(--muted-color); }
.reviews-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 90%; align-items: start; gap: 18px; overflow-x: auto; padding: 5px 3px 18px; scroll-snap-type: x mandatory; }
.review { display: flex; flex-direction: column; min-width: 0; padding: 25px; background: #fff; border: 1px solid var(--line-color); border-radius: var(--radius); scroll-snap-align: start; }
.stars { margin-bottom: 18px; color: var(--secondary-color); letter-spacing: 3px; }
.review-text { overflow-wrap: anywhere; font-size: 16px; line-height: 1.75; }
.review-author { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-color); font-size: 14px; }
.review-author time { font-size: 12px; color: var(--muted-color); }
.swipe-hint { margin-top: 12px; color: var(--muted-color); font-size: 13px; }
/* CONTACTS */
.contacts { color: #fff; background: var(--primary-color); }
.contacts-grid { display: grid; gap: 40px; }
.contacts h2 { margin-bottom: 18px; }
.contact-intro { color: #e0d4da; }
address { margin: 28px 0; font-style: normal; }
.contact-phone { display: inline-block; min-height: 44px; margin-bottom: 12px; font-size: clamp(23px, 3vw, 30px); text-decoration: none; }
address p { color: #e0d4da; }
.socials { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.map-card { overflow: hidden; align-self: center; background: #fff; border-radius: var(--radius); }
.map-card iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-card iframe[hidden] { display: none; }
.map-preview { position: relative; }
.map-preview[hidden] { display: none; }
.map-preview img { height: 360px; object-fit: cover; }
.map-load { position: absolute; right: 24px; bottom: 24px; left: 24px; display: none; }
.js .map-load { display: inline-flex; }
.map-card > a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px; color: var(--primary-color); font-size: 14px; }
/* FOOTER */
.footer { padding-block: 28px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer p { font-size: 13px; color: var(--muted-color); }
.privacy { max-width: 370px; font-size: 13px; }
.privacy summary { display: flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.privacy p { margin-top: 10px; }
/* DIALOG */
dialog { position: fixed; width: min(760px, calc(100% - 24px)); max-height: 85dvh; padding: 24px; color: var(--text-color); background: var(--bg-color); border: 0; border-radius: var(--radius); }
dialog::backdrop { background: #21121dd9; }
.dialog-close { position: sticky; z-index: 2; top: 0; display: block; width: 44px; height: 44px; margin-left: auto; color: #fff; background: var(--primary-color); border: 0; border-radius: 50%; font-size: 28px; line-height: 1; }
/* RESPONSIVE */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .container { padding-inline: 28px; }
  .header-cta { display: inline-flex; }
  .hero-copy { padding: 54px 28px 36px; }
  .hero-grid { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .hero-visual { min-height: 640px; }
  .hero-photo { height: 100%; position: absolute; }
  .hero-inset { width: 150px; bottom: 35px; right: 24px; }
  .hero-inset img { height: 150px; }
  .hero-bottom { gap: 16px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
  .benefits article { flex-direction: column; gap: 12px; }
  .about-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
  .about-photo img { height: 560px; }
  .reviews-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .swipe-hint { display: none; }
  .contacts-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { flex-wrap: nowrap; gap: 24px; }
  .js .menu-toggle { display: none; }
  .js nav, nav { display: flex; width: auto; flex-wrap: nowrap; gap: 22px; }
  .header-phone { margin-left: auto; }
  .brand { margin-right: 20px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-copy { padding: 64px 48px 40px 28px; }
  .hero-visual { min-height: 660px; }
  .hero-description { margin-top: 28px; font-size: 17px; }
  .hero-bottom { margin-top: 54px; }
  .hero-inset { right: 26px; width: 170px; }
  .hero-inset img { height: 160px; }
  .benefits { padding-block: 40px; }
  .benefits article { flex-direction: row; gap: 16px; }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .about-grid { gap: 80px; }
}
@media (min-width: 1440px) {
  .hero-copy { padding-left: 28px; padding-top: 72px; }
  .hero-visual { min-height: 700px; }
  .hero-photo { object-position: center 43%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  *, *::before, *::after { animation: none; transition: none; }
}
