﻿/* ==========================================================================
   IGNITE TOW NETWORK â€” Global Stylesheet
   ==========================================================================
   BRANDING: Update CSS variables below to change colors, fonts, spacing.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* --- Brand Colors â€” blue theme (change here for rebrand) --- */
  --brand-primary: #2563eb;
  --brand-light: #60a5fa;
  --brand-dark: #1e3a8a;
  --brand-glow: rgba(37, 99, 235, 0.22);

  /* Aliases used across components */
  --ignite-orange: var(--brand-primary);
  --ignite-orange-light: var(--brand-light);
  --ignite-orange-dark: var(--brand-dark);
  --ignite-orange-glow: var(--brand-glow);
  --ignite-gradient: linear-gradient(135deg, #2563eb 0%, #60a5fa 55%, #93c5fd 100%);
  --ignite-gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.07) 0%, rgba(96, 165, 250, 0.04) 100%);

  /* --- Neutrals (light theme only) --- */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.78);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;

  /* --- Semantic --- */
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --star: #2563eb;

  /* --- Shadows --- */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
  --shadow-orange: 0 8px 32px var(--brand-glow);

  /* --- Typography (change font family here) --- */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.75rem;
  --font-size-hero: clamp(2rem, 5vw, 3.25rem);

  /* --- Spacing & Layout --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container-max: 1280px;
  --nav-height: 120px;
  --nav-offset-top: 14px;
  --nav-shell-radius: 18px;
  --nav-glass-bg: rgba(255, 255, 255, 0.52);
  --nav-glass-border: rgba(255, 255, 255, 0.65);
  --nav-glass-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45) inset,
    0 4px 24px rgba(15, 23, 42, 0.06),
    0 12px 40px rgba(37, 99, 235, 0.08);
  --logo-height-nav: 112px;
  --logo-height-footer: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography Utilities --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--ignite-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 560px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ignite-gradient);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--ignite-orange-glow);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--ignite-orange);
  color: var(--ignite-orange);
}

.btn-outline-orange {
  background: transparent;
  color: var(--ignite-orange);
  border: 2px solid var(--ignite-orange);
}
.btn-outline-orange:hover {
  background: var(--ignite-orange);
  color: #fff;
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 8px 16px;
}
.btn-ghost:hover { color: var(--ignite-orange); }

.btn-sm { padding: 8px 16px; font-size: var(--font-size-xs); }
.btn-lg { padding: 16px 32px; font-size: var(--font-size-base); }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
}
.btn-icon:hover { border-color: var(--ignite-orange); color: var(--ignite-orange); }

.btn-emergency {
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  animation: pulse-emergency 2s infinite;
}
@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

/* --- Navbar (premium floating glass) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  padding: var(--nav-offset-top) 16px 0;
  background: transparent;
  border: none;
  pointer-events: none;
  transition:
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 140%;
  background: linear-gradient(
    180deg,
    rgba(6, 11, 20, 0.42) 0%,
    rgba(6, 11, 20, 0.12) 45%,
    transparent 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

body[data-page="home"] .navbar::before {
  opacity: 1;
}

body[data-page="home"] .navbar.scrolled::before {
  opacity: 0;
}

.navbar.scrolled {
  --nav-offset-top: 10px;
  padding-top: var(--nav-offset-top);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--nav-height) - var(--nav-offset-top));
  padding: 0 22px;
  gap: 20px;
  pointer-events: auto;
  border-radius: var(--nav-shell-radius);
  background: var(--nav-glass-bg);
  backdrop-filter: blur(20px) saturate(1.45);
  -webkit-backdrop-filter: blur(20px) saturate(1.45);
  border: 1px solid var(--nav-glass-border);
  box-shadow: var(--nav-glass-shadow);
  transition:
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.45s ease;
}

.navbar.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(1.55);
  -webkit-backdrop-filter: blur(24px) saturate(1.55);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 4px 16px rgba(15, 23, 42, 0.05),
    0 16px 48px rgba(15, 23, 42, 0.08),
    0 0 64px rgba(37, 99, 235, 0.06);
}

body[data-page="home"] .navbar:not(.scrolled) .navbar-inner {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 8px 32px rgba(0, 0, 0, 0.22),
    0 0 48px rgba(37, 99, 235, 0.12);
}

body[data-page="home"] .navbar.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.92);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
  line-height: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.logo:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.logo-img {
  height: var(--logo-height-nav);
  width: auto;
  max-width: 560px;
  object-fit: contain;
  object-position: left center;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.logo:hover .logo-img {
  transform: scale(1.015);
  filter: brightness(1.04) drop-shadow(0 4px 16px rgba(37, 99, 235, 0.12));
}

.footer-brand .logo {
  margin-right: 0;
  margin-bottom: 12px;
}

.footer-brand .logo-img {
  height: var(--logo-height-footer);
  max-width: 360px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: auto;
}

.nav-links a {
  position: relative;
  padding: 10px 15px;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  border-radius: 10px;
  background: transparent;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    text-shadow 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-light) 100%);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(37, 99, 235, 0.05);
}

.nav-links a:hover::after {
  transform: scaleX(0.55);
}

.nav-links a.active {
  color: var(--brand-primary);
  font-weight: 600;
  background: transparent;
  text-shadow: 0 0 28px rgba(37, 99, 235, 0.2);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

body[data-page="home"] .navbar:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="home"] .navbar:not(.scrolled) .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .navbar:not(.scrolled) .nav-links a.active {
  color: #fff;
  text-shadow: 0 0 32px rgba(147, 197, 253, 0.55);
}

body[data-page="home"] .navbar:not(.scrolled) .nav-links a::after {
  background: linear-gradient(90deg, #93c5fd 0%, #dbeafe 100%);
  box-shadow: 0 0 14px rgba(147, 197, 253, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-actions .btn-primary {
  padding: 11px 22px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    135deg,
    #1d4ed8 0%,
    #2563eb 38%,
    #3b82f6 72%,
    #60a5fa 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 4px 14px rgba(37, 99, 235, 0.38),
    0 10px 28px rgba(37, 99, 235, 0.22);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.nav-actions .btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 6px 20px rgba(37, 99, 235, 0.45),
    0 16px 40px rgba(37, 99, 235, 0.28);
}

.nav-actions .btn-primary:active {
  transform: translateY(0);
}

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    background 0.3s ease;
}

body[data-page="home"] .navbar:not(.scrolled) .hamburger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

body[data-page="home"] .navbar:not(.scrolled) .hamburger span {
  background: rgba(255, 255, 255, 0.92);
}

.hamburger.active {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
}

.hamburger.active span {
  background: var(--brand-primary);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  top: 0;
  padding: calc(var(--nav-height) + 20px) 24px 40px;
  gap: 6px;
  z-index: 998;
  background: rgba(248, 250, 252, 0.55);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.38s,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu a {
  padding: 14px 18px;
  font-weight: 500;
  font-size: var(--font-size-base);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  border-radius: 14px;
  border: 1px solid transparent;
  transition:
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(37, 99, 235, 0.12);
  color: var(--brand-primary);
  transform: translateX(4px);
}

.mobile-menu a.active {
  color: var(--brand-primary);
  font-weight: 600;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.1);
}

.mobile-menu .btn-primary {
  margin-top: 12px;
  padding: 15px 24px;
  font-size: var(--font-size-sm);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 8px 28px rgba(37, 99, 235, 0.35);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .navbar {
  z-index: 1001;
}

/* --- Hero (cinematic layered composition) --- */
.hero {
  --hero-min-h: 94vh;
  position: relative;
  min-height: var(--hero-min-h);
  padding: calc(var(--nav-height) + 56px) 0 0;
  display: flex;
  align-items: center;
  overflow: visible;
  background: #060b14;
  isolation: isolate;
}

/* Full-bleed media stack */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-canvas__photo {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  height: 108%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  filter: saturate(1.06) contrast(1.04) brightness(1.02);
  -webkit-mask-image: linear-gradient(
    95deg,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 22%,
    rgba(0, 0, 0, 0.65) 38%,
    #000 52%,
    #000 100%
  );
  mask-image: linear-gradient(
    95deg,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 22%,
    rgba(0, 0, 0, 0.65) 38%,
    #000 52%,
    #000 100%
  );
}

.hero-canvas__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 42%, rgba(59, 130, 246, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 92% 55%, rgba(147, 197, 253, 0.2) 0%, transparent 50%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.hero-canvas__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 100%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(6, 11, 20, 0.15) 0%, transparent 25%, transparent 65%, rgba(6, 11, 20, 0.2) 100%);
}

.hero-canvas__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      102deg,
      rgba(5, 10, 20, 0.97) 0%,
      rgba(6, 12, 24, 0.9) 26%,
      rgba(8, 16, 32, 0.55) 42%,
      rgba(10, 20, 40, 0.15) 56%,
      transparent 68%
    ),
    linear-gradient(90deg, #050a12 0%, rgba(5, 10, 20, 0.75) 22%, transparent 48%);
}

