/* THEME AND BASE */
:root {
  --primary-color: #ce302d;
  --secondary-color: #191b1d;
  --accent-color: #ff625b;
  --text-color: #f5f5f2;
  --bg-color: #111315;
  --card-bg: #202326;
  --muted: #b9bcbe;
  --line: #393c3f;
  --radius: 8px;
  --container: 1200px;
  --section-space: 48px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 145px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text-color); background: var(--bg-color); }
body.locked { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, dialog:focus-visible, [tabindex]:focus-visible { outline: 3px solid #ffaaa5; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; overflow-wrap: anywhere; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
h3 { font-size: 22px; letter-spacing: -.02em; }
p + p { margin-top: 20px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 18px; color: var(--accent-color); font-size: 14px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: var(--muted); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid transparent; border-radius: 4px; color: #fff; background: var(--primary-color); font-weight: 700; transition: transform .3s ease, background .3s ease; }
.button:hover { background: #bb2926; transform: translateY(-2px); }
.button.secondary { border-color: #6b6e71; background: transparent; }
.button.secondary:hover { background: #303336; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px; color: #fff; background: #9e2420; }
.skip:focus { top: 10px; }
.icon { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: #111315f5; }
.header-inner { display: flex; min-height: 80px; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: baseline; gap: 5px; font-family: Georgia, serif; font-size: 23px; font-weight: 900; white-space: nowrap; }
.brand span { color: var(--accent-color); font: 900 34px/.9 var(--font); letter-spacing: -.08em; }
.header-contact { display: block; order: 3; width: 100%; margin: -8px 0 12px; padding: 8px 12px; border-radius: 4px; text-align: center; color: #fff; background: #bd2b28; font-size: 16px; font-weight: 700; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 4px; color: #fff; background: transparent; }
.js .menu-toggle { display: block; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; }
.nav { display: flex; width: 100%; flex-wrap: wrap; gap: 4px 18px; padding-bottom: 16px; }
.nav a { display: inline-flex; min-height: 44px; align-items: center; color: #d0d2d3; font-size: 14px; }
.nav a:hover { color: var(--accent-color); }
.js .nav { display: none; }
.js .nav.open { display: flex; }
/* HERO SECTION */
.hero { position: relative; overflow: hidden; }
.hero-layout { display: grid; }
.hero-copy { position: relative; z-index: 1; padding: 44px 0 34px; animation: enter .7s ease both; }
.hero h1 { max-width: 670px; font-size: clamp(40px, 6.1vw, 78px); font-weight: 900; letter-spacing: -.055em; line-height: 1.01; }
.hero h1 em { color: var(--accent-color); font-style: normal; }
.hero-description { max-width: 455px; margin: 24px 0 28px; color: #c8cacc; font-size: 18px; }
.hero-photo { position: relative; min-height: 280px; margin-inline: -20px; }
.hero-photo img { height: 100%; object-fit: cover; object-position: 58% center; }
.photo-caption { position: absolute; right: 16px; bottom: 16px; padding: 8px 14px; border-left: 3px solid var(--primary-color); background: #111315e8; font-size: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: #c6c8ca; font-size: 14px; }
.hero-meta strong { color: #fff; font-size: 20px; }
.stars { color: var(--accent-color); letter-spacing: .12em; }
@keyframes enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
/* BENEFITS */
.benefits { border-block: 1px solid var(--line); background: var(--secondary-color); }
.benefit-grid { display: grid; gap: 28px; padding-block: 34px; }
.benefit { display: grid; grid-template-columns: 34px 1fr; gap: 18px; }
.benefit .icon { color: var(--accent-color); }
.benefit h3 { margin-bottom: 10px; font-size: 20px; }
.benefit p { color: var(--muted); }
/* SERVICES */
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading > p { max-width: 340px; color: var(--muted); }
.services-grid { display: grid; gap: 18px; }
.service { display: flex; flex-direction: column; align-items: start; min-height: 340px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-bg); transition: transform .3s ease, box-shadow .3s ease; }
.service:hover { transform: translateY(-5px); box-shadow: 0 12px 30px #0004; }
.service.featured { border-top: 3px solid var(--primary-color); }
.service .icon { margin-bottom: 24px; color: var(--accent-color); }
.service h3 { max-width: 310px; margin-bottom: 14px; }
.service p { margin-bottom: 28px; color: var(--muted); }
.price { margin-top: auto; font-size: 32px; font-weight: 800; letter-spacing: -.04em; }
.service-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; color: var(--accent-color); font-weight: 700; }
.all-services { margin-top: 28px; text-align: center; }
.all-services p { margin-top: 12px; color: var(--muted); font-size: 14px; }
/* ABOUT */
.about { background: var(--secondary-color); }
.about-grid { display: grid; gap: 32px; }
.about-photo { order: -1; }
.about-photo img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.about h2 { margin-bottom: 26px; }
.about p:not(.eyebrow) { color: #c5c7c9; }
.about-sign { margin-top: 30px; padding-left: 18px; border-left: 3px solid var(--primary-color); }
/* REVIEWS */
.rating { display: flex; align-items: center; gap: 14px; }
.rating strong { font-size: 44px; line-height: 1; }
.rating small { display: block; color: var(--muted); font-size: 14px; }
.reviews-grid { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin-inline: -4px; align-items: start; }
.review { flex: 0 0 90%; min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--secondary-color); scroll-snap-align: start; }
.review blockquote { margin: 18px 0 24px; }
.review h3 { margin-bottom: 5px; font-size: 17px; line-height: 1.4; }
.review time { color: var(--muted); font-size: 14px; }
.review-hint { margin-top: 12px; color: var(--muted); font-size: 14px; }
/* CONTACTS */
.contacts { background: #ededeb; color: #17191b; }
.contacts .eyebrow { color: #af2522; }
.contact-grid { display: grid; gap: 32px; }
.contact-list { display: grid; gap: 20px; margin: 30px 0; }
.contact-row { display: grid; grid-template-columns: 30px 1fr; gap: 16px; }
.contact-row dt { font-size: 14px; color: #54575a; }
.contact-row dd { margin: 2px 0 0; }
.contact-row .icon { grid-row: span 2; color: #af2522; }
.contact-row a { font-size: 22px; font-weight: 700; }
.contacts .secondary { color: #17191b; border-color: #65676a; }
.contacts .secondary:hover { background: #d7d7d5; }
.location { overflow: hidden; align-self: start; border-radius: var(--radius); background: #fff; }
.location img { aspect-ratio: 16/10; object-fit: cover; }
.location-caption { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding: 22px; }
.location-caption a { display: inline-flex; align-items: center; min-height: 44px; color: #a8201e; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
/* FOOTER */
.footer { padding-block: 32px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer a:not(.brand), .text-button { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: 14px; }
.text-button { padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; }
.copyright { margin-top: 20px; color: var(--muted); font-size: 14px; }
/* PRICE AND PRIVACY DIALOGS */
dialog { width: min(760px, calc(100% - 24px)); max-height: 88dvh; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-color); background: var(--secondary-color); }
dialog::backdrop { background: #000b; }
dialog:not(.ready)[open] { position: static; max-height: none; margin: 30px auto; }
.dialog-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 26px; }
.dialog-heading h2 { font-size: 30px; }
.close { display: none; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #73777a; border-radius: 4px; color: #fff; background: transparent; font-size: 26px; }
.ready .close { display: block; }
.price-list { padding: 0; margin: 0 0 24px; list-style: none; }
.price-list li { display: flex; gap: 18px; justify-content: space-between; padding-block: 16px; border-bottom: 1px solid var(--line); }
.price-list strong { flex-shrink: 0; color: #fff; }
.price-note { margin-bottom: 24px; color: var(--muted); }
/* RESPONSIVE LAYOUT */
@media (min-width: 768px) {
  :root { --section-space: 70px; }
  html { scroll-padding-top: 95px; }
  .header-contact { order: 0; width: auto; margin: 0 0 0 auto; }
  .hero-copy { padding-block: 56px; }
  .hero-photo { margin: 0; min-height: 380px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .review-hint { display: none; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .about-photo { order: 0; }
  dialog { padding: 36px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { gap: 30px; flex-wrap: nowrap; }
  .brand { font-size: 26px; }
  .menu-toggle, .js .menu-toggle { display: none; }
  .nav, .js .nav { display: flex; width: auto; padding: 0; flex-wrap: nowrap; gap: 24px; }
  .header-contact { white-space: nowrap; }
  .hero-layout { position: relative; grid-template-columns: 1fr 1fr; min-height: 620px; }
  .hero-copy { width: 112%; padding-block: 70px; }
  .hero-photo { margin-right: min(-20px, calc((1200px - 100vw)/2)); }
  .hero-photo::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #111315 0%, transparent 25%); }
  .photo-caption { z-index: 1; right: 28px; bottom: 28px; }
  .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 40px; }
  .services-grid, .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-grid { gap: 70px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 70px; }
}
@media (min-width: 1440px) {
  .hero-layout { min-height: 650px; }
  .hero-copy { padding-block: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
  .hero-copy { animation: none; }
  .button, .service { transition: none; }
}
