.site-header .header-inner,
.site-footer .footer-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 25px;
}

.site-header .brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  max-width: min(32vw, 280px);
}

.site-header .brand img {
  display: block;
  width: clamp(180px, 22vw, 260px);
  height: auto;
  object-fit: contain;
}

.site-header .primary-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(12px, 1.5vw, 24px);
  overflow: visible;
  order: initial;
  width: auto;
  padding: 0;
}

.site-header .primary-nav a {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: stretch;
  color: var(--ink, #333333);
  font-size: 18px;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -25px;
  height: 2px;
  background: var(--accent, #f8003a);
  opacity: 0;
}

.site-header .primary-nav a:visited {
  color: var(--ink, #333333);
}

.site-header .primary-nav a:hover {
  color: var(--accent, #f8003a);
}

.site-header .primary-nav a.is-active {
  color: var(--accent, #f8003a);
}

.site-header .primary-nav a.is-active::after {
  opacity: 1;
}

.menu-drawer .drawer-quick-links a.is-active,
.menu-drawer .drawer-nav a.is-active {
  color: var(--accent, #f8003a);
  font-weight: 600;
}

.site-header .social-links,
.site-footer .social-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.site-footer .social-links { width: 260px; margin-top: 16px; justify-content: center; }

.social-link {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line, #f0f0f0);
  border-radius: 50%;
  color: var(--ink, #333333);
  background: var(--paper, #ffffff);
  text-decoration: none;
}

.social-link:hover { color: var(--accent, #f8003a); border-color: var(--accent, #f8003a); }
.social-link svg { display: block; width: 19px; height: 19px; }

.site-footer .social-link {
  border-width: 1px;
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.site-footer .social-link:hover {
  color: var(--accent, #f8003a);
  border-color: var(--accent, #f8003a);
}

.header-phone-link {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line, #f0f0f0);
  border-radius: 50%;
  color: var(--ink, #333333);
  background: var(--paper, #ffffff);
  text-decoration: none;
}

.header-phone-link:hover { color: var(--accent, #f8003a); border-color: var(--accent, #f8003a); }
.header-phone-link svg { display: block; width: 20px; height: 20px; }

.drawer-social {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 24px;
}

.site-header .menu-toggle,
.menu-drawer-header .menu-close {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 2px solid var(--line, #f0f0f0);
  border-radius: 4px;
  color: var(--ink, #333333);
  background: var(--paper, #ffffff);
  cursor: pointer;
}

.site-header .menu-toggle { border: 1px solid var(--line, #f0f0f0); border-radius: 999px; }
.site-header .menu-toggle:hover { color: var(--accent, #f8003a); border-color: var(--accent, #f8003a); }

.site-header .menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

.menu-scrim {
  position: fixed;
  z-index: 1998;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 55%);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 280ms ease;
}

.menu-scrim.is-open { opacity: 1; pointer-events: auto; }

.menu-drawer {
  position: fixed;
  z-index: 1999;
  inset: 0 0 0 auto;
  width: min(440px, 92vw);
  overflow-y: auto;
  padding: 22px 26px 28px;
  border-left: 1px solid var(--line, #f0f0f0);
  background: var(--paper, #ffffff);
  box-shadow: -12px 0 32px rgb(0 0 0 / 12%);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 320ms;
}

.menu-drawer.is-open { transform: translateX(0); visibility: visible; }
body.menu-open { overflow: hidden; }

.menu-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line, #f0f0f0);
}

.menu-drawer-header h2 { margin: 0; font-size: 22px; }
.menu-drawer-header .menu-close { font-size: 27px; line-height: 1; }
.drawer-quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.drawer-quick-links a {
  padding: 8px 16px;
  border: 1px solid var(--accent, #f8003a);
  border-radius: 999px;
  color: var(--accent, #f8003a);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.drawer-quick-links a:hover { color: #fff; background: var(--accent, #f8003a); }

.drawer-nav { display: flex; flex-direction: column; }

.drawer-group { border-bottom: 1px solid var(--line, #f0f0f0); }
.drawer-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  color: var(--ink, #333333);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent, #f8003a);
  font-size: 20px;
  line-height: 1;
}
.drawer-group[open] summary::after { content: "–"; }
.drawer-group-links { display: flex; flex-direction: column; padding-bottom: 6px; }
.drawer-nav a { padding: 11px 2px 11px 14px; color: var(--ink, #333333); font-size: 14px; font-weight: 600; text-decoration: none; }
.drawer-nav a:visited { color: var(--ink, #333333); }
.drawer-nav a:hover { color: var(--accent, #f8003a); }

.drawer-contact {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin: 18px 0 20px;
  padding: 0;
  border: 1px solid var(--line, #f0f0f0);
  border-radius: 12px;
  background: #ffffff;
}

.drawer-contact-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 18px 18px 30px; background: var(--accent-soft, #fdeef0); flex: 1 1 auto; }

.drawer-contact img {
  display: block;
  width: 110px;
  height: 140px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center top;
  background: #ffffff;
}

.drawer-contact-copy h2 { margin: 0 0 8px; font-size: 17px; }
.drawer-contact-copy p { margin: 0 0 10px; font-size: 13px; line-height: 1.4; }
.drawer-contact-copy .phone-link {
  display: inline-block;
  font-family: var(--font-accent, inherit);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent, #f8003a);
  text-decoration: none;
}

.drawer-contact-email { margin: 4px 0 0; font-size: 13px; }
.drawer-contact-email a { color: var(--muted, #777777); }
.drawer-contact-email a:hover { color: var(--accent, #f8003a); }

.site-header .order-link {
  flex: 0 0 auto;
  width: auto;
  padding-inline: 32px;
  transition: none;
}

.site-header .order-link:hover {
  background: #c40030;
  border-color: #c40030;
}

.site-footer .footer-inner {
  width: min(1160px, calc(100% - 48px));
}

.site-footer .footer-inner > section,
.site-footer .copyright {
  min-width: 0;
}

@media (max-width: 900px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 10px;
    padding-block: 14px;
  }

  .site-header .primary-nav {
    display: none;
  }

  .site-header .social-links {
    display: none;
  }

  .header-phone-link {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .site-header .header-inner,
  .site-footer .footer-inner {
    width: min(100% - 32px, 1160px);
  }

  .site-header .brand {
    overflow: visible;
    font-size: 18px;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 100%;
  }

  .site-header .brand img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .site-header .order-link {
    width: auto;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .site-footer .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .site-footer .footer-inner > section:first-of-type { order: 1; }
  .site-footer .footer-inner > section:nth-of-type(2) { order: 3; }
  .site-footer .footer-inner > section:nth-of-type(3) { display: contents; }
  .site-footer .footer-newsletter { order: 2; }
  .site-footer .footer-inner > section:nth-of-type(3) > .footer-ratings { order: 4; }
  .site-footer .footer-inner > .copyright { order: 5; }

  .site-footer .copyright { grid-column: auto; }
}

@media (max-width: 420px) {
  .site-header .header-inner {
    gap: 6px;
  }

  .site-header .order-link {
    gap: 5px;
    padding: 6px 8px;
    font-size: 13px;
  }

  .site-header .order-link svg {
    width: 18px;
    height: 18px;
  }

  .header-phone-link,
  .site-header .menu-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .menu-toggle span,
  .menu-drawer,
  .menu-scrim { transition: none; }
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
}

.pagination-link {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line, #f0f0f0);
  border-radius: 999px;
  color: var(--ink, #333333);
  background: var(--paper, #ffffff);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.pagination-link:hover:not(:disabled) {
  border-color: var(--accent, #f8003a);
  color: var(--accent, #f8003a);
}

.pagination-link.is-current {
  border-color: var(--accent, #f8003a);
  color: #fff;
  background: var(--accent, #f8003a);
}

.pagination-link:disabled {
  color: var(--muted, #777777);
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 560px) {
  .pagination-link { min-width: 38px; height: 38px; padding: 0 9px; font-size: 13px; }
}

.area-map-tooltip {
  position: fixed;
  z-index: 2500;
  padding: 7px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgb(24 24 24 / 92%);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}

.area-map-tooltip[hidden] { display: none; }

.is-badge-highlight { filter: brightness(0.8); }

.area-badge {
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  cursor: default;
}

.area-badge:hover {
  border-color: #16a34a;
  color: #16a34a;
  background: #f0fdf4;
}

.area-calculator form {
  display: flex;
  gap: 0;
  max-width: 100%;
}

.area-calculator form input[name="address"] {
  flex: 1 1 240px;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line, #f0f0f0);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
}

.area-calculator form button[type="submit"] {
  flex: 0 0 auto;
  height: 46px;
  min-height: 46px;
  border-radius: 0 999px 999px 0 !important;
}

@media (max-width: 480px) {
  .area-calculator form button[type="submit"] {
    padding-inline: 14px;
  }
  .area-calculator form button[type="submit"] span,
  .area-calculator form button[type="submit"] {
    font-size: 14px;
  }
}

.area-calculator form button[type="submit"] svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.area-calculator-result {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.area-calculator-result.is-loading { color: var(--muted, #777777); background: transparent; padding-left: 0; }
.area-calculator-result.is-success { color: #15803d; background: #f0fdf4; }
.area-calculator-result.is-info { color: #b91c1c; background: #fef2f2; }
.area-calculator-result.is-error { color: #b91c1c; background: #fef2f2; }

.footer-logo {
  display: block;
  margin-bottom: 16px;
  border-radius: 12px;
}

.footer-intro {
  margin: 0;
  max-width: 320px;
  color: rgb(255 255 255 / 70%);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer .footer-newsletter {
  margin-top: 0;
}


.site-footer .footer-newsletter .area-calculator form,
.footer-newsletter form {
  display: flex;
  gap: 0;
}

.site-footer .footer-newsletter input[name="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
}

.site-footer .footer-newsletter .button-link {
  flex: 0 0 auto;
  width: auto;
  height: 44px;
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 0 999px 999px 0;
  font-size: 14px;
}

.button-link .btn-spinner {
  display: none;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid rgb(255 255 255 / 40%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.button-link.is-loading .btn-arrow { display: none; }
.button-link.is-loading .btn-spinner { display: block; }
.button-link.is-loading { opacity: 0.85; cursor: default; pointer-events: none; }

.footer-help-contact {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.footer-help-photo {
  flex: 0 0 auto;
  width: 72px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
}

.footer-help-copy { min-width: 0; }
.footer-help-contact h2 { color: #fff; }
.footer-help-contact p { color: #fff; }

.footer-help-link {
  display: block;
  color: var(--accent) !important;
  font-weight: 700;
}

.footer-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 6%);
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease;
}

.footer-rating:hover {
  background: rgb(255 255 255 / 12%);
  border-color: rgb(255 255 255 / 32%);
}

.footer-rating-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.footer-rating-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.footer-rating-text strong {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.footer-rating-stars {
  display: flex;
  gap: 1px;
}

.footer-rating-stars svg {
  width: 13px;
  height: 13px;
  color: #f5a623;
}

.service-page-layout {
  grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
  gap: 40px;
}

.service-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
  padding-top: 36px;
}

.service-sidebar .order-panel {
  position: static;
}

.service-reviews {
  min-width: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line, #f0f0f0);
  border-radius: 25px;
  background: #fff;
}

.service-reviews-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.service-reviews .service-reviews-head h2 {
  margin: 0;
  font-size: 22px;
}

.service-reviews-head a {
  flex: 0 0 auto;
  color: var(--accent, #f8003a);
  font-size: 13px;
  font-weight: 700;
}

.service-reviews-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.service-reviews-viewport::-webkit-scrollbar { display: none; }

.service-reviews-track {
  display: flex;
  align-items: stretch;
}

.service-review-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.service-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.service-review-google {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #4285f4;
  background: #f6f8fb;
  font: 700 17px/1 Arial, sans-serif;
}

.service-review-author strong { font-size: 15px; }
.service-review-stars { color: #f5a623; font-size: 17px; letter-spacing: 1px; }
.service-review-slide p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; }

.service-reviews-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.service-reviews-controls > button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, #e2e2e2);
  border-radius: 50%;
  color: var(--ink, #333);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}

.service-reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.service-reviews-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5d5d5;
  cursor: pointer;
}

.service-reviews-dots button.is-active { background: var(--accent, #f8003a); }

@media (max-width: 820px) {
  .service-page-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .service-sidebar { padding-top: 0; }
}
.service-faq details { margin-block: 10px; padding: 14px 16px; border: 1px solid var(--line, #eee); border-radius: 8px; }
.service-faq summary { cursor: pointer; font-weight: 600; }
.service-faq details p { margin-bottom: 0; }
