:root {
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --secondary: #0a0a0a;
  --dark: #0a0a0a;
  --bg: #f6f8fc;
  --text: #111827;
  --muted: #4b5563;
  --card-bg: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Accessibility (WCAG 2.1 AA): skip link, visible keyboard focus,
   screen-reader-only text, reduced motion. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

a:focus-visible, button:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .cta:hover, .service-card:hover { transform: none; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.hero {
  padding: 8rem 2rem 7rem;
  text-align: center;
  background: linear-gradient(135deg, var(--dark), var(--primary));
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero .subheadline {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.cta {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  background: #fff;
  color: var(--primary-dark);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-call {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

.cta-call:hover {
  background: rgba(255, 255, 255, 0.15);
}

.contact a {
  color: inherit;
  text-decoration: underline;
}

section { padding: 5rem 2rem; max-width: 1000px; margin: 0 auto; }

section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.about-text p { color: var(--muted); font-size: 1.05rem; }

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
}

.services { background: linear-gradient(180deg, transparent, rgba(29, 78, 216, 0.04)); }

.service-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.service-card {
  padding: 2rem 1.75rem;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(29, 78, 216, 0.15);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.service-card h3 { margin-bottom: 0.5rem; color: var(--dark); font-size: 1.15rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

.reviews { text-align: center; }
.reviews p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }

.review-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.review-cta:hover {
  background: var(--primary);
  color: #fff;
}

.contact {
  background: var(--dark);
  text-align: center;
  color: #fff;
}

.contact h2 { color: #fff; }
.contact p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; margin: 0.3rem 0; }

footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--bg);
}

footer a { color: inherit; text-decoration: underline; }
footer .credits { margin-top: 0.4rem; font-size: 0.8rem; }

.legal { max-width: 720px; margin: 0 auto; padding: 4rem 2rem; }
.legal h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }
.legal p { color: var(--text); margin-bottom: 0.75rem; }
.legal a { color: var(--primary-dark); }