.hero-canvas__edge-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #f8fafc 0%, rgba(248, 250, 252, 0.85) 6%, rgba(248, 250, 252, 0.25) 14%, transparent 26%),
    radial-gradient(ellipse at center, transparent 40%, rgba(4, 8, 16, 0.45) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 8px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-bottom: 28px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  max-width: 500px;
  font-weight: 400;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.25);
}

/* --- Search Bar --- */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  max-width: 600px;
}

.search-field {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-right: 1px solid var(--border-light);
}
.search-field:last-of-type { border-right: none; }

.search-field input,
.search-field select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  min-width: 0;
}
.search-field input::placeholder { color: var(--text-muted); }

.search-field svg { color: var(--ignite-orange); flex-shrink: 0; }

.search-bar .btn-primary { padding: 14px 28px; border-radius: var(--radius-md); }

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.search-tag {
  padding: 6px 14px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.search-tag:hover {
  border-color: var(--ignite-orange);
  color: var(--ignite-orange);
}

/* Hero search â€” product-grade glass */
.hero .search-bar {
  position: relative;
  z-index: 20;
  max-width: 580px;
  padding: 7px;
  gap: 8px;
  border-radius: 20px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 24px 64px rgba(0, 0, 0, 0.28),
    0 0 80px rgba(37, 99, 235, 0.12);
}

.hero .search-field {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  border-right: none;
  margin: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hero .search-field:first-of-type {
  border-right: 1px solid rgba(226, 232, 240, 0.9);
}

.search-field--select {
  position: relative;
  z-index: 2;
  overflow: visible;
  min-width: 200px;
}

/* Premium custom select (replaces native dropdown) */
.premium-select {
  position: relative;
  flex: 1;
  min-width: 0;
}

.premium-select.is-open {
  z-index: 50;
}

.premium-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.premium-select__trigger:hover {
  color: var(--brand-primary);
}

.premium-select__chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), color var(--transition);
}

.premium-select.is-open .premium-select__chevron {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.premium-select__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  right: -12px;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  z-index: 500;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.06),
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.14),
    0 0 48px rgba(37, 99, 235, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top center;
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s;
  pointer-events: none;
  max-height: min(320px, 50vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.premium-select.is-open .premium-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.premium-select__option {
  padding: 11px 14px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  user-select: none;
}

.premium-select__option:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--text-primary);
}

.premium-select__option.is-selected {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.14) 0%,
    rgba(96, 165, 250, 0.1) 100%
  );
  color: var(--brand-primary);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12) inset;
}

.premium-select__option.is-selected:hover {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.18) 0%,
    rgba(96, 165, 250, 0.12) 100%
  );
}

.premium-select__option:active {
  transform: scale(0.99);
}

/* Scrollbar styling for long menus */
.premium-select__menu::-webkit-scrollbar {
  width: 6px;
}
.premium-select__menu::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.25);
  border-radius: 6px;
}

.hero .search-bar .btn-primary {
  border-radius: 14px;
  padding: 15px 26px;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}

.hero-content .search-tags {
  z-index: 1;
}

.hero .search-bar:has(.premium-select.is-open) {
  z-index: 100;
}

.hero .search-tag--filter {
  position: relative;
  z-index: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.hero .search-tag--filter:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(147, 197, 253, 0.45);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.hero .search-tag--filter:active {
  transform: translateY(0);
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: min(520px, 54vh);
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 70%;
  height: 65%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.28) 0%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.hero-card-stack {
  position: relative;
  z-index: 1;
  height: min(520px, 54vh);
  min-height: 440px;
}

/* Integrated glass cards â€” light, ambient, non-boxy */
.hero-float-card {
  position: absolute;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(32px) saturate(1.6);
  -webkit-backdrop-filter: blur(32px) saturate(1.6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 16px 48px rgba(0, 0, 0, 0.18),
    0 0 60px rgba(37, 99, 235, 0.1);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.4s ease;
  will-change: transform;
}

.hero-float-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 45%,
    rgba(96, 165, 250, 0.08) 100%
  );
  pointer-events: none;
}

.hero-float-card:hover {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 24px 56px rgba(0, 0, 0, 0.22),
    0 0 80px rgba(59, 130, 246, 0.18);
}

.hero-float-card-inner {
  position: relative;
  z-index: 1;
  padding: 26px 28px;
  border-radius: 23px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.65) 100%
  );
}

.hero-float-card-inner--compact {
  padding: 22px 24px;
}

/* Provider card */
.hero-card-provider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-card-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.06) inset,
    0 6px 18px rgba(37, 99, 235, 0.18),
    0 0 20px rgba(59, 130, 246, 0.12);
}

.hero-card-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-card-provider-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hero-card-company-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}

.hero-card-location {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12) 0%,
    rgba(96, 165, 250, 0.08) 100%
  );
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  box-shadow:
    0 0 20px rgba(37, 99, 235, 0.15),
    0 2px 8px rgba(37, 99, 235, 0.08);
}

.hero-card-services {
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* Stat card */
.hero-card-stat-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hero-card-stat-value {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes hero-float-main {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes hero-float-stat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-float-card.main {
  top: 20px;
  left: 0;
  right: 40px;
  animation: hero-float-main 7s ease-in-out infinite;
}

.hero-float-card.main:hover {
  animation-play-state: paused;
  transform: translateY(-12px);
}

.hero-float-card.secondary {
  bottom: 40px;
  right: 0;
  width: 240px;
  animation: hero-float-stat 6s ease-in-out infinite;
  animation-delay: 0.8s;
}

.hero-float-card.secondary:hover {
  animation-play-state: paused;
  transform: translateY(-10px);
}

.hero-float-card.tertiary {
  top: 60px;
  right: -10px;
  width: 180px;
  animation-delay: 2s;
}

/* --- Cards (Towing Company) --- */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.company-card-image {
  height: 180px;
  background: var(--ignite-gradient-soft);
  position: relative;
  overflow: hidden;
}

.company-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.company-card-body { padding: 20px; }

.company-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.company-card-name {
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.company-card-location {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.company-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
}

.tag-orange {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-primary);
}

.company-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* --- Star Rating --- */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
}

.stars svg { width: 16px; height: 16px; }
.stars.lg svg { width: 20px; height: 20px; }

.rating-text {
  font-weight: 600;
  font-size: var(--font-size-sm);
}
.rating-count {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* --- Sections --- */
section { padding: 80px 0; }
section.alt-bg { background: var(--bg-secondary); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .section-subtitle { margin: 0 auto; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

#featured .cards-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1100px) {
  #featured .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #featured .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- Cities --- */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.city-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.city-card:hover {
  border-color: var(--ignite-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.city-icon {
  width: 48px;
  height: 48px;
  background: var(--ignite-gradient-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ignite-orange);
}

.city-info h4 { font-weight: 700; margin-bottom: 2px; }
.city-info span { font-size: var(--font-size-sm); color: var(--text-muted); }

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  background: var(--ignite-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 28px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  font-weight: 800;
  color: var(--ignite-orange);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ignite-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--font-size-sm);
}

.author-info h5 { font-weight: 600; font-size: var(--font-size-sm); }
.author-info span { font-size: var(--font-size-xs); color: var(--text-muted); }

/* --- CTA Banner --- */
.cta-banner {
  padding: 56px 48px 60px;
  background: linear-gradient(
    135deg,
    #1d4ed8 0%,
    #2563eb 38%,
    #3b82f6 72%,
    #60a5fa 100%
  );
  border-radius: var(--radius-xl);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 20px 56px rgba(37, 99, 235, 0.28),
    0 0 80px rgba(59, 130, 246, 0.15);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.85;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: 1.0625rem;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-cta-banner {
  position: relative;
  z-index: 1;
  padding: 16px 36px;
  font-size: var(--font-size-base);
  font-weight: 700;
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.12),
    0 8px 28px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.cta-banner .btn-cta-banner:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 28px rgba(15, 23, 42, 0.16),
    0 16px 40px rgba(0, 0, 0, 0.1);
  color: var(--brand-primary);
}

/* --- Footer (premium) --- */
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 0 24px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 40%,
    #eef4ff 100%
  );
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 -12px 40px rgba(37, 99, 235, 0.04);
}

.footer__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.footer__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: footer-glow-drift 20s ease-in-out infinite alternate;
}

.footer__glow--a {
  width: min(480px, 50vw);
  height: min(480px, 50vw);
  top: -35%;
  left: 8%;
  background: rgba(37, 99, 235, 0.2);
}

.footer__glow--b {
  width: min(420px, 45vw);
  height: min(420px, 45vw);
  bottom: -25%;
  right: 5%;
  background: rgba(96, 165, 250, 0.16);
  animation-delay: -8s;
}

@keyframes footer-glow-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  100% { transform: translate(2%, -3%) scale(1.06); opacity: 0.55; }
}

.footer__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  opacity: 0.55;
}

