/* ==========================================================================
   ServXhub Roofing Pay-Per-Call Landing Page - Ultra Premium Executive Theme
   Glassmorphic Header, Cyber Emerald/Amber Accents, High Contrast Hero
   ========================================================================== */

:root, [data-theme="light"] {
  /* Light Mode Palette (Default Active) */
  --primary-navy: #0f172a;
  --primary-slate: #1e293b;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  
  /* Vibrant Green CTA Buttons */
  --cta-green: #16a34a;
  --cta-green-hover: #15803d;
  --cta-amber: #f59e0b;
  
  --bg-dark-header: #0b0f19; /* Executive Header stays rich dark navy even in light mode */
  --bg-primary: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  
  /* Layout & Spacing */
  --container-max: 1040px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --transition: all 0.25s ease-in-out;
}

[data-theme="dark"] {
  /* Dark Mode Palette Overrides */
  --primary-navy: #0f172a;
  --primary-slate: #1e293b;
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  
  --cta-green: #16a34a;
  --cta-green-hover: #15803d;
  --cta-amber: #f59e0b;
  
  --bg-dark-header: #0b0f19;
  --bg-primary: #0b0f19;
  --bg-card: #141c2e;
  --bg-alt: #1e293b;
  --bg-light: #0b0f19;
  --bg-white: #141c2e;
  
  --text-dark: #f8fafc;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;
  --border-color: #334155;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.6);
}

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

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-primary);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  padding-bottom: 72px; /* Space for mobile sticky bottom call bar */
  background-color: var(--bg-primary);
  color: var(--text-dark);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Typography & Helper Elements
   ========================================================================== */

h1, h2, h3, h4 {
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.25;
}

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

.badge-referral {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Buttons - VIBRANT GREEN CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.btn-green, .btn-primary, .btn-amber {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.45);
}

.btn-green:hover, .btn-primary:hover, .btn-amber:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.65);
}

.btn-icon {
  font-size: 1.3rem;
}

/* ==========================================================================
   Ultra-Premium Executive Header & Navigation
   ========================================================================== */

.site-header {
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.referral-tag {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: none;
}

@media (min-width: 540px) {
  .referral-tag {
    display: inline-block;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  transition: var(--transition);
}

.theme-toggle-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.header-phone-box {
  display: none;
  flex-direction: column;
  text-align: right;
}

@media (min-width: 640px) {
  .header-phone-box {
    display: flex;
  }
}

.header-phone-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 800;
}

.header-phone-number {
  font-size: 1.18rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.header-btn {
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(22, 163, 74, 0.5);
}

.header-btn:hover {
  box-shadow: 0 0 26px rgba(22, 163, 74, 0.75);
}

/* ==========================================================================
   Full Background Hero Section - Local High-Res Roofing Image
   ========================================================================== */

/* ==========================================================================
   Full Background Hero Section - Executive Glassmorphic Card Layout
   ========================================================================== */

/* ==========================================================================
   Full Background Hero Section - Plumbing Style 2-Column Grid + Video Card
   ========================================================================== */

.hero-full-bg {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem;
  background: url('../assets/hero_roof.jpg') center center / cover no-repeat;
}

.hero-full-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.78) 0%, rgba(11, 15, 25, 0.92) 100%);
  z-index: 1;
}

.hero-container-wide {
  max-width: 1240px !important;
  width: 100%;
}

.hero-grid-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  align-items: center;
}

/* MOBILE VIEW: VIDEO APPEARS FIRST AT THE TOP! */
@media (max-width: 991px) {
  .hero-full-bg {
    padding: 2.25rem 1rem 3rem 1rem;
    min-height: auto;
  }

  .hero-video-col {
    order: -1;
    width: 100%;
  }

  .hero-text-col {
    order: 1;
    text-align: center;
  }

  .hero-text-col h1 {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 0.85rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .hero-phone-card {
    width: auto;
    display: inline-block;
    max-width: 90%;
    margin: 0 auto 1rem auto;
    padding: 0.45rem 1rem;
    border-radius: 12px;
  }

  .phone-card-label {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.1rem;
    white-space: nowrap;
  }

  .hero-phone-display {
    font-size: 1.15rem;
    white-space: nowrap;
    letter-spacing: 0.01em;
  }

  @media (max-width: 360px) {
    .hero-phone-display {
      font-size: 1.02rem;
    }
  }

  .hero-phone-display svg {
    width: 15px;
    height: 15px;
    margin-right: 4px !important;
  }

  .hero-center-btn {
    width: 100%;
    max-width: 350px;
    font-size: 1.05rem;
    padding: 0.95rem 1.25rem;
    margin-bottom: 0.85rem;
  }

  .hero-trust-chips {
    justify-content: center !important;
    gap: 0.85rem;
    padding-top: 0.75rem;
  }

  .trust-chip {
    font-size: 0.78rem;
  }

  .hero-video-card {
    border-radius: 16px;
  }

  .hero-embedded-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    min-height: auto;
    max-height: auto;
  }
}

@media (min-width: 992px) {
  .hero-grid-wrapper {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
  }

  .hero-text-col {
    order: 1;
    text-align: left;
  }

  .hero-video-col {
    order: 2;
  }
}

