/*
 Theme Name:   Mile High Networks
 Theme URI:    https://milehighnetworks.net
 Version:      3.8.0
 Description:  Custom theme for Mile High Networks ISP — Prescott Valley, Arizona.
 Author:       Mile High Networks
 Text Domain:  mile-high-networks
*/

/* ═══════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════ */
:root {
  --navy:     #0B1628;
  --navy-mid: #112040;
  --blue:     #0EA5E9;
  --blue-dark:#0284C7;
  --blue-glow:#38BDF8;
  --white:    #FFFFFF;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --green:    #10B981;
  --green-dk: #059669;
  --font-head: 'Exo 2', 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', 'Helvetica Neue', sans-serif;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:0 8px 48px rgba(0,0,0,0.18);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::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(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
}

/* ═══════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.8); }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 640px;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.badge {
  display: inline-block;
  background: rgba(14,165,233,0.12);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section--navy .badge {
  background: rgba(56,189,248,0.15);
  color: var(--blue-glow);
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(14,165,233,0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(14,165,233,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(16,185,129,0.35);
}
.btn-green:hover {
  background: var(--green-dk);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 17px 40px; font-size: 1.1rem; }

/* ═══════════════════════════════════════
   TOP BAR
═══════════════════════════════════════ */
.top-bar {
  background: var(--navy-mid);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top-bar a { color: var(--blue-glow); }
.top-bar a:hover { color: var(--white); }
.top-bar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img { height: 52px; width: auto; }
.site-logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.site-logo-text span { color: var(--blue); }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.primary-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.primary-nav .nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  margin-left: 6px;
}
.primary-nav .nav-cta:hover {
  background: var(--blue-dark);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  background: var(--navy-mid);
  padding: 12px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 11px 24px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--blue-glow); background: rgba(255,255,255,0.04); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  background-color: var(--navy);
  /* Multi-layer background set via PHP inline style — gradient + photo in one declaration */
  background-position: center 40%;
  background-size: auto, cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34D399;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34D399;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero-headline em {
  font-style: normal;
  color: var(--blue-glow);
}
.hero-subtext {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
  max-width: 480px;
}
.hero-subtext strong { color: var(--white); }
.hero-local {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
  font-style: italic;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 40px;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-phone a { color: var(--blue-glow); font-size: 1.1rem; font-weight: 700; }
.hero-phone a:hover { color: var(--white); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
}
.hero-trust-item svg { color: var(--blue-glow); flex-shrink: 0; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Glassmorphic speed card */
.hero-card {
  background: rgba(11,22,40,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  max-width: 300px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hero-card .speed-box {
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: 12px;
  padding: 20px 24px;
}
.hero-card .speed-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-glow);
  line-height: 1;
}
.hero-card .speed-lbl { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 5px; }
.hero-card .speed-sub { font-size: 0.72rem; color: rgba(255,255,255,0.38); margin-top: 4px; }

/* ═══════════════════════════════════════
   QUICK LINKS / ICON CARDS
═══════════════════════════════════════ */
.quick-links { background: var(--white); padding: 60px 0; }
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.quick-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.quick-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  color: inherit;
}
.quick-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(14,165,233,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.quick-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.quick-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   HOME INTERNET SECTION
═══════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }
.feature-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-img img { width: 100%; border-radius: 16px; }
.feature-content {}
.feature-content h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 14px;
}
.feature-content p {
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.7;
}
.feature-list { margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.feature-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(14,165,233,0.15);
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230EA5E9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ═══════════════════════════════════════
   PLANS / PRICING
═══════════════════════════════════════ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.25s;
}
.plan-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.plan-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.18), var(--shadow);
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.plan-speed {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  font-family: var(--font-head);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-speed span { font-size: 1rem; color: var(--gray-400); font-weight: 500; }
.plan-desc { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 20px; line-height: 1.5; }
.plan-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-700);
}
.plan-features li svg { color: var(--green); flex-shrink: 0; }

