/* ==========================================================================
   GarageDoor.biz — Unified Inner-Page Design System (system.css)
   Impeccable craft floor x Taste-Skill industrial palette x Emil Kowalski motion

   Loaded LAST on every inner page (states, cities, businesses, B2B, guides,
   legal, sitemap, 404) so it overrides the legacy inline <style> blocks that
   the page generators emit. Keeps one visual language site-wide.
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-canvas: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #09090b;
  --text-primary: #09090b;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --brand-primary: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-subtle: #eff6ff;
  --brand-border: #bfdbfe;
  --accent-amber: #d97706;
  --accent-amber-strong: #b45309;
  --accent-amber-subtle: #fffbeb;
  --accent-amber-border: #fde68a;
  --accent-emerald: #059669;
  --accent-emerald-strong: #047857;
  --accent-emerald-subtle: #ecfdf5;
  --accent-emerald-border: #a7f3d0;
  --border-subtle: #e2e8f0;
  --border-default: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-focus: 0 0 0 3px rgba(29, 78, 216, 0.25);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Legacy token bridge — generator inline styles reference these names */
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-subtle: #eff6ff;
  --primary-border: #bfdbfe;
  --text-main: #09090b;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --emerald: #059669;
  --emerald-subtle: #ecfdf5;
  --emerald-border: #a7f3d0;
  --shadow-card: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
}

