/* ============================================================
   AMS Future Appliance Repair Services — Main Stylesheet
   Design System: 3D Premium · Dallas TX · puls.com-inspired
   ============================================================ */

/* Fonts (Inter + Outfit) are loaded with <link> tags in each page's <head> for faster rendering. */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --primary:        #0057FF;
  --primary-dark:   #003EC2;
  --primary-light:  #4d8bff;
  --accent:         #FF6B2B;
  --accent-dark:    #d94f0e;
  --success:        #10B981;
  --warning:        #F59E0B;

  /* Neutrals */
  --dark:           #0D1117;
  --dark-2:         #1A2230;
  --dark-3:         #243044;
  --mid:            #4A5568;
  --light-mid:      #718096;
  --border:         #E2E8F0;
  --light-bg:       #F7F9FC;
  --white:          #FFFFFF;

  /* 3D Shadow System */
  --shadow-sm:   0 2px 8px rgba(0,87,255,0.08);
  --shadow-md:   0 8px 32px rgba(0,87,255,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:   0 20px 60px rgba(0,87,255,0.15), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-3d:   0 10px 0 rgba(0,50,180,0.3), 0 12px 20px rgba(0,0,0,0.2);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-hover: 0 24px 64px rgba(0,87,255,0.18), 0 8px 24px rgba(0,0,0,0.1);

  /* Typography */
  --font-body:  'Inter', sans-serif;
  --font-head:  'Outfit', sans-serif;

  /* Spacing */
  --section-py: 96px;
  --container:  1200px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur:        0.3s;
}

/* ---------- 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-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-py) 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,87,255,0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  will-change: background-color, box-shadow;
}

#navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}


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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mid);
  transition: color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--primary); }

.nav-links .active { color: var(--primary); }

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

.nav-phone {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-phone:hover { color: var(--primary); }

/* Mobile Menu Toggle — Modern Stacked Lines Style */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px 12px;
  background: #EDF2FB;
  border: 1.5px solid #D1DCF0;
  border-radius: 10px;
  width: 44px;
  height: 40px;
  box-sizing: border-box;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.hamburger:hover {
  background: #e0e9f8;
  box-shadow: 0 2px 8px rgba(0,87,255,0.10);
}
.hamburger span {
  display: block;
  height: 2.2px;
  background: var(--primary);
  border-radius: 3px;
  transition: all var(--dur) var(--ease);
  transform-origin: center;
}
.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 75%; }
.hamburger span:nth-child(3) { width: 50%; }

.hamburger.open span:nth-child(1) { width: 100%; transform: translateY(7.2px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { width: 100%; transform: translateY(-7.2px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: #fff;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li { border-bottom: 1px solid var(--border); }
.mobile-nav ul li a {
  display: block;
  padding: 14px 0;
  font-weight: 500;
  color: var(--dark);
  font-size: 1rem;
}
.mobile-nav .mobile-cta { margin-top: 20px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--dur) var(--ease-spring);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 0 var(--primary-dark), var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--primary-dark), var(--shadow-hover);
}
.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--primary-dark), var(--shadow-sm);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 6px 0 var(--accent-dark), var(--shadow-md);
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--accent-dark), var(--shadow-hover);
}
.btn-accent:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--accent-dark), var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 0 rgba(0,0,0,0.15), var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 rgba(0,0,0,0.15), var(--shadow-hover);
}

.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0D1117 0%, #1A2230 40%, #0d2050 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  filter: blur(0.5px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,17,23,0.92) 0%,
    rgba(0,57,200,0.6) 60%,
    rgba(13,17,23,0.4) 100%
  );
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,87,255,0.3);
  animation: float-particle linear infinite;
}
.particle:nth-child(1) { width:8px;height:8px; left:10%;animation-duration:12s;animation-delay:0s; }
.particle:nth-child(2) { width:14px;height:14px; left:25%;animation-duration:18s;animation-delay:-3s; }
.particle:nth-child(3) { width:6px;height:6px; left:50%;animation-duration:10s;animation-delay:-6s; }
.particle:nth-child(4) { width:10px;height:10px; left:75%;animation-duration:15s;animation-delay:-2s; }
.particle:nth-child(5) { width:5px;height:5px; left:90%;animation-duration:20s;animation-delay:-8s; }

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 80px 0;
}

