/* Fluid spacing and layouts, including the widths between phone and desktop. */
.container { width: min(1240px, calc(100% - clamp(32px, 6vw, 96px))); }
.hero > *, .services-layout > *, .about-grid > *, .faq-section > *,
.contact-card > *, .steps > *, .review-person > div { min-width: 0; }
h1, h2, h3 { text-wrap: balance; }
.button { max-width: 100%; text-align: center; }
.service-tabs button, .circle-button, .quiet-link, .text-link { min-height: 44px; }
.circle-button { min-width: 44px; }
.review-track { overscroll-behavior-x: contain; scroll-padding-inline: 2px; }
.review-person strong { overflow-wrap: anywhere; }
.header nav { max-height: calc(100dvh - 86px); overflow-y: auto; }
.section { padding-block: clamp(54px, 7vw, 100px); }
.about-section, .reviews-section { padding-block: clamp(54px, 6vw, 88px); }
.hero h1 { font-size: clamp(48px, 5.6vw, 80px); letter-spacing: -.035em; }
.hero-word { white-space: normal; }
.hero-actions { gap: 12px 22px; }
.service-card p, .step p, .about-copy p:not(.eyebrow), .faqs details > p,
.faq-section > div > p:not(.eyebrow), .contact-copy > p:not(.eyebrow),
#service-description { font-size: 16px; }

@media (min-width: 761px) and (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 30px; min-height: 0; padding-block: 40px 55px; }
  .hero-visual { min-height: 470px; }
  .hero-description { font-size: 16px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-proof { flex-wrap: wrap; }
}