.footer__inner {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) repeat(3, minmax(128px, 1fr));
  gap: 32px 40px;
  margin-bottom: 28px;
  align-items: start;
}

.footer-brand {
  padding-right: 8px;
  max-width: 300px;
}

.footer-brand .logo {
  display: inline-flex;
  margin-bottom: 0;
}

.footer-brand .logo-img {
  filter: drop-shadow(0 6px 24px rgba(37, 99, 235, 0.14));
  transition: filter 0.35s ease, transform 0.35s ease;
}

.footer-brand .logo:hover .logo-img {
  filter: drop-shadow(0 8px 28px rgba(37, 99, 235, 0.22));
  transform: translateY(-1px);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-top: 12px;
  max-width: 280px;
  padding-left: 12px;
  border-left: 2px solid rgba(37, 99, 235, 0.22);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

.footer-col h4 {
  font-weight: 700;
  margin: 0 0 10px;
  padding-bottom: 8px;
  width: 100%;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.footer-col a {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
  padding: 5px 0;
  margin: 0;
  white-space: normal;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-col a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-col a:hover {
  color: var(--brand-primary);
  transform: translateX(4px);
}

.footer-col a:hover::after {
  transform: scaleX(1);
}

.footer-col a.footer-link--home,
.footer-col a.footer-link--contact {
  font-weight: 600;
  color: rgba(37, 99, 235, 0.88);
  letter-spacing: 0.02em;
  padding: 6px 10px 6px 0;
  margin: 0 0 2px;
  transition:
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 0.35s ease;
}

.footer-col a.footer-link--home::after,
.footer-col a.footer-link--contact::after {
  height: 2px;
  bottom: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.35);
}

.footer-col a.footer-link--home:hover,
.footer-col a.footer-link--contact:hover {
  color: var(--brand-primary);
  transform: translateX(5px);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.footer-col a.footer-link--home:hover::after,
.footer-col a.footer-link--contact:hover::after {
  transform: scaleX(1);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px 20px;
  padding-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.2) 15%,
    rgba(148, 163, 184, 0.35) 50%,
    rgba(37, 99, 235, 0.2) 85%,
    transparent
  );
}

.footer-copyright {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-bottom-end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-built-for {
  padding: 5px 12px;
  font-size: 0.6875rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 1px 8px rgba(37, 99, 235, 0.05);
}

.footer-bottom a.footer-link--home,
.footer-bottom a.footer-link--contact {
  position: relative;
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(37, 99, 235, 0.9);
  padding: 4px 2px;
  transition:
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 0.35s ease;
}

.footer-bottom a.footer-link--home::after,
.footer-bottom a.footer-link--contact::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
  transform: scaleX(0.35);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.footer-bottom a.footer-link--home:hover,
.footer-bottom a.footer-link--contact:hover {
  color: var(--brand-primary);
  transform: translateY(-1px);
  text-shadow: 0 0 18px rgba(59, 130, 246, 0.3);
}

.footer-bottom a.footer-link--home:hover::after,
.footer-bottom a.footer-link--contact:hover::after {
  transform: scaleX(1);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.footer-admin-link {
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(148, 163, 184, 0.72);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.footer-admin-link:hover {
  color: rgba(100, 116, 139, 0.95);
  text-decoration: underline;
}

.footer-bottom--utility {
  justify-content: flex-end;
  padding-top: 14px;
  padding-bottom: 14px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 28px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    padding-right: 0;
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .footer-tagline {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 48px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-brand {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer-col a {
    width: 100%;
    max-width: 100%;
    padding: 4px 0;
  }

  .footer-col a::after {
    bottom: 2px;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 16px;
  }

  .footer-copyright {
    grid-column: 1;
    width: 100%;
  }

  .footer-bottom-end {
    grid-column: 1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer__glow {
    animation: none;
  }
}

/* --- Floating Emergency CTA --- */
.floating-emergency {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.4);
  transition: var(--transition);
}
.floating-emergency:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.5);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Loading State --- */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.loading-overlay.active { opacity: 1; visibility: visible; }

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-light);
  border-top-color: var(--ignite-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   LISTINGS PAGE
   ========================================================================== */
.page-header {
  padding: calc(var(--nav-height) + 48px) 0 32px;
  background: var(--bg-secondary);
}

.page-header h1 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: 8px;
}

.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 32px 0 80px;
  align-items: start;
}

.filters-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}
.filter-group:last-of-type { margin-bottom: 20px; }

.filter-group__label,
.filter-group h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.filter-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 8px;
  margin: 0 -8px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-option:hover {
  background: rgba(37, 99, 235, 0.04);
  color: var(--text-primary);
}

.filter-option input {
  accent-color: var(--brand-primary);
  width: 17px;
  height: 17px;
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
}

.filter-option span {
  flex: 1;
}

.filters-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.filters-sidebar__clear {
  width: 100%;
  margin-top: 4px;
}

.listings-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.results-count { font-size: var(--font-size-sm); color: var(--text-secondary); }
.results-count strong { color: var(--text-primary); }

.view-toggle {
  display: flex;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.view-toggle button {
  padding: 8px 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.view-toggle button.active {
  background: var(--ignite-orange);
  color: #fff;
}

.listings-grid.list-view {
  grid-template-columns: 1fr;
}
.listings-grid.list-view .company-card-premium,
.listings-grid.list-view .card {
  display: grid;
  grid-template-columns: 300px 1fr;
}
.listings-grid.list-view .company-card-premium { flex-direction: row; }
.listings-grid.list-view .company-card-image { height: 100%; min-height: 220px; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  color: var(--text-muted);
  font-size: var(--font-size-base);
}

.listings-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 32px;
  margin: 8px 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.5) 100%);
  border: 1px dashed rgba(148, 163, 184, 0.35);
}

.listings-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-primary);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.listings-empty__icon svg {
  opacity: 0.85;
}

.listings-empty__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.listings-empty__hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.55;
}

.sort-select {
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
}
.sort-select:focus { border-color: var(--ignite-orange); }

/* ==========================================================================
   PROFILE PAGE
   ========================================================================== */
.profile-banner {
  height: 300px;
  background: #0f172a;
  position: relative;
  margin-top: var(--nav-height);
  overflow: hidden;
}

.profile-banner img,
.profile-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-banner--branded {
  height: min(42vh, 380px);
  min-height: 280px;
}

.profile-banner--branded .profile-banner-img {
  filter: contrast(1.05) saturate(1.08);
}

.profile-header {
  margin-top: -80px;
  position: relative;
  z-index: 10;
  padding-bottom: 32px;
}

.profile-header-card {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.profile-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 4px solid var(--bg-primary);
  margin-top: -20px;
  overflow: hidden;
  box-sizing: border-box;
}

.profile-logo--has-image {
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border: 4px solid var(--bg-primary);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 0 28px rgba(37, 99, 235, 0.08);
}

.profile-logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.profile-logo--initials {
  background: var(--ignite-gradient);
  color: #fff;
  font-size: var(--font-size-3xl);
  font-weight: 800;
}

.profile-logo-initials {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: -0.02em;
  line-height: 1;
}

.profile-info { flex: 1; min-width: 280px; }
.profile-info h1 { font-size: var(--font-size-3xl); font-weight: 800; margin-bottom: 8px; }
.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}
.profile-meta span { display: flex; align-items: center; gap: 6px; }

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding-bottom: 32px;
}

.profile-rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 80px;
}

