/* =====================================================
   Daniels Window Coverings — styles.css
   ===================================================== */

/* ===== Custom Properties ===== */
:root {
  --navy:        #040810;
  --navy-mid:    #080f1e;
  --navy-light:  #0f1e3d;
  --blue-dark:   #0d47a1;
  --blue:        #1565c0;
  --blue-mid:    #1976d2;
  --blue-light:  #42a5f5;
  --gold:        #c8952a;
  --gold-light:  #e6b54a;
  --gold-dim:    rgba(200,149,42,.18);
  --silver:      #90a4ae;
  --white:       #ffffff;
  --gray:        rgba(255,255,255,0.6);
  --gray-dim:    rgba(255,255,255,0.35);
  --border:      rgba(255,255,255,0.07);
  --blue-border: rgba(66,165,245,0.18);
  --font:        'Inter', system-ui, sans-serif;
  --display:     'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

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

section { padding: 96px 0; }

/* ===== Typography ===== */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 16px;
}

.text-blue { color: var(--blue-light); }

.section-sub {
  font-size: 1.06rem;
  color: var(--gray);
  max-width: 680px;
  line-height: 1.7;
}

.section-head.centered { text-align: center; margin-bottom: 56px; }
.section-head.centered .section-sub { margin: 0 auto; }

/* ===== Buttons ===== */
.btn-primary, .btn-ghost, .btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 22px rgba(21,101,192,.45);
}
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(21,101,192,.6); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { border-color: var(--blue-light); color: var(--blue-light); transform: translateY(-2px); }

.btn-nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  font-size: .86rem;
  box-shadow: 0 2px 12px rgba(21,101,192,.4);
}
.btn-nav-cta:hover { background: var(--blue-mid); }

.full-width { width: 100%; justify-content: center; }
.mt8 { margin-top: 8px; }

/* ===== Animations ===== */
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: .4; }
  50%       { opacity: .8; }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Navigation ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: transparent;
  transition: all .3s ease;
}

#navbar.scrolled {
  background: rgba(4,8,16,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 32px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  transition: opacity .2s, height .2s;
}
.nav-logo-img:hover { opacity: .88; }
#navbar.scrolled .nav-logo-img { height: 40px; }