.hero-text { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,87,255,0.2);
  border: 1px solid rgba(0,87,255,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7EB5FF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px #10B981; }
  50% { box-shadow: 0 0 20px #10B981, 0 0 40px rgba(16,185,129,0.4); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #4d8bff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item .icon { color: var(--success); font-size: 1rem; }

.hero-card {
  position: relative;
}

.booking-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,87,255,0.1);
  backdrop-filter: blur(20px);
  animation: float-card 6s ease-in-out infinite;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 576px) {
  .booking-card {
    padding: 24px 16px;
    border-radius: 18px;
    animation: none; /* disable floating motion on touch screens */
  }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.card-header {
  margin-bottom: 28px;
  text-align: center;
}
.card-header h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.card-header p { color: var(--light-mid); font-size: 0.9rem; }

.form-group { margin-bottom: 16px; width: 100%; box-sizing: border-box; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group select, .form-group input, .select-wrap select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--light-bg);
  transition: border-color var(--dur) var(--ease);
  appearance: none;
  -webkit-appearance: none;
  text-overflow: ellipsis;
}
.form-group select:focus, .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.form-group .select-wrap { position: relative; width: 100%; max-width: 100%; box-sizing: border-box; }
.form-group .select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-mid);
  pointer-events: none;
}

.booking-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.stat-mini {
  text-align: center;
  padding: 10px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
}
.stat-mini .num {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-mini .lbl { font-size: 0.7rem; color: var(--light-mid); }

/* Floating badges on card */
.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float-badge 4s ease-in-out infinite;
}
.floating-badge.top-left  { top: 12px; left: 12px; animation-delay: -1s; }
.floating-badge.bot-right { bottom: 12px; right: 12px; animation-delay: -2s; }
@keyframes float-badge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--dark);
  padding: 20px 0;
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.trust-bar-item .icon {
  font-size: 1.2rem;
  color: var(--primary-light);
}

.trust-separator {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.2);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-tag {
  display: inline-block;
  background: rgba(0,87,255,0.08);
  color: var(--primary);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--light-mid);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.section-header { text-align: center; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ============================================================
   BRANDS SECTION
   ============================================================ */
.brands-section { background: #fff; }

.brands-tabs {
  display: flex;
  gap: 4px;
  background: var(--light-bg);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 40px;
  width: fit-content;
}
.brand-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  color: var(--light-mid);
  border: none;
  background: transparent;
}
.brand-tab.active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.brand-pill {
  background: var(--light-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  cursor: default;
  transition: all var(--dur) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.brand-pill:hover {
  border-color: var(--primary);
  background: rgba(0,87,255,0.04);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.brand-pill.premium {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.04);
  color: #92400e;
}
.brand-pill.premium:hover {
  border-color: var(--warning);
  background: rgba(245,158,11,0.08);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: linear-gradient(135deg, #0D1117 0%, #0d2050 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,87,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-image-wrap {
  position: relative;
}

.why-image {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(0,87,255,0.3);
}

.why-stats-overlay {
  position: absolute;
  bottom: -24px;
  left: -24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-card .stat-label { font-size: 0.75rem; color: var(--light-mid); margin-top: 4px; }

.why-features { list-style: none; }
.why-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.why-feature:last-child { border-bottom: none; }

.why-feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: rgba(0,87,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(0,87,255,0.4);
}

.why-feature-text h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.why-feature-text p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas-section { background: var(--light-bg); }

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

.area-map-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border);
}

.map-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.map-header h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.map-header p { font-size: 0.85rem; opacity: 0.8; }

.map-visual {
  padding: 24px;
  background: #f0f4ff;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-circle {
  position: relative;
  width: 220px;
  height: 220px;
}

.map-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(0,87,255,0.2);
  animation: spin-slow 20s linear infinite;
}
.map-ring:nth-child(2) {
  inset: 30px;
  border-color: rgba(0,87,255,0.3);
  animation-direction: reverse;
  animation-duration: 15s;
}
.map-ring:nth-child(3) {
  inset: 60px;
  border-color: rgba(0,87,255,0.5);
  animation-duration: 10s;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

.map-center {
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(0,87,255,0.15), 0 0 0 16px rgba(0,87,255,0.08);
}

.area-dots {
  position: absolute;
  inset: 0;
}
.area-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-dot 2s infinite;
}

.area-list-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.area-list-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
  transition: all var(--dur) var(--ease);
  cursor: default;
}
.area-item:hover {
  background: rgba(0,87,255,0.06);
  color: var(--primary);
}
.area-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.area-item.featured { font-weight: 700; }
.area-item.featured .dot { background: var(--accent); width: 10px; height: 10px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: #fff; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 0 var(--primary-dark), var(--shadow-md);
  transition: transform var(--dur) var(--ease-spring);
  border: 4px solid #fff;
}
.step-card:hover .step-num {
  transform: translateY(-6px);
  box-shadow: 0 14px 0 var(--primary-dark), var(--shadow-hover);
}

.step-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.step-card p { font-size: 0.85rem; color: var(--light-mid); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--light-bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--dur) var(--ease-spring);
  border: 2px solid transparent;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,87,255,0.12);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.star { color: var(--warning); font-size: 1.1rem; }