@media (min-width: 1200px) {
  .hero-grid-wrapper {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
  }
}

.hero-text-col {
  color: #ffffff;
}

.hero-text-col h1 {
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-text-col h1 {
    font-size: 2.35rem;
  }
}

@media (min-width: 992px) {
  .hero-text-col h1 {
    font-size: 2.85rem;
  }
}

.hero-video-col {
  width: 100%;
}

.hero-video-card {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(34, 197, 94, 0.4);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(34, 197, 94, 0.2);
}

.hero-video-header {
  background: rgba(11, 15, 25, 0.95);
  padding: 0.85rem 1.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-live-dot {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 12px #22c55e;
  animation: pulse 2s infinite;
}

.hero-embedded-video {
  width: 100%;
  height: auto;
  min-height: 320px;
  max-height: 520px;
  display: block;
  background: #000000;
  object-fit: cover;
}

@media (min-width: 1200px) {
  .hero-embedded-video {
    min-height: 380px;
    max-height: 550px;
  }
}

.hero-video-caption {
  padding: 0.95rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(11, 15, 25, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Glassmorphic Executive Card */
.hero-card-container {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  background: rgba(11, 15, 25, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 2.75rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  margin: 0 auto;
}

@media (max-width: 480px) {
  .hero-card-container {
    padding: 2rem 1.25rem;
    border-radius: 18px;
  }
}

.hero-card-container h1 {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-card-container h1 {
    font-size: 2.85rem;
  }
}

.highlight-roof {
  color: #4ade80;
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.22) 0%, rgba(16, 185, 129, 0.1) 100%);
  padding: 0.1rem 0.5rem;
  border-radius: 8px;
  border-bottom: 2px solid #22c55e;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  line-height: 1.6;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.highlight-city {
  color: #ffffff !important;
  font-weight: 800;
  border-bottom: 1.5px dashed rgba(34, 197, 94, 0.8);
}

/* Phone Number Call Box */
.hero-phone-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 16px;
  padding: 0.85rem 1.5rem;
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(34, 197, 94, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-phone-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.7);
}

.phone-card-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.hero-phone-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  text-decoration: none !important;
}

@media (min-width: 480px) {
  .hero-phone-display {
    font-size: 2.45rem;
  }
}

.hero-center-btn {
  width: 100%;
  max-width: 480px;
  font-size: 1.15rem;
  padding: 1.1rem 2rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 8px 32px rgba(22, 163, 74, 0.55);
  border-radius: 50px;
  letter-spacing: 0.03em;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.hero-center-btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 40px rgba(22, 163, 74, 0.75);
}

/* Micro Guarantees Chips */
.hero-trust-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-chip {
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chip-icon {
  color: #22c55e;
  font-weight: 900;
}

/* ==========================================================================
   3 Quick Benefits Bar
   ========================================================================== */

.trust-section {
  padding: 2rem 0;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.trust-icon {
  width: 24px;
  height: 24px;
  color: var(--cta-green);
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* ==========================================================================
   3 Compact Roofing Services Cards
   ========================================================================== */

.services-section {
  padding: 3rem 0;
  background-color: var(--bg-primary);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.section-header h2 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cta-green);
}

.service-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.85rem;
  display: block;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.5;
}

.service-card .card-cta-btn {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cta-green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Information Gap / Why Call Section
   ========================================================================== */

.info-gap-section {
  padding: 3rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.info-gap-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
}

.info-gap-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.info-gap-box p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Strong Mid/Bottom Call CTA Banner
   ========================================================================== */

.cta-banner-section {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  color: #ffffff;
  text-align: center;
}

.cta-banner-box {
  max-width: 760px;
  margin: 0 auto;
}

.cta-banner-box h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.cta-banner-box p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}

.cta-banner-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

/* ==========================================================================
   4 Short FAQs
   ========================================================================== */

.faq-section {
  padding: 3.5rem 0;
  background-color: var(--bg-primary);
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--cta-green);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.35rem;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--cta-green);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.35rem 1.1rem 1.35rem;
}

/* ==========================================================================
   Disclaimer & Footer
   ========================================================================== */

.disclaimer-section {
  padding: 2.25rem 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 2.25rem 0 1.35rem;
  font-size: 0.88rem;
  border-top: 1px solid #334155;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo-img {
  height: 34px;
  width: auto;
  opacity: 0.95;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Sticky Mobile Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0b0f19;
  border-top: 2px solid var(--cta-green);
  padding: 0.65rem 1rem;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .sticky-mobile-bar {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
  }
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.sticky-bar-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}

.sticky-bar-sub {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.sticky-bar-btn {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 14px rgba(22, 163, 74, 0.5);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Executive Preloader Styling (ServXhub Ecosystem)
   ========================================================================== */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0b0f19;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.preloader-logo-wrapper {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  z-index: 2;
  border-radius: 10px;
  animation: preloaderPulse 1.8s infinite ease-in-out;
}

.preloader-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(34, 197, 94, 0.15);
  border-top-color: #22c55e;
  border-right-color: #16a34a;
  border-radius: 50%;
  animation: preloaderSpin 1s linear infinite;
  z-index: 1;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
}

.preloader-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.preloader-brand {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.preloader-status {
  font-size: 0.78rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(34, 197, 94, 0.75)); }
}