.footer-logo-img {
  width: 200px;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links > li > a:hover { color: var(--white); background: rgba(255,255,255,.06); }

.dd-arrow { font-size: .7em; transition: transform .2s; }
.has-dropdown:hover .dd-arrow { transform: rotate(180deg); }

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

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(8,15,30,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  padding: 10px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all .22s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: .86rem;
  color: rgba(255,255,255,.75);
  border-radius: 8px;
  transition: all .18s;
}
.nav-dropdown a:hover { color: var(--white); background: rgba(66,165,245,.1); }
.nav-dropdown .dd-cta-link {
  margin-top: 4px;
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
}
.nav-dropdown .dd-cta-link:hover { background: var(--blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .02em;
  transition: color .2s;
}
.nav-phone:hover { color: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4,8,16,.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }

.mobile-menu a {
  font-size: 1.35rem;
  font-weight: 600;
  padding: 10px 32px;
  color: rgba(255,255,255,.8);
  border-radius: 8px;
  transition: all .18s;
}
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.mob-phone { color: var(--gold) !important; font-size: 1.5rem !important; margin-top: 12px; }
.mob-quote-btn { background: var(--blue); color: var(--white) !important; margin-top: 4px; font-size: 1rem !important; }

.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
}

/* ===== Hero ===== */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video-css {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 100% 80% at 70% 50%, rgba(13,71,161,.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(21,101,192,.25) 0%, transparent 50%),
    url('images/hero-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,8,16,.55);
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-text { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(21,101,192,.18);
  border: 1px solid rgba(66,165,245,.25);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 24px;
  letter-spacing: .03em;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse-ring .8s ease-out infinite;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hdot { color: var(--gold); }

.hero-sub {
  font-size: 1.08rem;
  color: var(--gray);
  line-height: 1.72;
  margin-bottom: 36px;
}
.hero-sub strong { color: var(--white); }

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}
.ht-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px 0 0;
}
.ht-num { font-size: 1.25rem; font-weight: 800; color: var(--white); }
.ht-lbl { font-size: .72rem; color: var(--gray-dim); letter-spacing: .04em; }
.ht-div { width: 1px; height: 36px; background: var(--border); margin: 0 20px 0 0; }

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.window-hero-graphic {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  animation: float-y 5s ease-in-out infinite;
}

.whg-pane {
  position: absolute;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  border: 1px solid rgba(66,165,245,.2);
  transition: all .3s;
}
.whg-pane:hover { transform: scale(1.03); }

.pane-inner { text-align: center; }
.pane-icon  { display: block; font-size: 1.8rem; margin-bottom: 4px; }
.pane-label { display: block; font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.75); letter-spacing: .05em; }

.pane-1 { top: 4%; left: 4%; width: 46%; height: 46%; background: rgba(13,71,161,.4); }
.pane-2 { top: 4%; right: 4%; width: 46%; height: 46%; background: rgba(21,101,192,.35); }
.pane-3 { bottom: 4%; left: 4%; width: 46%; height: 46%; background: rgba(25,118,210,.3); }
.pane-4 { bottom: 4%; right: 4%; width: 46%; height: 46%; background: rgba(13,71,161,.35); }

.whg-frame-outer {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(66,165,245,.35);
  border-radius: 12px;
  pointer-events: none;
}
.whg-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(21,101,192,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-phone-badge {
  background: rgba(8,15,30,.8);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.hpb-label { display: block; font-size: .72rem; color: var(--gray-dim); margin-bottom: 4px; }
.hpb-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .02em;
}
.hpb-num:hover { color: var(--gold-light); }
.hpb-hours { display: block; font-size: .72rem; color: var(--gray-dim); margin-top: 4px; }

/* ===== Trust Bar ===== */
#trust-bar {
  background: rgba(13,71,161,.12);
  border-top: 1px solid var(--blue-border);
  border-bottom: 1px solid var(--blue-border);
  padding: 0;
}
.tb-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.tb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
.tb-item a { color: var(--gold); font-weight: 700; }
.tb-item a:hover { color: var(--gold-light); }
.tb-item span:first-child { font-size: 1rem; }
.tb-div { width: 1px; height: 20px; background: var(--border); }

/* ===== Impact Stats ===== */
#impact-stats { background: var(--navy-mid); padding: 80px 0; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.impact-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.impact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.impact-card.blue {
  background: rgba(13,71,161,.2);
  border-color: rgba(66,165,245,.2);
}
.impact-icon { display: block; font-size: 2rem; margin-bottom: 14px; }
.impact-num { font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 10px; line-height: 1; }
.impact-card p { font-size: .88rem; color: var(--gray); line-height: 1.5; }
.impact-source { text-align: center; font-size: .72rem; color: var(--gray-dim); margin-top: 24px; }

/* ===== Services Grid ===== */
#services { background: var(--navy); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.srv-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.srv-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.35); border-color: rgba(66,165,245,.25); }

.srv-head {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.srv-security   { background: linear-gradient(135deg, rgba(13,71,161,.6), rgba(21,101,192,.4)); }
.srv-privacy    { background: linear-gradient(135deg, rgba(25,118,210,.5), rgba(30,60,114,.5)); }
.srv-solar      { background: linear-gradient(135deg, rgba(200,149,42,.4), rgba(13,71,161,.4)); }
.srv-uv         { background: linear-gradient(135deg, rgba(200,149,42,.5), rgba(230,181,74,.3)); }
.srv-energy     { background: linear-gradient(135deg, rgba(21,101,192,.4), rgba(13,30,61,.5)); }
.srv-coverings  { background: linear-gradient(135deg, rgba(66,165,245,.25), rgba(21,101,192,.3)); }
.srv-commercial { background: linear-gradient(135deg, rgba(8,15,30,.6), rgba(21,101,192,.4)); }
.srv-residential{ background: linear-gradient(135deg, rgba(13,71,161,.4), rgba(66,165,245,.2)); }
.srv-frosted    { background: linear-gradient(135deg, rgba(144,164,174,.2), rgba(21,101,192,.3)); }
.srv-storefront { background: linear-gradient(135deg, rgba(200,149,42,.3), rgba(13,71,161,.4)); }

.srv-icon { font-size: 2rem; }

.srv-body { padding: 20px; }
.srv-body h3 { font-size: .97rem; font-weight: 700; margin-bottom: 8px; }
.srv-body p  { font-size: .82rem; color: var(--gray); line-height: 1.55; margin-bottom: 14px; }
.srv-link { font-size: .8rem; font-weight: 700; color: var(--blue-light); display: inline-flex; align-items: center; }
.srv-link:hover { color: var(--white); }

.services-cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 16px; }

