/* =============================================================
   Blue Current Pool Care — Main Stylesheet
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ---- Custom Properties ---- */
:root {
  --primary:        #0B2545;
  --primary-dark:   #071A33;
  --primary-light:  #163A6E;
  --secondary:      #0096D6;
  --secondary-dark: #0075A8;
  --secondary-light:#33ADDF;
  --accent:         #4FD1C5;
  --accent-dark:    #38B2AC;
  --accent-light:   #7DE0D9;
  --text:           #1A1A1A;
  --text-muted:     #6B7280;
  --neutral:        #FFFFFF;
  --gray-50:        #F9FAFB;
  --gray-100:       #F3F4F6;
  --gray-200:       #E5E7EB;
  --gray-300:       #D1D5DB;
  --gray-400:       #9CA3AF;
  --gray-500:       #6B7280;
  --gray-600:       #4B5563;
  --gray-700:       #374151;
  --gray-800:       #1F2937;
  --gray-900:       #111827;
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container:      1200px;
  --pad:            clamp(1rem, 4vw, 1.5rem);
  --nav-h:          76px;
  --r-sm:           6px;
  --r-md:           10px;
  --r-lg:           16px;
  --r-xl:           24px;
  --r-full:         9999px;
  --sh-sm:          0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --sh-md:          0 4px 12px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --sh-lg:          0 10px 30px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --sh-xl:          0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.07);
  --t-fast:         150ms cubic-bezier(.4,0,.2,1);
  --t-base:         250ms cubic-bezier(.4,0,.2,1);
  --t-slow:         400ms cubic-bezier(.4,0,.2,1);
  --t-spring:       400ms cubic-bezier(.34,1.56,.64,1);
}

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--primary); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { line-height: 1.7; }
.text-muted { color: var(--text-muted); }
.lead { font-size: 1.125rem; line-height: 1.75; color: var(--gray-600); }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: .75rem;
}
.gradient-text {
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.section-alt { background: var(--gray-50); }
.section-dark {
  background: var(--primary);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.section-header { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--gray-600); font-size: 1.0625rem; }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--secondary);
  color: #fff;
  padding: .75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { top: 0; }

/* ============================
   NAVIGATION
   ============================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--t-base);
}
.site-nav.scrolled { box-shadow: var(--sh-md); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.nav-logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text span { display: block; font-size: .65rem; font-weight: 500; color: var(--gray-500); letter-spacing: .04em; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
  margin-left: auto;
}
.nav-links > li > a {
  display: block;
  padding: .5rem .875rem;
  color: var(--gray-700);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links > li > a:hover { color: var(--secondary); background: var(--gray-50); }
.nav-links > li > a.active { color: var(--secondary); }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a { display: flex !important; align-items: center; gap: .25rem; }
.has-dropdown > a::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.has-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  z-index: 200;
  padding: .5rem;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex !important;
  align-items: center;
  gap: .75rem;
  padding: .625rem .875rem;
  font-size: .9rem;
  border-radius: var(--r-md);
  color: var(--gray-700);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--gray-50); color: var(--secondary); }
.nav-dropdown a::after { display: none !important; }
.nav-dropdown-icon {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.nav-dropdown a:hover .nav-dropdown-icon { background: rgba(0,150,214,.12); }
.nav-dropdown-icon svg { width: 15px; height: 15px; color: var(--secondary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: .375rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: .9375rem;
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--secondary); }
.nav-phone svg { width: 16px; height: 16px; }

/* Mobile toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  padding: .5rem;
  border-radius: var(--r-md);
  flex-shrink: 0;
}
.mobile-menu-btn span {
  display: block;
  width: 20px; height: 2px;
  background: var(--primary);
  transition: all var(--t-base);
  transform-origin: center;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem var(--pad) 2rem;
  transform: translateX(100%);
  transition: transform var(--t-slow);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-links { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav-links a {
  display: block;
  padding: .75rem 1rem;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
  border-radius: var(--r-md);
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-nav-links a:hover { background: var(--gray-50); color: var(--secondary); }
.mobile-nav-links .mobile-submenu-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 1.25rem 1rem .375rem;
}
.mobile-nav-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 4px 14px rgba(0,150,214,.35);
}
.btn-primary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,150,214,.45);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,150,214,.3); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--gray-300);
}
.btn-outline-dark:hover {
  background: var(--gray-50);
  border-color: var(--secondary);
  color: var(--secondary);
}
.btn-accent {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(79,209,197,.35);
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,209,197,.45);
}
.btn-ghost { background: transparent; color: var(--secondary); border-color: transparent; }
.btn-ghost:hover { background: rgba(0,150,214,.08); }
.btn-lg { padding: .9375rem 2rem; font-size: 1.0625rem; }
.btn-sm { padding: .5rem 1rem; font-size: .8125rem; }
.btn-full { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ============================
   HERO
   ============================ */
.hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-light) 55%, #1a5fa0 100%);
  position: relative;
  overflow: hidden;
}
.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  pointer-events: none;
}
.hero-orb-1, .hero-orb-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .25;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--secondary);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -150px; left: 5%;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .375rem .875rem;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.125rem;
}
.hero .lead {
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.75);
  font-size: .8125rem;
  font-weight: 500;
}
.hero-trust-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* Hero Visual (SVG Pool Mockup) */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-pool-svg {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.35));
}

/* Page hero (inner pages) */
.page-hero {
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-light) 60%, #1a5fa0 100%);
  position: relative;
  overflow: hidden;
}
.page-hero .hero-orb-1 { width: 400px; height: 400px; top: -80px; right: -50px; opacity: .2; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .875rem; }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 620px; }

/* ============================
   BREADCRUMB
   ============================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  align-items: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: .4; }

/* ============================
   CARDS
   ============================ */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--gray-300);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(0,150,214,.1);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
}
.card-icon svg { width: 26px; height: 26px; color: var(--secondary); }
.card h3 { margin-bottom: .5rem; font-size: 1.125rem; }
.card p { color: var(--gray-600); font-size: .9375rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  margin-top: 1rem;
  transition: gap var(--t-fast);
}
.card-link:hover { gap: .625rem; }
.card-link svg { width: 16px; height: 16px; }

/* Service cards (enhanced) */
.service-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
  border-color: var(--secondary-light);
}
.service-card .card-icon { margin-bottom: 0; }
.service-card h3 { font-size: 1.125rem; color: var(--primary); }
.service-card p { color: var(--gray-600); font-size: .9rem; flex: 1; }
.service-card .card-cta {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: auto;
  transition: gap var(--t-fast);
}
.service-card:hover .card-cta { gap: .625rem; }
.service-card .card-cta svg { width: 16px; height: 16px; }

/* ============================
   TESTIMONIALS
   ============================ */