.review-text {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
}

.reviewer-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}
.reviewer-info span {
  font-size: 0.8rem;
  color: var(--light-mid);
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(16,185,129,0.08);
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 6px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { background: #fff; }

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  gap: 20px;
}

.faq-q-text {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--dur) var(--ease);
}
.faq-question:hover .faq-q-text { color: var(--primary); }

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--primary);
  transition: all var(--dur) var(--ease);
}
.faq-item.open .faq-toggle {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding-bottom: 22px;
  color: var(--light-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #001a6b 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-section .section-title { color: #fff; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.8); margin-bottom: 40px; margin-left: auto; margin-right: auto; }

.cta-options {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-contact-info {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.contact-item .icon { font-size: 1.2rem; color: rgba(255,255,255,0.6); }
.contact-item a { color: #fff; font-weight: 600; }
.contact-item a:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}


.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur) var(--ease);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-links a:hover { color: #fff; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 140px 0 80px;
  color: #fff;
}

.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.4; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }

/* Reveal on scroll — content is only hidden when JS is running (crawlers & no-JS visitors always see it) */
.reveal {
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.js .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(28px);
}
.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.2s; }

/* GPU Stability Helpers */
.puls-card, .service-detail-card, .btn, .hero-card {
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-image-wrap { order: -1; }
  .why-stats-overlay { position: static; margin-top: 20px; }
  .areas-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 40px 0 60px; }
  .hero-ctas { flex-direction: column; }
  .hero-trust { gap: 16px; }
  .booking-card { padding: 24px 20px; }
  .booking-stats { grid-template-columns: repeat(3, 1fr); }
  .trust-bar-inner { gap: 24px; }
  .trust-separator { display: none; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-contact-info { flex-direction: column; align-items: center; }
  .why-stats-overlay { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { font-size: 0.72rem; }
}

/* ============================================================
   PULS-STYLE HOME SERVICES SECTION & TAGS
   ============================================================ */
.puls-services-section {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%);
  padding: 80px 0 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.puls-header { margin-bottom: 36px; }

.puls-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.puls-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.puls-search-bar {
  max-width: 520px;
  position: relative;
  margin-bottom: 24px;
}

.puls-search-input {
  width: 100%;
  padding: 16px 24px;
  padding-right: 54px;
  border-radius: 50px;
  border: none;
  font-size: 0.95rem;
  font-family: var(--font-body);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  outline: none;
  color: var(--dark);
}

.puls-search-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #2563EB;
}

.puls-popular-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.puls-popular-label {
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.95;
  margin-right: 4px;
}

.puls-tag-pill {
  background: rgba(255,255,255,0.92);
  color: #1E293B;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.puls-tag-pill:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.puls-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.puls-card {
  background: #fff;
  border-radius: 20px;
  color: var(--dark);
  padding: 28px 24px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--dur) var(--ease-spring);
  border: 2px solid transparent;
}
.puls-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.8);
}

