/* THEME AND BASE */
:root {
  --primary-color: #d82f24;
  --secondary-color: #17191c;
  --accent-color: #ff6555;
  --text-color: #23262a;
  --bg-color: #f4f5f5;
  --card-bg: #fff;
  --muted-color: #aeb2b8;
  --container-width: 1200px;
  --radius: 8px;
  --section-space: 44px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { transition: color .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease; }
:focus-visible { outline: 3px solid #217bd2; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
h2 { font-size: 32px; letter-spacing: -1px; }
h3 { font-size: 20px; }
p { margin-top: 16px; }
.container { width: min(100% - 40px, var(--container-width)); margin: 0 auto; }
.section { padding: var(--section-space) 0; }
.eyebrow { margin: 0 0 22px; color: #c2c5ca; font-size: 14px; font-weight: 700; letter-spacing: 2px; }
.dark-label { color: #64686d; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 23px; color: #fff; background: var(--primary-color); border: 1px solid transparent; border-radius: 3px; font-size: 16px; font-weight: 700; text-align: center; }
.button:hover { background: #bd271c; transform: translateY(-2px); }
.button-outline { border-color: #7b7d80; background: #17191c80; }
.button-outline:hover { background: #393b3e; }
.button-dark { background: var(--secondary-color); }
.button-dark:hover { background: #383b40; }
.button-light { color: var(--text-color); background: #fff; }
.button-light:hover { background: #eee; }
.stars { color: #be341f; letter-spacing: 2px; white-space: nowrap; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; border-bottom: 1px solid currentColor; font-weight: 700; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px; background: white; color: black; }
.skip-link:focus { top: 10px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; color: white; background: var(--secondary-color); border-bottom: 1px solid #383a3c; }
.header-inner { display: flex; flex-wrap: wrap; min-height: 82px; align-items: center; justify-content: space-between; gap: 15px; padding-top: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.5px; }
.logo-mark { color: var(--accent-color); font-size: 34px; font-style: italic; letter-spacing: -4px; padding-right: 4px; }
.logo-dash { color: var(--accent-color); }
.logo small { display: block; font-size: 10px; letter-spacing: 1px; color: #c2c5ca; }
.menu-toggle { display: grid; width: 44px; height: 44px; align-content: center; gap: 6px; padding: 10px; border: 1px solid #62666c; border-radius: 3px; background: transparent; }
.menu-toggle span { height: 2px; background: white; }
nav { display: none; position: absolute; top: 100%; right: 0; left: 0; max-height: calc(100dvh - 82px); overflow: auto; padding: 16px 20px; background: var(--secondary-color); border-bottom: 1px solid #62666c; }
nav.is-open { display: grid; }
nav a { display: flex; min-height: 44px; align-items: center; font-size: 14px; }
nav a:hover { color: var(--accent-color); }
.header-contact { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
.header-contact > a { display: inline-flex; min-height: 44px; align-items: center; font-size: 16px; font-weight: bold; }
.header-call { padding: 7px 13px; border-radius: 3px; background: var(--primary-color); color: white; }
/* HERO SECTION */
.hero { position: relative; overflow: hidden; color: #fff; background: #17191c; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-position: 58% center; opacity: .6; }
.hero-shade { background: linear-gradient(90deg, #17191cf5 0%, #17191cc2 45%, #17191c35 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 46px; }
.hero-copy { max-width: 690px; animation: appear .7s ease both; }
.hero .eyebrow { font-size: 12px; letter-spacing: 1.5px; }
.eyebrow > span { display: inline-block; width: 23px; height: 3px; margin: 0 8px 4px 0; background: var(--accent-color); }
h1 { font-size: clamp(32px, 7.5vw, 64px); font-weight: 800; letter-spacing: -1.7px; line-height: 1.06; }
h1 em { color: var(--accent-color); font-style: normal; }
.hero-description { max-width: 460px; margin-top: 24px; color: #e0e1e3; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-rating { display: grid; gap: 2px; margin: 30px 0 36px; }
.hero-rating strong { font-size: 22px; }
.hero-rating .stars { margin-left: 12px; color: var(--accent-color); font-size: 16px; }
.hero-rating > span { font-size: 14px; color: #c7c9ce; }
.hero-bottom { display: flex; flex-direction: column; gap: 8px; padding: 19px 0; border-top: 1px solid #ffffff38; font-size: 14px; color: #d5d7da; }
.hero-bottom b { margin-left: 12px; color: white; }
.hero-watermark { display: none; }
/* ADVANTAGES */
.advantages { padding: 30px 0; color: #fff; background: #222529; border-bottom: 3px solid var(--primary-color); }
.advantages-grid { display: grid; gap: 27px; }
.advantages article { display: flex; gap: 18px; }
.line-icon { color: var(--accent-color); font-size: 32px; line-height: 1; }
.advantages h2 { font-size: 19px; letter-spacing: -.3px; }
.advantages p { margin-top: 10px; color: #c8cbd0; font-size: 16px; line-height: 1.5; }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.section-heading > p { max-width: 350px; margin: 0; color: #5d6269; }
.price-grid { display: grid; gap: 18px; }
.price-card { min-width: 0; padding: 25px; border: 1px solid #dfe1e3; border-radius: var(--radius); background: var(--card-bg); box-shadow: 0 5px 15px #17191c04; transition: transform .3s ease, box-shadow .3s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #17191c12; }
.service-icon { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 24px; color: #bd2b20; background: #fff0ee; border-radius: 50%; font-size: 25px; }
.price-card h3 { max-width: 260px; margin-bottom: 22px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid #e3e5e7; }
.price-row span { max-width: 190px; font-size: 14px; color: #62666b; }
.price-row strong { flex-shrink: 0; font-size: 20px; letter-spacing: -.5px; }
.services-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 28px; }
.services-bottom p { margin: 0; color: #5d6269; }
.services-bottom a { display: inline-flex; min-height: 44px; align-items: center; font-weight: bold; color: var(--text-color); }
/* ABOUT */
.about { background: var(--secondary-color); color: white; }
.about-grid { display: flex; flex-direction: column-reverse; gap: 32px; }
.about-copy > p:not(.eyebrow) { color: #c8cbd0; }
.about-copy .text-link { margin-top: 23px; color: #ff8b7f; }
.about-photo { position: relative; overflow: hidden; border-radius: 3px; }
.about-photo img { width: 100%; height: 330px; }
.about-photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 18px 20px; background: #17191ced; font-size: 14px; font-weight: bold; letter-spacing: 1px; }
.about-photo figcaption span { color: #bfc4cb; font-size: 12px; }
/* REVIEWS */
.rating-summary { display: flex; align-items: center; gap: 18px; }
.rating-summary strong { font-size: 48px; line-height: 1; letter-spacing: -2px; }
.rating-summary p { margin-top: 4px; color: #62666b; font-size: 14px; }
.swipe-hint { margin: 0 0 15px; color: #62666b; font-size: 14px; }
.reviews-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 92%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; }
.review-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; scroll-snap-align: start; background: white; border: 1px solid #dfe1e3; border-radius: var(--radius); }
.review-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.review-top time { color: #62666b; font-size: 14px; }
blockquote { margin: 20px 0 26px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.review-author { margin-top: auto; padding-top: 20px; font-weight: bold; border-top: 1px solid #e3e5e7; }
.reviews-link { margin-top: 25px; text-align: center; }
/* CONTACTS */
.contacts { color: white; background: var(--secondary-color); }
.contacts-grid { display: grid; gap: 35px; margin-top: 35px; }
.contact-item { display: flex; gap: 18px; margin-bottom: 24px; }
.contact-item > span { color: var(--accent-color); font-size: 26px; line-height: 1; }
.contact-item h3 { margin-bottom: 8px; color: #b4b8bf; font-size: 14px; font-weight: normal; }
.contact-item p { margin: 0; }
.phone { display: flex; min-height: 44px; align-items: center; font-size: 24px; font-weight: 700; letter-spacing: -.6px; }
.messenger-label { margin: 24px 0 10px; color: #c5c8cd; font-size: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: flex; min-height: 44px; align-items: center; padding: 8px 16px; border: 1px solid #62666b; border-radius: 3px; }
.socials a:hover { background: #393c41; }
.location-card { overflow: hidden; border: 1px solid #4c5057; border-radius: var(--radius); background: #24272c; }
.location-card > img { width: 100%; height: 250px; object-position: center 42%; }
.location-card > div { padding: 25px; }
.location-card p { color: #c5c8cd; margin: 10px 0 20px; }
/* FOOTER */
footer { padding: 26px 0; color: #b9bdc4; background: #111316; border-top: 1px solid #34373c; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner p { margin: 0; }
.footer-brand { color: white; font-weight: 800; letter-spacing: 1px; }
.privacy-link { min-height: 44px; padding: 0; border: 0; color: inherit; background: transparent; text-decoration: underline; }
/* DIALOGS */
dialog { width: min(1100px, calc(100% - 24px)); max-height: calc(100dvh - 36px); padding: 24px; color: var(--text-color); background: var(--bg-color); border: 0; border-radius: var(--radius); }
dialog::backdrop { background: #0d1014d9; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 28px; }
.close-dialog { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #bfc3c9; border-radius: 3px; background: white; font-size: 30px; line-height: 1; }
.dialog-note a, #privacy-dialog a { text-decoration: underline; }
#privacy-dialog { max-width: 650px; }
/* RESPONSIVE LAYOUT */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  html { scroll-padding-top: 90px; }
  .header-inner { flex-wrap: nowrap; padding-top: 0; }
  .header-contact { width: auto; flex-direction: column; align-items: flex-end; gap: 0; padding-bottom: 0; text-align: right; }
  .header-contact > a:first-child { font-size: 16px; font-weight: bold; }
  .header-contact .header-call { min-height: 28px; padding: 0; background: transparent; color: #ff8b7f; font-size: 14px; }
  .menu-toggle { margin-left: auto; }
  .hero-inner { padding-top: 65px; }
  .hero-image { object-position: right center; }
  .hero-description { font-size: 18px; }
  .hero-bottom { flex-direction: row; justify-content: space-between; }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  h2 { font-size: 42px; letter-spacing: -1.4px; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card:last-child { grid-column: 1 / -1; }
  .services-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .about-photo img { height: 420px; }
  .reviews-grid { grid-auto-flow: row; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  .swipe-hint { display: none; }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .location-card > img { height: 260px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .menu-toggle { display: none; }
  nav { position: static; display: flex; max-height: none; gap: 23px; padding: 0; border: 0; }
  .header-contact { margin-left: 12px; }
  .hero-inner { padding-top: 76px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-image { width: 71%; left: auto; opacity: .9; }
  .hero-shade { background: linear-gradient(90deg,#17191c 23%,#17191ce0 39%,#17191c20 75%),linear-gradient(0deg,#17191ce0,transparent 30%); }
  .hero-rating { margin-top: 37px; margin-bottom: 44px; }
  .hero-watermark { position: absolute; right: 20px; bottom: 28px; display: block; font-size: 150px; font-weight: 900; font-style: italic; line-height: 1; opacity: .12; }
  .advantages { padding: 36px 0; }
  .advantages-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; }
  .price-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .price-card:last-child { grid-column: auto; }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
  .about-photo img { height: 475px; }
  .reviews-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .contacts-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
}
@media (min-width: 1440px) {
  .hero-inner { padding-top: 88px; }
  .hero-rating { margin-bottom: 55px; }
}
/* MOTION */
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  *, *::before, *::after { animation: none; transition: none; }
}
