/* Shared page geometry. Short pages and long pages use the same viewport width. */
html { overflow-y: scroll; scrollbar-gutter: stable; }
@supports (scrollbar-gutter: stable) { html { overflow-y: auto; } }
body { min-width: 320px; }
.hero__inner > *, .editorial-split > *, .contact-grid > *, .service-layout > *, .service-next__inner > *, .footer-grid > * { min-width: 0; }
.contact-item__value, .footer-contact-item > :last-child { min-width: 0; overflow-wrap: anywhere; }
.service-directory__top { flex-wrap: wrap; }
.service-contact { max-width: 100%; }
.service-directory__search input { font-size: calc(1rem + 1px); }
.service-directory__count { font-variant-numeric: tabular-nums; }
.nav__mobile { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overscroll-behavior: contain; }
.help-jumps a, .service-phone, .service-office a { min-height: 44px; display: inline-flex; align-items: center; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
main { min-height: calc(100svh - 72px); }
.site-header { height: 72px; min-height: 72px; flex-shrink: 0; }
.site-header > .container { width: 100%; }
.nav { display: grid; grid-template-columns: 156px minmax(0, 1fr) 184px 104px; gap: 20px; height: 71px; }
.nav__logo { grid-column: 1; grid-row: 1; }
.nav__links { grid-column: 2; grid-row: 1; justify-self: end; margin-left: 0; }
.site-preferences { grid-column: 4; grid-row: 1; width: 104px; margin: 0; padding: 0; border: 0; }
.nav__cta { grid-column: 3; grid-row: 1; width: 184px; }
.nav__cta .btn { width: 100%; height: 44px; }
.preference-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 104px; min-width: 104px; height: 44px; padding: 0 10px; border: 1px solid #dcdff0; border-radius: 6px; color: #304ec4; background: #f5f6ff; }
.language-label { font-size: calc(.8125rem + 1px); line-height: 1.5; white-space: nowrap; }
/* Reserve controls before their scripts initialize. */
.site-preferences[hidden] { display: flex; visibility: hidden; }
.service-coverage .service-directory__search[hidden] { display: block !important; visibility: hidden; }
.nav__link, .nav__link.active, .nav__link[aria-current="page"] { font-weight: 500; border-width: 0; }
.nav__mobile .nav__link, .nav__mobile .nav__link.active, .nav__mobile .nav__link[aria-current="page"] { border-bottom: 1px solid var(--clr-border); }
.nav__mobile { padding-inline: max(24px, calc((100% - 1152px) / 2)); }
.hero { padding-block: 72px; }
.hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-height: 400px; gap: 48px; }
.hero__title { margin-bottom: 0; font-size: calc(clamp(1.9rem, 3vw, 2.6rem) + 1px); font-weight: 700; line-height: 1.14; letter-spacing: -.035em; text-wrap: wrap; }
.hero-title-line { text-wrap: wrap; }
.hero__img { aspect-ratio: 1376 / 768; height: auto; }
.hero__subhead { color: var(--clr-text); font-size: calc(.9375rem + 1px); font-weight: 600; line-height: 1.5; margin-top: 16px; max-width: 48ch; }
.hero__subhead + .hero__desc { margin-top: 10px; margin-bottom: 20px; max-width: 56ch; font-size: calc(.9375rem + 1px); line-height: 1.65; }
.hero__actions { gap: 12px; }
.hero__actions .btn { padding-inline: 16px; }
.editorial-image, .service-next__image { aspect-ratio: 8 / 5; }
.hero-title-line { animation-duration: 180ms; animation-delay: 0ms; }
@media (max-width: 1100px) {
  .nav { grid-template-columns: 156px minmax(0, 1fr) 44px 104px; gap: 12px; }
  .nav__hamburger { grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
}
@media (max-width: 640px) { .container { padding-inline: 16px; } .nav__mobile { padding-inline: 16px; } }
@media (min-width: 761px) and (max-width: 900px) {
  .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero__inner, .editorial-split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero { padding-block: 56px; }
  .hero__inner { min-height: 0; gap: 36px; }
  .hero__content { max-width: 640px; }
  .hero__image { width: 100%; max-width: 420px; margin: 0; }
  .hero__image::after { bottom: -12px; }
  .hero__title { font-size: calc(clamp(1.9rem, 4.5vw, 2.6rem) + 1px); }
  .page-hero__art { justify-self: center; max-width: 300px; }
  .contact-grid .help-actions { grid-row: 1; }
  .help-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero { padding-block: 44px 48px; }
  .hero__inner { gap: 32px; }
  .hero__image { max-width: 320px; }
  .hero__subhead { margin-top: 12px; line-height: 1.5; }
  .hero__subhead + .hero__desc { margin-top: 8px; margin-bottom: 20px; }
  .hero__actions { gap: 10px; }
  html[lang="bn"] .hero__title { line-height: 1.3; }
  .help-methods { grid-template-columns: minmax(0, 1fr); }
  .footer-links a { min-height: 44px; display: flex; align-items: center; }
  .site-footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-bottom: 32px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-brand__desc { max-width: 34ch; }
  .footer-bottom { text-align: left; align-items: flex-start; }
  .footer-contact-item { align-items: center; margin-bottom: 8px; }
  .footer-contact-item__icon { display: flex; margin-top: 0; padding-top: 0; }
  .footer-contact-item .footer-link { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-contact-item:last-child { align-items: flex-start; margin-top: 8px; margin-bottom: 0; }
  .footer-contact-item:last-child .footer-contact-item__icon { padding-top: 3px; }
  .service-directory__hint, .service-directory__foot, .package-note { font-size: calc(.875rem + 1px); }
  .hero__title { font-size: calc(clamp(1.65rem, 6.5vw, 2.2rem) + 1px); }
  .help-jumps { gap: 8px 20px; }
}
@media (max-width: 480px) {
  .nav { grid-template-columns: minmax(0, 1fr) 44px 104px; gap: 6px; }
  .nav__logo { min-width: 0; }
  .nav__logo-img { width: 120px; max-width: 100%; height: 40px; }
  .nav__hamburger { grid-column: 2; }
  .site-preferences { grid-column: 3; }
  .service-directory__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { .hero-title-line { animation: none; } .nav__links .nav__link::after { transition: none; } }

/* Frosted controls retain the same allocated header space. */
.site-header .preference-button { background: rgba(255,255,255,.55); border-color: #d9def1; border-radius: 8px; }
.site-header .nav__cta .btn { border-radius: 8px; box-shadow: 0 2px 5px rgba(48,78,196,.12); }
.site-header .nav__cta .btn:hover { box-shadow: 0 2px 5px rgba(48,78,196,.12); }

/* Full mobile tap targets, with compact highlights around their labels. */
@media (max-width: 1100px) {
  .nav__hamburger { position: relative; padding: 0; border-radius: 8px; }
  .nav__hamburger span { position: absolute; left: 11px; top: 20px; width: 20px; height: 2px; transform-origin: center; }
  .nav__hamburger span:first-child { transform: translateY(-7px); }
  .nav__hamburger span:last-child { transform: translateY(7px); }
  .nav__hamburger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__hamburger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .nav__mobile { padding-top: 8px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .nav__mobile .nav__link { width: 100%; min-height: 48px; padding: 4px 0; border-radius: 0; }
  .nav__mobile .nav__link::before { content: none; }
  .nav__mobile .nav__label { display: inline-block; padding: 6px 10px; border-radius: 6px; line-height: 1.4; }
  .nav__mobile .nav__link:hover .nav__label { background: #f0f1fb; }
  .nav__mobile .nav__link[aria-current="page"] .nav__label { background: #eef0ff; color: #304ec4; }
  .nav__mobile .btn { width: 100%; min-height: 48px; margin-top: 14px; border-radius: 8px; }
  .nav__hamburger:focus-visible, .nav__mobile a:focus-visible { outline: 2px solid #304ec4; outline-offset: 2px; }
}