.profile-split-row {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.profile-split-row > .profile-section,
.profile-split-row > .profile-reviews-block {
  margin-bottom: 0;
  min-width: 0;
}

.profile-gallery-block {
  min-width: 0;
}

.profile-split-row--gallery {
  align-items: start;
}

.profile-split-row--gallery .profile-lower-hours {
  align-self: start;
}

.profile-split-row--reviews .profile-lower-location {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-split-row--reviews .profile-lower-location .profile-map-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.profile-lower-location .profile-map {
  height: 260px;
  min-height: 220px;
}

.profile-lower-hours .hours-table {
  width: 100%;
}

.profile-section {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.profile-section h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
}
.service-item svg { color: var(--ignite-orange); flex-shrink: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: #0f172a;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

@media (max-width: 768px) {
  .gallery-item--featured {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(6px);
}

.gallery-lightbox__stage {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gallery-lightbox__img {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox__caption {
  margin: 0;
  max-width: 720px;
  text-align: center;
  font-size: var(--font-size-sm);
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.5;
}

.gallery-lightbox__counter {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
}

.gallery-lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.gallery-lightbox__nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.04);
}

.gallery-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-lightbox__nav--prev { left: 20px; }
.gallery-lightbox__nav--next { right: 20px; }

@media (max-width: 768px) {
  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .gallery-lightbox__nav--prev { left: 8px; }
  .gallery-lightbox__nav--next { right: 8px; }
  .gallery-lightbox__close { top: 12px; right: 12px; }
}

.hours-table { width: 100%; font-size: var(--font-size-sm); }
.hours-table tr { border-bottom: 1px solid var(--border-light); }
.hours-table td { padding: 10px 0; }
.hours-table td:last-child { text-align: right; font-weight: 500; }
.hours-table .today { color: var(--ignite-orange); font-weight: 600; }

.map-placeholder {
  height: 240px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-medium);
}

.profile-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-map {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  background: var(--bg-secondary);
}

.profile-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.profile-map-address {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.profile-map-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-primary);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.profile-map-link:hover {
  color: var(--brand-dark);
  opacity: 0.9;
}

.contact-card .contact-item a {
  color: var(--text-primary);
  font-weight: 600;
  transition: color 0.25s ease;
}

.contact-card .contact-item a:hover {
  color: var(--brand-primary);
}

.profile-instagram-link.profile-link--instagram,
.profile-external-link.profile-link--instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-actions .profile-link--instagram,
.profile-sticky-bar .profile-link--instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.profile-link--instagram svg {
  flex-shrink: 0;
}

.contact-item--external .profile-website-link,
.contact-item--external .profile-instagram-link {
  width: 100%;
}

.profile-sticky-bar .profile-link--instagram span {
  font-size: inherit;
}

.contact-card .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--font-size-sm);
}
.contact-card .contact-item:last-child { border-bottom: none; }
.contact-card .contact-item svg { color: var(--ignite-orange); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: var(--transition);
}
.social-links a:hover {
  border-color: var(--ignite-orange);
  color: var(--ignite-orange);
  background: var(--ignite-gradient-soft);
}

.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   REVIEWS PAGE
   ========================================================================== */
.review-compose {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.star-input {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.star-input button {
  color: var(--border-medium);
  transition: var(--transition);
  padding: 4px;
}
.star-input button:hover,
.star-input button.active { color: var(--star); transform: scale(1.1); }

.review-card {
  padding: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-sm); }

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.review-author-block {
  display: flex;
  gap: 12px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-full);
}

.review-body {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.helpful-btn:hover,
.helpful-btn.active {
  border-color: var(--ignite-orange);
  color: var(--ignite-orange);
  background: var(--ignite-gradient-soft);
}

.review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.review-filter-btn {
  padding: 8px 16px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: var(--transition);
}
.review-filter-btn.active,
.review-filter-btn:hover {
  background: var(--ignite-orange);
  border-color: var(--ignite-orange);
  color: #fff;
}

.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--font-size-sm);
}
.rating-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--ignite-gradient);
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

/* ==========================================================================
   DASHBOARD (User & Business)
   ========================================================================== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.dashboard-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-light);
  padding: 32px 20px;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 4px;
  transition: var(--transition);
}
.dashboard-nav a:hover,
.dashboard-nav a.active {
  background: var(--bg-primary);
  color: var(--ignite-orange);
  box-shadow: var(--shadow-sm);
}
.dashboard-nav a svg { width: 20px; height: 20px; flex-shrink: 0; }

.dashboard-main {
  padding: 32px 40px 80px;
  background: var(--bg-primary);
}

.dashboard-header {
  margin-bottom: 32px;
}
.dashboard-header h1 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin-bottom: 4px;
}
.dashboard-header p { color: var(--text-secondary); font-size: var(--font-size-sm); }

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.dash-stat-card {
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.dash-stat-card .label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.dash-stat-card .value {
  font-size: var(--font-size-2xl);
  font-weight: 800;
}
.dash-stat-card .change {
  font-size: var(--font-size-xs);
  margin-top: 8px;
  font-weight: 500;
}
.dash-stat-card .change.up { color: var(--success); }
.dash-stat-card .change.down { color: var(--danger); }

.dashboard-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.dashboard-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 20px;
}

.saved-list { display: flex; flex-direction: column; gap: 12px; }

.saved-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.saved-item:hover { background: var(--bg-tertiary); }

.saved-item-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ignite-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--font-size-sm);
}

.saved-item-info { flex: 1; }
.saved-item-info h4 { font-weight: 600; font-size: var(--font-size-sm); }
.saved-item-info p { font-size: var(--font-size-xs); color: var(--text-muted); }

.recent-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--font-size-sm);
}
.recent-search:last-child { border-bottom: none; }

.settings-form .form-group {
  margin-bottom: 20px;
}
.settings-form label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 8px;
}
.settings-form input {
  width: 100%;
  max-width: 400px;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
}
.settings-form input:focus { border-color: var(--ignite-orange); }

/* Business dashboard charts */
.chart-container {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 20px 0;
}

.chart-bar {
  flex: 1;
  background: var(--ignite-gradient);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  min-height: 20px;
  transition: height 0.6s ease;
  position: relative;
}
.chart-bar span {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.leads-table {
  width: 100%;
  font-size: var(--font-size-sm);
  border-collapse: collapse;
}
.leads-table th {
  text-align: left;
  padding: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
}
.leads-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border-light);
}
.leads-table tr:hover td { background: var(--bg-secondary); }

.status-badge {
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}
.status-new { background: rgba(37, 99, 235, 0.08); color: var(--brand-primary); }
.status-contacted { background: rgba(34, 197, 94, 0.1); color: var(--success); }
.status-pending { background: rgba(245, 158, 11, 0.1); color: var(--warning); }

.review-manage-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.review-manage-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 1400px) {
  .hero {
    --hero-min-h: 96vh;
  }

  .hero-canvas__photo {
    height: 115%;
    right: -2%;
  }
}

@media (max-width: 1024px) {
  .hero {
    --hero-min-h: 88vh;
    min-height: 88vh;
  }

  .hero .container {
    padding-bottom: 72px;
  }

  .hero-canvas__photo {
    top: 42%;
    right: 50%;
    height: 72%;
    max-width: 130%;
    transform: translate(48%, -50%);
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.4) 18%,
      #000 35%,
      #000 72%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.4) 18%,
      #000 35%,
      #000 72%,
      transparent 100%
    );
  }

  .hero-canvas__shade {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 20, 0.96) 0%,
      rgba(6, 12, 24, 0.88) 32%,
      rgba(8, 16, 32, 0.5) 52%,
      rgba(248, 250, 252, 0.98) 100%
    );
  }

  .hero-canvas__glow {
    opacity: 0.65;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .listings-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-split-row { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .dashboard-nav { display: flex; flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 1024px) {
  :root {
    --nav-height: 118px;
    --logo-height-nav: 96px;
  }

  .logo-img {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 100px;
    --logo-height-nav: 80px;
    --logo-height-footer: 64px;
  }

  .navbar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .navbar-inner {
    padding: 0 14px;
    gap: 12px;
    border-radius: 16px;
  }

  .nav-links a {
    padding: 8px 12px;
  }

  .logo {
    margin-right: 4px;
    max-width: min(320px, 58vw);
  }

  .logo-img {
    max-width: 100%;
  }

  .footer-brand .logo-img {
    max-width: 320px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-links, .nav-actions .btn-secondary { display: none; }
  .hamburger { display: flex; }

  .nav-actions .btn-primary {
    padding: 9px 14px;
    font-size: 0.7rem;
    border-radius: 10px;
  }
  .hero {
    --hero-min-h: 82vh;
    min-height: 82vh;
  }

  .hero .container {
    padding-bottom: 64px;
  }

  .hero-canvas__photo {
    top: 38%;
    height: 58vh;
    max-width: 160%;
    transform: translate(50%, -48%);
  }

  .hero .search-bar {
    flex-direction: column;
    padding: 10px;
  }

  .hero .search-field {
    width: 100%;
    border-right: none;
  }

  .hero .search-field:first-of-type {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .premium-select__menu {
    left: 0;
    right: 0;
    min-width: 100%;
  }

  .search-bar { flex-direction: column; }
  .search-field { border-right: none; border-bottom: 1px solid var(--border-light); }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .listings-grid.list-view .card { grid-template-columns: 1fr; }
  .profile-header-card { flex-direction: column; align-items: center; text-align: center; }
  .profile-meta, .profile-actions { justify-content: center; }
  .services-list, .gallery-grid { grid-template-columns: 1fr; }
  .dashboard-main { padding: 24px 20px; }
  .floating-emergency span { display: none; }
  .floating-emergency { padding: 14px; border-radius: 50%; }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 92px;
    --logo-height-nav: 72px;
  }

  .hero {
    --hero-min-h: 78vh;
    min-height: 78vh;
  }

  .hero-canvas__photo {
    height: 52vh;
    max-width: 180%;
  }

  .logo {
    max-width: min(280px, 62vw);
  }

  .container { padding: 0 16px; }
  section { padding: 56px 0; }
}

/* ==========================================================================
   PREMIUM NETWORK â€” Company cards, services, CTAs
   ========================================================================== */

.company-card-premium {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 250, 252, 0.95) 100%
  );
  border-radius: var(--radius-xl);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 28px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.company-card-premium:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 20px 48px rgba(37, 99, 235, 0.12);
}

.company-card-premium .company-card-image {
  position: relative;
  height: 188px;
  overflow: hidden;
  background: #0f172a;
}

.company-card-premium .company-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-card-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.08) 0%,
    rgba(15, 23, 42, 0.22) 100%
  );
  z-index: 1;
}

