.site-layout-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #b7c9c5;
  border-radius: 6px;
  background: #20584b;
  color: #fff;
  font: 700 14px/1.2 Inter, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
html[data-phone="true"] .site-layout-toggle { display: inline-flex; }
html[data-phone="true"] .header-request { display: none; }
.site-layout-toggle:focus-visible { outline: 2px solid #20584b; outline-offset: 3px; }
.site-layout-mobile-label { display: none; }
html[data-site-layout="mobile"] .site-layout-desktop-label { display: none; }
html[data-site-layout="mobile"] .site-layout-mobile-label { display: inline; }

/* Generated service-area pages share the app's layout preference. Let their
   content follow the available viewport width, including when zoomed out. */
html[data-phone="true"][data-site-layout="mobile"] .service-area-page .wrap {
  width: 100%;
  max-width: none;
}
/* Cards reach the edges; readable text and header controls keep inner padding. */
html[data-phone="true"][data-site-layout="mobile"] .service-area-page :is(
  .footer-row, .cp-hero-inner, .cp-head, .cp-groups,
  .cp-others, .cp-foot .source, .hero-grid > div:first-child,
  .wrap > .crumbs, .wrap > .eyebrow, .wrap > h2, .section-intro, .photo-credits
) { padding-inline: 14px; }
.service-area-page .hero-grid > *,
.service-area-page .content-grid > *,
.service-area-page .cp-layout > * { min-width: 0; }
.service-area-page h1 { overflow-wrap: anywhere; }
.service-area-page .site-layout-toggle { flex-shrink: 0; }
/* Generated pages use the same header structure, sizing and palette as the app. */
.service-area-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247,245,238,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(211,204,190,.65);
  color: hsl(213 34% 18%);
  font: 400 16px/1.5 Inter, sans-serif;
}
.service-area-header .container-wide {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.service-area-header .header-row { min-height: 74px; flex-wrap: nowrap; gap: 16px; padding: 0; }
.service-area-header .brand { display: inline-flex; text-decoration: none; }
.service-area-header .brand-logo {
  width: auto;
  height: 44px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.service-area-header .nav-links { display: flex; align-items: center; gap: 16px; }
.service-area-header .header-home,
.service-area-header .nav-links a,
.service-area-menu nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 6px;
  border-radius: 4px;
  color: hsl(213 14% 43%);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
}
.service-area-header .header-home:hover,
.service-area-header .nav-links a:hover,
.service-area-menu nav a:hover { color: hsl(187 62% 31%); }
.service-area-header .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.service-area-header .phone-link { text-decoration: none; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.service-area-header .header-request {
  gap: 9px;
  min-height: 36px;
  padding: 0 13px;
  background: hsl(187 62% 31%);
  font-size: .75rem;
  font-weight: 700;
  box-shadow: 0 7px 15px rgba(31,109,115,.18);
}
.service-area-menu { display: none; }
.service-area-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
.service-area-menu > summary::-webkit-details-marker { display: none; }
.service-area-menu > summary:focus-visible { outline: 2px solid #20584b; outline-offset: 2px; }
.service-area-menu:not([open]) .menu-close-icon,
.service-area-menu[open] .menu-open-icon { display: none; }
.service-area-menu nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 20px 14px;
  border-bottom: 1px solid rgba(211,204,190,.65);
  background: rgba(247,245,238,.98);
  box-shadow: 0 15px 25px rgba(36,49,64,.08);
}
.service-area-menu nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 13px 0;
}
.service-area-menu nav a:focus-visible { outline: 2px solid #20584b; outline-offset: 2px; }
@media (max-width: 820px) {
  .service-area-header .header-row > .nav-links,
  .service-area-header .phone-link { display: none; }
  .service-area-menu { display: block; }
}

/* Mobile mode must not lose its dropdown merely because the user zooms out. */
html[data-phone="true"][data-site-layout="mobile"] .site-header .nav-links:not(.mobile-open),
html[data-phone="true"][data-site-layout="mobile"] .site-header .phone-link { display: none; }
html[data-phone="true"][data-site-layout="mobile"] .service-area-menu,
html[data-phone="true"][data-site-layout="mobile"] .site-header .mobile-menu { display: block; }
html[data-phone="true"][data-site-layout="mobile"] .site-header .nav-links.mobile-open {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 20px 14px;
  border-bottom: 1px solid rgba(211,204,190,.65);
  background: rgba(247,245,238,.98);
  box-shadow: 0 15px 25px rgba(36,49,64,.08);
}
html[data-phone="true"][data-site-layout="mobile"] .site-header .nav-links.mobile-open a {
  justify-content: flex-start;
  padding: 13px 0;
}

/* Keep the logo, Home, layout switch and menu inside narrow phone screens. */
@media (max-width: 560px) {
  .service-area-header .container-wide { width: min(1180px, calc(100% - 28px)); }
  .service-area-header .header-request { display: none; }
  .site-header .header-row { gap: 8px; }
  .site-header .header-brand { gap: 6px; min-width: 0; }
  .site-header .header-actions { gap: 8px; flex-shrink: 0; }
  .site-header .brand-logo { height: 36px; }
  .site-header .site-layout-toggle { padding: 0 8px; font-size: 12px; }
  .site-header .mobile-menu { padding: 0; min-width: 24px; min-height: 44px; }
}
@media (max-width: 360px) {
  .site-header .brand-logo { height: 30px; }
  .site-header .header-brand { gap: 4px; }
  .site-header .header-home { padding: 0 4px; gap: 4px; font-size: 12px; }
}
