*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:    #007ed3;
  --blue-dk: #005fa0;
  --teal:    #26efa2;
  --teal-dk: #1bc48a;
  --green:   #74c229;
  --blue-lt: #e6f4fd;
  --teal-lt: #e8fdf5;
  --white:   #ffffff;
  --off:     #f7f9fc;
  --text:    #1a2b3c;
  --muted:   #5a6e82;
  --border:  #d4e3f0;
  --footer-bg: #111d2a;
  --focus-ring: #007ed3;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; font-size: 16px; }

/* ACCESSIBILITY */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 200;
  background: var(--blue); color: var(--white); padding: 0.75rem 1.5rem; border-radius: 0 0 8px 8px;
  text-decoration: none; font-weight: 500; font-size: 0.9rem;
}
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* FOCUS STATES */
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.nav-links a:focus-visible { color: var(--blue); }
.btn-primary:focus-visible { outline-color: var(--white); }
.nav-cta:focus-visible { outline-color: var(--white); }
.form-group input:focus-visible, .form-group textarea:focus-visible, .form-group select:focus-visible {
  border-color: var(--teal); outline: none; box-shadow: 0 0 0 2px rgba(38,239,162,0.3);
}
.contact-detail-value a:focus-visible { outline-color: var(--teal); }
.form-submit:focus-visible { outline-color: var(--white); }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; height: 48px; }
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { background: var(--blue) !important; color: var(--white) !important; padding: 0.5rem 1.25rem; border-radius: 6px; }
.nav-cta:hover { background: var(--blue-dk) !important; }

/* HERO */
.hero { padding: 6rem 5% 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.hero-eyebrow { display: inline-block; background: var(--teal-lt); color: #0f9060; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.85rem; border-radius: 100px; margin-bottom: 1.5rem; }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--text); margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p { font-size: 1.05rem; color: var(--muted); margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--blue); color: var(--white); padding: 0.85rem 1.75rem; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: background 0.2s, transform 0.1s; }
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; border: 1.5px solid var(--border); color: var(--text); padding: 0.85rem 1.75rem; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: border-color 0.2s, transform 0.1s; }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

/* Hero right panel */
.hero-panel { background: var(--blue-lt); border-radius: 24px; padding: 3rem 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.hero-panel img { width: 280px; max-width: 100%; height: auto; }
.hero-divider { width: 40px; height: 2px; background: var(--teal-dk); border-radius: 2px; }
.hero-stats { display: flex; flex-direction: column; gap: 0.85rem; width: 100%; }
.hero-stat { background: var(--white); border-radius: 12px; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.85rem; box-shadow: 0 2px 8px rgba(0,126,211,0.08); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-blue { background: var(--blue); }
.dot-teal { background: var(--teal-dk); }
.dot-green { background: var(--green); }
.hero-stat span { font-size: 0.88rem; color: var(--muted); }

/* SECTIONS */
section { padding: 5rem 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-dk); margin-bottom: 0.75rem; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.25; color: var(--text); margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 560px; }
.section-header { margin-bottom: 3rem; }

/* SERVICES */
#services { background: var(--off); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; transition: box-shadow 0.2s, transform 0.2s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--blue); opacity: 0; transition: opacity 0.2s; }
.service-card:hover { box-shadow: 0 6px 24px rgba(0,126,211,0.1); transform: translateY(-2px); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 44px; height: 44px; background: var(--blue-lt); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--blue); }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--text); }
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* WHY */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-check { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-dk); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 3px; }
.why-check svg { width: 12px; height: 12px; stroke: white; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.why-item strong { display: block; font-size: 1rem; color: var(--text); margin-bottom: 0.2rem; }
.why-item p { font-size: 0.95rem; color: var(--muted); }
.why-visual { background: var(--blue); border-radius: 20px; padding: 3rem 2.5rem; color: white; position: relative; overflow: hidden; }
.why-visual::after { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(38,239,162,0.12); }
.why-visual h3 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; margin-bottom: 1rem; line-height: 1.3; position: relative; }
.why-visual p { font-size: 0.95rem; opacity: 0.85; line-height: 1.7; margin-bottom: 1.5rem; position: relative; }
.why-tags { position: relative; }
.why-tag { display: inline-block; background: rgba(255,255,255,0.15); color: white; font-size: 0.8rem; padding: 0.3rem 0.75rem; border-radius: 100px; margin: 0.2rem; border: 1px solid rgba(255,255,255,0.2); }

