/* TOKENS AND BASE */
:root {
  --primary-color: #331d2a;
  --secondary-color: #efd0d5;
  --accent-color: #713c55;
  --text-color: #30252b;
  --bg-color: #fffdfb;
  --card-bg: #f6f1f0;
  --muted: #706269;
  --line: #e2d8d9;
  --container: 1200px;
  --radius: 8px;
  --space: 44px;
  --body-font: Arial, Helvetica, 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(--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; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
figure, blockquote { margin: 0; }
h1,h2,h3,p { margin: 0; }
h2 { font: 400 34px/1.13 var(--display-font); letter-spacing: -.04em; }
h3 { font-size: 19px; line-height: 1.35; }
p { margin-top: 18px; }
button,a,summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a45b7b; outline-offset: 5px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space); }
.eyebrow { margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 23px; font-size: 14px; font-weight: 600; color: var(--primary-color); background: var(--secondary-color); border: 1px solid transparent; border-radius: 3px; transition: transform .3s ease, background .3s ease; }
.button:hover { transform: translateY(-3px); background: #f8e0e4; }
.button-dark { color: white; background: var(--primary-color); }
.button-dark:hover { background: var(--accent-color); }
.actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 30px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; border-bottom: 1px solid currentColor; font-size: 14px; }
.skip-link { position: fixed; top: 10px; left: 20px; z-index: 20; padding: 10px; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; background: var(--bg-color); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; }
.brand svg { width: 37px; height: 42px; }
.brand span { font-size: 24px; line-height: 1.2; letter-spacing: .13em; }
.brand small { display: block; margin-top: 5px; font-size: 8px; letter-spacing: .16em; }
nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 16px 24px; background: var(--bg-color); border-bottom: 1px solid var(--line); }
nav[hidden] { display: none; }
nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
nav a:hover { color: var(--accent-color); }
.menu-toggle { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; padding: 9px; background: none; border: 1px solid var(--line); border-radius: 3px; }
.menu-toggle span { width: 23px; height: 1px; background: var(--primary-color); }
.header-contact { margin-left: auto; }
.header-contact .phone { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; white-space: nowrap; }
.header-contact span,.header-cta { display: none; }
/* HERO */
.hero { overflow: hidden; color: #fff9f5; background: var(--primary-color); }
.hero-grid { display: grid; }
.hero-copy { padding: 40px 0 35px; animation: arrive .8s ease both; }
.hero .eyebrow { color: var(--secondary-color); font-size: 10px; }
h1 { font: 400 clamp(43px, 10vw, 68px)/1.03 var(--display-font); letter-spacing: -.05em; }
h1 em { color: var(--secondary-color); font-weight: 400; }
.hero-description { max-width: 380px; margin-top: 27px; color: #e1d6db; }
.rating { display: flex; flex-direction: column; align-items: flex-start; margin-top: 35px; font-size: 12px; color: #e1d6db; }
.rating strong { font-size: 18px; color: white; }
.rating strong span { margin-left: 8px; color: var(--secondary-color); font-size: 13px; letter-spacing: .1em; }
.hero-visual { position: relative; height: 430px; }
.hero-photo { height: 100%; object-position: 50% 30%; border-radius: 130px 130px 0 0; }
.photo-caption { position: absolute; right: 0; bottom: 20px; display: flex; align-items: center; gap: 25px; padding: 18px 22px; font: italic 21px/1.2 var(--display-font); color: var(--primary-color); background: var(--secondary-color); }
.photo-caption svg { width: 40px; height: 40px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding-block: 24px; color: #e3c6d2; font-size: 9px; letter-spacing: .08em; }
.hero-bottom i { font-size: 21px; font-style: normal; }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
/* BENEFITS */
.benefits { display: grid; gap: 26px; padding-block: 40px; }
.benefits article { display: flex; align-items: flex-start; gap: 18px; }
.benefit-symbol { color: var(--accent-color); font-size: 33px; line-height: 1.3; }
.benefits h2 { font: 600 18px/1.4 var(--body-font); letter-spacing: -.02em; }
.benefits p { margin-top: 8px; color: var(--muted); font-size: 14px; }
/* SERVICES */
.services { background: var(--card-bg); }
.section-heading { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.section-heading > p { margin: 0; color: var(--muted); }
.service-grid { display: grid; gap: 16px; }
.service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-color); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px #331d2a0d; }
.service-icon { margin-bottom: 16px; color: var(--accent-color); font-size: 32px; line-height: 1.2; }
.service-card h3 { max-width: 280px; font-weight: 500; }
.service-card p { margin: 13px 0 22px; color: var(--muted); font-size: 14px; }
.service-card strong { margin-top: auto; font-size: 22px; font-weight: 500; }
.service-card a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 10px; font-size: 14px; color: var(--accent-color); text-decoration: underline; text-underline-offset: 5px; }
.price-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 26px; }
.price-cta p { margin: 0; font-size: 14px; color: var(--muted); }
/* ABOUT AND WORKS */
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-copy { order: 2; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.dark-link { color: var(--accent-color); margin-top: 22px; }
.about-note { display: flex; gap: 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.interior img { height: 370px; border-radius: var(--radius); object-position: center 53%; }
.interior figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; }
.works { margin-top: 50px; }
.works-heading { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.works-heading h3 { font: 400 27px/1.2 var(--display-font); }
.works-heading span { color: var(--muted); font-size: 14px; }
.works-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.works-grid img { height: 360px; border-radius: var(--radius); }
.works-grid figcaption { margin-top: 12px; font-size: 14px; }
/* REVIEWS */
.reviews { background: var(--card-bg); }
.review-rating { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.review-rating strong { font-size: 25px; color: var(--primary-color); }
.review-rating strong span { color: var(--accent-color); font-size: 14px; letter-spacing: .05em; }
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 90%; gap: 18px; overflow-x: auto; align-items: start; padding: 5px 3px 20px; scroll-snap-type: x mandatory; }
.review { display: flex; flex-direction: column; padding: 25px; background: var(--bg-color); border: 1px solid var(--line); border-radius: var(--radius); scroll-snap-align: start; }
.stars { margin-bottom: 18px; color: var(--accent-color); font-size: 14px; letter-spacing: .13em; }
.review blockquote { font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.review-author { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.avatar { display: grid; flex: 0 0 40px; height: 40px; place-items: center; background: var(--card-bg); border-radius: 50%; font-family: var(--display-font); }
.review-author h3 { font-size: 14px; font-weight: 500; }
.review time { color: var(--muted); font-size: 12px; }
summary { min-height: 44px; cursor: pointer; color: var(--accent-color); }
.swipe-hint { color: var(--muted); font-size: 12px; }
/* CONTACTS */
.contacts { color: #fff9f5; background: var(--primary-color); }
.contact-grid { display: grid; gap: 36px; align-items: center; }
.contacts .eyebrow { color: var(--secondary-color); }
.contact-phone { display: inline-block; margin-top: 28px; font-size: clamp(22px,5vw,30px); }
address { margin-top: 24px; font-style: normal; color: #eadfe4; }
.hours { color: #eadfe4; margin-top: 14px; }
.button-outline { background: transparent; border-color: #b99aa9; color: #fff9f5; }
.button-outline:hover { background: #563447; }
.social-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.location-card { position: relative; }
.location-card > img { height: 400px; border-radius: var(--radius); object-position: center 45%; }
.location-caption { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; flex-direction: column; gap: 12px; padding: 20px; color: var(--text-color); background: var(--bg-color); border-radius: 3px; }
.location-caption span { font: 400 23px/1.2 var(--display-font); }
/* FOOTER */
.footer { padding-block: 30px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 12px; }
.footer-inner .brand { width: 100%; }
.footer-inner p { margin: 0; }
.footer-inner > a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; }
.plain-button { min-height: 44px; padding: 0; border: 0; color: var(--muted); background: none; text-decoration: underline; font-size: 12px; }
/* PRICE LIST AND DIALOGS */
.price-panel { max-width: 900px; margin: 30px auto; padding: 24px; background: var(--bg-color); }
.price-panel.is-modal { position: fixed; z-index: 30; inset: 5vh 12px auto; width: auto; max-height: 90vh; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 0 0 100vmax #150b12b8; }
.price-panel[hidden] { display: none; }
.price-panel-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.close-button { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--primary-color); background: var(--bg-color); font-size: 28px; line-height: 1; }
.price-list { padding: 0; margin: 25px 0; list-style: none; }
.price-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 14px; }
.price-number { color: var(--muted); font-size: 12px; }
.price-name { overflow-wrap: anywhere; }
.price-row strong { grid-column: 2; white-space: nowrap; }
dialog { max-width: min(550px,100% - 32px); max-height: 85vh; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-color); background: var(--bg-color); }
dialog::backdrop { background: #150b12b8; }
dialog .close-button { float: right; margin: 0 0 15px 15px; }
/* TABLET */
@media (min-width: 768px) {
  :root { --space: 65px; }
  .container { width: min(100% - 64px,var(--container)); }
  h2 { font-size: 43px; }
  .header-contact span { display: block; font-size: 11px; color: var(--muted); }
  .header-contact .phone { font-size: 16px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 35px; align-items: center; padding-top: 30px; }
  .hero-copy { padding: 25px 0; }
  h1 { font-size: clamp(48px,6vw,76px); }
  .hero-visual { height: 560px; }
  .hero-photo { border-radius: 180px 180px 0 0; }
  .hero-bottom { font-size: 12px; padding-block: 25px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .section-heading { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 38px; }
  .section-heading > p { font-size: 14px; }
  .price-cta { flex-direction: row; justify-content: space-between; align-items: center; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .about-copy { order: 0; }
  .interior img { height: 550px; }
  .works-grid { grid-template-columns: repeat(4,1fr); gap: 18px; }
  .works-grid img { height: 280px; }
  .works-heading { flex-direction: row; align-items: center; justify-content: space-between; }
  .review-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  .swipe-hint { display: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-inner .brand { width: auto; margin-right: auto; }
  .price-panel.is-modal { inset-inline: 32px; padding: 36px; }
  .price-row { grid-template-columns: 26px 1fr auto; gap: 20px; }
  .price-row strong { grid-column: auto; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --space: 80px; }
  .header-inner { gap: 24px; min-height: 94px; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  nav { position: static; display: flex; flex-direction: row; padding: 0; gap: 22px; border: 0; }
  .hero-grid { gap: 75px; padding-top: 35px; }
  .hero-copy { padding-block: 30px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-visual { height: 590px; }
  .hero-description { max-width: 370px; }
  .rating { margin-top: 42px; }
  .photo-caption { right: -22px; bottom: 32px; padding: 20px 28px; gap: 35px; }
  .hero-bottom { justify-content: center; gap: 75px; padding-block: 30px; }
  .benefits { grid-template-columns: repeat(3,1fr); gap: 45px; padding-block: 45px; }
  .service-grid { grid-template-columns: repeat(3,1fr); gap: 22px; }
  .service-card { padding: 30px; }
  .about-grid { gap: 100px; }
  .works { margin-top: 70px; }
  .works-grid img { height: 350px; }
  .review-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .contact-grid { gap: 100px; }
  .location-card > img { height: 460px; }
  .footer-inner { gap: 30px; }
}
@media (min-width: 1440px) {
  .hero-grid { gap: 95px; }
  h1 { font-size: 80px; }
}
@media (max-width: 359px) {
  .brand { gap: 6px; }
  .brand span { font-size: 20px; }
  .brand svg { width: 28px; }
  .header-inner { gap: 8px; }
  .header-contact .phone { font-size: 12px; }
  .hero .actions { gap: 12px; }
}
/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root *,:root *::before,:root *::after { animation: none; transition: none; }
}