.puls-card-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.puls-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.puls-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 14px;
  text-align: center;
}

.puls-subtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  min-height: 110px;
  align-content: flex-start;
}

.subtag-pill {
  background: #EFF6FF;
  color: #1D4ED8;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.puls-card-btn {
  background: #2563EB;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  width: 100%;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.puls-card-btn:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.4);
}

/* ============================================================
   FLOATING HIGH-CONTRAST MOBILE BAR & ENHANCED SOCIAL MEDIA
   ============================================================ */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 12px;
  z-index: 9999;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  align-items: center;
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.mobile-sticky-btn:active {
  transform: scale(0.95);
}

/* Call Now - Vibrant Green */
.mobile-sticky-call {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.mobile-sticky-call:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%) !important;
  color: #FFFFFF !important;
}

/* Book Online - Vibrant Flame Orange */
.mobile-sticky-book {
  background: linear-gradient(135deg, #FF6B2B 0%, #E05313 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(255, 107, 43, 0.4);
}
.mobile-sticky-book:hover {
  background: linear-gradient(135deg, #FF854D 0%, #FF6B2B 100%) !important;
  color: #FFFFFF !important;
}

@media (max-width: 768px) {
  .mobile-sticky-bar { display: block; }
  body { padding-bottom: 84px; }
  .puls-subtags { min-height: auto; }
}

/* Enhanced Social Media Buttons */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all var(--dur) var(--ease-spring);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
}
.social-icon-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-light);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(0,87,255,0.4);
}



/* ============================================================
   MOTION & POLISH LAYER (shared by all pages via js/main.js)
   ============================================================ */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Page enter / leave */
body { animation: page-in 0.5s var(--ease-out) both; }
body.page-leaving { animation: page-out 0.18s ease forwards; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes page-out { from { opacity: 1; } to { opacity: 0; } }

/* Navbar entrance + animated underline links */
#navbar { animation: nav-drop 0.6s var(--ease-out) both; }
@keyframes nav-drop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.mobile-nav ul li a.active { color: var(--primary); font-weight: 700; }

/* Mobile menu: slide + staggered links */
.mobile-nav.open { animation: menu-in 0.35s var(--ease-out) both; }
.mobile-nav.open li { animation: menu-item-in 0.4s var(--ease-out) both; }
.mobile-nav.open li:nth-child(1) { animation-delay: 0.03s; }
.mobile-nav.open li:nth-child(2) { animation-delay: 0.06s; }
.mobile-nav.open li:nth-child(3) { animation-delay: 0.09s; }
.mobile-nav.open li:nth-child(4) { animation-delay: 0.12s; }
.mobile-nav.open li:nth-child(5) { animation-delay: 0.15s; }
.mobile-nav.open li:nth-child(6) { animation-delay: 0.18s; }
.mobile-nav.open li:nth-child(7) { animation-delay: 0.21s; }
.mobile-nav.open li:nth-child(8) { animation-delay: 0.24s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes menu-item-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1100;
  background: linear-gradient(90deg, var(--primary), #7c5cff, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 30px rgba(0,87,255,0.35);
  display: grid;
  place-items: center;
  z-index: 990;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,87,255,0.45); }
@media (max-width: 768px) { .back-to-top { bottom: 96px; right: 16px; width: 44px; height: 44px; } }

/* Smoother reveal */
.reveal {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.reveal-stagger {
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out),
              box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
  transition-delay: var(--stagger, 0ms), var(--stagger, 0ms), 0s, 0s, 0s;
}
.reveal.reveal-stagger.visible:hover { transition-delay: 0s; }

/* Hero: animated gradient headline + staged entrance */
.hero-title .highlight {
  background: linear-gradient(110deg, #4d8bff 0%, #a78bfa 35%, #ff8a4c 60%, #4d8bff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: headline-shimmer 7s ease-in-out infinite;
}
@keyframes headline-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-text > * { animation: rise-in 0.9s var(--ease-out) both; }
.hero-text > *:nth-child(1) { animation-delay: 0.15s; }
.hero-text > *:nth-child(2) { animation-delay: 0.25s; }
.hero-text > *:nth-child(3) { animation-delay: 0.35s; }
.hero-text > *:nth-child(4) { animation-delay: 0.45s; }
.hero-text > *:nth-child(5) { animation-delay: 0.55s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-bg { animation: hero-zoom 22s ease-in-out infinite alternate; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Inner page headers: soft animated glow */
.page-header { position: relative; overflow: hidden; }
.page-header::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  right: -140px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,87,255,0.35), transparent 65%);
  animation: glow-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  left: -120px; bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,43,0.22), transparent 65%);
  animation: glow-drift 14s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1, .page-header p, .page-header .breadcrumb { animation: rise-in 0.8s var(--ease-out) both; }
