:root {
  --primary: #1D4ED8;
  --primary-dark: #1E3A8A;
  --primary-light: #DBEAFE;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #1E293B;
  --text-light: #64748B;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 10px -2px rgba(0,0,0,0.05);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* NAV */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-dark) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29,78,216,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(29,78,216,0.35);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(245,158,11,0.35);
}

.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SECTIONS */
section { padding: 80px 0; }

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 560px;
}

.section-header { margin-bottom: 48px; }

/* SERVICES */
#services { background: var(--white); }

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

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--primary-light);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* WHY US */
#why { background: var(--bg); }

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

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.87rem;
  color: var(--text-light);
}

/* QUOTE / CONTACT */
#quote { background: var(--white); }

.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.quote-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.quote-info p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 28px;
}

.quote-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.quote-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text);
  font-weight: 500;
}

.quote-features li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(29,78,216,0.3);
}

.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* SERVICE AREAS */
#areas { background: var(--bg); }

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.area-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow);
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 64px 24px;
  text-align: center;
  color: white;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-band p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 32px;
}

/* FOOTER */
footer {
  background: var(--text);
  color: #94A3B8;
  padding: 48px 24px 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #334155;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.footer-brand p { font-size: 0.85rem; line-height: 1.6; }

.footer-links h4 { color: white; font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-links a { color: #94A3B8; text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }

.footer-links a:hover { color: white; }

.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; }

.footer-legal { display: flex; gap: 20px; }

.footer-legal a { color: #94A3B8; text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }

.footer-legal a:hover { color: white; }

/* SUCCESS MESSAGE */
.form-success {
  display: none;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: 8px;
  padding: 16px;
  color: #15803D;
  font-weight: 600;
  text-align: center;
  margin-top: 12px;
}

/* POLICY PAGES */
.policy-hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
  padding: 60px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.policy-hero h1 { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.policy-hero p { color: var(--text-light); font-size: 0.9rem; }

.policy-content {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 24px 80px;
}

.policy-content h2 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 10px; color: var(--text); }
.policy-content p { color: var(--text-light); font-size: 0.93rem; line-height: 1.7; margin-bottom: 14px; }
.policy-content ul { color: var(--text-light); font-size: 0.93rem; line-height: 1.7; padding-left: 20px; margin-bottom: 14px; }
.policy-content a { color: var(--primary); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--text);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

#cookie-banner p { font-size: 0.87rem; color: #CBD5E1; margin: 0; }
#cookie-banner a { color: #93C5FD; text-decoration: underline; }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-accept {
  background: var(--primary);
  color: white;
  border: none;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-accept:hover { background: var(--primary-dark); }

.cookie-decline {
  background: transparent;
  color: #94A3B8;
  border: 1px solid #475569;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
}

.cookie-decline:hover { border-color: #94A3B8; color: white; }

/* ADA WIDGET */
#ada-toggle {
  position: fixed;
  bottom: 80px;
  left: 16px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 9998;
  box-shadow: var(--shadow-lg);
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ada-toggle:hover { background: var(--primary-dark); transform: scale(1.05); }

#ada-panel {
  display: none;
  position: fixed;
  bottom: 136px;
  left: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  z-index: 9997;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
}

#ada-panel.open { display: block; }

#ada-panel h3 { font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; color: var(--text); }

.ada-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.83rem;
  color: var(--text);
}

.ada-toggle-btn {
  background: var(--border);
  border: none;
  border-radius: 999px;
  width: 38px;
  height: 20px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.ada-toggle-btn.active { background: var(--primary); }

.ada-toggle-btn::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  background: white;
  border-radius: 50%;
  transition: left 0.2s;
}

.ada-toggle-btn.active::after { left: 21px; }

.ada-size { display: flex; gap: 6px; }

.ada-size button {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.2s;
}

.ada-size button:hover, .ada-size button.active { background: var(--primary); color: white; border-color: var(--primary); }

/* HIGH CONTRAST */
body.high-contrast {
  --bg: #000;
  --white: #111;
  --text: #FFF;
  --text-light: #DDD;
  --border: #444;
  --primary-light: #1e3a8a;
  filter: contrast(1.25);
}

/* DYSLEXIA FONT */
body.dyslexia { font-family: 'Comic Sans MS', 'OpenDyslexic', cursive; }

/* REDUCE MOTION */
@media (prefers-reduced-motion: reduce), body.reduce-motion * {
  transition: none !important;
  animation: none !important;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .quote-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 56px 20px 64px; }
  .hero-stats { gap: 24px; }
  .footer-top { flex-direction: column; }
  section { padding: 56px 0; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  #ada-toggle { bottom: 140px; }
}