.company-card-image--branded img {
  filter: contrast(1.04) saturate(1.06);
}

.company-card-premium:hover .company-card-image img {
  transform: scale(1.04);
}

.company-card-premium .company-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.company-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.company-card-heading {
  min-width: 0;
  flex: 1;
}

.company-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.company-card-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.company-card-star {
  position: relative;
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.company-card-star svg {
  display: block;
  width: 14px;
  height: 14px;
}

.company-card-star__empty {
  color: #e2e8f0;
}

.company-card-star__empty svg {
  fill: currentColor;
}

.company-card-star__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--star-fill) * 100%);
  overflow: hidden;
  color: #f59e0b;
}

.company-card-star__fill svg {
  fill: currentColor;
  filter: drop-shadow(0 0 1px rgba(245, 158, 11, 0.25));
}

.company-card-rating-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
  line-height: 1;
}

.company-card-logo,
.company-card-logo-mark {
  --card-logo-size: 56px;
  width: var(--card-logo-size);
  height: var(--card-logo-size);
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
}

.company-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 4px 14px rgba(15, 23, 42, 0.06),
    0 0 20px rgba(37, 99, 235, 0.08);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.company-card-premium:hover .company-card-logo {
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 6px 18px rgba(37, 99, 235, 0.12),
    0 0 24px rgba(59, 130, 246, 0.1);
}

.company-card-logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.company-card-logo-mark {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 55%, #60a5fa 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-card-premium .company-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.company-card-premium .company-card-location {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.company-card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.company-card-service-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 6px 11px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  line-height: 1.2;
}

/* Featured cards â€” cleaner hierarchy, more breathing room */
#featured .company-card-premium .company-card-body {
  gap: 12px;
}

#featured .company-card-top {
  margin-bottom: 2px;
}

#featured .company-card-quick-tags {
  margin-top: 6px;
  margin-bottom: 0;
  gap: 6px;
}

#featured .company-card-actions {
  margin-top: 6px;
  padding-top: 18px;
}

/* Hero-style quick tags on featured cards */
.company-card-premium .company-card-quick-tags {
  gap: 6px;
}

.company-card-premium .company-card-quick-tags .search-tag--chip {
  display: inline-block;
  padding: 5px 11px;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  cursor: default;
  background: rgba(51, 65, 85, 0.07);
  color: rgba(71, 85, 105, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.company-card-premium .company-card-quick-tags .search-tag--chip:hover {
  cursor: pointer;
  background: rgba(51, 65, 85, 0.11);
  border-color: rgba(148, 163, 184, 0.42);
  color: rgba(51, 65, 85, 0.95);
}

.company-card-premium .company-card-quick-tags .search-tag--chip.is-active {
  background: rgba(51, 65, 85, 0.13);
  border-color: rgba(100, 116, 139, 0.5);
  color: rgba(30, 41, 59, 0.95);
}

.company-card-premium:hover .company-card-quick-tags .search-tag--chip:not(.is-active) {
  background: rgba(51, 65, 85, 0.09);
  border-color: rgba(148, 163, 184, 0.32);
}

.company-card-premium .company-card-tags {
  margin-bottom: 0;
}

.badge-featured {
  background: var(--ignite-gradient-soft);
  color: var(--brand-primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.badge-247 {
  background: rgba(34, 197, 94, 0.08);
  color: var(--success);
}

.company-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.company-card-actions .btn-call {
  flex: 1.15;
  min-width: 130px;
  padding: 11px 18px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 4px 14px rgba(37, 99, 235, 0.32);
}

.company-card-actions .btn-call:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 8px 24px rgba(37, 99, 235, 0.38);
}

.company-card-actions .btn-profile {
  flex: 1;
  min-width: 110px;
  padding: 11px 18px;
  font-weight: 600;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-light);
  color: var(--text-primary);
}

.company-card-actions .btn-profile:hover {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--brand-primary);
  background: rgba(37, 99, 235, 0.04);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

@media (max-width: 768px) {
  .company-card-logo,
  .company-card-logo-mark {
    --card-logo-size: 52px;
  }

  .company-card-logo {
    padding: 5px;
  }
}

@media (max-width: 480px) {
  .company-card-logo,
  .company-card-logo-mark {
    --card-logo-size: 48px;
  }

  .company-card-logo {
    padding: 4px;
    border-radius: 12px;
  }
}

/* Browse by service */
.services-browse-home__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.services-browse-toggle {
  min-width: 220px;
}

.services-browse-grid .service-browse-card--extra {
  transition:
    opacity 300ms ease,
    transform 300ms ease,
    max-height 300ms ease,
    padding 300ms ease,
    margin 300ms ease,
    border-width 300ms ease,
    visibility 300ms ease;
}

.services-browse-grid--collapsed .service-browse-card--extra {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  max-height: 0;
  min-height: 0;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border-width: 0;
  overflow: hidden;
  pointer-events: none;
  box-shadow: none;
}

.services-browse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .services-browse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services-browse-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.service-browse-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px 28px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 250, 252, 0.96) 100%
  );
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 6px 20px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
  text-align: left;
}

.service-browse-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 16px 40px rgba(37, 99, 235, 0.1);
  transform: translateY(-4px);
}

.service-browse-card:hover .service-browse-icon {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.14) 0%,
    rgba(96, 165, 250, 0.1) 100%
  );
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.12);
}

.service-browse-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 16px 0 8px;
  color: var(--text-primary);
}

.service-browse-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

.service-browse-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   SERVICES PAGE â€” Premium browse section
   ========================================================================== */

.services-page__section {
  position: relative;
  padding: 8px 0 24px;
  overflow: hidden;
}

.services-page__atmosphere {
  position: absolute;
  inset: -80px 0 0;
  pointer-events: none;
  z-index: 0;
}

.services-page__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  animation: services-page-glow-drift 14s ease-in-out infinite;
}

.services-page__glow--a {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 68%);
}

.services-page__glow--b {
  width: min(440px, 60vw);
  height: min(440px, 60vw);
  top: 28%;
  right: -12%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, transparent 70%);
  animation-delay: -5s;
}

.services-page__glow--c {
  width: min(360px, 50vw);
  height: min(360px, 50vw);
  bottom: 8%;
  left: 32%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, transparent 72%);
  animation-delay: -9s;
}

@keyframes services-page-glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -16px) scale(1.04); }
}

.services-page__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 20%, #000 20%, transparent 75%);
  opacity: 0.65;
}

.services-page__shape {
  position: absolute;
  opacity: 0.12;
  filter: blur(0.5px);
}

.services-page__shape--route {
  width: 280px;
  height: 280px;
  top: 18%;
  right: 8%;
  border: 2px dashed rgba(37, 99, 235, 0.35);
  border-radius: 50%;
  animation: services-page-shape-spin 48s linear infinite;
}

.services-page__shape--pin {
  width: 12px;
  height: 12px;
  top: 42%;
  right: 22%;
  background: rgba(37, 99, 235, 0.4);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.08);
  animation: services-page-pin-float 8s ease-in-out infinite;
}

@keyframes services-page-shape-spin {
  to { transform: rotate(360deg); }
}

@keyframes services-page-pin-float {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-8px); }
}

.services-page__inner {
  position: relative;
  z-index: 1;
}

.services-page__header {
  max-width: 720px;
  margin-bottom: 56px;
}

.services-page__subtitle {
  margin-bottom: 0 !important;
}

.services-page__grid {
  gap: 24px;
}

.services-page__grid .service-browse-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 28px 26px 30px;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
}

.services-page__grid .service-browse-card:nth-child(3n + 2) {
  margin-top: 10px;
}

.services-page__grid .service-browse-card:nth-child(3n) {
  margin-top: 4px;
}

.service-browse-card__glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(59, 130, 246, 0.14) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.services-page__grid .service-browse-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 24px 48px rgba(37, 99, 235, 0.14),
    0 0 40px rgba(59, 130, 246, 0.1);
}

.services-page__grid .service-browse-card:hover .service-browse-card__glow {
  opacity: 1;
}

.services-page__grid .service-browse-card:hover .service-browse-icon {
  transform: translateY(-3px) scale(1.04);
  animation: services-page-icon-pulse 2.2s ease-in-out infinite;
}

