/* THEME AND BASE */
:root {
  --primary-color: #101c2b;
  --secondary-color: #203146;
  --accent-color: #c72f28;
  --text-color: #182333;
  --bg-color: #f4f6f8;
  --card-bg: #fff;
  --muted-color: #596572;
  --line-color: #dce1e6;
  --radius: 8px;
  --container: 1200px;
  --section-space: 48px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 32px; height: 32px; flex-shrink: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h2 { font-size: 30px; letter-spacing: -1px; }
h3 { font-size: 20px; }
p + p { margin-top: 18px; }
:focus-visible { outline: 3px solid #237ac1; 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: 12px; font-weight: 700; letter-spacing: 2px; color: #d4dce6; }
.dark-label { color: var(--accent-color); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 21px; font-size: 14px; font-weight: 700; text-align: center; color: #fff; background: var(--accent-color); border: 1px solid transparent; border-radius: 4px; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #a9241f; transform: translateY(-2px); }
.button-outline { border-color: #a6b0bd; background: transparent; }
.button-outline:hover { background: #26364a; }
.button-dark { background: var(--primary-color); }
.button-dark:hover { background: #2b4059; }
.button-light { color: var(--primary-color); background: #e5e9ee; }
.button-light:hover { background: #cfd7df; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 14px; background: white; }
/* HEADER */
.header { position: sticky; z-index: 5; top: 0; color: #fff; background: var(--primary-color); border-bottom: 1px solid #304052; }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: 1px; line-height: 1.1; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 39px; font-size: 33px; font-style: italic; color: #f65d53; border: 1px solid #f65d53; border-radius: 2px; }
.brand small { display: block; margin-top: 8px; font-size: 9px; font-weight: 400; letter-spacing: 1.8px; color: #b7c1cd; }
.menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; margin-left: auto; color: #fff; background: transparent; border: 1px solid #5e6d7c; border-radius: 4px; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 0 auto; background: currentColor; }
nav { display: flex; flex-direction: column; width: 100%; padding: 8px 0 18px; }
nav a { display: block; padding: 12px 0; font-size: 14px; color: #e1e5eb; }
nav a:hover { color: #ff8e85; }
.js nav { display: none; }
.js nav.is-open { display: flex; }
.header-phone { display: block; width: 100%; margin-top: -8px; padding-bottom: 10px; font-size: 14px; font-weight: 700; }
.header-phone small { display: none; }
.header-cta { display: none; }
/* HERO SECTION */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--primary-color); }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg,rgba(10,21,35,.97),rgba(10,21,35,.78) 45%,rgba(10,21,35,.3)),linear-gradient(0deg,rgba(10,21,35,.6),transparent 70%); }
.hero-content { padding-top: 54px; padding-bottom: 44px; animation: enter .7s ease both; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: 1.6px; }
.hero .eyebrow span { width: 23px; height: 2px; background: #f66c62; }
h1 { font-size: 36px; font-weight: 800; line-height: 1.08; letter-spacing: -1.5px; }
h1 em { font-style: normal; color: #ff766b; }
.hero-description { max-width: 490px; margin: 24px 0 28px; font-size: 17px; color: #d6dde5; }
.hero-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 34px; font-size: 13px; color: #c4cdd7; }
.hero-rating { position: relative; margin: 0 20px 28px; }
.rating-link { display: flex; align-items: center; gap: 16px; width: fit-content; padding: 12px 18px; border: 1px solid #708093; border-radius: 4px; background: #142235; }
.rating-link strong { font-size: 28px; letter-spacing: -1px; }
.rating-link strong span { color: #ffbc69; font-size: 23px; }
.rating-link > span { font-size: 12px; line-height: 1.5; color: #dce2e9; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* BENEFITS */
.benefits { padding: 34px 0; background: white; border-bottom: 1px solid var(--line-color); }
.benefits-grid { display: grid; gap: 26px; }
.benefits article { display: flex; gap: 18px; }
.benefits svg { color: var(--accent-color); }
.benefits h2 { font-size: 17px; letter-spacing: -.3px; margin-bottom: 10px; }
.benefits p { font-size: 16px; line-height: 1.65; color: var(--muted-color); }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading > p { color: var(--muted-color); font-size: 14px; }
.service-grid { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; padding: 26px; background: var(--card-bg); border: 1px solid var(--line-color); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px #1823330c; }
.service-card svg { margin-bottom: 24px; color: var(--accent-color); }
.service-card h3 { max-width: 300px; font-size: 20px; }
.service-card p { margin: 14px 0 28px; color: var(--muted-color); font-size: 16px; }
.service-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line-color); }
.service-bottom strong { font-size: 23px; letter-spacing: -.5px; }
.service-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--accent-color); font-weight: 700; }
.service-bottom a:hover { text-decoration: underline; }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.price-cta p { font-size: 14px; color: var(--muted-color); }
/* ABOUT */
.about { color: #fff; background: var(--primary-color); }
.about-grid { display: grid; gap: 32px; }
.about-copy { order: 2; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p:not(.eyebrow) { font-size: 16px; color: #c4ceda; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; color: #ff8e85; text-decoration: underline; text-underline-offset: 5px; }
.about-statement { margin-top: 30px; padding-top: 25px; font-size: 21px; font-weight: 700; border-top: 1px solid #3c495a; }
.about-statement small { display: block; margin-top: 7px; font-size: 14px; font-weight: 400; color: #b6c2d0; }
.about-photo { order: 1; align-self: center; }
.about-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.about-photo figcaption { margin-top: 12px; color: #bcc7d4; font-size: 13px; }
/* REVIEWS */
.review-summary { display: flex; flex-direction: column; }
.review-summary strong { font-size: 26px; letter-spacing: -.5px; }
.review-summary strong span, .stars { color: #a84c00; letter-spacing: 2px; }
.review-summary > span { font-size: 13px; color: var(--muted-color); }
.reviews-grid { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 16px; }
.review-card { display: flex; flex: 0 0 92%; flex-direction: column; align-self: flex-start; min-width: 0; padding: 26px; scroll-snap-align: start; background: white; border: 1px solid var(--line-color); border-radius: var(--radius); }
.stars { margin-bottom: 20px; font-size: 18px; }
.review-card blockquote { margin-bottom: 28px; font-size: 16px; line-height: 1.75; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; font-weight: 700; color: #4b596a; background: #e8ecf0; border-radius: 50%; }
.review-author h3 { font-size: 14px; line-height: 1.4; }
.review-author time { font-size: 12px; color: var(--muted-color); }
.swipe-hint { margin-top: 8px; font-size: 12px; color: var(--muted-color); }
/* CONTACTS */
.contacts { background: white; border-top: 1px solid var(--line-color); }
.contacts-grid { display: grid; gap: 36px; }
.contacts .eyebrow { margin-bottom: 14px; }
.contact-intro { margin: 22px 0; color: var(--muted-color); }
.contact-phone { display: inline-flex; min-height: 44px; align-items: center; font-size: 25px; font-weight: 700; letter-spacing: -.7px; }
dl { margin: 22px 0 28px; }
dl div + div { margin-top: 15px; }
dt { font-size: 12px; color: var(--muted-color); }
dd { margin: 4px 0 0; font-size: 16px; }
.location-panel { overflow: hidden; align-self: stretch; background: var(--bg-color); border: 1px solid var(--line-color); border-radius: var(--radius); }
.location-panel img { width: 100%; height: 260px; object-fit: cover; }
.location-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; }
.location-caption > span { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.location-caption small { display: block; margin-top: 8px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted-color); }
/* FOOTER */
.footer { padding: 38px 0 20px; color: #d6dde5; background: var(--primary-color); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-bottom: 28px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a { font-size: 14px; }
.footer a:hover { color: #ff9b91; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 16px; font-size: 12px; color: #b0bdcb; border-top: 1px solid #344355; }
/* DIALOGS */
dialog { width: calc(100% - 24px); max-width: 850px; max-height: 88dvh; margin: auto; padding: 24px; color: var(--text-color); background: white; border: 0; border-radius: var(--radius); box-shadow: 0 24px 100px #0005; }
dialog::backdrop { background: #081423cc; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-header .eyebrow { margin-bottom: 8px; }
.close-dialog { flex-shrink: 0; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: var(--text-color); background: #edf0f3; border: 0; border-radius: 4px; }
.dialog-intro { margin: 22px 0; color: var(--muted-color); font-size: 14px; }
dialog p a { text-decoration: underline; text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 15px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-color); }
th { font-weight: 400; overflow-wrap: anywhere; }
thead th { font-size: 12px; color: var(--muted-color); font-weight: 700; }
td { width: 105px; min-width: 90px; text-align: right; font-weight: 700; white-space: nowrap; }
.clarify { background: #f1f3f5; }
#privacy p { margin-top: 20px; }
html:not(.js) dialog { display: block; position: static; max-height: none; margin: 30px auto; }
html:not(.js) .close-dialog { display: none; }
/* TABLET */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  .header-inner { flex-wrap: nowrap; }
  .header-phone { width: auto; margin: 0 10px 0 auto; padding: 0; }
  .header-phone small { display: block; font-size: 11px; font-weight: 400; color: #b7c1cd; }
  .menu-toggle { order: 3; margin-left: 0; }
  nav { position: absolute; top: 82px; right: 20px; width: 250px; padding: 15px 25px; background: var(--primary-color); border: 1px solid #344355; }
  .hero-content { padding-top: 90px; padding-bottom: 80px; }
  h1 { font-size: 58px; }
  h2 { font-size: 36px; }
  .hero-description { font-size: 18px; }
  .hero-meta { flex-direction: row; gap: 22px; font-size: 12px; }
  .hero-rating { position: absolute; right: max(20px,calc((100% - 1160px)/2)); bottom: 30px; margin: 0; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; gap: 30px; }
  .section-heading > p { max-width: 270px; }
  .reviews-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; padding: 0; }
  .swipe-hint { display: none; }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .location-panel img { height: 310px; }
  .contact-phone { font-size: 28px; }
  dialog { padding: 38px; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { gap: 24px; min-height: 88px; }
  .brand { font-size: 21px; }
  .menu-toggle { display: none; }
  nav, .js nav { position: static; display: flex; flex-direction: row; justify-content: center; gap: 20px; width: auto; margin-left: auto; padding: 0; border: 0; }
  nav a { font-size: 13px; }
  .header-phone { margin-left: 0; margin-right: 0; font-size: 15px; white-space: nowrap; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 9px 16px; font-size: 13px; }
  .hero-content { padding-top: 98px; padding-bottom: 72px; }
  .hero .eyebrow { font-size: 12px; }
  h1 { font-size: 68px; letter-spacing: -2.8px; }
  .hero-description { margin-top: 28px; margin-bottom: 32px; }
  .hero-image { object-position: center; }
  .hero-meta { margin-top: 58px; font-size: 13px; }
  .hero-rating { bottom: 36px; }
  .benefits { padding: 36px 0; }
  .benefits-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
  .benefits article + article { padding-left: 26px; border-left: 1px solid var(--line-color); }
  .service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .service-card { padding: 30px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
  .about-copy { order: 1; }
  .about-photo { order: 2; }
  .about-photo img { aspect-ratio: 1.1; }
  .reviews-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .contacts-grid { gap: 70px; }
}
/* WIDE VIEW AND REDUCED MOTION */
@media (min-width: 1440px) {
  .hero-content { padding-top: 112px; padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
  .button, .service-card { transition: none; }
}