/* ═══════════════════════════════════════
   EERO SECTION
═══════════════════════════════════════ */
.eero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.eero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.eero-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.eero-stat .num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue-glow);
}
.eero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ═══════════════════════════════════════
   CTA BAND
═══════════════════════════════════════ */
.cta-band {
  background-color: var(--navy);
  /* Multi-layer background set via PHP inline style — dark overlay + photo in one declaration */
  background-position: center 60%;
  background-size: auto, cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-band .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   BUSINESS SECTION
═══════════════════════════════════════ */
.business-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.biz-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  border: 1.5px solid var(--gray-200);
}
.biz-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.biz-card-img { aspect-ratio: 16/9; overflow: hidden; }
.biz-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.biz-card:hover .biz-card-img img { transform: scale(1.04); }
.biz-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.biz-card-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.biz-card-tagline {
  font-size: 0.88rem;
  color: var(--blue);
  font-style: italic;
  margin-bottom: 12px;
  font-weight: 600;
}
.biz-card-body p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.biz-price {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}
.biz-price span { font-size: 0.82rem; font-weight: 500; color: var(--gray-400); }

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { display: flex; gap: 3px; }
.stars svg { color: #FBBF24; width: 16px; height: 16px; fill: #FBBF24; }
.testimonial-text {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  flex: 1;
}
.testimonial-author { font-size: 0.85rem; }
.testimonial-author strong { color: var(--white); font-weight: 700; display: block; }
.testimonial-author span { color: rgba(255,255,255,0.45); font-size: 0.78rem; }

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: all 0.2s;
}
.faq-item.open .faq-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 20px; }
.faq-answer p { color: var(--gray-600); line-height: 1.7; font-size: 0.95rem; }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 8px; }
.contact-block p, .contact-block li { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }
.contact-block ul { display: flex; flex-direction: column; gap: 4px; }
.contact-block a { color: var(--gray-800); font-weight: 600; }
.contact-block a:hover { color: var(--blue); }
.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: 20px; font-size: 1.4rem; }
/* WPForms overrides */
.contact-form-wrap .wpforms-container label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 5px;
  display: block;
}
.contact-form-wrap .wpforms-container input,
.contact-form-wrap .wpforms-container textarea,
.contact-form-wrap .wpforms-container select {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background: var(--gray-50);
}
.contact-form-wrap .wpforms-container input:focus,
.contact-form-wrap .wpforms-container textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.contact-form-wrap .wpforms-container textarea { min-height: 120px; resize: vertical; }
.contact-form-wrap .wpforms-submit-container .wpforms-submit {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 13px 36px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}
.contact-form-wrap .wpforms-submit-container .wpforms-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .site-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-glow);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════
   MOBILE BOTTOM BAR (preserved from custom HTML)
═══════════════════════════════════════ */
/* Styles are in the custom HTML block */

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-subtext { margin: 0 auto 12px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-local { margin: 0 auto 36px; }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid.reverse { direction: ltr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .eero-grid { grid-template-columns: 1fr; }
  .business-cards { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .top-bar-left { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .top-bar { display: none; }
}

@media (max-width: 480px) {
  .quick-links-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 70px; }
}

/* ═══════════════════════════════════════
   SCROLL 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);
}



/* ═══════════════════════════════════════
   FANCYBOX OVERRIDES
═══════════════════════════════════════ */
/* Desktop: cap lightbox at 750px */
@media (min-width: 769px) {
  .fancybox-content {
    max-width: 750px !important;
    width: 90vw !important;
  }
  .fancybox-slide iframe {
    max-width: 750px !important;
    width: 90vw !important;
  }
}
/* Mobile: full width, scrollable */
@media (max-width: 768px) {
  .fancybox-slide {
    padding: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .fancybox-content {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .fancybox-slide iframe {
    width: 100vw !important;
    max-width: 100vw !important;
    border: none !important;
    display: block !important;
  }
}