/* Collapse navigation before the links start competing with the logo. */
@media (max-width: 980px) {
  .header-inner { min-height: 80px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: #fff; flex-shrink: 0; }
  .menu-toggle span { width: 19px; height: 2px; background: var(--blue); margin-inline: auto; transition: transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 16px max(20px, 3vw) 24px; background: #fff; box-shadow: 0 18px 25px #193e5810; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; font-size: 16px; }
  .header nav.open { display: flex; }
  .header nav .button { min-height: 50px; margin-top: 8px; font-size: 15px; }
  .header nav > a:not(.button) { min-height: 48px; }
  .floating-whatsapp { width: 54px; height: 54px; padding: 14px; border-radius: 50%; justify-content: center; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .floating-whatsapp span { display: none; }
}

@media (max-width: 900px) {
  .services-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .service-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-main { padding: 32px; }
  .service-main h3 { font-size: 40px; }
  #service-description { max-width: 560px; min-height: 0; margin-bottom: 24px; }
  .service-card { display: flex; flex-direction: column; }
  .service-card h3 { font-size: clamp(24px, 3.3vw, 29px); overflow-wrap: break-word; }
  .service-card p { margin-bottom: 12px; }
  .service-card .text-link { margin-top: auto; }
  .section-heading { align-items: flex-start; }
  .contact-card { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px; }
  .hours { border-left: 0; border-top: 1px solid #ffffff38; padding: 28px 0 0; }
  .hours dl { max-width: 420px; }
  .hours dl > div { font-size: 15px; }
  .hours-icon { display: none; }
  .hours > p { max-width: 420px; }
  .faq-section { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 96px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 32px; padding-block: 30px 42px; }
  .hero-copy { max-width: 580px; }
  .hero h1 { font-size: clamp(42px, 7.8vw, 60px); line-height: 1.06; margin-bottom: 20px; text-wrap: initial; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 1.1px; margin-bottom: 18px; }
  .hero-description { font-size: 16px; line-height: 1.7; max-width: 560px; }
  .hero-actions { margin-top: 22px; }
  .hero-proof { margin-top: 22px; }
  .hero-visual { height: clamp(320px, 64vw, 460px); min-height: 0; padding: 0 6px 14px; margin-top: 0; }
  .hero-photo { object-position: center 65%; }
  .photo-frame { border-radius: 70px 22px 22px 22px; }
  .hero-outline { inset: -8px 0 28px 26px; border-radius: 85px 28px 28px 28px; }
  .floating-note { left: 0; bottom: 32px; max-width: calc(100% - 24px); }
  .photo-label { right: 14px; max-width: calc(100% - 40px); }
  .benefit-strip .container { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 16px 28px; padding-block: 22px; }
  .benefit-strip span { font-size: 14px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .about-image { width: min(100%, 520px); max-width: none; margin-inline: auto; }
  .about-copy p:not(.eyebrow) { max-width: 600px; }
  .about-copy h2 { font-size: clamp(36px, 6.2vw, 46px); }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { max-width: 560px; font-size: 16px; margin-top: 18px; }
  .section-heading > p br { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 22px; padding-top: 24px; }
  .step-top { grid-row: span 2; display: block; margin: 0; }
  .step-top > span { font-size: 36px; }
  .step-top > .icon { display: block; margin-top: 14px; width: 25px; }
  .step p { max-width: none; }
  .process .section-heading > .quiet-link { margin-top: 15px; }
  .reviews-section .section-heading { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 22px; }
  .reviews-section h2 { font-size: clamp(34px, 6vw, 44px); }
  .review-nav { margin: 0; }
  .circle-button { width: 44px; height: 44px; }
  .review-card { flex-basis: 82%; min-height: 260px; }
  .faq-section h2 { font-size: clamp(36px, 6.2vw, 46px); }
}

@media (max-width: 600px) {
  .header-inner { min-height: 76px; }
  .header nav { max-height: calc(100dvh - 76px); }
  .topline .container { gap: 12px; }
  .topline .container > span:last-child { flex-shrink: 0; }
  h2 { font-size: clamp(34px, 9vw, 44px); }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hero .button { width: 100%; min-height: 56px; font-size: 15px; padding-inline: 16px; }
  .hero-actions .quiet-link { justify-self: center; font-size: 14px; min-height: 44px; }
  .microcopy { margin-top: 8px; font-size: 12px; }
  .hero-proof small { font-size: 12px; }
  .service-side { grid-template-columns: minmax(0, 1fr); }
  .service-main { padding: 26px 22px; }
  .service-main h3 { font-size: clamp(32px, 9vw, 40px); }
  .service-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .service-tabs button { min-height: 46px; font-size: 14px; padding: 9px 10px; }
  .service-card h3 { font-size: clamp(26px, 7vw, 30px); }
  .service-link { font-size: 14px; min-height: 52px; }
  .service-number { letter-spacing: 1px; }
  .other-services { font-size: 14px; }
  .other-services a { min-height: 44px; }
  .review-card { padding: 24px; flex-basis: 90%; }
  .review-person strong { font-size: 14px; }
  .reviews-note { font-size: 12px; }
  .contact-card { padding: 30px 22px; }
  .contact-copy h2 { font-size: clamp(34px, 9vw, 43px); }
  .contact-copy .button { min-height: 58px; font-size: 14px; padding: 14px 12px; }
  .contact-copy .button .icon { width: 20px; }
  .contact-phone { min-height: 44px; display: flex; justify-content: center; align-items: center; margin-top: 5px; }
  .hours > p > span { font-size: 13px; }
  .faqs summary { min-height: 64px; font-size: 16px; }
  .faqs details > p { padding-right: 12px; }
  .footer-bottom { font-size: 12px; }
  .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
  .floating-whatsapp { right: 10px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 40px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .8px; }
  .hero-visual { height: 320px; }
  .service-title { gap: 12px; }
  .service-title .icon-tile { flex-shrink: 0; }
  .service-card { padding: 22px; }
  .contact-copy .button { font-size: 14px; gap: 8px; }
  .review-card { flex-basis: 96%; }
}

@media (max-height: 500px) and (max-width: 980px) {
  .header-inner { min-height: 66px; }
  .header nav { max-height: calc(100dvh - 66px); }
}
@media (hover: none) {
  .button:hover, .service-card:hover, .floating-whatsapp:hover, .hero-visual:hover .hero-photo { transform: none; }
}
@media (max-width: 980px) {
  /* Reserve room for both the sticky header and the top strip in landscape. */
  .header nav { max-height: calc(100dvh - 120px); }
}