@keyframes services-page-icon-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(37, 99, 235, 0)); }
  50% { filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.35)); }
}

.services-page__grid .service-browse-card--v0 {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(248, 250, 252, 0.97) 100%
  );
}

.services-page__grid .service-browse-card--v1 {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(239, 246, 255, 0.92) 100%
  );
  border-color: rgba(191, 219, 254, 0.5);
}

.services-page__grid .service-browse-card--v2 {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(241, 245, 249, 0.95) 100%
  );
}

.services-page__grid .service-browse-icon,
.services-page__grid .service-browse-title,
.services-page__grid .service-browse-desc {
  position: relative;
  z-index: 1;
}

.services-page__grid .service-browse-icon--v0 {
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(96, 165, 250, 0.06) 100%);
}

.services-page__grid .service-browse-icon--v1 {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.services-page__grid .service-browse-icon--v2 {
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(147, 197, 253, 0.45);
}

.services-page__card-reveal {
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-page__card-reveal.visible {
  transform: translateY(0);
}

.services-page__cta {
  text-align: center;
  margin-top: 64px;
}

.services-page__cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 18px 36px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #3b82f6 100%);
  border: none;
  box-shadow:
    0 4px 14px rgba(37, 99, 235, 0.35),
    0 0 32px rgba(59, 130, 246, 0.2);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-page__cta-text {
  position: relative;
  z-index: 1;
}

.services-page__cta-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 45%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.services-page__cta-arrow {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-page__cta-btn:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 28px rgba(37, 99, 235, 0.45),
    0 0 48px rgba(59, 130, 246, 0.35);
}

.services-page__cta-btn:hover .services-page__cta-shine {
  left: 120%;
}

.services-page__cta-btn:hover .services-page__cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .services-page__grid .service-browse-card:nth-child(3n + 2),
  .services-page__grid .service-browse-card:nth-child(3n) {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .services-page__header {
    margin-bottom: 40px;
  }

  .services-page__grid {
    gap: 16px;
  }

  .services-page__cta {
    margin-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-page__glow,
  .services-page__shape--route,
  .services-page__shape--pin {
    animation: none;
  }

  .services-page__grid .service-browse-card:hover .service-browse-icon {
    animation: none;
  }

  .services-page__cta-shine {
    display: none;
  }
}

/* Why / benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 32px 28px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.benefit-card h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin: 16px 0 10px;
}

.benefit-card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

.benefit-num {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--brand-primary);
}

/* Why section â€” cinematic editorial storytelling */
section.why-story {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #eef4ff 38%,
    #f1f5f9 72%,
    #ffffff 100%
  );
}

.why-story__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.why-story__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: why-story-glow-drift 18s ease-in-out infinite alternate;
}

.why-story__glow--a {
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  top: 8%;
  left: -12%;
  background: rgba(37, 99, 235, 0.22);
}

.why-story__glow--b {
  width: min(480px, 50vw);
  height: min(480px, 50vw);
  bottom: 5%;
  right: -10%;
  background: rgba(96, 165, 250, 0.18);
  animation-delay: -6s;
}

@keyframes why-story-glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3%, -2%) scale(1.08); }
}

.why-story__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  opacity: 0.5;
}

.why-story__intro {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-bottom: 72px;
}

.why-story__headline {
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: 12px;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 55%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-story__chapters {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.why-story__chapter {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  opacity: 0.92;
  transition: opacity 0.6s ease;
}

.why-story__chapter.is-inview {
  opacity: 1;
}

.why-story__chapter--flip .why-story__visual {
  order: 2;
}

.why-story__chapter--flip .why-story__copy {
  order: 1;
}

.why-story__visual {
  position: relative;
}

.why-story__frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  background: linear-gradient(145deg, #1e3a8a 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.08),
    0 24px 64px rgba(15, 23, 42, 0.14),
    0 0 80px rgba(37, 99, 235, 0.12);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.7s ease;
}

.why-story__chapter--flip .why-story__frame {
  transform: perspective(1200px) rotateY(2deg) rotateX(1deg);
}

.why-story__chapter.is-inview .why-story__frame {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 32px 72px rgba(15, 23, 42, 0.16),
    0 0 96px rgba(59, 130, 246, 0.18);
}

.why-story__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
  transition: transform 0.15s linear;
  will-change: transform;
}

.why-story__img--search {
  object-position: 42% 50%;
  filter: contrast(1.04) saturate(1.06);
}

.why-story__img--providers {
  object-position: 48% 48%;
  filter: contrast(1.04) saturate(1.05);
}

.why-story__img--roadside {
  object-position: 40% 52%;
  filter: contrast(1.05) saturate(1.06);
}

.why-story__chapter[data-chapter="1"] .why-story__frame,
.why-story__chapter[data-chapter="2"] .why-story__frame,
.why-story__chapter[data-chapter="3"] .why-story__frame {
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.7s ease;
}

.why-story__chapter[data-chapter="1"].is-inview .why-story__frame:hover,
.why-story__chapter[data-chapter="2"].is-inview .why-story__frame:hover,
.why-story__chapter[data-chapter="3"].is-inview .why-story__frame:hover {
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.16),
    0 36px 80px rgba(15, 23, 42, 0.18),
    0 0 110px rgba(59, 130, 246, 0.22);
}

.why-story__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 40%,
    transparent 62%,
    rgba(15, 23, 42, 0.22) 100%
  );
  pointer-events: none;
}

.why-story__shine {
  position: absolute;
  top: -50%;
  left: -30%;
  z-index: 1;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 60%
  );
  transform: rotate(12deg);
  pointer-events: none;
  opacity: 0.45;
}

.why-story__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: why-story-orb-float 9s ease-in-out infinite;
}

.why-story__orb--1 {
  width: 120px;
  height: 120px;
  top: -20px;
  right: -24px;
  background: rgba(59, 130, 246, 0.35);
}

.why-story__orb--2 {
  width: 100px;
  height: 100px;
  bottom: -16px;
  left: -20px;
  background: rgba(37, 99, 235, 0.3);
  animation-delay: -3s;
}

.why-story__orb--3 {
  width: 110px;
  height: 110px;
  top: 12%;
  right: -18px;
  background: rgba(96, 165, 250, 0.32);
  animation-delay: -5s;
}

@keyframes why-story-orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -10px); }
}

.why-story__float-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  animation: why-story-card-float 6s ease-in-out infinite;
}

.why-story__chapter--flip .why-story__float-card {
  left: auto;
  right: 20px;
}

.why-story__float-card span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 2px;
}

.why-story__float-card strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

@keyframes why-story-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.why-story__copy {
  padding: 8px 0 8px 12px;
}

.why-story__chapter--flip .why-story__copy {
  padding: 8px 12px 8px 0;
}

.why-story__copy.reveal {
  transform: translateX(-28px);
  opacity: 0;
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-story__chapter--flip .why-story__copy.reveal {
  transform: translateX(28px);
}

.why-story__copy.reveal.visible {
  transform: translateX(0);
  opacity: 1;
}

.why-story__visual.reveal {
  transform: translateY(40px) scale(0.97);
  opacity: 0;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-story__visual.reveal.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.why-story__visual.reveal.visible .why-story__img {
  transform: scale(1.05);
}

.why-story__index {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.why-story__title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 20px;
}

.why-story__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  max-width: 440px;
}

@media (max-width: 960px) {
  section.why-story {
    padding: 72px 0 88px;
  }

  .why-story__intro {
    margin-bottom: 48px;
  }

  .why-story__chapters {
    gap: 72px;
  }

  .why-story__chapter,
  .why-story__chapter--flip {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-story__chapter--flip .why-story__visual,
  .why-story__chapter--flip .why-story__copy {
    order: unset;
  }

  .why-story__copy,
  .why-story__chapter--flip .why-story__copy {
    padding: 0;
    text-align: center;
  }

  .why-story__text {
    max-width: none;
    margin: 0 auto;
  }

  .why-story__frame {
    transform: none;
  }

  .why-story__chapter.is-inview .why-story__frame {
    transform: none;
  }

  .why-story__copy.reveal,
  .why-story__chapter--flip .why-story__copy.reveal {
    transform: translateY(24px);
  }

  .why-story__copy.reveal.visible {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-story__glow,
  .why-story__orb,
  .why-story__float-card {
    animation: none;
  }

  .why-story__img {
    transform: scale(1.05) !important;
  }

  .why-story__visual.reveal,
  .why-story__copy.reveal {
    transform: none;
  }
}

/* Provider CTA block */
.provider-cta-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}

.provider-cta-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.provider-cta-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.provider-cta-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

/* Network overview card (provider CTA â€” right column) */
.network-overview-card {
  position: relative;
  margin: 0;
  padding: 32px 28px 30px;
  overflow: hidden;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 250, 252, 0.92) 100%
  );
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(37, 99, 235, 0.1),
    0 0 48px rgba(59, 130, 246, 0.06);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}

