/* DESIGN TOKENS AND BASE */
:root {
  --primary-color: #b52d23;
  --secondary-color: #171a1c;
  --accent-color: #ff6d5d;
  --text-color: #222629;
  --bg-color: #f6f6f3;
  --card-bg: #fff;
  --muted: #5c6266;
  --line: #dedfdb;
  --container: 1200px;
  --radius: 8px;
  --font: Arial, Helvetica, sans-serif;
  --section-space: 44px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; font: 16px/1.6 var(--font); 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, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #227bb8; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h2 { font-size: 32px; letter-spacing: -1.2px; }
h3 { font-size: 21px; letter-spacing: -.4px; }
p + p { margin-top: 18px; }
svg { width: 32px; height: 32px; flex-shrink: 0; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: var(--section-space) 0; }
.eyebrow { margin-bottom: 20px; font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 13px 22px; font-weight: 700; color: white; background: var(--primary-color); border: 1px solid transparent; border-radius: 3px; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #902219; transform: translateY(-2px); }
.button-outline { border-color: #a7a9ab; background: transparent; }
.button-outline:hover { background: #32373b; }
.button-dark { background: var(--secondary-color); }
.button-dark:hover { background: #343a3e; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px; background: white; }
.skip-link:focus { top: 10px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 5; background: var(--secondary-color); color: white; border-bottom: 1px solid #ffffff21; }
.header-inner { position: relative; display: flex; min-height: 84px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: 1px; line-height: 1.2; }
.brand-symbol { display: flex; width: 36px; height: 40px; align-items: center; justify-content: center; color: var(--accent-color); font-size: 40px; font-style: italic; }
.brand small { display: block; margin-top: 6px; color: #bdc1c3; font-size: 9px; letter-spacing: 1.1px; }
.header-phone { font-size: 15px; font-weight: 700; }
.header-phone small { display: block; color: #bdc1c3; font-size: 11px; font-weight: 400; }
.header-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid #6d7376; border-radius: 3px; background: transparent; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 6px auto; background: white; }
.js .menu-toggle { display: block; }
.navigation { display: flex; width: 100%; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.navigation a { display: flex; min-height: 44px; align-items: center; }
.navigation a:hover { color: var(--accent-color); }
.js .navigation { display: none; }
.js .navigation.is-open { display: flex; }
/* HERO SECTION */
.hero { position: relative; overflow: hidden; color: white; background: #171a1c; }
.hero-image { position: absolute; width: 100%; height: 100%; object-position: 67% center; opacity: .5; }
.hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #121618e8, #12161855); }
.hero-content { position: relative; z-index: 1; padding-block: 58px 42px; animation: enter .8s ease both; }
.hero .eyebrow { color: #edc0b9; font-size: 11px; }
h1 { max-width: 700px; font-size: clamp(34px, 6vw, 70px); letter-spacing: -1.5px; }
h1 span { color: var(--accent-color); }
.hero-description { margin-top: 24px; font-size: 18px; line-height: 1.6; color: #e3e4e4; }
.hero .actions { margin-top: 30px; }
.rating { display: inline-flex; flex-direction: column; margin-top: 32px; gap: 2px; }
.rating strong { font-size: 22px; }
.rating strong span { margin-left: 8px; color: #f5c16c; font-size: 16px; letter-spacing: 2px; }
.rating > span { color: #d5d8d9; font-size: 13px; }
.hero-bottom { position: relative; z-index: 1; border-top: 1px solid #ffffff36; }
.hero-bottom-inner { display: flex; padding-block: 17px; justify-content: space-between; gap: 20px; font-size: 13px; color: #e2e3e3; }
.hero-bottom-inner span:last-child { display: none; }
/* BENEFITS */
.benefits { padding: 36px 0; background: white; border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; gap: 28px; }
.benefits article { display: flex; gap: 18px; }
.benefits svg { color: var(--primary-color); }
.benefits h2 { font-size: 19px; letter-spacing: -.4px; }
.benefits p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.section-heading > p { color: var(--muted); }
.services .eyebrow, .reviews .eyebrow { color: var(--primary-color); }
.services-grid { display: grid; gap: 16px; }
.service-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 28px; background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 4px #171a1c03; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #171a1c0d; }
.service-card svg { margin-bottom: 24px; color: var(--primary-color); }
.service-card h3 { max-width: 310px; }
.service-card p { margin-block: 14px 24px; font-size: 16px; color: var(--muted); }
.price { margin-top: auto; font-size: 23px; letter-spacing: -.5px; }
.full-price { margin-top: 28px; }
.full-price summary { width: fit-content; margin-inline: auto; list-style: none; text-align: center; }
.full-price summary::-webkit-details-marker { display: none; }
#price-content { margin-top: 24px; }
#price-content > p { margin: 18px 0 24px; color: var(--muted); }
#price-content a { text-decoration: underline; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table caption { padding: 12px 0; text-align: left; color: var(--muted); }
.price-table th, .price-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { font-weight: 400; overflow-wrap: anywhere; }
.price-table thead { background: #eceeeb; }
.price-table td { width: 92px; white-space: nowrap; font-weight: 700; }
/* ABOUT */
.about { overflow: hidden; background: var(--secondary-color); color: white; }
.about-grid { display: grid; gap: 32px; }
.about-copy { order: 2; }
.about .eyebrow { color: var(--accent-color); }
.about-copy p:not(.eyebrow) { margin-top: 24px; color: #ced1d2; }
.text-link { display: inline-flex; min-height: 44px; margin-top: 22px; align-items: center; border-bottom: 1px solid var(--accent-color); font-weight: 700; }
.about-caption { display: flex; margin-top: 28px; padding-top: 20px; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #ffffff30; font-size: 13px; letter-spacing: 1px; }
.about-caption span { color: #bdc1c3; letter-spacing: 0; }
.about-photos { position: relative; padding: 0 25px 35px 0; }
.about-main { width: 100%; height: 300px; border-radius: 3px; }
.about-detail { position: absolute; bottom: 0; right: 0; width: 45%; height: 160px; border: 6px solid var(--secondary-color); border-radius: 3px; }
/* REVIEWS */
.review-rating { display: flex; flex-direction: column; align-self: flex-start; }
.review-rating strong { font-size: 38px; line-height: 1.3; }
.review-rating strong span { color: #a45100; font-size: 20px; letter-spacing: 2px; }
.review-rating > span { color: var(--muted); font-size: 14px; }
.mobile-hint { margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.reviews-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 92%; align-items: start; gap: 16px; overflow-x: auto; padding: 3px 3px 20px; scroll-snap-type: x mandatory; }
.review-card { min-width: 0; padding: 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius); scroll-snap-align: start; }
.stars { color: #a45100; letter-spacing: 3px; }
blockquote { margin: 18px 0 24px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.review-author { font-weight: 700; }
.review-card time { color: var(--muted); font-size: 13px; }
/* CONTACTS */
.contacts { color: white; background: var(--secondary-color); }
.contacts .eyebrow { color: var(--accent-color); }
.contact-grid { display: grid; gap: 36px; }
.contact-phone { display: inline-block; margin-top: 28px; margin-bottom: 18px; font-size: clamp(22px, 3vw, 36px); font-weight: 700; letter-spacing: -1px; }
.contact-line { display: flex; align-items: center; gap: 14px; color: #d5d8d9; }
.contact-line svg { width: 22px; height: 22px; color: var(--accent-color); }
.contacts .actions { margin-top: 28px; }
.social-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; }
.social-links a { display: flex; min-height: 44px; align-items: center; color: #d5d8d9; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.location { align-self: start; border: 1px solid #5c6266; border-radius: 4px; overflow: hidden; }
.location img { width: 100%; height: 280px; }
.location-bottom { display: flex; padding: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.location-bottom small { display: block; color: #bdc1c3; }
.location-bottom a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
/* FOOTER */
.footer { padding: 24px 0; color: #bdc1c3; background: #111416; border-top: 1px solid #ffffff25; }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 13px; }
.footer .brand { color: white; font-size: 16px; }
.privacy-link { min-height: 44px; padding: 0; color: #bdc1c3; border: 0; background: transparent; text-decoration: underline; }
/* DIALOGS */
dialog { position: fixed; width: min(900px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 20px; color: var(--text-color); background: var(--bg-color); border: 0; border-radius: var(--radius); }
dialog::backdrop { background: #090c0ed9; }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; font-size: 11px; letter-spacing: 1px; border-bottom: 1px solid var(--line); }
.dialog-close { min-height: 44px; padding: 8px 12px; font-size: 14px; background: white; border: 1px solid var(--line); border-radius: 3px; }
dialog h2 { margin-top: 24px; font-size: 28px; }
#privacy-dialog p { margin-top: 20px; }
#privacy-dialog a { text-decoration: underline; }
/* RESPONSIVE LAYOUT */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  h2 { font-size: 42px; }
  .header-phone { margin-left: auto; }
  .hero-content { padding-block: 80px 60px; }
  .hero-bottom-inner span:last-child { display: block; }
  .hero-image { opacity: .8; }
  .hero::after { background: linear-gradient(90deg, #121618f5 0%, #121618c9 37%, #12161808 100%); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-heading > p { max-width: 360px; }
  .about-main { height: 430px; }
  .about-detail { height: 210px; }
  .reviews-grid { grid-auto-flow: initial; grid-auto-columns: auto; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .mobile-hint { display: none; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  dialog { padding: 36px; }
  .price-table { font-size: 16px; }
  .price-table td { width: 130px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  html { scroll-padding-top: 100px; }
  .header-inner { min-height: 92px; flex-wrap: nowrap; gap: 24px; }
  .js .menu-toggle { display: none; }
  .navigation, .js .navigation { display: flex; width: auto; gap: 20px; }
  .header-phone { font-size: 16px; white-space: nowrap; }
  .header-phone small { font-size: 12px; }
  .hero-content { padding-block: 96px 70px; }
  .hero-description { font-size: 20px; }
  .hero .actions { margin-top: 34px; }
  .rating { margin-top: 44px; }
  .benefits { padding: 40px 0; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { min-height: 300px; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .about-copy { order: 0; }
  .about-photos { padding-bottom: 50px; }
  .about-main { height: 470px; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .location img { height: 340px; }
}
@media (min-width: 1440px) {
  .header-cta { display: inline-flex; padding-inline: 20px; }
  .hero-content { padding-block: 112px 80px; }
}
/* MOTION PREFERENCES */
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root *, :root *::before, :root *::after { animation: none; transition: none; }
}