/* ===== Award-Winning Security Film ===== */
#security-feature {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.sf-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(13,71,161,.2) 0%, transparent 70%);
  pointer-events: none;
}

.sf-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sf-window {
  background: rgba(8,15,30,.7);
  border: 1px solid var(--blue-border);
  border-radius: 16px;
  padding: 24px;
  max-width: 320px;
  margin: 0 auto;
}
.sf-window-inner { position: relative; }
.sf-crack-svg { display: block; width: 100%; }

.sf-hold-badge {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  background: rgba(21,101,192,.9);
  border: 1px solid rgba(66,165,245,.4);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.sf-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.sf-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  transition: all .2s;
}
.sf-badge:hover { background: rgba(13,71,161,.2); border-color: rgba(66,165,245,.25); color: var(--white); }
.sf-badge span { font-size: 1.2rem; }

.sf-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.sf-body {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.sf-disclaimer {
  font-size: .8rem;
  color: var(--gray-dim);
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--blue);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
  line-height: 1.55;
}

.sf-ctас { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }

.sf-competitors {
  font-size: .75rem;
  color: var(--gray-dim);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ===== Video Demo ===== */
#video-demo {
  background: var(--navy);
  padding: 80px 0;
}

.video-wrap {
  max-width: 380px;
  margin: 0 auto 32px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--blue-border);
  background: rgba(8,15,30,.8);
}

.video-wrap iframe {
  width: 100%;
  aspect-ratio: 9/16;
  display: block;
  border: none;
}

.video-placeholder-main {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(ellipse at center, rgba(13,71,161,.25) 0%, transparent 60%),
    rgba(8,15,30,.9);
  padding: 32px;
  text-align: center;
}
.vpm-play {
  width: 72px; height: 72px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(21,101,192,.5);
  animation: glow-pulse 2s ease-in-out infinite;
}
.video-placeholder-main h3 { font-size: 1.3rem; font-weight: 700; }
.video-placeholder-main p  { font-size: .88rem; color: var(--gray); }
.video-placeholder-main code {
  font-size: .75rem;
  background: rgba(255,255,255,.06);
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--blue-light);
  font-family: 'Courier New', monospace;
}

.video-stats-row {
  max-width: 840px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(8,15,30,.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 28px;
  flex-wrap: wrap;
}
.vsr-item { flex: 1; min-width: 100px; }
.vsr-item.highlight .vsr-num { color: var(--blue-light); }
.vsr-num { display: block; font-size: 1.5rem; font-weight: 900; color: var(--white); }
.vsr-lbl { display: block; font-size: .75rem; color: var(--gray-dim); }
.vsr-arrow { font-size: 1.5rem; color: var(--blue-light); }
.vsr-sep  { width: 1px; height: 48px; background: var(--border); }

.video-btns { display: flex; gap: 14px; justify-content: center; }

/* ===== Madico Dealer Section ===== */
.madico-header { margin-bottom: 56px; }

.madico-badge-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
}

.madico-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0a1e4a 100%);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 20px 28px;
  text-align: center;
  min-width: 180px;
}
.madico-badge-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.madico-brand-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .06em;
  line-height: 1;
  margin-bottom: 6px;
}
.madico-brand-name sup { font-size: .7rem; vertical-align: super; }
.madico-badge-sub {
  font-size: .62rem;
  color: var(--gray-dim);
  letter-spacing: .04em;
}

.madico-stats-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.madico-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  min-width: 100px;
  flex: 1;
}
.ms-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 4px;
}
.ms-lbl {
  font-size: .68rem;
  color: var(--gray-dim);
  text-align: center;
  line-height: 1.35;
}

.madico-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.madico-card {
  background: var(--navy-mid);
  border: 1px solid var(--blue-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.madico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.madico-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.madico-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.madico-card:hover .madico-card-img img { transform: scale(1.04); }

.madico-card-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(4,8,16,.85) 0%, transparent 100%);
  padding: 14px 16px 12px;
}
.madico-cat-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.madico-card-body { padding: 22px 24px 24px; }
.madico-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.madico-card-body > p {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 14px;
}