.testimonial-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  position: relative;
}
.testimonial-stars {
  display: flex;
  gap: .25rem;
  margin-bottom: 1rem;
}
.testimonial-stars svg { width: 18px; height: 18px; fill: #FBBF24; color: #FBBF24; }
.testimonial-quote {
  font-size: .9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9375rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-info strong { display: block; font-size: .9375rem; color: var(--primary); }
.testimonial-info span { font-size: .8125rem; color: var(--gray-500); }

/* ============================
   STATS / NUMBERS
   ============================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  display: block;
  margin-bottom: .375rem;
}
.stat-label {
  font-size: .875rem;
  color: var(--gray-600);
  font-weight: 500;
}
.section-dark .stat-number { color: var(--accent); }
.section-dark .stat-label { color: rgba(255,255,255,.7); }

/* ============================
   PROCESS / STEPS
   ============================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(0,150,214,.35);
}
.step h3 { font-size: 1rem; margin-bottom: .5rem; }
.step p { font-size: .875rem; color: var(--gray-600); }

/* ============================
   FAQ / ACCORDION
   ============================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.375rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--t-fast);
  line-height: 1.4;
}
.faq-question:hover { color: var(--secondary); }
.faq-question-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-base);
}
.faq-question-icon svg { width: 16px; height: 16px; transition: transform var(--t-base); }
.faq-item.open .faq-question-icon { background: var(--secondary); }
.faq-item.open .faq-question-icon svg { color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-slow);
}
.faq-answer-inner {
  padding-bottom: 1.375rem;
  color: var(--gray-700);
  font-size: .9375rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 600px; }

/* ============================
   FORM
   ============================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--gray-700); }
.form-group label .required { color: var(--secondary); margin-left: .125rem; }
.form-control {
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-md);
  font-size: .9375rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  width: 100%;
}
.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0,150,214,.15);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-submit-row { margin-top: .5rem; }

/* ============================
   CONTACT INFO
   ============================ */
.contact-info-card {
  background: var(--primary);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  color: #fff;
}
.contact-info-card h3 { color: #fff; margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-info-item strong { display: block; font-size: .875rem; color: rgba(255,255,255,.6); font-weight: 500; margin-bottom: .25rem; }
.contact-info-item a, .contact-info-item span { color: #fff; text-decoration: none; font-weight: 600; font-size: .9375rem; transition: color var(--t-fast); }
.contact-info-item a:hover { color: var(--accent); }

/* ============================
   SERVICE AREA MAP
   ============================ */
.service-area-map {
  background: var(--gray-50);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  overflow: hidden;
}
.service-cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.service-city {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1rem;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.service-city:hover { border-color: var(--secondary); box-shadow: var(--sh-sm); }
.service-city svg { width: 16px; height: 16px; color: var(--secondary); flex-shrink: 0; }

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::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.03'%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");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.125rem; max-width: 560px; margin: 0 auto 2rem; }

/* ============================
   FEATURE LIST
   ============================ */
.feature-list { display: flex; flex-direction: column; gap: .875rem; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}
.feature-item-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-full);
  background: rgba(0,150,214,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.feature-item-icon svg { width: 15px; height: 15px; color: var(--secondary); }
.feature-item p { font-size: .9375rem; color: var(--gray-700); }
.feature-item strong { color: var(--primary); }

/* ============================
   VALUE PROPS
   ============================ */
.value-prop-card {
  padding: 2rem;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.value-prop-card:hover { box-shadow: var(--sh-lg); border-color: var(--gray-300); }
.value-prop-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(0,150,214,.12), rgba(79,209,197,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-prop-icon svg { width: 28px; height: 28px; color: var(--secondary); }
.value-prop-content h3 { font-size: 1.0625rem; margin-bottom: .375rem; }
.value-prop-content p { font-size: .9rem; color: var(--gray-600); }

/* ============================
   WAVE DIVIDERS
   ============================ */
.wave-top, .wave-bottom {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-top svg, .wave-bottom svg { width: 100%; }

/* ============================
   CASE STUDY SPECIFICS
   ============================ */
.cs-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 0;
  background: linear-gradient(140deg, #060F1E 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.cs-rep-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(79,209,197,.15);
  border: 1px solid rgba(79,209,197,.35);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .375rem .875rem;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}
.cs-hero h1 { color: #fff; }
.cs-hero .lead { color: rgba(255,255,255,.78); max-width: 620px; }
.cs-mockup-wrap {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 2.5rem 2.5rem 0;
  margin-top: 3rem;
  overflow: hidden;
}

/* Before / After */
.before-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.ba-card {
  border-radius: var(--r-xl);
  padding: 2rem;
  border: 2px solid;
}
.ba-card.before {
  background: #FFF5F5;
  border-color: #FED7D7;
}
.ba-card.after {
  background: #F0FFF4;
  border-color: #C6F6D5;
}
.ba-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .75rem;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}
.ba-card.before .ba-label { background: #FED7D7; color: #9B2C2C; }
.ba-card.after .ba-label { background: #C6F6D5; color: #276749; }
.ba-list { display: flex; flex-direction: column; gap: .75rem; }
.ba-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--gray-700);
}
.ba-card.before .ba-item svg { color: #FC8181; }
.ba-card.after .ba-item svg { color: #68D391; }
.ba-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem; }

/* Process Timeline */
.timeline {
  position: relative;
  padding: 1rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  width: 56px; height: 56px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0,150,214,.35);
  transition: transform var(--t-spring);
}
.timeline-item.revealed .timeline-dot { transform: scale(1.1); }
.timeline-content {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.375rem 1.5rem;
  flex: 1;
  transition: box-shadow var(--t-base);
}
.timeline-item.revealed .timeline-content { box-shadow: var(--sh-md); }
.timeline-content h4 { color: var(--primary); margin-bottom: .375rem; font-size: 1rem; }
.timeline-content p { font-size: .9rem; color: var(--gray-600); }

/* Deliverable Cards */
.deliverable-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.deliverable-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: var(--accent);
}
.deliverable-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(0,150,214,.1), rgba(79,209,197,.1));
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.125rem;
}
.deliverable-icon svg { width: 30px; height: 30px; color: var(--secondary); }
.deliverable-card h4 { font-size: 1rem; margin-bottom: .375rem; }
.deliverable-card p { font-size: .875rem; color: var(--gray-600); }

/* Results grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.result-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow var(--t-base);
}
.result-card:hover { box-shadow: var(--sh-md); }
.result-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(0,150,214,.12), rgba(79,209,197,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.result-icon svg { width: 24px; height: 24px; color: var(--secondary); }
.result-content h4 { margin-bottom: .375rem; font-size: 1rem; }
.result-content p { font-size: .9rem; color: var(--gray-600); }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.8);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 1.25rem; max-width: 280px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  margin-bottom: .625rem;
}
.footer-contact-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.footer-contact-item a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-contact-item a:hover { color: var(--accent); }
.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.125rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color var(--t-fast);
  line-height: 1.5;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--t-fast); }
.footer-bottom a:hover { color: var(--accent); }
.footer-credit {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-credit a { color: var(--accent-light); text-decoration: none; font-weight: 600; transition: color var(--t-fast); }
.footer-credit a:hover { color: var(--accent); }

/* Floating phone button (mobile) */
.mobile-phone-btn {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 900;
  background: var(--secondary);
  color: #fff;
  width: 56px; height: 56px;
  border-radius: var(--r-full);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,150,214,.5);
  text-decoration: none;
  transition: transform var(--t-spring), box-shadow var(--t-base);
}
.mobile-phone-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,150,214,.6); }
.mobile-phone-btn svg { width: 24px; height: 24px; }

/* ============================
   ANIMATIONS
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(.93);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* Stagger delays */
.stagger-wrap > * { transition-delay: 0ms; }
.stagger-wrap > *:nth-child(1) { transition-delay: 0ms; }
.stagger-wrap > *:nth-child(2) { transition-delay: 80ms; }
.stagger-wrap > *:nth-child(3) { transition-delay: 160ms; }
.stagger-wrap > *:nth-child(4) { transition-delay: 240ms; }
.stagger-wrap > *:nth-child(5) { transition-delay: 320ms; }
.stagger-wrap > *:nth-child(6) { transition-delay: 400ms; }

/* Timeline animation stagger */
.timeline-item { opacity: 0; transform: translateX(-20px); transition: opacity .55s ease, transform .55s ease; }
.timeline-item:nth-child(1) { transition-delay: 0ms; }
.timeline-item:nth-child(2) { transition-delay: 120ms; }
.timeline-item:nth-child(3) { transition-delay: 240ms; }
.timeline-item:nth-child(4) { transition-delay: 360ms; }
.timeline-item:nth-child(5) { transition-delay: 480ms; }
.timeline-item:nth-child(6) { transition-delay: 600ms; }
.timeline-item:nth-child(7) { transition-delay: 720ms; }
.timeline-item.revealed { opacity: 1; transform: translateX(0); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-anim { animation: float 5s ease-in-out infinite; }

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pulse-ring {
  position: relative;
}
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse-ring 2s ease-out infinite;
  opacity: 0;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-loading {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Wave animation for hero */
@keyframes wave-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.wave-animate { animation: wave-move 12s linear infinite; }
.wave-animate-slow { animation: wave-move 20s linear infinite; }
.wave-animate-reverse { animation: wave-move 15s linear infinite reverse; }

/* ============================
   ABOUT PAGE
   ============================ */
.team-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.value-item {
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--t-base);
}
.value-item:hover { box-shadow: var(--sh-md); }
.value-item-icon {
  width: 48px; height: 48px;
  background: rgba(0,150,214,.1);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.value-item-icon svg { width: 24px; height: 24px; color: var(--secondary); }
.value-item h4 { font-size: 1.0625rem; margin-bottom: .375rem; }
.value-item p { font-size: .9rem; color: var(--gray-600); }

/* Credential/Cert badges */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem 1.125rem;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  transition: border-color var(--t-fast);
}
.cert-badge:hover { border-color: var(--secondary); }
.cert-badge svg { width: 18px; height: 18px; color: var(--secondary); }

/* ============================
   SERVICE AREA MAP (SVG)
   ============================ */
.area-map-container {
  position: relative;
  background: #f0f7ff;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.area-map-svg { width: 100%; height: auto; }
.map-city-dot {
  cursor: pointer;
  transition: r .2s ease;
}
.map-city-dot:hover circle { r: 8; }
.map-tooltip {
  font-size: 11px;
  font-weight: 600;
  fill: var(--primary);
}

/* ============================
   THANK YOU PAGE
   ============================ */
.thank-you-icon {
  width: 96px; height: 96px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 30px rgba(0,150,214,.35);
}
.thank-you-icon svg { width: 48px; height: 48px; color: #fff; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.next-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
}
.next-step-num {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.0625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .875rem;
}
.next-step h4 { margin-bottom: .375rem; font-size: 1rem; }
.next-step p { font-size: .875rem; color: var(--gray-600); }

/* ============================
   PRIVACY PAGE
   ============================ */
.privacy-content {
  max-width: 780px;
  margin: 0 auto;
}
.privacy-content h2 { font-size: 1.375rem; margin: 2.5rem 0 .75rem; }
.privacy-content h3 { font-size: 1.125rem; margin: 1.75rem 0 .625rem; }
.privacy-content p { font-size: .9375rem; color: var(--gray-700); margin-bottom: 1rem; }
.privacy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.privacy-content li { font-size: .9375rem; color: var(--gray-700); margin-bottom: .5rem; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .service-cities-grid { grid-template-columns: repeat(2, 1fr); }
  .before-after-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 24px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav { display: block; }
  .mobile-phone-btn { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .next-steps { grid-template-columns: 1fr; }
  .service-cities-grid { grid-template-columns: repeat(2, 1fr); }
  .team-values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 5rem 0; }
  .cs-mockup-wrap { padding: 1.5rem 1.5rem 0; }
  .cs-hero { padding-bottom: 0; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .service-cities-grid { grid-template-columns: 1fr; }
  .before-after-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: .75rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
}

/* Print */
@media print {
  .site-nav, .mobile-phone-btn, .mobile-menu-btn { display: none; }
  .hero { padding-top: 2rem; }
}
