/* ============================================================
   PEAK ROOFING — Global Styles
   styles.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:         #1B2B4B;
  --navy-mid:     #243858;
  --navy-light:   #2D4A7A;
  --orange:       #D4622A;
  --orange-hover: #B8521F;
  --white:        #FFFFFF;
  --off-white:    #F4F6F9;
  --text-dark:    #1A1A2E;
  --text-body:    #4A5568;
  --text-muted:   #718096;
  --border:       #E2E8F0;

  --font-heading: 'Barlow', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-utility-h: 36px;
  --nav-main-h:    64px;
  --demo-banner-h: 34px;
  --total-fixed-h: calc(var(--demo-banner-h) + var(--nav-utility-h) + var(--nav-main-h));

  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.14), 0 4px 10px rgba(0,0,0,.08);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Demo Banner ────────────────────────────────────────────── */
#demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: var(--demo-banner-h);
  background: #111;
  color: #C9A84C;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

#demo-banner a {
  color: #C9A84C;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--transition-fast);
}
#demo-banner a:hover { opacity: 0.8; }

/* ── Utility Bar ────────────────────────────────────────────── */
#utility-bar {
  position: fixed;
  top: var(--demo-banner-h);
  left: 0;
  right: 0;
  z-index: 9000;
  height: var(--nav-utility-h);
  min-height: 36px;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.80);
  overflow: visible;
}

#utility-bar .util-hours {
  display: flex;
  align-items: center;
  gap: 12px;
}

#utility-bar .util-hours span { opacity: 0.5; }

#utility-bar .util-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

#utility-bar .util-contact a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
#utility-bar .util-contact a:hover { color: var(--white); }

/* ── Main Nav ───────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: calc(var(--demo-banner-h) + var(--nav-utility-h));
  left: 0;
  right: 0;
  z-index: 8900;
  height: var(--nav-main-h);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  transition: box-shadow var(--transition-base);
}

#main-nav.scrolled {
  box-shadow: 0 2px 16px rgba(27,43,75,.12);
}

/* Scroll progress bar */
#scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--orange);
  transition: width 50ms linear;
  border-radius: 0 2px 2px 0;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1;
}
.nav-logo-text span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav center links */
.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover { color: var(--orange); background: rgba(212,98,42,.06); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.nav-link:hover svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  z-index: 100;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transition-delay: 0.05s;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.dropdown-menu a:hover { background: var(--off-white); color: var(--orange); }

.dropdown-menu a .drop-icon {
  width: 30px;
  height: 30px;
  background: var(--off-white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.dropdown-menu a:hover .drop-icon { background: rgba(212,98,42,.1); }
.dropdown-menu a .drop-icon svg { width: 16px; height: 16px; color: var(--orange); }

.dropdown-wide { min-width: 280px; }

.dropdown-services {
  display: flex !important;
  flex-direction: row !important;
  min-width: 520px;
  padding: 8px 0;
}

.drop-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}

.drop-col-divider {
  width: 1px;
  background: rgba(255,255,255,0.08);
  margin: 8px 0;
  flex-shrink: 0;
}

.drop-group-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D4622A;
  padding: 8px 16px 6px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .dropdown-services {
    flex-direction: column !important;
    min-width: unset;
  }
  .drop-col-divider {
    display: none;
  }
}

.dropdown-wide .drop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.nav-phone:hover { color: var(--orange-hover); }

.btn-nav-cta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--orange);
  padding: 9px 18px;
  border-radius: 6px;
  transition: background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--orange-hover); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--transition-fast);
}
.nav-hamburger:hover { background: var(--off-white); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: var(--total-fixed-h);
  left: 0;
  right: 0;
  z-index: 8800;
  background: var(--white);
  border-top: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--total-fixed-h));
  overflow-y: auto;
}

#mobile-menu.open { display: block; }

.mobile-menu-inner {
  padding: 16px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background var(--transition-fast);
  cursor: pointer;
}
.mobile-nav-link:hover { background: var(--off-white); }
.mobile-nav-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.mobile-nav-link.open svg { transform: rotate(180deg); }

.mobile-submenu {
  display: none;
  padding: 4px 8px 8px;
}
.mobile-submenu.open { display: block; }
.mobile-submenu a {
  display: block;
  padding: 9px 16px;
  font-size: 0.875rem;
  color: var(--text-body);
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.mobile-submenu a:hover { color: var(--orange); background: rgba(212,98,42,.05); }

.mobile-menu-ctas {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 2px solid var(--orange);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--orange);
  font-size: 1rem;
}

.mobile-menu-cta {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--orange);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition-fast);
}
.mobile-menu-cta:hover { background: var(--orange-hover); }

/* ── Page offset (below fixed bars) ────────────────────────── */
.page-content {
  padding-top: var(--total-fixed-h);
}

/* ── Shared Button Styles ───────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--orange);
  color: var(--white);
  border-radius: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,98,42,.35);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── Section Utilities ──────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
}

.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 620px;
}

.section-sub.light { color: rgba(255,255,255,0.75); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Fade-up Animations ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

.slide-in-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.slide-in-left.visible { opacity: 1; transform: translateX(0); }

.slide-in-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

/* ── Page Transition Overlay ────────────────────────────────── */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms ease;
}
#page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Back to Top ────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 5000;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), background var(--transition-fast);
  cursor: pointer;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--orange-hover); }
#back-to-top svg { width: 18px; height: 18px; }