.madico-series-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.madico-series-list li {
  font-size: .82rem;
  color: var(--gray-dim);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}
.madico-series-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 700;
}
.madico-series-list li strong { color: var(--white); }

.madico-card-uses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.madico-card-uses span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(66,165,245,.1);
  border: 1px solid var(--blue-border);
  color: var(--blue-light);
  border-radius: 20px;
  padding: 4px 10px;
}

.madico-learn-link {
  font-size: .84rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  transition: color .2s;
}
.madico-learn-link:hover { color: var(--white); }

.madico-dealer-cta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #071634 100%);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.madico-dealer-cta-text { flex: 1; }
.madico-dealer-cta-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.madico-dealer-cta-text p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.65;
}
.madico-dealer-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .madico-badge-row { flex-direction: column; gap: 24px; }
  .madico-badge { align-self: flex-start; }
  .madico-products-grid { grid-template-columns: 1fr; }
  .madico-dealer-cta { flex-direction: column; gap: 24px; padding: 28px 24px; }
  .madico-dealer-cta-actions { flex-direction: row; }
}
@media (max-width: 600px) {
  .madico-stats-row { gap: 12px; }
  .madico-stat { padding: 10px 14px; min-width: 80px; }
  .madico-dealer-cta-actions { flex-direction: column; }
}

/* ===== Gallery ===== */
#gallery { background: var(--navy-mid); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 280px;
  gap: 16px;
  margin-bottom: 32px;
}

.gal-tile { border-radius: 14px; overflow: hidden; cursor: pointer; }
.gal-feature { grid-column: span 2; }

.gal-bg {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
  transition: transform .3s;
}
.gal-bg:hover { transform: scale(1.02); }

