/* TOKENS AND BASE */
:root {
  --primary-color: #ccdaaa;
  --secondary-color: #242820;
  --accent-color: #4a5c36;
  --text-color: #20231e;
  --muted-color: #62655e;
  --bg-color: #f7f8f3;
  --card-bg: #fff;
  --dark-bg: #171a16;
  --line-color: #d9ddd1;
  --radius: 8px;
  --container: 1200px;
  --section-space: 48px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text-color); background: var(--bg-color); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: clamp(36px, 5.1vw, 70px); font-weight: 500; letter-spacing: -.055em; }
h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 500; letter-spacing: -.045em; }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; height: auto; }
svg { display: block; width: 28px; height: 28px; flex-shrink: 0; }
:focus-visible { outline: 3px solid #6b863e; outline-offset: 5px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--dark-bg); text-align: center; text-decoration: none; background: var(--primary-color); border: 1px solid transparent; border-radius: 4px; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #e0e9cb; transform: translateY(-2px); }
.button-dark { color: white; background: var(--dark-bg); }
.button-dark:hover { background: #3a4530; }
.button-outline { color: var(--bg-color); background: transparent; border-color: #77806e; }
.button-outline:hover { color: var(--dark-bg); }
.text-link { display: inline-flex; min-height: 48px; align-items: center; font-size: 14px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 10px; color: black; background: white; }
.skip-link:focus { top: 10px; }
/* HEADER AND MOBILE NAVIGATION */
.header { position: relative; z-index: 20; color: var(--bg-color); background: var(--dark-bg); border-bottom: 1px solid #383c33; }
.header-inner { display: flex; min-height: 88px; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 12px; }
.logo { display: inline-block; font-size: 34px; font-weight: 800; line-height: .9; letter-spacing: -.075em; text-decoration: none; }
.logo span { font-weight: 400; }
.logo small { display: block; margin-top: 8px; font-size: 9px; font-weight: 400; letter-spacing: .07em; }
.header-phone { margin-left: auto; font-size: 13px; white-space: nowrap; text-decoration: none; }
.header-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; flex-direction: column; justify-content: center; gap: 6px; color: inherit; background: none; border: 1px solid #6d7463; border-radius: 4px; }
.menu-toggle span { width: 20px; height: 1px; background: currentColor; }
.navigation { display: flex; width: 100%; flex-wrap: wrap; gap: 2px 18px; order: 4; }
.navigation a { padding-block: 10px; font-size: 14px; text-decoration: none; }
.navigation a:hover { color: var(--primary-color); }
.js .menu-toggle { display: flex; }
.js .navigation { display: none; }
.js .navigation.is-open { display: flex; }
/* HERO SECTION */
.hero { overflow: hidden; color: var(--bg-color); background: var(--dark-bg); }
.hero-grid { display: grid; gap: 36px; padding-top: 42px; }
.hero-copy { animation: appear .7s ease both; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #d0d5c7; }
.tiny-star { font-size: 24px; line-height: 1; color: var(--primary-color); }
.hero h1 em { color: var(--primary-color); }
.hero-description { margin-top: 26px; color: #c5cbbd; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }
.hero-proof { display: flex; align-items: center; gap: 18px; margin-top: 30px; font-size: 12px; line-height: 1.5; color: #c5cbbd; }
.rating-number { display: flex; align-items: center; gap: 8px; font-size: 36px; letter-spacing: -.04em; color: var(--bg-color); }
.rating-number .stars { font-size: 20px; color: var(--primary-color); }
.hero-photo { position: relative; min-width: 0; }
.hero-photo > img { height: 420px; object-fit: cover; object-position: center 35%; border-radius: 110px 8px 8px 8px; }
.photo-label { position: absolute; bottom: 18px; left: 14px; right: 14px; padding: 10px; font-size: 11px; text-align: center; background: #171a16ed; border-radius: 3px; }
.hero-seal { position: absolute; top: 28px; right: -10px; display: flex; width: 88px; height: 88px; align-items: center; flex-direction: column; justify-content: center; font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--dark-bg); text-align: center; background: var(--primary-color); border-radius: 50%; transform: rotate(12deg); }
.hero-seal span { font-size: 22px; }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 30px; padding-block: 18px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #b5bda9; border-top: 1px solid #383c33; }
/* BENEFITS */
.benefits { border-bottom: 1px solid var(--line-color); }
.benefits-grid { display: grid; gap: 34px; }
.benefits article > svg { margin-bottom: 20px; color: var(--accent-color); }
.benefits h2 { margin-bottom: 12px; font-size: 21px; letter-spacing: -.025em; }
.benefits p { font-size: 15px; color: var(--muted-color); }
/* SERVICES */
.section-heading { display: flex; align-items: flex-end; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 16px; color: var(--accent-color); }
.heading-aside { font-size: 14px; color: var(--muted-color); }
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.service-card { display: flex; min-width: 0; flex-direction: column; padding: 26px; 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 { box-shadow: 0 8px 22px #20231e0b; transform: translateY(-4px); }
.service-icon { display: block; margin-bottom: 24px; color: var(--accent-color); }
.service-card h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.service-description { margin-bottom: 24px; font-size: 14px; color: var(--muted-color); }
.price { margin-top: auto; padding-top: 14px; font-size: 20px; font-weight: 500; }
.js .services .service-card:not(.featured) { display: none; }
.services-bottom { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 28px; }
.services-bottom p { font-size: 14px; color: var(--muted-color); }
body:not(.js) #open-prices { display: none; }
.photo-strip { display: grid; gap: 16px; margin-top: 48px; }
.photo-strip figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.photo-strip img { height: 340px; object-fit: cover; }
.photo-strip figcaption { position: absolute; bottom: 16px; left: 16px; padding: 6px 16px; font-size: 14px; color: white; background: #171a16e8; border: 1px solid #ffffff40; border-radius: 30px; }
/* ABOUT */
.about { color: var(--bg-color); background: var(--secondary-color); }
.about-grid { display: flex; flex-direction: column-reverse; gap: 34px; }
.about .eyebrow { color: var(--primary-color); }
.about h2 { margin-bottom: 28px; }
.about h2 em { color: var(--primary-color); }
.about-copy > p:not(.eyebrow) { max-width: 470px; margin-bottom: 20px; color: #ccd1c4; }
.about-copy .button { margin-top: 8px; }
.about-note { margin-top: 18px; font-size: 12px; color: #c5cbbd; }
.about-photo { position: relative; }
.about-photo img { height: 420px; object-fit: cover; border-radius: var(--radius); }
.about-photo figcaption { position: absolute; bottom: 0; right: 0; left: 0; padding: 16px; font-size: 12px; color: white; background: #171a16ed; }
/* REVIEWS */
.review-rating { display: flex; flex-direction: column; font-size: 12px; text-decoration: none; }
.review-rating strong { font-size: 38px; line-height: 1.2; font-weight: 500; letter-spacing: -.05em; }
.review-rating .stars { font-size: 28px; }
.stars { color: var(--accent-color); }
.reviews-grid { display: grid; grid-auto-columns: 90%; grid-auto-flow: column; align-items: start; gap: 16px; overflow-x: auto; padding: 5px 2px 18px; scroll-snap-type: x mandatory; }
.review-card { display: flex; min-width: 0; flex-direction: column; padding: 26px; background: var(--card-bg); border: 1px solid var(--line-color); border-radius: var(--radius); scroll-snap-align: start; }
.review-card .stars { margin-bottom: 18px; font-size: 15px; letter-spacing: 3px; }
.review-card blockquote { margin-bottom: 28px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: flex; width: 40px; height: 40px; flex-shrink: 0; align-items: center; justify-content: center; background: #ecf0e3; border-radius: 50%; }
.review-author h3 { font-size: 14px; line-height: 1.4; }
.review-author time { font-size: 12px; color: var(--muted-color); }
.swipe-hint { margin-bottom: 18px; font-size: 12px; color: var(--muted-color); }
/* CONTACTS */
.contacts { color: var(--bg-color); background: var(--dark-bg); }
.contacts-grid { display: grid; gap: 40px; }
.contacts .eyebrow { color: var(--primary-color); }
.contacts h2 { font-size: 30px; }
.contact-intro { margin-block: 24px 30px; font-size: 23px; line-height: 1.3; color: var(--primary-color); }
.contact-row { display: flex; gap: 18px; margin-bottom: 24px; }
.contact-row svg { width: 22px; color: var(--primary-color); }
.contact-row h3 { margin-bottom: 4px; font-size: 12px; line-height: 1.6; color: #b5bda9; }
.contact-row p, .contact-row a { font-size: 16px; text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.social-links { display: flex; gap: 24px; margin-top: 24px; font-size: 14px; }
.social-links a { padding-block: 6px; }
.location-card { align-self: start; overflow: hidden; color: var(--text-color); background: var(--primary-color); border-radius: var(--radius); }
.location-card > img { height: 360px; object-fit: cover; object-position: 50% 53%; }
.location-caption { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px; font-size: 18px; }
.location-caption small { font-size: 12px; }
/* FOOTER */
.footer { padding-block: 30px; color: #bdc3b5; background: var(--dark-bg); border-top: 1px solid #383c33; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 12px; }
.footer .logo { margin-right: auto; color: var(--bg-color); }
.footer a:not(.logo) { display: inline-flex; min-height: 44px; align-items: center; }
.privacy-link { min-height: 44px; padding: 0; font-size: 12px; color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; }
/* ACCESSIBLE DIALOGS */
dialog { width: min(860px, calc(100% - 24px)); max-height: 88dvh; padding: 24px; color: var(--text-color); background: var(--bg-color); border: 1px solid var(--line-color); border-radius: var(--radius); }
dialog::backdrop { background: #0c0e0bd9; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.dialog-header h2 { font-size: 30px; }
.dialog-header .eyebrow { margin-bottom: 10px; }
.close-dialog { position: sticky; top: 0; width: 44px; height: 44px; flex-shrink: 0; font-size: 28px; color: var(--text-color); background: #e7ebde; border: 0; border-radius: 50%; }
.dialog-note { margin-bottom: 24px; font-size: 14px; color: #53584c; }
dialog .service-grid { display: block; }
dialog .service-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0; background: none; border: 0; border-bottom: 1px solid var(--line-color); border-radius: 0; }
dialog .service-card:hover { box-shadow: none; transform: none; }
dialog .service-icon, dialog .service-description { display: none; }
dialog .service-card h3 { margin: 0; font-size: 16px; line-height: 1.5; }
dialog .price { margin: 0; padding: 0; font-size: 16px; white-space: nowrap; }
.dialog-cta { margin-top: 28px; }
/* RESPONSIVE LAYOUT */
@media (min-width: 768px) {
  :root { --section-space: 72px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 34px; padding-top: 38px; }
  .hero-photo > img { height: 550px; border-top-left-radius: 150px; }
  .hero h1 { font-size: clamp(44px, 5.1vw, 70px); }
  .hero-description { font-size: 17px; }
  .hero-bottom { font-size: 11px; }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-strip img { height: 340px; }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .about-photo img { height: 570px; }
  .contacts-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .location-card > img { height: 450px; }
  dialog { padding: 36px; }
  dialog .service-card { grid-template-columns: minmax(0, 1fr) 120px; gap: 30px; }
  dialog .price { text-align: right; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { gap: 24px; min-height: 96px; flex-wrap: nowrap; }
  .header .menu-toggle { display: none; }
  .js .navigation, .navigation { display: flex; width: auto; justify-content: center; gap: 20px; margin-left: auto; order: 0; }
  .navigation a { font-size: 12px; }
  .header-phone { margin-left: 0; font-size: 14px; }
  .header-cta { display: inline-flex; min-height: 44px; padding-inline: 18px; font-size: 12px; }
  .hero-grid { grid-template-columns: 1.12fr 1fr; gap: 64px; padding-top: 42px; }
  .hero-photo > img { height: 590px; }
  .hero-seal { top: 52px; right: -24px; width: 110px; height: 110px; font-size: 14px; }
  .hero .eyebrow { font-size: 12px; }
  .hero-proof { margin-top: 44px; }
  .hero-bottom { margin-top: 34px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card { min-height: 290px; padding: 28px; }
  .photo-strip img { height: 390px; }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; align-items: stretch; overflow: visible; }
  .swipe-hint { display: none; }
  dialog .service-card { min-height: 0; }
}
@media (min-width: 1440px) {
  .hero-grid { gap: 82px; }
  .hero-photo > img { height: 620px; }
}
/* MOTION PREFERENCES */
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root *, :root *::before, :root *::after { animation: none; transition: none; }
}