.page-header .breadcrumb { animation-delay: 0.1s; }
.page-header h1 { animation-delay: 0.18s; }
.page-header p { animation-delay: 0.28s; }
@keyframes glow-drift { from { transform: translate(0, 0); } to { transform: translate(-60px, 40px); } }

/* Buttons: light sweep + pointer spotlight */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:hover::before { opacity: 1; }
.btn-primary::after, .btn-accent::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: btn-sweep 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-sweep { 0%, 70% { left: -75%; } 100% { left: 130%; } }

/* 3D tilt for service cards */
.puls-card.tilt.visible:hover,
.puls-card.tilt:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
}
.puls-card-icon img { transition: transform 0.6s var(--ease-out); }
.puls-card:hover .puls-card-icon img { transform: scale(1.06); }

/* Section tags: subtle shine */
.section-tag { position: relative; overflow: hidden; }

/* Focus visibility for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(0,87,255,0.55);
  outline-offset: 3px;
}

/* ============================================================
   OUR WORK — portfolio page + home teaser
   ============================================================ */
.work-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: -56px auto 0;
  position: relative;
  z-index: 2;
}
.work-stat {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,87,255,0.08);
}
.work-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}
.work-stat-label { font-size: 0.85rem; color: var(--light-mid); font-weight: 500; margin-top: 4px; }

.work-section { background: var(--light-bg); padding-top: 64px; }

