/* THEME AND BASE */
:root {
  --primary-color: #bd2333;
  --secondary-color: #15191c;
  --accent-color: #bd2333;
  --text-color: #202528;
  --muted-color: #596166;
  --bg-color: #fff;
  --card-bg: #f4f5f5;
  --line-color: #dce0e1;
  --container: 1200px;
  --radius: 8px;
  --section-space: 44px;
  --font: Arial, Helvetica, sans-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.6 var(--font); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #087cac; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: 32px; }
h2 { font-size: 30px; }
h3 { font-size: 21px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { display: block; margin-bottom: 20px; color: var(--primary-color); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 50px; padding: 13px 23px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 4px; background: var(--primary-color); color: #fff; font-weight: 700; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #9e1b29; transform: translateY(-2px); }
.button.secondary { color: var(--text-color); background: transparent; border-color: #a7adb0; }
.button.secondary:hover { background: #e7e9ea; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section-heading { display: flex; margin-bottom: 30px; align-items: flex-start; justify-content: space-between; gap: 24px; flex-direction: column; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading p { max-width: 370px; color: var(--muted-color); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line-color); }
.header-inner { position: relative; display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1.2; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; background: var(--primary-color); color: white; font-size: 24px; font-weight: bold; }
.brand strong { display: block; font-size: 20px; letter-spacing: -.04em; }
.brand small { font-size: 12px; color: var(--muted-color); }
.header-phone { display: none; font-weight: 700; white-space: nowrap; }
.menu-toggle { display: grid; width: 44px; height: 44px; padding: 10px; place-items: center; background: none; border: 1px solid var(--line-color); border-radius: 4px; }
.navigation { position: absolute; top: 82px; left: -20px; right: -20px; display: none; padding: 15px 20px; background: white; border-bottom: 1px solid var(--line-color); }
.navigation.is-open { display: flex; flex-direction: column; }
.navigation a { padding: 10px 0; font-size: 14px; }
.navigation a:hover { color: var(--primary-color); }
.header-call { display: none; }
.header-mobile-phone { display: block; padding-bottom: 8px; text-align: center; font-size: 14px; font-weight: bold; }
/* HERO SECTION */
.hero { background: #f1f3f3; }
.hero-grid { display: grid; }
.hero-copy { padding: 42px 0; animation: arrive .7s ease both; }
.hero-copy h1 { max-width: 530px; }
.hero-copy h1 span { color: var(--primary-color); }
.hero-copy > p { max-width: 460px; margin-top: 22px; color: var(--muted-color); font-size: 17px; }
.hero-copy .actions { margin-top: 28px; }
.hero-location { display: flex; margin-top: 28px; gap: 10px; align-items: center; font-size: 14px; color: var(--muted-color); }
.hero-location svg { flex: 0 0 20px; }
.hero-visual { position: relative; min-height: 300px; margin-inline: -20px; background: #25292c; }
.hero-visual > img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: 54% center; }
.photo-label { position: absolute; bottom: 20px; left: 20px; display: flex; padding: 14px 18px; align-items: center; gap: 14px; color: #fff; background: #15191cf0; border-left: 3px solid var(--primary-color); font-size: 14px; }
.photo-label strong { display: block; font-size: 17px; }
.hero-bottom { display: flex; padding-block: 18px; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-color); font-size: 14px; }
.rating { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rating b { font-size: 20px; }
.stars { color: #8a5700; letter-spacing: 2px; white-space: nowrap; }
/* BENEFITS */
.benefits-grid { display: grid; gap: 30px; }
.benefit { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.benefit > svg { color: var(--primary-color); width: 32px; height: 32px; }
.benefit-title { margin: 2px 0 12px; font-size: 20px; }
.benefit p { color: var(--muted-color); }
/* SERVICES */
.services { background: var(--card-bg); }
.service-grid { display: grid; gap: 16px; }
.service-card { display: flex; padding: 26px; flex-direction: column; align-items: flex-start; border: 1px solid var(--line-color); border-radius: var(--radius); background: white; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px #15191c0d; }
.service-card > svg { margin-bottom: 24px; color: var(--primary-color); width: 34px; height: 34px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 24px; color: var(--muted-color); }
.service-card strong { margin-top: auto; font-size: 25px; letter-spacing: -.025em; }
.service-footer { display: flex; margin-top: 28px; align-items: center; flex-wrap: wrap; gap: 20px; }
.service-footer p { color: var(--muted-color); font-size: 14px; }
/* ABOUT */
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-copy p { margin-top: 22px; color: var(--muted-color); }
.about-copy .text-link { display: inline-flex; min-height: 44px; margin-top: 22px; align-items: center; color: var(--primary-color); font-weight: bold; border-bottom: 1px solid var(--primary-color); }
.about-image { order: -1; }
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.about-image figcaption { margin-top: 12px; color: var(--muted-color); font-size: 14px; }
figure { margin: 0; }
/* REVIEWS */
.reviews { border-top: 1px solid var(--line-color); }
.review-grid { display: grid; grid-auto-columns: 88%; grid-auto-flow: column; gap: 16px; overflow-x: auto; padding: 6px 3px 24px; scroll-snap-type: x mandatory; }
.review-card { display: flex; padding: 26px; flex-direction: column; border: 1px solid var(--line-color); border-radius: var(--radius); scroll-snap-align: start; background: var(--card-bg); }
.review-card blockquote { margin: 20px 0 26px; overflow-wrap: anywhere; }
.review-card footer { margin-top: auto; }
.review-card cite { font-style: normal; font-weight: bold; }
.review-card time { display: block; margin-top: 4px; color: var(--muted-color); font-size: 14px; }
.review-hint { margin-top: 12px; font-size: 14px; color: var(--muted-color); }
.reviews-link { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 5px; font-weight: bold; }
/* CONTACTS AND MAP */
.contacts { color: white; background: var(--secondary-color); }
.contacts .eyebrow { color: #ff9da7; }
.contact-grid { display: grid; gap: 32px; }
.contact-details { display: grid; margin: 30px 0; gap: 24px; }
.contact-item { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.contact-item svg { color: #ff9da7; }
.contact-item dt { margin-bottom: 5px; color: #b8bfc3; font-size: 14px; }
.contact-item dd { margin: 0; }
.contact-item dd a { font-size: 22px; font-weight: 700; }
.contacts .secondary { color: white; border-color: #697176; }
.contacts .secondary:hover { background: #30383d; }
.map-panel { position: relative; display: grid; min-height: 350px; overflow: hidden; align-items: end; border-radius: var(--radius); background: #252c30; }
.map-panel > img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.map-caption { position: relative; padding: 26px; background: #15191ccc; }
.map-caption p { margin: 10px 0 20px; }
.map-caption .actions { gap: 10px; }
.map-panel iframe { width: 100%; height: 100%; min-height: 400px; border: 0; }
/* FOOTER */
.footer { padding-block: 30px; color: #b8bfc3; background: #101416; font-size: 14px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer-links a, .footer-links button { display: inline-flex; min-height: 44px; padding: 0; align-items: center; border: 0; background: none; color: inherit; font-size: 14px; }
.footer-links a:hover, .footer-links button:hover { color: white; }
/* DIALOGS */
dialog { position: fixed; max-width: 800px; width: calc(100% - 32px); max-height: 85dvh; padding: 24px; border: 0; border-radius: var(--radius); color: var(--text-color); background: white; }
dialog::backdrop { background: #101416b8; }
.dialog-header { display: flex; margin-bottom: 24px; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dialog-header h2 { font-size: 28px; }
.close-dialog { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--line-color); border-radius: 50%; background: white; font-size: 26px; line-height: 1; }
.price-list { margin: 0 0 26px; padding: 0; list-style: none; }
.price-list li { display: flex; padding: 18px 0; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line-color); }
.price-list strong { white-space: nowrap; }
.privacy-copy p { margin-bottom: 16px; }
.no-js { padding: 15px 20px; background: #f4f5f5; }
/* RESPONSIVE LAYOUT */
@media (min-width: 375px) {
  h1 { font-size: 36px; }
}
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .header-mobile-phone { display: none; }
  .header-phone { display: block; margin-left: auto; margin-right: 20px; }
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .hero-copy { padding-block: 55px; }
  .hero-visual { margin-inline: 0; }
  .hero-visual > img { position: absolute; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-auto-flow: initial; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .review-hint { display: none; }
  .section-heading { flex-direction: row; align-items: flex-end; }
  .about-grid, .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-image { order: 0; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .benefit { display: block; }
  .benefit > svg { margin-bottom: 18px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { min-height: 90px; }
  .menu-toggle { display: none; }
  .navigation, .navigation.is-open { position: static; display: flex; padding: 0; flex-direction: row; gap: 22px; border: 0; }
  .navigation .mobile-contact { display: none; }
  .header-phone { margin: 0; font-size: 16px; }
  .header-call { display: inline-flex; min-height: 44px; padding: 9px 16px; font-size: 14px; }
  .brand { margin-right: 12px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-copy { padding: 68px 0 70px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-visual { margin-right: 0; }
  .hero-bottom { padding-block: 22px; }
  .service-grid, .review-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit { display: grid; }
  .about-grid { gap: 80px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1440px) {
  .hero-copy { padding-block: 80px; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
  .hero-copy, .button, .service-card { animation: none; transition: none; }
}