.gal-blue    { background: linear-gradient(135deg, #0a1a3a, #1565c0); }
.gal-navy    { background: linear-gradient(135deg, #040810, #0f1e3d); }
.gal-steel   { background: linear-gradient(135deg, #0d1e3d, #1976d2); }
.gal-gold-bg { background: linear-gradient(135deg, #1a1005, #3d2800); }
.gal-teal    { background: linear-gradient(135deg, #091a2a, #0d47a1); }
.gal-dark    { background: linear-gradient(135deg, #040810, #0a1428); }

.gal-pattern { position: absolute; inset: 0; pointer-events: none; opacity: .08; }
.gal-lines { background: repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(255,255,255,.5) 31px); }
.gal-dots  { background: radial-gradient(rgba(255,255,255,.4) 1px, transparent 1px); background-size: 22px 22px; }
.gal-diag  { background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,.3) 21px); }

.gal-shatter-wrap { position: absolute; inset: 0; pointer-events: none; }

.gal-icon-ctr {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  opacity: .18;
  pointer-events: none;
}

.gal-content { position: relative; z-index: 2; }
.gal-live-tag {
  display: inline-block;
  background: rgba(192,33,21,.85);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: .06em;
}
.gal-content h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.gal-content p  { font-size: .8rem; color: rgba(255,255,255,.65); }

.gal-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(4,8,16,.7);
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.gal-bg:hover .gal-hint { opacity: 1; }

.gal-split { position: absolute; inset: 0; display: flex; }
.gs-half { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.gs-bad  { background: rgba(120,20,20,.3); }
.gs-good { background: rgba(10,60,10,.3); }
.gs-divider { width: 2px; background: rgba(255,255,255,.2); }
.gs-half span:first-child { font-size: .7rem; font-weight: 700; letter-spacing: .1em; opacity: .5; }
.gs-x   { font-size: 2rem; color: #f44; opacity: .7; }
.gs-chk { font-size: 2rem; color: #4f4; opacity: .7; }

.gal-storefront-svg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }

.gallery-cta-row {
  text-align: center;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.gallery-cta-row p { color: var(--gray); font-size: .95rem; }

/* ===== Window Coverings ===== */
#window-coverings { background: var(--navy); }

.coverings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.cov-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.cov-card:hover { transform: translateY(-5px); box-shadow: 0 14px 44px rgba(0,0,0,.3); }

.cov-visual {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cov-roller    { background: linear-gradient(135deg, rgba(21,101,192,.4), rgba(13,30,61,.6)); }
.cov-cellular  { background: linear-gradient(135deg, rgba(13,71,161,.4), rgba(8,15,30,.6)); }
.cov-shutter   { background: linear-gradient(135deg, rgba(200,149,42,.3), rgba(13,30,61,.6)); }
.cov-motorized { background: linear-gradient(135deg, rgba(66,165,245,.2), rgba(21,101,192,.4)); }

.cov-icon-lg { font-size: 3rem; opacity: .55; }

.cov-card h3 { font-size: 1rem; font-weight: 700; padding: 18px 18px 8px; }
.cov-card p  { font-size: .84rem; color: var(--gray); padding: 0 18px 20px; line-height: 1.55; }

.coverings-cta { text-align: center; }

/* ===== Home Types ===== */
#home-types { background: var(--navy-mid); padding: 80px 0; }

.homes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.home-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.home-card:hover { transform: translateY(-5px); border-color: rgba(66,165,245,.3); }

.home-illustration {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,15,30,.5);
}
.house-svg { width: 100%; max-height: 110px; }

.home-info { padding: 18px; }
.home-info h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.home-info p  { font-size: .8rem; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.home-stat {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--gray-dim);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.home-stat span:last-child { color: var(--blue-light); font-weight: 600; }

/* ===== Process ===== */
#process { background: var(--navy); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s, border-color .25s;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(66,165,245,.25); }

.step-num {
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(21,101,192,.45);
}

.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: .84rem; color: var(--gray); line-height: 1.55; }

.step-connector {
  align-self: start;
  padding-top: 44px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  padding-right: 8px;
  color: var(--blue-light);
  font-size: 1.3rem;
  opacity: .4;
}
.step-connector::before { content: '→'; }

/* ===== Areas ===== */
#areas { background: var(--navy-mid); }

.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.areas-info p {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
}
.areas-info .section-title { margin-bottom: 18px; }

.area-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}

.area-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: rgba(255,255,255,.75);
  transition: all .2s;
}
.area-tag:hover, .area-tag.primary-tag {
  background: rgba(13,71,161,.3);
  border-color: rgba(66,165,245,.35);
  color: var(--white);
}

.areas-cards { display: flex; flex-direction: column; gap: 16px; }

.area-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform .25s, border-color .25s;
}
.area-card:hover { transform: translateY(-3px); border-color: rgba(66,165,245,.25); }
.area-card.primary-area { border-color: rgba(66,165,245,.2); }

.pa-tag {
  display: inline-block;
  background: rgba(21,101,192,.25);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.area-icon-big { font-size: 1.8rem; margin-bottom: 8px; }
.area-card h3  { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.area-card p   { font-size: .83rem; color: var(--gray); line-height: 1.5; }
.area-page-link { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--blue-light); margin-top: 10px; }
.area-page-link:hover { color: var(--white); }

/* ===== Testimonials ===== */
#testimonials { background: var(--navy); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform .25s, border-color .25s;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(66,165,245,.2); }

.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }

.review-card blockquote {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px; height: 40px;
  background: rgba(21,101,192,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: var(--blue-light);
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: .88rem; }
.reviewer span   { display: block; font-size: .75rem; color: var(--gray-dim); }

/* ===== Blog Teaser ===== */
#blog { background: var(--navy-mid); padding: 80px 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.blog-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform .25s, border-color .25s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(66,165,245,.2); }

.blog-cat {
  display: inline-block;
  background: rgba(21,101,192,.25);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.blog-card h3 { font-size: .95rem; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.blog-card p  { font-size: .82rem; color: var(--gray); line-height: 1.55; margin-bottom: 16px; }
.blog-link { font-size: .8rem; font-weight: 700; color: var(--blue-light); }
.blog-link:hover { color: var(--white); }

/* ===== FAQ ===== */
#faq { background: var(--navy); }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.faq-col .section-title { margin-bottom: 32px; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(66,165,245,.25); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
.faq-q:hover { background: rgba(255,255,255,.03); }

.faq-plus {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--blue-light);
  transition: transform .25s;
  line-height: 1;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p {
  padding: 0 20px 18px;
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.7;
}
.faq-a strong { color: var(--white); }

.faq-cta-box {
  background: rgba(13,71,161,.15);
  border: 1px solid rgba(66,165,245,.2);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 100px;
}
.faq-cta-box h3 { font-size: 1.2rem; font-weight: 800; margin: 12px 0 12px; }
.faq-cta-box p  { font-size: .88rem; color: var(--gray); line-height: 1.65; margin-bottom: 24px; }

.contact-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.contact-row { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--gray); }
.contact-icon { font-size: 1rem; flex-shrink: 0; }
.contact-row a { color: var(--white); font-weight: 600; }
.contact-row a:hover { color: var(--blue-light); }

/* ===== CTA / Assessment Form ===== */
#cta-final {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}
.cta-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at top, rgba(13,71,161,.25) 0%, transparent 65%);
  pointer-events: none;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.form-pitch .section-title { margin-bottom: 18px; }
.form-pitch > p {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.urgency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,149,42,.12);
  border: 1px solid rgba(200,149,42,.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}
.urg-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; animation: pulse-ring .9s ease-out infinite; }

.form-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.form-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--gray); }
.perk-icon { color: #4caf50; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.form-contact-alt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--gray-dim);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.form-contact-alt a { color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.form-contact-alt a:hover { color: var(--gold-light); }

.form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--blue-border);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(8px);
}

.form-card-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.form-card-sub { font-size: .8rem; color: var(--gray-dim); margin-bottom: 28px; }

.field-row { display: flex; gap: 14px; }
.field-row.two-col .field-group { flex: 1; min-width: 0; }

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field-group label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.75); }
.req { color: var(--gold); }
.optional { color: var(--gray-dim); font-weight: 400; font-size: .78rem; }

.field-group input,
.field-group select,
.field-group textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  transition: border-color .2s, background .2s;
  outline: none;
  width: 100%;
}
.field-group input::placeholder { color: rgba(255,255,255,.3); }
.field-group select { appearance: none; cursor: pointer; }
.field-group select option { background: #0f1e3d; color: var(--white); }
.field-group textarea { resize: vertical; min-height: 80px; }
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--blue-light);
  background: rgba(66,165,245,.06);
}
.field-group input.invalid,
.field-group select.invalid {
  border-color: #ef5350;
}

.field-err {
  font-size: .75rem;
  color: #ef5350;
  display: none;
}
.field-err.visible { display: block; }

.file-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px;
  border: 1.5px dashed rgba(255,255,255,.15);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, background .2s;
  background: rgba(255,255,255,.03);
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.file-zone:hover { border-color: var(--blue-light); background: rgba(66,165,245,.05); }
.file-zone small { font-size: .72rem; color: var(--gray-dim); }

.submit-btn { padding: 16px 28px; font-size: 1rem; margin-top: 4px; }

.form-disclaimer {
  font-size: .75rem;
  color: var(--gray-dim);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.form-disclaimer a { color: var(--gold); }

.form-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 14px;
}
.success-icon {
  width: 64px; height: 64px;
  background: rgba(21,101,192,.3);
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--blue-light);
}
.form-success h3 { font-size: 1.5rem; font-weight: 800; }
.form-success p { font-size: .9rem; color: var(--gray); line-height: 1.65; }

/* ===== Footer ===== */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.fb-name { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.fb-tag  { font-size: .74rem; color: var(--blue-light); margin-bottom: 14px; }
.footer-brand p { font-size: .84rem; color: var(--gray); line-height: 1.65; margin-bottom: 16px; }

.footer-phone {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-phone:hover { color: var(--gold-light); }

.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  transition: all .2s;
}
.social-link:hover { background: rgba(21,101,192,.3); border-color: rgba(66,165,245,.3); color: var(--white); }

.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .84rem; color: var(--gray); transition: color .2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .74rem; color: var(--gray-dim); line-height: 1.5; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: .74rem; color: var(--gray-dim); }
.footer-links a:hover { color: var(--white); }

/* ===== Floating Call Button ===== */
.float-call {
  position: fixed;
  right: 24px;
  bottom: 80px;
  background: var(--blue);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 32px;
  font-size: .85rem;
  font-weight: 700;
  box-shadow: 0 6px 28px rgba(21,101,192,.55);
  opacity: 0;
  transform: translateY(16px);
  transition: all .3s ease;
  z-index: 900;
  pointer-events: none;
}
.float-call:hover { background: var(--blue-mid); transform: translateY(-2px) scale(1.04); }
.float-call.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ===== Mobile Sticky Bar ===== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 950;
  background: rgba(4,8,16,.97);
  border-top: 1px solid var(--blue-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.msb-call, .msb-quote {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .01em;
  transition: background .2s;
}
.msb-call  { color: var(--gold); border-right: 1px solid var(--border); }
.msb-quote { color: var(--white); background: var(--blue); }
.msb-call:hover  { background: rgba(200,149,42,.1); }
.msb-quote:hover { background: var(--blue-mid); }

/* ===== Shared Page Header ===== */
.page-header {
  padding: 140px 24px 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(13,71,161,.3) 0%, transparent 60%),
    var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(66,165,245,.025) 51px);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .hero-badge { margin: 0 auto 20px; }
.page-header h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 20px; }
.page-header p { font-size: 1.05rem; color: var(--gray); max-width: 640px; margin: 0 auto 32px; line-height: 1.7; }
.page-header-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .services-grid  { grid-template-columns: repeat(3, 1fr); }
  .homes-grid     { grid-template-columns: repeat(3, 1fr); }
  .impact-grid    { grid-template-columns: repeat(2, 1fr); }
  .sf-layout      { gap: 40px; }
  .sf-badges-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #real-people > div { grid-template-columns: 1fr !important; }
  #real-people > div > div:first-child { min-height: 260px !important; }
  #real-people > div > div[style*="padding:56px 48px"] { padding: 36px 28px !important; }

  section { padding: 72px 0; }
  .hero-inner   { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual  { order: -1; }
  .hero-text    { max-width: 100%; text-align: center; }
  .hero-btns    { justify-content: center; }
  .hero-trust   { justify-content: center; }
  .sf-layout    { grid-template-columns: 1fr; }
  .areas-layout { grid-template-columns: 1fr; }
  .faq-layout   { grid-template-columns: 1fr; }
  .faq-cta-box  { position: static; }
  .form-layout  { grid-template-columns: 1fr; }
  .coverings-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gal-feature  { grid-column: span 1; }
  .steps-grid   { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-connector { display: none; }
  .blog-grid    { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .homes-grid   { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .nav-logo-img { height: 34px; }
  .nav-links, .nav-actions .btn-nav-cta { display: none; }
  .nav-actions .nav-phone { display: none; }
  .hamburger { display: flex; }

  section { padding: 56px 0; }
  .tb-div { display: none; }
  .tb-item { padding: 10px 14px; font-size: .78rem; }

  .hero-title { font-size: 2.4rem; }
  .hero-badge { font-size: .72rem; }

  .services-grid   { grid-template-columns: 1fr 1fr; }
  .coverings-grid  { grid-template-columns: 1fr; }
  .homes-grid      { grid-template-columns: 1fr 1fr; }
  .impact-grid     { grid-template-columns: 1fr 1fr; }
  .blog-grid       { grid-template-columns: 1fr; }
  .reviews-grid    { grid-template-columns: 1fr; }
  .gallery-grid    { grid-template-columns: 1fr; grid-template-rows: auto; }
  .steps-grid      { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; align-items: flex-start; }

  .sf-badges-grid  { grid-template-columns: repeat(2, 1fr); }
  .form-card       { padding: 24px; }
  .field-row.two-col { flex-direction: column; }

  .mobile-sticky-bar { display: flex; }
  .float-call { bottom: 72px; }

  .services-cta-row { flex-direction: column; align-items: center; }
  .video-stats-row  { flex-direction: column; gap: 14px; }
  .vsr-sep          { display: none; }
  .vsr-arrow        { transform: rotate(90deg); align-self: center; }

  .ht-div  { display: none; }
  .ht-item { padding: 0 12px 0 0; }
}

@media (max-width: 480px) {
  .services-grid  { grid-template-columns: 1fr; }
  .homes-grid     { grid-template-columns: 1fr; }
  .impact-grid    { grid-template-columns: 1fr; }
  .section-title  { font-size: 1.65rem; }
  .hero-title     { font-size: 2rem; }
  .form-pitch, .areas-info { text-align: center; }
  .area-tags-wrap { justify-content: center; }
  .hero-trust     { gap: 8px; }
}
