/* TOKENS AND BASE */
:root {
  --primary-color: #174d43;
  --secondary-color: #dfe9df;
  --accent-color: #aa5334;
  --text-color: #243d36;
  --muted-color: #59675e;
  --bg-color: #faf8f2;
  --card-bg: #fffefa;
  --line-color: #d9ded4;
  --container: 1200px;
  --radius: 12px;
  --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: 110px; }
body { margin: 0; color: var(--text-color); background: var(--bg-color); font: 16px/1.6 var(--font-body); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
svg { width: 44px; height: 44px; flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(38px, 6vw, 70px); }
h2 { font-size: 34px; }
h3 { font-size: 20px; line-height: 1.35; }
em { font-weight: 400; color: var(--primary-color); }
p { margin-bottom: 18px; }
::selection { background: var(--secondary-color); color: var(--primary-color); }
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 5px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-space) 0; }
.eyebrow { margin-bottom: 22px; font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .13em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 13px 22px; border: 1px solid var(--primary-color); border-radius: 6px; color: #fffefa; background: var(--primary-color); font-size: 14px; font-weight: 600; line-height: 1.5; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #103e35; transform: translateY(-2px); }
.button span { font-size: 21px; font-weight: 400; }
.button-outline { color: var(--primary-color); background: transparent; }
.button-outline:hover { background: var(--secondary-color); }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; }
.text-link span { font-size: 22px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 30; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line-color); background: var(--bg-color); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 85px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 5px; color: var(--primary-color); font-family: var(--font-display); font-size: 28px; line-height: 1; letter-spacing: -.035em; }
.brand small { display: block; margin-top: 6px; font: 9px/1.4 var(--font-body); letter-spacing: .11em; }
.header-contact { margin-left: auto; text-align: right; }
.header-contact a { display: block; font-size: 13px; font-weight: 600; }
.header-contact span { display: block; color: var(--muted-color); font-size: 10px; }
.header-cta { display: none; }
.menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; order: 2; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line-color); border-radius: 5px; background: transparent; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--primary-color); }
.navigation { display: none; flex-direction: column; order: 3; width: 100%; padding-bottom: 18px; }
.navigation.open { display: flex; }
.navigation a { padding: 12px 0; font-size: 14px; }
.navigation a:hover { color: var(--accent-color); }
/* HERO */
.hero { padding-top: 34px; }
.hero-grid { display: grid; gap: 30px; }
.hero-copy { padding: 14px 0; animation: appear .7s ease both; }
.small-dot { display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--accent-color); }
.hero h1 { margin-bottom: 24px; }
.hero-description { max-width: 360px; margin-bottom: 27px; color: var(--muted-color); }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.rating-number { font-family: var(--font-display); font-size: 36px; line-height: 1; }
.stars { color: var(--accent-color); font-size: 15px; letter-spacing: .12em; }
.rating-note { display: block; font-size: 11px; color: var(--muted-color); }
.proof-caption { padding-left: 16px; border-left: 1px solid var(--line-color); color: var(--muted-color); font-size: 11px; line-height: 1.5; }
.hero-visual { position: relative; min-width: 0; height: 390px; padding-bottom: 18px; }
.hero-visual > img { width: 100%; height: 100%; border-radius: 150px 150px 8px 8px; object-fit: cover; object-position: 48% center; }
.photo-label { position: absolute; right: 12px; bottom: 38px; left: 12px; display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid #e3e7dc; border-radius: 7px; background: var(--bg-color); font-family: var(--font-display); font-size: 20px; line-height: 1.3; }
.label-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--secondary-color); }
.label-icon svg { width: 30px; height: 30px; }
.photo-label small { display: block; margin-top: 5px; color: var(--muted-color); font: 10px/1.4 var(--font-body); }
.photo-index { position: absolute; right: 0; bottom: -7px; font-size: 9px; letter-spacing: .13em; }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--line-color); color: var(--muted-color); font-size: 11px; }
.hero-foot a { display: none; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* ADVANTAGES */
.advantages { border-top: 1px solid var(--line-color); }
.advantage-grid { display: grid; gap: 32px; }
.advantage-grid article { position: relative; padding-left: 54px; }
.feature-icon { position: absolute; left: 0; top: -3px; color: var(--primary-color); font-size: 33px; line-height: 1.2; }
.advantage-grid h2 { margin-bottom: 10px; font: 600 17px/1.4 var(--font-body); letter-spacing: -.02em; }
.advantage-grid p { margin: 0; color: var(--muted-color); font-size: 16px; line-height: 1.7; }
/* SERVICES */
.services { background: #eef1e9; }
.section-heading { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; margin-bottom: 34px; }
.section-heading > p { max-width: 300px; margin: 0; color: var(--muted-color); }
.service-grid { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line-color); border-radius: var(--radius); background: var(--card-bg); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 24px #174d430c; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.service-number { color: var(--muted-color); font-size: 11px; }
.card-top svg { color: var(--primary-color); width: 34px; height: 34px; }
.service-kind { margin-bottom: 10px; color: var(--muted-color); font-size: 11px; }
.service-card h3 { max-width: 280px; margin-bottom: 26px; font-size: 21px; font-weight: 500; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-color); }
.card-bottom strong { font-size: 20px; font-weight: 500; }
.card-bottom a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-color); border-radius: 50%; font-size: 23px; }
.card-bottom a:hover { background: var(--secondary-color); }
.services-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 28px; }
.services-bottom p { max-width: 410px; margin: 0; color: var(--muted-color); font-size: 13px; }
/* ABOUT AND GALLERY */
.about-grid { display: grid; gap: 32px; }
.about-copy { order: 2; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy p:not(.eyebrow) { color: var(--muted-color); }
.about-photo { min-width: 0; }
.about-photo img { height: 350px; border-radius: var(--radius); object-fit: cover; }
.image-caption { display: block; margin-top: 12px; color: var(--muted-color); font-size: 11px; }
.gallery { display: grid; gap: 24px; margin-top: 42px; }
.gallery img { height: 235px; border-radius: 8px; object-fit: cover; }
.gallery figcaption { margin-top: 12px; color: var(--muted-color); font-size: 12px; }
/* REVIEWS */
.reviews { background: #f0ede4; }
.review-summary strong { display: block; font-family: var(--font-display); font-size: 33px; font-weight: 400; }
.review-summary > span { color: var(--muted-color); font-size: 12px; }
.review-summary .stars { margin-left: 8px; vertical-align: middle; }
.mobile-hint { color: var(--muted-color); font-size: 12px; }
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 92%; gap: 18px; overflow-x: auto; padding: 4px 4px 20px; scroll-snap-type: x mandatory; }
.review-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid #dedbd1; border-radius: var(--radius); background: var(--bg-color); scroll-snap-align: start; }
.review-card blockquote { margin: 18px 0 26px; font-size: 16px; line-height: 1.8; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--secondary-color); font-size: 14px; }
.review-author h3 { font-size: 12px; }
.review-author time { color: var(--muted-color); font-size: 10px; }
.all-reviews { margin-top: 26px; }
/* CONTACTS */
.contacts { color: var(--bg-color); background: var(--primary-color); }
.contacts em { color: #d8e5d6; }
.contacts-grid { display: grid; gap: 36px; }
.contact-intro { max-width: 370px; margin-top: 24px; color: #d1ded6; }
.contact-phone { display: inline-block; margin: 2px 0 22px; font-size: clamp(21px, 4vw, 30px); }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.contact-detail > span { font-size: 22px; }
.contact-detail p { margin: 0; color: #d1ded6; font-size: 16px; }
.contacts .actions { margin-top: 28px; gap: 12px; }
.button-light { border-color: var(--bg-color); color: var(--primary-color); background: var(--bg-color); }
.button-light:hover { background: #d8e5d6; }
.button-outline-light { border-color: #a7c2b4; background: transparent; }
.button-outline-light:hover { background: #226253; }
.location-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 370px; padding: 32px; border-radius: var(--radius); color: var(--primary-color); background: #e3e8dc; }
.location-card::before, .location-card::after { position: absolute; right: -100px; width: 290px; height: 600px; border: 14px solid #d4ddce; transform: rotate(32deg); content: ''; pointer-events: none; }
.location-card::after { right: -80px; bottom: -210px; transform: rotate(-42deg); }
.location-card > * { position: relative; z-index: 1; }
.location-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50% 50% 50% 0; background: var(--primary-color); color: var(--bg-color); }
.location-mark svg { width: 37px; height: 37px; }
.location-card .eyebrow { margin-bottom: 12px; }
.location-card h3 { margin-bottom: 18px; font: 36px/1.12 var(--font-display); letter-spacing: -.035em; }
.location-card p:not(.eyebrow) { font-size: 13px; }
.location-coordinates { margin-top: 32px; font-size: 8px; letter-spacing: .14em; }
/* FOOTER */
.footer { padding: 32px 0 20px; }
.footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 28px; }
.footer-top p { margin: 0; font-size: 13px; color: var(--muted-color); }
.footer-top > a:last-child { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line-color); font-size: 11px; color: var(--muted-color); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
/* PRICE DIALOG AND PRIVACY */
dialog { width: min(740px, calc(100% - 24px)); max-height: 85vh; padding: 24px; border: 1px solid var(--line-color); border-radius: var(--radius); color: var(--text-color); background: var(--bg-color); }
dialog::backdrop { background: #092a24b8; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.dialog-heading .eyebrow { margin-bottom: 8px; }
.dialog-heading h2 { font-size: 30px; }
.dialog-close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line-color); border-radius: 50%; color: var(--primary-color); background: transparent; font-size: 30px; }
.price-list { margin-bottom: 24px; }
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 0; border-bottom: 1px solid var(--line-color); font-size: 14px; }
.price-row strong { white-space: nowrap; font-weight: 600; }
.price-row > span { flex: 1 1 220px; }
.privacy { max-width: 820px; }
.privacy h1 { margin: 32px 0; font-size: clamp(30px, 6vw, 48px); overflow-wrap: anywhere; }
.privacy p a { text-decoration: underline; }
/* TABLET */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .container { padding-right: 32px; padding-left: 32px; }
  h2 { font-size: 44px; }
  .header-contact a { font-size: 16px; }
  .header-contact span { font-size: 11px; }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
  .hero h1 { font-size: 49px; }
  .hero-visual { height: 540px; }
  .hero-copy { padding: 25px 0; }
  .hero-proof { flex-wrap: wrap; }
  .hero-description { font-size: 15px; }
  .photo-label { right: 12px; left: 12px; padding: 16px; font-size: 19px; }
  .hero-foot a { display: block; }
  .advantage-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .advantage-grid article { padding-left: 0; }
  .feature-icon { position: static; display: block; margin-bottom: 15px; }
  .section-heading { flex-direction: row; align-items: flex-end; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .services-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .about-copy { order: 0; }
  .about-photo img { height: 490px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .gallery img { height: 180px; }
  .review-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 0; }
  .mobile-hint { display: none; }
  .contacts-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .location-card { min-height: 460px; padding: 35px; }
  .footer-top { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-bottom { justify-content: space-between; }
  dialog { padding: 36px; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .container { padding-right: 30px; padding-left: 30px; }
  .header-inner { flex-wrap: nowrap; gap: 25px; min-height: 96px; }
  .brand { font-size: 30px; }
  .menu-toggle { display: none; }
  .navigation { display: flex; flex-direction: row; order: 0; justify-content: center; width: auto; gap: 20px; padding: 0; }
  .navigation a { padding: 14px 0; font-size: 12px; }
  .header-contact { margin-left: 0; }
  .header-contact a { font-size: 14px; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 16px; font-size: 12px; gap: 12px; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 60px; }
  .hero h1 { font-size: clamp(59px, 5.3vw, 70px); }
  .hero-visual { height: 580px; }
  .hero-description { font-size: 16px; }
  .hero-proof { flex-wrap: nowrap; margin-top: 42px; }
  .hero .actions { gap: 26px; }
  .photo-label { left: -30px; right: 35px; padding: 22px; font-size: 23px; }
  .hero-foot { margin-top: 42px; padding-top: 20px; padding-bottom: 22px; }
  .advantage-grid { gap: 50px; }
  .advantage-grid article { padding-left: 55px; }
  .feature-icon { position: absolute; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .service-card { min-height: 285px; padding: 28px; }
  .about-grid { gap: 90px; }
  .gallery { margin-top: 52px; }
  .gallery img { height: 230px; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .contacts-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; }
  .location-card { padding: 46px; }
}
@media (min-width: 1440px) {
  .hero-grid { gap: 72px; }
  .hero-visual { height: 600px; }
}
/* MOTION PREFERENCES */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  *, *::before, *::after { animation: none; transition: none; }
}
