/* DESIGN TOKENS AND BASE */
:root {
  --primary-color: #394b3d;
  --secondary-color: #e6e9df;
  --accent-color: #775547;
  --text-color: #343c34;
  --muted-color: #656b60;
  --bg-color: #faf9f5;
  --card-bg: #ffffff;
  --line-color: #d9ddd2;
  --container-width: 1200px;
  --radius: 8px;
  --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; color: var(--text-color); background: var(--bg-color); font: 16px/1.65 var(--font-body); }
body.modal-open { overflow: hidden; }
button, input, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 32px; height: 32px; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -.045em; }
h2 { font-size: 36px; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 500; }
em { font-weight: 400; }
p + p { margin-top: 18px; }
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 5px; }
.container { width: min(100% - 40px, var(--container-width)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 22px; font-size: 12px; text-transform: uppercase; letter-spacing: .17em; font-weight: 600; color: var(--primary-color); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid var(--primary-color); border-radius: 3px; color: #fff; background: var(--primary-color); font-size: 14px; line-height: 1.5; font-weight: 500; transition: background .3s ease, transform .3s ease, box-shadow .3s ease; }
.button:hover { background: #293a2d; transform: translateY(-2px); box-shadow: 0 5px 14px #20302415; }
.button-outline { background: transparent; color: var(--primary-color); }
.button-outline:hover { background: var(--secondary-color); }
.button-small { min-height: 44px; padding: 10px 21px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 6px; font-size: 14px; }
.skip-link { position: fixed; z-index: 20; top: -100px; left: 20px; padding: 10px; color: white; background: var(--primary-color); }
.skip-link:focus { top: 10px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line-color); background: var(--bg-color); }
.header-inner { position: relative; display: flex; align-items: center; min-height: 83px; gap: 14px; }
.brand { display: inline-block; flex-shrink: 0; font-family: var(--font-display); color: var(--primary-color); font-size: 27px; font-style: italic; letter-spacing: -.06em; line-height: 1.1; }
.brand span { display: block; margin-top: 6px; font: 9px/1.4 var(--font-body); font-style: normal; letter-spacing: .22em; text-transform: uppercase; text-align: center; }
.header-contact { margin-left: auto; }
.header-contact .button { display: none; }
.phone { display: block; padding-block: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.menu-toggle { display: none; width: 40px; height: 44px; border: 0; padding: 10px 8px; background: transparent; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: var(--primary-color); transition: transform .3s ease; }
.js .menu-toggle { display: block; }
.nav { position: absolute; top: 83px; left: -20px; right: -20px; padding: 16px 24px; background: var(--bg-color); border-bottom: 1px solid var(--line-color); }
.nav a { display: block; padding: 10px 0; font-size: 14px; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
body:not(.js) .header { margin-bottom: 250px; }
/* HERO SECTION */
.hero { position: relative; display: grid; padding-top: 34px; }
.hero-copy { padding-bottom: 30px; animation: appear .8s ease both; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(50px, 12vw, 76px); line-height: .99; color: var(--primary-color); }
.hero h1 em { color: var(--accent-color); }
.hero-description { margin-top: 25px; color: var(--muted-color); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-actions .button { padding-inline: 17px; }
.hero-rating { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.hero-rating > strong { font: 36px/1 var(--font-display); }
.hero-rating > div { display: flex; flex-direction: column; gap: 1px; font-size: 12px; color: var(--muted-color); }
.stars { font-size: 15px; color: var(--accent-color); letter-spacing: .1em; }
.hero-visual { position: relative; height: 390px; background: var(--secondary-color); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; border-radius: 90px 0 0 0; }
.photo-note { position: absolute; bottom: 20px; left: 20px; right: 20px; padding: 16px 18px; background: #faf9f5f2; color: var(--primary-color); }
.photo-note span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.photo-note em { display: block; font: italic 19px/1.4 var(--font-display); margin-top: 3px; }
.hero-stamp { position: absolute; right: -7px; top: 22px; display: grid; align-content: center; width: 94px; height: 94px; border-radius: 50%; background: var(--primary-color); color: var(--bg-color); text-align: center; font: italic 18px var(--font-display); transform: rotate(10deg); }
.hero-stamp span { display: block; margin-top: 6px; font: 8px var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 19px 0; font-size: 11px; color: var(--muted-color); letter-spacing: .025em; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* BENEFITS */
.benefits { display: grid; gap: 25px; padding-block: 30px 45px; border-top: 1px solid var(--line-color); }
.benefits article { display: flex; gap: 18px; }
.benefits svg { margin-top: 3px; color: var(--primary-color); }
.benefits h2 { margin-bottom: 8px; font: 500 18px/1.4 var(--font-body); letter-spacing: 0; }
.benefits p { font-size: 16px; line-height: 1.7; color: var(--muted-color); }
/* SERVICES */
.services { background: #eff0e9; }
.section-heading { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading > p { color: var(--muted-color); font-size: 15px; }
.service-grid { display: grid; gap: 22px; }
.service-card { background: var(--bg-color); border-radius: var(--radius); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px #394b3d12; }
.service-photo { height: 220px; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.service-card:nth-child(3) img { object-position: center 30%; }
.service-content { padding: 23px; }
.service-content h3 { font-family: var(--font-display); font-size: 27px; }
.service-content > p { margin-top: 9px; font-size: 16px; color: var(--muted-color); }
.service-example { display: flex; justify-content: space-between; align-items: end; gap: 15px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line-color); font-size: 13px; line-height: 1.5; }
.service-example strong { flex-shrink: 0; font-size: 16px; color: var(--primary-color); }
.full-price { margin-top: 30px; }
.full-price > summary { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; list-style: none; }
.full-price > summary::-webkit-details-marker { display: none; }
#price-panel { text-align: left; }
.full-price #price-panel { margin-top: 28px; }
.search-label { display: block; margin-bottom: 7px; font-size: 14px; }
#price-search { width: 100%; min-height: 48px; border: 1px solid #929c8b; padding: 10px 14px; border-radius: 4px; background: white; }
.price-note, .search-status { margin-block: 14px; font-size: 14px; color: var(--muted-color); }
.price-group { margin-top: 28px; }
.price-group h3 { padding-bottom: 9px; border-bottom: 1px solid var(--primary-color); color: var(--primary-color); }
.price-group dl { margin: 0; }
.price-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; padding-block: 13px; border-bottom: 1px solid var(--line-color); font-size: 14px; }
.price-row dt { overflow-wrap: anywhere; }
.price-row dd { margin: 0; white-space: nowrap; font-weight: 600; }
[hidden] { display: none; }
/* ABOUT */
.about { display: grid; gap: 30px; }
.about-copy { order: 2; }
.about-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--muted-color); }
.about-copy .text-link { margin-top: 18px; }
.about-image { position: relative; min-width: 0; }
.about-image img { width: 100%; height: 380px; object-fit: cover; border-radius: 0 80px 0 0; }
.image-caption { position: absolute; bottom: 17px; left: 17px; right: 17px; background: var(--bg-color); padding: 9px 16px; font-size: 12px; text-align: center; }
/* REVIEWS */
.reviews { background: var(--primary-color); color: var(--bg-color); }
.reviews .eyebrow { color: #e3d1bb; }
.rating-summary > strong { display: flex; align-items: center; gap: 17px; font: 40px var(--font-display); }
.rating-summary .stars { color: #e3d1bb; }
.rating-summary p { margin-top: 8px; font-size: 13px; color: #e1e5dc; }
.rating-summary .text-link { font-size: 13px; }
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 92%; gap: 16px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; scrollbar-color: #a4b19c var(--primary-color); }
.review-card { min-width: 0; padding: 25px; border: 1px solid #72816f; border-radius: var(--radius); scroll-snap-align: start; }
.review-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.review-top .stars { color: #e3d1bb; }
.review-top time { color: #e1e5dc; font-size: 12px; }
.review-card blockquote { margin: 21px 0; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.review-author { font-size: 14px; font-weight: 600; }
.swipe-hint { margin-top: 12px; color: #e1e5dc; font-size: 12px; }
/* CONTACTS */
.contacts { display: grid; gap: 35px; }
.contact-intro { margin-top: 20px; color: var(--muted-color); }
.contact-line { display: flex; align-items: start; gap: 18px; margin-top: 25px; }
.contact-line svg { width: 25px; height: 25px; margin-top: 5px; }
.contact-line span { font-size: 12px; color: var(--muted-color); }
.contact-line p { margin-top: 4px; }
.contact-phone { display: block; width: fit-content; font: 30px/1.4 var(--font-display); margin-top: 25px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 23px 0 5px; }
.map-panel { position: relative; min-width: 0; height: 410px; border: 1px solid var(--line-color); border-radius: var(--radius); overflow: hidden; background: var(--secondary-color); }
.map-panel iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-link { position: absolute; bottom: 18px; left: 18px; right: 18px; padding: 14px 16px; background: var(--bg-color); text-align: center; font-size: 14px; border: 1px solid var(--line-color); }
/* FOOTER */
.footer { border-top: 1px solid var(--line-color); padding-block: 30px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; justify-content: space-between; }
.footer-inner p { color: var(--muted-color); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 20px; font-size: 12px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
/* DIALOG AND PRIVACY */
dialog { width: min(850px, calc(100% - 24px)); max-height: 88dvh; border: 0; border-radius: var(--radius); padding: 0; color: var(--text-color); background: var(--bg-color); box-shadow: 0 20px 100px #0004; }
dialog::backdrop { background: #17221b99; }
.dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line-color); background: var(--bg-color); }
.dialog-header h2 { font-size: 28px; }
.close-dialog { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line-color); border-radius: 50%; background: transparent; font-size: 28px; line-height: 1; }
#dialog-content { padding: 20px; }
.privacy { max-width: 800px; }
.privacy h1 { margin-top: 45px; font-size: clamp(32px,7vw,48px); overflow-wrap: anywhere; }
.privacy h2 { margin-top: 35px; font-size: 28px; }
.privacy p { margin-top: 20px; }
.privacy .button { margin-top: 30px; }
/* TABLET */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .container { width: min(100% - 64px, var(--container-width)); }
  h2 { font-size: 44px; }
  .header-contact { display: flex; align-items: center; gap: 20px; }
  .header-contact .button { display: inline-flex; }
  .phone { font-size: 14px; }
  .hero { grid-template-columns: 1fr 1fr; padding-top: 35px; }
  .hero-copy { padding: 24px 20px 35px 0; }
  .hero h1 { font-size: 68px; }
  .hero-visual { height: 550px; }
  .hero-stamp { right: -15px; width: 110px; height: 110px; }
  .hero-bottom { grid-column: 1/-1; font-size: 12px; }
  .benefits { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-block: 35px 50px; }
  .benefits article { flex-direction: column; gap: 12px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
  .about { grid-template-columns: 1fr 1fr; align-items: center; gap: 45px; }
  .about-copy { order: 0; }
  .about-image img { height: 490px; }
  .review-grid { grid-auto-flow: initial; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  .swipe-hint { display: none; }
  .contacts { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .map-panel { height: 510px; }
  .price-row { font-size: 16px; }
  #dialog-content { padding: 28px; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { gap: 30px; min-height: 94px; }
  .brand { font-size: 34px; }
  .js .menu-toggle { display: none; }
  .nav, .js .nav, .js .nav.is-open { position: static; display: flex; flex: 1; justify-content: center; gap: 21px; padding: 0; border: 0; }
  .nav a { font-size: 13px; transition: color .3s; }
  .nav a:hover { color: var(--accent-color); }
  body:not(.js) .header { margin-bottom: 0; }
  .header-contact { gap: 20px; }
  .hero { grid-template-columns: 1.05fr 1fr; padding-top: 42px; }
  .hero-copy { padding-top: 28px; padding-bottom: 40px; }
  .hero h1 { font-size: 90px; }
  .hero-description { margin-top: 27px; font-size: 17px; }
  .hero-actions { margin-top: 30px; gap: 14px; }
  .hero-actions .button { padding-inline: 26px; }
  .hero-rating { margin-top: 34px; }
  .hero-visual { height: 620px; }
  .hero-image { border-top-left-radius: 150px; }
  .photo-note { left: 32px; right: 32px; bottom: 30px; padding: 18px 25px; }
  .photo-note em { font-size: 24px; }
  .hero-stamp { right: -18px; top: 30px; width: 118px; height: 118px; font-size: 23px; }
  .hero-stamp span { font-size: 9px; }
  .benefits { gap: 40px; padding-block: 38px 54px; }
  .benefits article { flex-direction: row; gap: 19px; }
  .service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-photo { height: 245px; }
  .service-content { padding: 25px; }
  .service-content > p { min-height: 48px; }
  .service-example { min-height: 80px; }
  .about { gap: 90px; }
  .about h2 { font-size: 52px; }
  .about-image img { height: 560px; }
  .review-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
  .review-card { padding: 25px; }
  .contacts { gap: 85px; }
}
@media (min-width: 1440px) {
  .hero h1 { font-size: 98px; }
  .hero-visual { height: 650px; }
  h2 { font-size: 48px; }
}
/* SMALL SCREENS AND REDUCED MOTION */
@media (max-width: 374px) {
  .header-inner { gap: 8px; }
  .brand { font-size: 24px; }
  .phone { font-size: 12px; }
  .hero-actions .button { width: 100%; }
  .contact-phone { font-size: 26px; }
  .photo-note { left: 12px; right: 12px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
}