/* ── Sticky Inspection Banner ───────────────────────────────── */
#sticky-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6000;
  height: 52px;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
  padding: 0 20px;
}
#sticky-banner.visible { transform: translateY(0); }

#sticky-banner a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#sticky-banner .sticky-dismiss {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--transition-fast);
}
#sticky-banner .sticky-dismiss:hover { background: rgba(255,255,255,.35); }

@media (max-width: 767px) {
  #sticky-banner { display: none; }
}

/* ── RAINDROP CURSOR RIPPLE ── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cursor-ripple {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    border: 1.5px solid rgba(212, 98, 42, 0.6);
    background: rgba(212, 98, 42, 0.06);
    transform: translate(-50%, -50%) scale(0);
    animation: rippleExpand 0.7s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
  }
  @keyframes rippleExpand {
    0%   { width: 0px; height: 0px; opacity: 0.9; }
    60%  { opacity: 0.5; }
    100% { width: 60px; height: 60px; opacity: 0; }
  }
}

/* ── Page Banner Hero (service/location pages) ──────────────── */
.page-hero-banner {
  background: var(--navy);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 350px;
  height: 350px;
  background: var(--navy-light);
  opacity: 0.25;
  border-radius: 50%;
}

.page-hero-banner .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { opacity: 0.4; }

.page-hero-banner h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-hero-banner h1 .accent { color: var(--orange); }

.page-hero-banner .hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.65;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* ── Footer ─────────────────────────────────────────────────── */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo svg { width: 40px; height: 40px; }
.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.footer-cert {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
  margin-top: 8px;
  margin-bottom: 12px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--orange);
  font-size: 1rem;
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.70);
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item a { color: rgba(255,255,255,0.80); transition: color var(--transition-fast); }
.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom-badges span {
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  font-size: 0.72rem;
}

.footer-credit {
  background: rgba(0,0,0,0.25);
  padding: 12px 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.30);
}
.footer-credit a { color: rgba(255,255,255,0.45); transition: color var(--transition-fast); }
.footer-credit a:hover { color: rgba(255,255,255,0.75); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root {
    --nav-main-h: 58px;
  }

  .nav-center,
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  #utility-bar .util-hours { display: none; }
  #utility-bar { justify-content: flex-end; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* ── COMMERCIAL DIVISION HOMEPAGE SECTION ── */
#commercial-division {
  background: #0F1E33;
  border-top: 3px solid #D4622A;
  border-bottom: 3px solid #D4622A;
  position: relative;
  overflow: hidden;
}
#commercial-division::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(212,98,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.comm-eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D4622A;
  margin-bottom: 14px;
}
.comm-title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.comm-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.comm-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .comm-systems-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .comm-systems-grid { grid-template-columns: 1fr; }
}
.comm-system-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,98,42,0.2);
  border-radius: 8px;
  padding: 28px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.comm-system-card:hover {
  background: rgba(212,98,42,0.08);
  border-color: rgba(212,98,42,0.5);
  transform: translateY(-4px);
}
.comm-system-icon {
  width: 48px; height: 48px;
  color: #D4622A;
}
.comm-system-icon svg { width: 100%; height: 100%; }
.comm-system-name {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}
.comm-system-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  flex: 1;
}
.comm-system-link {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #D4622A;
  margin-top: 4px;
}
.comm-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(212,98,42,0.1);
  border: 1px solid rgba(212,98,42,0.25);
  border-radius: 8px;
  padding: 24px 32px;
  flex-wrap: wrap;
}
.comm-cta-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  max-width: 520px;
}
.comm-cta-text strong { color: #ffffff; }
.btn-comm-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D4622A;
  color: #ffffff;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn-comm-primary:hover {
  background: #B8521F;
  transform: translateY(-2px);
}

/* ── MAGNETIC CURSOR ── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  * { cursor: none !important; }

  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: #D4622A;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    will-change: transform;
  }

  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(212, 98, 42, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease,
                border-color 0.25s ease, border-width 0.25s ease,
                border-radius 0.25s ease, background 0.2s ease;
    will-change: transform;
  }

  .cursor-ring.is-hovering {
    width: 52px; height: 52px;
    border-color: rgba(212, 98, 42, 0.8);
    border-width: 2px;
    background: rgba(212, 98, 42, 0.06);
  }

  .cursor-ring.is-clicking {
    width: 24px; height: 24px;
    border-color: #D4622A;
    border-width: 2.5px;
    background: rgba(212, 98, 42, 0.15);
  }

  .cursor-dot.is-hovering {
    width: 6px; height: 6px;
    background: #D4622A;
  }

  .cursor-dot.is-clicking {
    width: 4px; height: 4px;
  }
}

/* ── Footer Utility Links ───────────────────────────────────── */
.footer-util-link {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .15s ease;
  text-decoration: none;
  display: block;
}
.footer-util-link:hover { color: #fff; }

/* ── Demo Form Note ─────────────────────────────────────────── */
.demo-form-note {
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: 8px;
}

/* ── Commercial Division Container ──────────────────────────── */
.comm-container {
  padding-top: 72px;
  padding-bottom: 72px;
}

/* ── Sticky Banner Book Button ───────────────────────────────── */
.sticky-book-btn {
  background: rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s;
}
.sticky-book-btn:hover {
  background: rgba(255,255,255,0.3);
}

/* ── Footer Request Link ─────────────────────────────────────── */
.footer-request-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-request-link:hover {
  opacity: 0.8;
}