.network-overview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05) 0%,
    transparent 50%,
    rgba(96, 165, 250, 0.04) 100%
  );
  pointer-events: none;
}

.network-overview-card:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.05) inset,
    0 16px 48px rgba(37, 99, 235, 0.14),
    0 0 56px rgba(59, 130, 246, 0.1);
  transform: translateY(-3px);
}

.network-overview-card__label {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.network-overview-card__title {
  position: relative;
  z-index: 1;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.network-overview-card__desc {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 22px;
}

.network-service-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.network-service-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.network-service-list__item:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.network-service-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--brand-primary);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12) 0%,
    rgba(96, 165, 250, 0.08) 100%
  );
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}

.network-service-list__item:hover .network-service-list__icon {
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.2);
}

@media (max-width: 768px) {
  .network-overview-card {
    padding: 28px 22px 26px;
  }

  .network-overview-card:hover {
    transform: none;
  }

  .network-service-list__item:hover {
    transform: none;
  }
}

/* Sticky mobile Call Now */
.floating-call {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
  transition: var(--transition);
}

.floating-call:hover {
  background: var(--brand-dark);
  transform: translateX(-50%) translateY(-2px);
}

.floating-call.visible-mobile {
  display: inline-flex;
}

@media (min-width: 769px) {
  .floating-call.visible-mobile { display: none; }
}

/* Profile mini-site */
.profile-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.25) 42%,
    transparent 68%
  );
}

.profile-banner--branded .profile-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.35) 38%,
    rgba(37, 99, 235, 0.08) 55%,
    transparent 72%
  );
}

.profile-banner { position: relative; }

.profile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  z-index: 900;
  gap: 10px;
}

.profile-sticky-bar .btn { flex: 1; }

.profile-rating-header {
  margin-top: 10px;
}

.profile-rating-header .company-card-rating {
  margin-top: 0;
}

/* Profile â€” customer reviews */
.profile-reviews-block {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  min-width: 0;
}

.profile-reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.profile-reviews-col--list {
  min-width: 0;
}

.profile-reviews-col--form {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.profile-reviews-head {
  margin-bottom: 20px;
}

.profile-reviews-head h3 {
  margin-bottom: 6px;
}

.profile-reviews-summary {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.profile-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: min(520px, 60vh);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.25) transparent;
}

.profile-reviews-list::-webkit-scrollbar {
  width: 6px;
}

.profile-reviews-list::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.2);
  border-radius: 999px;
}

.profile-reviews-empty {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 18px 20px;
  margin: 0;
  border: 1px dashed rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--bg-secondary) 0%, rgba(248, 250, 252, 0.9) 100%);
  line-height: 1.55;
}

.profile-review-card {
  margin-bottom: 0;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: var(--bg-primary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition:
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-review-card .review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.profile-review-card:hover {
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.profile-review-card .review-body {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.review-card-meta {
  min-width: 0;
}

.review-card-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.review-card-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.review-card-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}

.review-card-star {
  display: inline-flex;
  color: #e2e8f0;
  width: 14px;
  height: 14px;
}

.review-card-star svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.review-card-star.is-filled {
  color: #f59e0b;
}

.review-card-date {
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .profile-rows {
    gap: 24px;
  }

  .profile-split-row {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .profile-reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-reviews-col--form {
    position: static;
  }

  .profile-reviews-list {
    max-height: none;
    overflow: visible;
  }
}

.profile-review-form {
  padding: 22px 20px;
  max-width: 100%;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(248, 250, 252, 0.96) 100%
  );
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 28px rgba(37, 99, 235, 0.06);
}

.profile-review-form-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.profile-review-form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 22px;
  line-height: 1.5;
}

.profile-review-field {
  margin-bottom: 18px;
}

.profile-review-field label,
.profile-review-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.profile-review-optional {
  font-weight: 500;
  color: var(--text-muted);
}

.profile-review-field input,
.profile-review-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.profile-review-field input:focus,
.profile-review-field textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.profile-review-field textarea {
  resize: vertical;
  min-height: 108px;
  line-height: 1.6;
}

.profile-review-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-review-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #e2e8f0;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease,
    background 0.25s ease;
}

.profile-review-star svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.profile-review-star:hover,
.profile-review-star.is-hover {
  transform: scale(1.08);
  background: rgba(37, 99, 235, 0.06);
}

.profile-review-star.is-filled {
  color: #f59e0b;
}

.profile-review-star:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.profile-review-stars-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 8px 0 0;
}

.profile-review-error {
  font-size: 0.8125rem;
  color: #dc2626;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.profile-review-success {
  font-size: 0.8125rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(96, 165, 250, 0.06) 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.profile-review-error.is-hidden,
.profile-review-success.is-hidden {
  display: none;
}

.profile-reviews-sidebar h3 {
  margin-bottom: 14px;
}

.profile-reviews-sidebar-rating .company-card-rating {
  margin-top: 0;
}

.profile-reviews-sidebar-cta {
  width: 100%;
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .profile-sticky-bar { display: flex; }
  .benefits-grid { grid-template-columns: 1fr; }
  .provider-cta-block { grid-template-columns: 1fr; padding: 32px 24px; }
  .company-card-actions { flex-direction: column; }
  .company-card-actions .btn { width: 100%; }
  .listings-grid.list-view .company-card-premium { flex-direction: column; }
}

/* Page content (About, Contact, List) */
.page-content {
  padding: calc(var(--nav-height) + 48px) 0 80px;
}

.content-block {
  max-width: 720px;
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--brand-primary);
}

.form-grid textarea {
  resize: none;
  overflow-y: auto;
}

.listings-simple .filters-sidebar {
  padding: 24px 22px;
}

.listings-simple .filter-group {
  margin-bottom: 26px;
  padding-bottom: 26px;
}

/* --- About page (premium landing composition) --- */
.page-content--about {
  padding: calc(var(--nav-height) + 28px) 0 56px;
  overflow: hidden;
}

.about-section {
  position: relative;
  isolation: isolate;
}

.about-section__atmosphere {
  position: absolute;
  inset: -8% -4% -12%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(165deg, #f1f5f9 0%, #ffffff 38%, #f8fafc 100%);
}

.about-section__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 45%, #000 20%, transparent 72%);
  opacity: 0.55;
}

.about-section__noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.about-section__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.about-section__glow--left {
  width: min(480px, 55vw);
  height: min(480px, 55vw);
  left: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, transparent 68%);
}

.about-section__glow--right {
  width: min(560px, 62vw);
  height: min(560px, 62vw);
  right: -6%;
  top: 18%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
  animation: about-glow-drift 12s ease-in-out infinite;
}

.about-section__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 40%, rgba(248, 250, 252, 0.65) 100%);
}

@keyframes about-glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-12px, 8px) scale(1.05); opacity: 1; }
}

.about-section__inner {
  position: relative;
  z-index: 1;
}

.about-section__panel {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.58) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.06),
    0 4px 24px rgba(15, 23, 42, 0.04),
    0 24px 64px rgba(37, 99, 235, 0.06);
}

.about-section__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    transparent 28%
  );
  pointer-events: none;
}

.about-section__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: center;
}

.about-section__copy.content-block {
  max-width: none;
  position: relative;
  z-index: 2;
  padding-right: clamp(0px, 2vw, 16px);
}

.about-section__header {
  margin-bottom: 22px;
}

.about-section__label {
  margin-bottom: 14px;
}

.about-section__accent {
  width: 48px;
  height: 2px;
  margin-bottom: 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--brand-primary) 0%, rgba(96, 165, 250, 0.35) 100%);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
}

.about-section__title-wrap {
  position: relative;
}

.about-section__title-wrap::before {
  content: '';
  position: absolute;
  left: -12px;
  top: -8px;
  width: min(320px, 100%);
  height: 120%;
  background: radial-gradient(ellipse 80% 70% at 0% 40%, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.about-section__title.section-title {
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 0;
  max-width: 11.5ch;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-section__prose {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 38ch;
  padding-bottom: 4px;
}

.about-section__prose p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.about-section__flow {
  margin-top: 6px !important;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(96, 165, 250, 0.04) 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  font-size: 0.875rem !important;
  letter-spacing: 0.01em;
}

.about-section__flow strong {
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(90deg, #1e40af, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-section__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
}

.about-section__cta .btn-secondary {
  margin-left: 0;
}

.about-section__visual {
  margin: 0;
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section__visual.reveal {
  transform: translateX(36px) scale(0.97);
  opacity: 0;
}

.about-section__visual.reveal.visible {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.about-section__stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  transform: translateX(clamp(-8px, -1.5vw, 0px));
}

.about-section__backdrop {
  position: absolute;
  inset: 8% -6% -8% 12%;
  z-index: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  opacity: 0.55;
  transform: scale(1.06) rotate(-1.5deg);
  filter: blur(28px) saturate(1.15);
  animation: about-backdrop-float 11s ease-in-out infinite;
}

.about-section__backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.about-section__glow-ring {
  position: absolute;
  inset: -6% -4%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.32) 0%, transparent 62%);
  filter: blur(36px);
  opacity: 0.8;
  animation: about-glow-ring-pulse 9s ease-in-out infinite;
  pointer-events: none;
}

.about-section__orb {
  position: absolute;
  width: 140px;
  height: 140px;
  right: 4%;
  bottom: 12%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.4) 0%, transparent 68%);
  filter: blur(20px);
  animation: about-orb-float 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes about-glow-ring-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.06); }
}