/* MISSION */
#mission { background: var(--off); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mission-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; }
.mission-card .card-label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.mission .card-label { color: var(--blue); }
.vision-card .card-label { color: var(--teal-dk); }
.mission-card blockquote { font-family: 'DM Serif Display', serif; font-size: 1.15rem; line-height: 1.65; color: var(--text); border-left: 3px solid; padding-left: 1.25rem; }
.mission blockquote { border-color: var(--blue); }
.vision-card blockquote { border-color: var(--teal-dk); }

/* CONTACT */
#contact { background: var(--text); color: white; }
#contact .section-label { color: var(--teal); }
#contact .section-title { color: white; }
#contact .section-sub { color: rgba(255,255,255,0.55); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.contact-detail-label { font-size: 0.8rem; opacity: 0.45; margin-bottom: 0.2rem; }
.contact-detail-value { font-size: 0.95rem; }
.contact-detail-value a { color: white; text-decoration: none; }
.contact-detail-value a:hover { text-decoration: underline; }
.contact-form-area { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; }
.contact-form-area h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 1.5rem; color: white; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; opacity: 0.7; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 0.75rem 1rem; color: white; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; }
.form-group select option { background: var(--text); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(38,239,162,0.3); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; background: var(--teal-dk); color: white; border: none; border-radius: 8px; padding: 0.9rem; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500; cursor: pointer; margin-top: 0.5rem; transition: background 0.2s, transform 0.1s; }
.form-submit:hover { background: #16a878; transform: translateY(-1px); }
.form-status { display: none; margin-top: 1rem; padding: 1rem; border-radius: 8px; text-align: center; font-weight: 500; }
.form-status--success { display: block; background: var(--teal-lt); color: #0f7a56; }
.form-status--error { display: block; background: #fef2f2; color: #b91c1c; }

/* FOOTER */
footer { background: var(--footer-bg); color: rgba(255,255,255,0.5); text-align: center; padding: 1.75rem 5%; font-size: 0.85rem; }
footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
footer a:hover { color: white; }
.footer-tagline { margin-top: 0.4rem; font-size: 0.78rem; }

/* HOW IT WORKS */
#how-it-works { background: var(--off); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.process-step { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; text-align: center; }
.process-number { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: 'DM Serif Display', serif; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.process-step h3 { font-size: 1.05rem; font-weight: 500; color: var(--text); margin-bottom: 0.6rem; }
.process-step p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* UTILITIES */
.contact-info { margin-top: 2.5rem; }

/* HAMBURGER (hidden on desktop) */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* MOBILE */
@media (max-width: 768px) {
  /* NAV */
  .nav-toggle { display: flex; }
  nav { padding: 0 4%; height: 60px; }
  .nav-logo img { height: 40px; }
  .nav-links {
    display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); padding: 1rem 0; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a { display: block; padding: 0.75rem 1.5rem; font-size: 1rem; }
  .nav-links .nav-cta { margin: 0.5rem 1.5rem; text-align: center; border-radius: 6px; padding: 0.75rem; }

  /* SECTIONS */
  section { padding: 3rem 4%; }

  /* HERO */
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 4% 2rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; text-align: center; }
  .hero-panel { padding: 2rem 1.5rem; }
  .hero-panel img { width: 200px; }

  /* SERVICES */
  .section-title { font-size: 1.5rem; }
  .services-grid { gap: 1rem; }

  /* HOW IT WORKS */
  .process-grid { grid-template-columns: 1fr; }

  /* WHY */
  .why-grid, .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-visual { padding: 2rem 1.5rem; }

  /* MISSION */
  .mission-card { padding: 1.75rem; }

  /* CONTACT */
  .contact-form-area { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* FOOTER */
  footer { font-size: 0.8rem; }
  .footer-tagline { font-size: 0.72rem; }
}

/* PRINT */
@media print {
  nav, .hero-actions, .nav-toggle, .form-submit, .skip-link { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  section, .hero { padding: 1rem 0; }
  .hero { display: block; }
  .hero-panel { display: none; }
  .services-grid, .why-grid, .mission-grid, .contact-grid { display: block; }
  .service-card, .mission-card { break-inside: avoid; margin-bottom: 1rem; border: 1px solid #ccc; }
  #contact { background: #fff; color: #000; }
  #contact .section-title { color: #000; }
  #contact .section-sub { color: #333; }
  .contact-detail-value a { color: #000; }
  .contact-form-area { display: none; }
  footer { background: #fff; color: #333; }
  footer a { color: #333; }
}
