html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.fb-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fb-note .social-btn {
  margin: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 22px;
  align-items: stretch;
}

.faq-layout .faq-list {
  max-width: none;
  margin: 0;
}

.faq-layout .faq-item {
  box-shadow: none;
}

.faq-layout .faq-question {
  min-height: 58px;
  padding: 15px 18px;
}

.faq-layout .faq-question span:first-child {
  font-size: 16px;
  line-height: 1.3;
}

.faq-layout .faq-answer p {
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.55;
}

.faq-photo {
  min-height: 100%;
  border: 1px solid var(--line);
  background-image: linear-gradient(180deg, rgba(34, 34, 34, .04), rgba(34, 34, 34, .01)), url('https://i.imgur.com/15mQvxU.png');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.faq-photo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 252, 247, .66);
}

.site-footer {
  padding: 42px 0 24px;
}

.footer-inner {
  display: block;
}

.footer-inner p {
  margin-top: 12px;
}

.footer-socials {
  margin-top: 14px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
}

.footer-bottom a {
  transition: color .2s ease;
}

.footer-bottom a:hover {
  color: var(--surface);
}

.info-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.info-widget-panel {
  position: relative;
  width: min(340px, calc(100vw - 40px));
  padding: 20px 44px 18px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, .97);
  box-shadow: 0 18px 50px rgba(34, 34, 34, .18);
  backdrop-filter: blur(12px);
  animation: prompt-in .35s var(--ease);
  pointer-events: auto;
}

.info-widget-panel[hidden] {
  display: none;
}

.info-widget-close {
  position: absolute;
  right: 10px;
  top: 9px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.info-widget-label {
  margin: 0 0 5px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.info-widget-panel strong {
  display: block;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.35;
}

.info-widget-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 13px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--graphite);
  font-size: 14px;
  font-weight: 900;
}

.info-widget-link.is-phone {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--surface);
}

.info-widget-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.info-widget-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 252, 247, .3);
  border-radius: 50%;
  background: var(--graphite);
  color: var(--surface);
  box-shadow: 0 12px 34px rgba(34, 34, 34, .22);
  pointer-events: auto;
  transition: transform .2s var(--ease), background .2s var(--ease);
}

.info-widget-toggle:hover,
.info-widget-toggle:focus-visible {
  transform: translateY(-2px);
  background: #111;
}

.info-widget-toggle span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.mobile-carousel-controls {
  display: none;
}

@keyframes prompt-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  :root { --header-height: 68px; }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-inner { width: calc(100% - 28px); }
  .brand { font-size: 18px; line-height: 1.2; }
  .mobile-menu-toggle { width: 42px; height: 42px; flex: none; }

  .main-nav {
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: calc(100dvh - var(--header-height));
    align-content: start;
    justify-items: stretch;
    gap: 0;
    padding: 18px 20px 32px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 18px;
    background: rgba(255, 252, 247, .99);
  }

  .main-nav a {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after { display: none; }
  .section { padding: 58px 0; }
  .section-intro { margin-bottom: 26px; }
  .section-intro p:not(.eyebrow) { font-size: 16px; line-height: 1.55; }
  h2 { font-size: 32px; line-height: 1.12; margin-bottom: 16px; }
  h3 { font-size: 21px; }
  .about-layout, .contact-grid { gap: 20px; }
  .about-card, .contact-box, .contact-form { box-shadow: none; }

  .process-grid,
  .offer-grid,
  .blog-grid {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 1px 10px;
    overscroll-behavior-x: contain;
  }

  .process-grid::-webkit-scrollbar,
  .offer-grid::-webkit-scrollbar,
  .blog-grid::-webkit-scrollbar { display: none; }

  .process-grid > *,
  .offer-grid > *,
  .blog-grid > * {
    flex: 0 0 calc(100% - 18px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .process-card, .offer-card { min-height: 250px; padding: 24px; }
  .offer-card:hover { transform: none; }

  .mobile-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 12px;
  }

  .mobile-carousel-controls .icon-button { width: 44px; height: 44px; font-size: 19px; }
  .testimonials-layout { display: flex; align-items: end; gap: 14px; margin-bottom: 22px; }
  .testimonials-layout .section-intro { margin: 0; flex: 1; }
  .testimonial-content-grid { gap: 12px; }
  .testimonial-photo-placeholder { min-height: 230px !important; }
  .testimonial-card { min-height: 280px !important; padding: 24px !important; }
  .testimonial-card blockquote { font-size: 19px; line-height: 1.42; }
  .fb-note { margin-top: 16px; }
  .fb-note .social-btn { width: auto; min-height: 44px; }

  .faq-layout { grid-template-columns: 1fr; gap: 16px; }
  .faq-layout .faq-list { order: 1; }
  .faq-photo { order: 2; min-height: 320px; background-position: center 25%; }
  .faq-layout .faq-question { min-height: 58px; padding: 15px 16px; }
  .faq-layout .faq-question span:first-child { font-size: 15.5px; }
  .faq-layout .faq-answer p { padding: 0 16px 16px; font-size: 14.5px; }

  .contact-actions, .social-row { display: flex; flex-wrap: wrap; }
  .contact-actions .button { width: auto; max-width: 100%; }
  .social-row .social-btn { width: auto; }
  .blog-card { min-height: 100%; }
  .blog-card .button { width: auto; }
  .site-footer { padding: 34px 0 22px; }
  .footer-bottom { display: flex; flex-wrap: wrap; margin-top: 24px; gap: 8px 20px; }
  .info-widget { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .info-widget-panel { width: min(330px, calc(100vw - 28px)); padding: 17px 42px 15px 17px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.55; }
  .container { width: calc(100% - 28px); }
  .section { padding: 48px 0; }
  .eyebrow { margin-bottom: 10px; }
  .hero { padding-bottom: 38px !important; }
  .hero-copy { padding: 16px !important; }
  .hero-points { gap: 7px !important; }
  .button { min-height: 50px; }
  .about-card, .contact-box, .contact-form, .article-box { padding: 20px; }
  .process-grid > *, .offer-grid > *, .blog-grid > * { flex-basis: calc(100% - 12px); }
  .process-card, .offer-card { min-height: 230px; padding: 21px; }
  .testimonial-content-grid { display: flex !important; flex-direction: column; }
  .testimonial-photo-placeholder { min-height: 220px !important; }
  .testimonial-card { min-height: 260px !important; }
  .testimonial-controls .icon-button { width: 44px; height: 44px; }
  .faq-photo { min-height: 280px; }
  .contact-actions { display: grid; grid-template-columns: 1fr; }
  .contact-actions .button, .social-row .social-btn { width: 100%; }
  .form-field { margin-bottom: 16px; }
  .form-field input, .form-field select, .form-field textarea { min-height: 54px; padding: 13px 14px; font-size: 16px; }
  .footer-inner p { font-size: 15px; line-height: 1.55; }
  .footer-socials a { flex: 1; }
  .footer-bottom { font-size: 13px; }
  .info-widget-panel strong { font-size: 15px; }
  .info-widget-toggle { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .info-widget-panel { animation: none; }
  .process-grid, .offer-grid, .blog-grid { scroll-behavior: auto; }
}