@keyframes about-orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -12px); }
}

@keyframes about-backdrop-float {
  0%, 100% { transform: scale(1.06) rotate(-1.5deg) translateY(0); }
  50% { transform: scale(1.08) rotate(-0.5deg) translateY(-8px); }
}

.about-section__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  min-height: 280px;
  background: linear-gradient(145deg, #1e3a8a 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 8px 32px rgba(15, 23, 42, 0.08),
    0 28px 72px rgba(15, 23, 42, 0.14),
    0 0 100px rgba(37, 99, 235, 0.16);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section__visual.reveal.visible .about-section__frame {
  animation: about-frame-float 10s ease-in-out infinite;
}

@keyframes about-frame-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.25deg); }
}

.about-section__frame:hover {
  animation: none;
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.2),
    0 12px 40px rgba(15, 23, 42, 0.1),
    0 36px 88px rgba(15, 23, 42, 0.16),
    0 0 120px rgba(59, 130, 246, 0.24);
}

.about-section__frame:hover .about-section__img {
  transform: scale(1.06);
}

.about-section__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  display: block;
  transform: scale(1.04);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.about-section__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 36%,
    transparent 55%,
    rgba(15, 23, 42, 0.14) 100%
  );
}

.about-section__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.28) 0%,
    transparent 32%,
    transparent 100%
  );
  opacity: 0.6;
}

.about-section__edge {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
  .about-section__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .about-section__stage {
    max-width: 100%;
    transform: none;
  }
}

@media (max-width: 960px) {
  .page-content--about {
    padding: calc(var(--nav-height) + 24px) 0 48px;
  }

  .about-section__panel {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .about-section__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-section__copy {
    padding-right: 0;
  }

  .about-section__title.section-title {
    max-width: none;
  }

  .about-section__prose {
    max-width: none;
  }

  .about-section__visual {
    order: 2;
    justify-content: center;
  }

  .about-section__visual.reveal {
    transform: translateY(28px) scale(0.98);
  }

  .about-section__visual.reveal.visible {
    transform: translateY(0) scale(1);
  }

  .about-section__stage {
    margin: 0 auto;
  }

  .about-section__backdrop {
    inset: 6% 4% -6% 4%;
  }

  .about-section__frame {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  .about-section__cta {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section__glow--right,
  .about-section__glow-ring,
  .about-section__orb,
  .about-section__backdrop,
  .about-section__visual.reveal.visible .about-section__frame {
    animation: none;
  }

  .about-section__frame:hover {
    transform: none;
  }

  .about-section__visual.reveal {
    transform: none;
  }

  .about-section__img {
    transform: scale(1.04) !important;
  }
}

/* Contact / listing request page — premium layout */
.page-content--contact {
  position: relative;
  padding: calc(var(--nav-height) + 24px) 0 56px;
  overflow: hidden;
  animation: contact-page-enter 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes contact-page-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-page__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact-page__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 15%, transparent 72%);
  opacity: 0.65;
}

.contact-page__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  animation: contact-glow-drift 14s ease-in-out infinite;
}

.contact-page__glow--a {
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  left: -10%;
  top: 6%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, transparent 68%);
}

.contact-page__glow--b {
  width: min(440px, 50vw);
  height: min(440px, 50vw);
  right: -4%;
  top: 28%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, transparent 65%);
  animation-delay: -5s;
}

.contact-page__shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.08);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  animation: contact-shape-float 12s ease-in-out infinite;
}

.contact-page__shape--1 {
  width: 140px;
  height: 140px;
  left: 8%;
  bottom: 22%;
  opacity: 0.5;
}

.contact-page__shape--2 {
  width: 88px;
  height: 88px;
  left: 38%;
  top: 18%;
  opacity: 0.35;
  animation-delay: -4s;
}

@keyframes contact-glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(12px, -8px) scale(1.05); opacity: 1; }
}

@keyframes contact-shape-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.contact-page__container {
  position: relative;
  z-index: 1;
}

.contact-page__hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(32px, 4vw, 44px);
}

/* Hero copy panel */
.contact-page__hero-copy {
  position: relative;
  max-width: none;
  margin: 0;
}

.contact-page__hero-glow {
  position: absolute;
  inset: -12% -8% -16% -12%;
  z-index: 0;
  border-radius: 28px;
  background: radial-gradient(ellipse 80% 70% at 20% 40%, rgba(37, 99, 235, 0.12) 0%, transparent 68%);
  pointer-events: none;
  animation: contact-hero-glow-pulse 10s ease-in-out infinite;
}

@keyframes contact-hero-glow-pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.contact-page__hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(8px, 1.5vw, 16px) 0;
}

.contact-page__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(96, 165, 250, 0.06) 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
}

.contact-page__hero-copy .section-label {
  margin-bottom: 10px;
}

.contact-page__title.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 14ch;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-page__lead {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.72;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  max-width: 42ch;
}

.contact-page__benefits {
  margin-top: 22px;
  gap: 12px;
}

.contact-page__benefits.provider-cta-list li::before {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.28);
}

.contact-page__benefits.provider-cta-list li {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Glass form card */
.contact-page__form-col {
  margin: 0;
}

.contact-page__form-card.profile-section {
  margin: 0;
  padding: clamp(32px, 3.5vw, 40px);
  border-radius: 24px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(248, 250, 252, 0.88) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.08),
    0 4px 16px rgba(15, 23, 42, 0.04),
    0 20px 56px rgba(37, 99, 235, 0.1),
    0 0 80px rgba(59, 130, 246, 0.06);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.contact-page__form-card:hover {
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 8px 24px rgba(15, 23, 42, 0.06),
    0 28px 64px rgba(37, 99, 235, 0.12),
    0 0 96px rgba(59, 130, 246, 0.1);
}

.contact-page__form-title {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.contact-page__form-grid {
  max-width: none;
  gap: 22px;
}

.contact-page__label {
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.contact-page__form-grid input,
.contact-page__form-grid textarea,
.contact-page__form-grid select {
  padding: 15px 17px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.contact-page__form-grid input:hover,
.contact-page__form-grid textarea:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: #fff;
}

.contact-page__form-grid input:focus,
.contact-page__form-grid textarea:focus {
  border-color: var(--brand-primary);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.12),
    0 4px 12px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.contact-page__form-status {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.contact-page__form-status--success {
  color: #166534;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
}

.contact-page__form-status--error {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.22);
}

.contact-page__submit.btn-primary:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.contact-page__submit.btn-primary {
  width: 100%;
  margin-top: 4px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #3b82f6 100%);
  box-shadow:
    0 4px 14px rgba(37, 99, 235, 0.35),
    0 8px 32px rgba(37, 99, 235, 0.22);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.contact-page__submit.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(37, 99, 235, 0.4),
    0 16px 48px rgba(37, 99, 235, 0.28);
}

.contact-page__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 4px;
}

.contact-page__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-full);
  letter-spacing: -0.01em;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-page__trust-badge svg {
  flex-shrink: 0;
  color: var(--brand-primary);
}

.contact-page__trust-badge:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}

/* Bottom feature cards */
.contact-page__cards {
  margin: 0 -24px;
  padding: clamp(36px, 4.5vw, 52px) 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(241, 245, 249, 0.6) 100%);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.contact-page__feature.benefit-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-page__feature.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
}

.contact-page__feature h4 {
  margin-top: 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

@media (max-width: 960px) {
  .page-content--contact {
    padding: calc(var(--nav-height) + 20px) 0 48px;
  }

  .contact-page__hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .contact-page__title.section-title {
    max-width: none;
  }

  .contact-page__lead {
    max-width: none;
  }

  .contact-page__shape--1,
  .contact-page__shape--2 {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact-page__cards .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-page__trust {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-page__trust-badge {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-content--contact,
  .contact-page__glow,
  .contact-page__shape,
  .contact-page__hero-glow {
    animation: none;
  }

  .contact-page__submit.btn-primary:hover,
  .contact-page__feature.benefit-card:hover {
    transform: none;
  }

  .contact-page__form-grid input:focus,
  .contact-page__form-grid textarea:focus {
    transform: none;
  }
}

/* Profile showcase styles: css/profile-showcase.css (profile.html only) */