/* --------------------------------------------------------------------------
   Browser surface polish
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: #dbeafe; color: #1e3a8a; }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 6px; }
/* Headings inherit colour so dark hero bands stay legible; display face everywhere */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); letter-spacing: -0.025em; color: inherit; }
h1, h2 { font-family: var(--font-display) !important; letter-spacing: -0.03em; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Vector icon system (replaces every emoji glyph) */
.gi {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gi-fill { fill: currentColor; stroke: none; }
.gi-star { color: var(--accent-amber); }

/* --------------------------------------------------------------------------
   Buttons (Emil Kowalski tactile physics)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; line-height: 1.2;
  padding: 0.72rem 1.3rem; border-radius: var(--radius-full); cursor: pointer;
  border: 1px solid transparent; text-decoration: none; white-space: nowrap; user-select: none;
  transition: transform var(--duration-fast) var(--ease-spring), background var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-spring), border-color var(--duration-normal) var(--ease-spring);
}
.btn:active { transform: scale(0.97) !important; }
/* Legacy pages use .btn-primary / .btn-secondary without the .btn base */
.btn-primary:not(.btn), .btn-secondary:not(.btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: var(--radius-full); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-spring), background var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-spring);
}
.btn-primary:not(.btn):active, .btn-secondary:not(.btn):active { transform: scale(0.97); }
.btn-primary { background: var(--brand-primary); color: #ffffff; box-shadow: 0 1px 3px rgba(29, 78, 216, 0.2), 0 4px 12px rgba(29, 78, 216, 0.15); }
.btn-primary:hover { background: var(--brand-hover); color: #ffffff; transform: translateY(-1px); }
.btn-ghost { background: #ffffff; color: var(--text-primary); border-color: var(--border-default); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--bg-subtle); }
.btn-ghost .gi { color: var(--accent-emerald); }

/* Every legacy clickable gets press feedback */
.btn-sub, .chip, .state-card, .letter-jump-btn, .btn-phone, .btn-nav-list, .nav-cta-btn,
.biz-actions a, .top-pro-row a, button:not(:disabled) {
  transition: transform var(--duration-fast) var(--ease-spring), background-color var(--duration-normal) var(--ease-spring),
              border-color var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-spring), color var(--duration-fast) var(--ease-spring);
}
.btn-sub:active, .chip:active, .state-card:active, .letter-jump-btn:active, .btn-phone:active,
.biz-actions a:active, .top-pro-row a:active, button:not(:disabled):active { transform: scale(0.97); }

/* --------------------------------------------------------------------------
   Unified header (overrides legacy generator header rules)
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 200;
  padding: 0; box-shadow: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.header .container { max-width: 1240px; padding: 0 1.5rem; }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.brand-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand-link:hover { opacity: 0.9; }
.brand-symbol {
  width: 40px; height: 40px; background: #09090b; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); flex-shrink: 0;
}
.brand-symbol svg { display: block; }
.brand-text-block { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; color: #09090b; letter-spacing: -0.03em; line-height: 1; }
.brand-name span { color: var(--brand-primary); }
.brand-tagline { font-size: 0.68rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-item-link { font-size: 0.92rem; font-weight: 600; color: var(--text-secondary); position: relative; padding: 0.35rem 0; text-decoration: none; }
.nav-item-link:hover { color: var(--brand-primary); }
.nav-item-link.is-active { color: var(--text-primary); }
.nav-item-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--brand-primary); border-radius: 2px;
}
.nav-item-pill {
  font-size: 0.82rem; font-weight: 700; color: var(--brand-primary); background: var(--brand-subtle);
  padding: 0.35rem 0.85rem; border-radius: var(--radius-full); border: 1px solid var(--brand-border); text-decoration: none;
  transition: background var(--duration-fast) var(--ease-spring), transform var(--duration-fast) var(--ease-spring);
}
.nav-item-pill:hover, .nav-item-pill.is-active { background: #dbeafe; }
.nav-actions { display: flex; align-items: center; gap: 0.65rem; }

/* Mobile menu: zero-JS <details> disclosure */
.mnav { display: none; position: relative; }
.mnav > summary {
  list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-default); background: #ffffff; color: var(--text-primary);
  transition: transform var(--duration-fast) var(--ease-spring), background var(--duration-fast) var(--ease-spring);
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary:active { transform: scale(0.94); }
.mnav[open] > summary { background: var(--bg-subtle); }
.mnav-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 2rem));
  background: #ffffff; border: 1px solid var(--border-subtle); border-radius: 16px;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.18); padding: 0.5rem; z-index: 300;
  transform-origin: top right; animation: mnav-in 220ms var(--ease-spring);
}
@keyframes mnav-in { from { opacity: 0; transform: scale(0.96) translateY(-4px); } to { opacity: 1; transform: none; } }
.mnav-panel a {
  display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0.9rem;
  border-radius: 10px; font-weight: 600; font-size: 0.95rem; color: var(--text-primary); text-decoration: none;
}
.mnav-panel a:active, .mnav-panel a:hover { background: var(--bg-subtle); }
.mnav-panel a.is-active { color: var(--brand-primary); }
.mnav-panel .mnav-cta { background: var(--brand-primary); color: #ffffff; justify-content: center; margin-top: 0.35rem; }
.mnav-panel .mnav-cta:hover { background: var(--brand-hover); }

/* --------------------------------------------------------------------------
   Unified footer (overrides legacy centered white footer)
   -------------------------------------------------------------------------- */
.footer {
  background: #09090b; color: #a1a1aa; padding: 4.5rem 0 2rem; margin-top: 5rem;
  border-top: 1px solid #27272a; text-align: left; font-size: 0.92rem;
}
.footer a { color: inherit; font-weight: inherit; text-decoration: none; }
.footer .container { max-width: 1240px; padding: 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer .brand-link { margin-bottom: 1.25rem; }
.footer .brand-symbol { background: #18181b; border: 1px solid #27272a; }
.footer .brand-name { color: #ffffff; }
.footer .brand-name span { color: #60a5fa; }
.footer .brand-tagline { color: #71717a; }
.footer-about { font-size: 0.88rem; color: #a1a1aa; line-height: 1.6; max-width: 320px; margin-bottom: 1.25rem; }
.footer-support { font-size: 0.82rem; color: #71717a; }
.footer-support a { color: #93c5fd; }
.footer-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; color: #ffffff; letter-spacing: -0.01em; margin-bottom: 1.15rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin: 0; padding: 0; }
.footer .footer-link-item a { font-size: 0.88rem; color: #a1a1aa; transition: color var(--duration-fast) var(--ease-spring); }
.footer .footer-link-item a:hover { color: #ffffff; }
.footer .footer-link-item a.is-accent { color: #93c5fd; font-weight: 600; }
.footer-shield {
  background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #34d399;
  padding: 0.5rem 0.85rem; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid #27272a; font-size: 0.82rem; color: #71717a;
}
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer .footer-bottom-links a { color: #71717a; }
.footer .footer-bottom-links a:hover { color: #d4d4d8; }

/* --------------------------------------------------------------------------
   Mobile-native sticky call bar
   -------------------------------------------------------------------------- */
.mobile-emergency-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(9, 9, 11, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}
.mobile-emergency-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.85rem; }
.mobile-emergency-text { display: flex; flex-direction: column; min-width: 0; }
.mobile-emergency-headline { font-size: 0.88rem; font-weight: 800; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-emergency-sub { font-size: 0.72rem; color: #a1a1aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-call-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; flex-shrink: 0;
  background: var(--brand-primary); color: #ffffff; font-weight: 700; font-size: 0.85rem;
  padding: 0.65rem 1.15rem; border-radius: var(--radius-full); text-decoration: none; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.4);
  transition: transform var(--duration-fast) var(--ease-spring);
}
.mobile-call-btn:active { transform: scale(0.96); }

/* --------------------------------------------------------------------------
   Directory components (states / cities / business profiles)
   -------------------------------------------------------------------------- */
main.container { max-width: 1240px; padding-left: 1.5rem; padding-right: 1.5rem; }

.breadcrumbs { padding: 1.5rem 0 0.25rem; font-size: 0.85rem; color: var(--text-muted); gap: 0.5rem; }
.breadcrumbs a { color: var(--text-secondary); font-weight: 600; text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-primary); text-decoration: none; }
.breadcrumbs span { color: #94a3b8; }

/* Editorial page heads — no boxed hero card (kills containeritis) */
.hero-dir, .profile-hero {
  background: transparent; border: 0; box-shadow: none; border-radius: 0;
  padding: 1.75rem 0 2.25rem; margin: 0 0 1.5rem; border-bottom: 1px solid var(--border-subtle);
}
.hero-dir h1, .profile-hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.08; color: var(--text-primary); margin-bottom: 0.75rem;
}
.hero-dir p { font-size: 1.08rem; color: var(--text-secondary); max-width: 760px; line-height: 1.6; }

/* Kicker pills → plain meta line (Impeccable: no eyebrow pills) */
.badge-yelp {
  background: none; border: 0; padding: 0; border-radius: 0; margin-bottom: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text-muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0;
}
.badge-yelp .gi { color: var(--accent-amber); }
.section-badge, .hero-pill { display: none !important; }

/* Business cards */
.biz-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; margin: 1.5rem 0 2.5rem; }
.biz-card {
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: #ffffff;
  transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-spring), border-color var(--duration-normal) var(--ease-spring);
}
.biz-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-default); }
.biz-header { background: #ffffff; border-bottom: 1px solid #f1f5f9; padding: 1.25rem 1.25rem 1rem; }
.biz-card-logo, .biz-card-logo > div { background: linear-gradient(135deg, #18181b 0%, #3f3f46 100%) !important; }
.biz-card-logo { border: 1px solid var(--border-subtle) !important; border-radius: 12px !important; }
.biz-card:hover .biz-card-logo { transform: none; box-shadow: none; }
.biz-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.biz-name a:hover { color: var(--brand-primary); }
.biz-tags { gap: 0.4rem; }
.biz-tag {
  display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 700;
  padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); letter-spacing: 0;
}
.tag-yelp { background: var(--accent-amber-subtle); color: var(--accent-amber-strong); border: 1px solid var(--accent-amber-border); }
.tag-yelp .gi { color: var(--accent-amber); }
.tag-emergency { background: var(--bg-subtle); color: var(--text-secondary); border: 1px solid var(--border-subtle); }
.biz-stars { color: var(--accent-amber); letter-spacing: 0.04em; }
.biz-rating { font-variant-numeric: tabular-nums; }
.biz-body { padding: 1.15rem 1.25rem 1.25rem; gap: 0.85rem; }
.biz-info-item > span:first-child { display: inline-flex; padding-top: 0.15rem; }
.biz-actions { border-top: 1px solid #f1f5f9; }
.biz-actions .btn-sub:first-child { border-radius: var(--radius-full) !important; box-shadow: 0 1px 3px rgba(29, 78, 216, 0.2) !important; }
.biz-actions .btn-sub:first-child:hover { background: var(--brand-hover) !important; }
.btn-claim-link { border-radius: var(--radius-full) !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 0.35rem; }
.btn-claim-link:hover { background: var(--accent-emerald-subtle) !important; }

/* Chips */
.chips-box { gap: 0.5rem; }
.chip {
  background: #ffffff; border: 1px solid var(--border-subtle); color: var(--text-secondary);
  font-size: 0.84rem; font-weight: 600; padding: 0.4rem 0.85rem; border-radius: var(--radius-full); text-decoration: none;
}
.chip:hover { border-color: var(--border-default); color: var(--text-primary); background: var(--bg-subtle); }

/* Profile panels */
.profile-grid { gap: 1.75rem; margin: 1.5rem 0 2rem; }
.panel { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 1.75rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); background: #ffffff; }
.panel-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; gap: 0.55rem; }
.panel-title .gi { color: var(--brand-primary); }
.service-item { border-bottom: 1px solid #f1f5f9; }
.service-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-subtle); color: var(--brand-primary); font-size: 18px; border: 1px solid #dbeafe; }
.yelp-box { background: var(--accent-amber-subtle); border: 1px solid var(--accent-amber-border); border-radius: 14px; }
.yelp-rating-num { color: var(--text-primary); font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.yelp-box a { background: #09090b !important; border-radius: var(--radius-full) !important; color: #ffffff !important; }
.yelp-box a:hover { background: #27272a !important; }
.map-embed { border-radius: 14px; }

/* --------------------------------------------------------------------------
   50-state hub (states.html)
   -------------------------------------------------------------------------- */
.state-card { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.state-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-default); }
.state-card h3 { font-family: var(--font-display); letter-spacing: -0.02em; }
.letter-jump-btn { border: 1px solid var(--border-default); border-radius: 10px; font-variant-numeric: tabular-nums; }
.letter-jump-btn:hover { background: #09090b; border-color: #09090b; color: #ffffff; }
.state-letter-group { scroll-margin-top: 96px; }

/* --------------------------------------------------------------------------
   Legacy static-page classes that lost their styles
   -------------------------------------------------------------------------- */
.hero { padding: 4rem 0 3rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin-bottom: 1rem; }
.hero-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 720px; line-height: 1.6; }
.highlight { color: var(--brand-primary); }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-input {
  width: 100%; padding: 0.75rem 0.95rem; border: 1px solid var(--border-default); border-radius: var(--radius-md);
  font: inherit; font-size: 0.95rem; color: var(--text-primary); background: #ffffff;
  transition: border-color var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) var(--ease-spring);
}
.form-input:focus { outline: none; border-color: var(--brand-primary); box-shadow: var(--shadow-focus); }
.btn-phone {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.72rem 1.3rem; border-radius: var(--radius-full);
  border: 1px solid var(--border-default); background: #ffffff; color: var(--text-primary); font-weight: 600; text-decoration: none;
}
.btn-phone:hover { background: var(--bg-subtle); }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-emerald); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5); animation: gd-pulse 2s infinite; }
@keyframes gd-pulse { 0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45); } 70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); } 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); } }
.top-pro-row { transition: background-color var(--duration-fast) var(--ease-spring); }
.top-pro-row:hover { background: #f8fafc; }

/* Native form polish */
input, select, textarea { font-family: inherit; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], select, textarea { font-size: max(16px, 1em); }

/* --------------------------------------------------------------------------
   Refinements
   -------------------------------------------------------------------------- */
svg.gi.gi-star { color: var(--accent-amber); }
/* Hours card inside the credentials panel: flatten nested container */
.panel > div[style*="1.5px solid var(--border)"] { border-width: 1px !important; background: var(--bg-page) !important; }
.panel span[style*="border-radius: 9999px"], .biz-tags span, .hero-pill { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mnav { display: block; }
}
@media (max-width: 768px) {
  .nav-wrapper { height: 64px; gap: 0.75rem; }
  .nav-actions .btn { font-size: 0.8rem; padding: 0.5rem 0.85rem; }
  .nav-actions .hide-sm { display: none !important; }
  .brand-name { font-size: 1.1rem; }
  .brand-symbol { width: 34px; height: 34px; }
  .brand-tagline { display: none; }
  .mobile-emergency-bar { display: block; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .footer { margin-top: 3.5rem; padding-top: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2-col { grid-template-columns: 1fr; }
  .hero-dir, .profile-hero { padding: 1.25rem 0 1.75rem; }
  .biz-grid { grid-template-columns: 1fr; }
  .panel { padding: 1.35rem; }
  .profile-grid > div > .panel[style*="sticky"] { position: static !important; }
  main.container { padding-left: 1.1rem; padding-right: 1.1rem; }
}
@media (max-width: 400px) {
  .nav-actions .btn { padding: 0.5rem 0.7rem; }
}
@media (max-width: 520px) {
  .nav-actions .hide-xs { display: none !important; }
}