.work-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.work-filter {
  font: 600 0.9rem var(--font-body);
  padding: 10px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.work-filter .count {
  font-size: 0.72rem;
  background: var(--light-bg);
  color: var(--light-mid);
  border-radius: 20px;
  padding: 2px 8px;
  transition: inherit;
}
.work-filter:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.work-filter.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,87,255,0.3);
}
.work-filter.active .count { background: rgba(255,255,255,0.2); color: #fff; }

.work-grid {
  columns: 3 300px;
  column-gap: 24px;
}
.work-card {
  break-inside: avoid;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  display: block;
}
.work-card.is-hidden { display: none; }
.work-card:hover { box-shadow: var(--shadow-hover); border-color: rgba(0,87,255,0.2); }
.work-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--dark);
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}
.work-open img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
}
.work-card:hover .work-open img { transform: scale(1.06); opacity: 0.88; }
.work-open::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,17,23,0.55));
  pointer-events: none;
}
.work-zoom {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  display: grid;
  place-items: center;
  z-index: 1;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.4s var(--ease-spring);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.work-card:hover .work-zoom, .work-open:focus-visible .work-zoom { opacity: 1; transform: scale(1); }
.work-cat {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,87,255,0.85);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 50px;
}
.work-body { padding: 20px 22px 22px; }
.work-brand {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(255,107,43,0.1);
  border-radius: 6px;
  padding: 3px 9px;
  margin-bottom: 10px;
}
.work-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 8px;
}
.work-desc { font-size: 0.9rem; color: var(--mid); line-height: 1.65; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,11,18,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 80px 12px;
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.lightbox.open .lb-img { transform: none; }
.lightbox.loading .lb-img { opacity: 0.3; }
.lb-caption {
  color: #fff;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 24px 28px;
  text-align: center;
}
.lb-meta { display: flex; justify-content: center; gap: 12px; align-items: center; margin-bottom: 8px; }
.lb-tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--primary); padding: 4px 10px; border-radius: 50px;
}
.lb-count { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.lb-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.lb-desc { font-size: 0.95rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
.lb-btn {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.lb-btn:hover { background: var(--primary); transform: scale(1.06); }
.lb-close { top: 16px; right: 16px; width: 46px; height: 46px; }
.lb-prev { left: 16px; top: 45%; }
.lb-next { right: 16px; top: 45%; }
@media (max-width: 768px) {
  .lb-stage { padding: 64px 12px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; width: 44px; height: 44px; }
  .lb-caption { padding-bottom: 80px; }
  .lb-title { font-size: 1.1rem; }
  .work-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work-stat-num { font-size: 1.6rem; }
}

/* Home page: recent work teaser */
.home-work-section { background: #fff; }
.home-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
  margin-bottom: 40px;
}
.home-work-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-card);
}
.home-work-item:nth-child(1) { grid-row: span 2; }
.home-work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.home-work-item:hover img { transform: scale(1.07); }
.home-work-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 16px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(180deg, transparent, rgba(13,17,23,0.85));
  transform: translateY(6px);
  transition: transform 0.4s var(--ease-out);
}
.home-work-item figcaption span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9cc0ff;
  margin-bottom: 2px;
}
.home-work-item:hover figcaption { transform: none; }
@media (max-width: 768px) {
  .home-work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
  .home-work-item:nth-child(1) { grid-row: span 1; grid-column: span 2; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal:not(.visible) { opacity: 1; transform: none; }
}

/* ============================================================
   SHARED LAYOUT HELPERS (used by the generated header/footer)
   ============================================================ */
.nav-logo img { display: block; height: 38px; width: auto; }
.footer-logo { color: #fff; }
.footer-logo img { background: #fff; padding: 4px 8px; border-radius: 8px; box-sizing: content-box; }
.mobile-cta .btn { width: 100%; display: flex; justify-content: center; }
.mobile-cta .btn + .btn { margin-top: 10px; }
.footer-nap {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 0 0 20px;
}
.footer-nap a { color: rgba(255,255,255,0.85); }
.footer-nap strong { color: #fff; }

/* CTA sections (shared on every page) */
.cta-section .section-tag { background: rgba(255,255,255,0.15); color: #fff; }
.cta-section .section-title { color: #fff; }
.cta-section .section-subtitle {
  color: rgba(255,255,255,0.8);
  margin: 0 auto 40px;
}

/* Small content helpers */
.city-note { font-size: 0.82rem; color: var(--light-mid); margin-top: 12px; }
.zip-line { font-size: 0.8rem; color: var(--light-mid); }
.sdc-cta { margin-top: 16px; display: inline-flex; }
.home-work-item figure { height: 100%; margin: 0; }

/* Links between photos and services */
.work-card { scroll-margin-top: 96px; }
.work-service-link, .sdc-work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}
.work-service-link:hover, .sdc-work-link:hover { text-decoration: underline; }
.sdc-work-link { margin-left: 16px; }
.lb-service {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #9cc0ff;
}
.lb-service:hover { color: #fff; }
@media (max-width: 480px) { .sdc-work-link { margin-left: 0; display: flex; } }
