:root {
  --primary: #0f2b46;
  --primary-light: #1a3d5c;
  --accent: #0ea5a0;
  --accent-light: #14c4be;
  --accent-glow: rgba(14,165,160,0.15);
  --bg: #f7f9fb;
  --bg-alt: #eef2f6;
  --bg-dark: #0a1f33;
  --text-dark: #1a2332;
  --text-mid: #4a5a6e;
  --text-light: #8293a7;
  --white: #ffffff;
  --border: #d6dfe8;
  --shadow: 0 2px 12px rgba(15,43,70,0.08);
  --shadow-lg: 0 8px 32px rgba(15,43,70,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

img { max-width: 100%; display: block; }

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

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(15,43,70,0.05);
}

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

.navbar__logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo svg { flex-shrink: 0; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar__links a {
  color: var(--text-mid);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover { background: #0c9491; border-color: #0c9491; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover { background: var(--accent); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover { background: var(--bg); color: var(--primary); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger svg { display: block; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero__badge {
  display: inline-block;
  background: rgba(14,165,160,0.2);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 640px;
}

.hero__lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.stat-tile {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.stat-tile__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}

.stat-tile__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ── Section defaults ── */
.section { padding: 80px 0; }

.section--alt { background: var(--bg-alt); }

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.section__header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ── Value Props ── */
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-prop {
  text-align: center;
  padding: 36px 24px;
}

.value-prop .icon {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.value-prop h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.value-prop p {
  font-size: 0.95rem;
  color: var(--text-mid);
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.service-card__link:hover { color: var(--accent-light); }

/* ── Credentials Strip ── */
.credentials {
  background: var(--bg-alt);
  padding: 40px 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.credential-item {
  padding: 20px 16px;
}

.credential-item .icon { font-size: 1.5rem; margin-bottom: 8px; display: block; }

.credential-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.credential-item p {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
}

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-strip h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-strip p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-strip .btn { margin: 0 8px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
}

/* ── Content Sections ── */
.content-section { padding: 64px 0; }

.content-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.content-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: 10px;
}

.content-section p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.75;
}

.content-section ul {
  color: var(--text-mid);
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* ── About page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.about-value {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-value .icon { font-size: 1.5rem; margin-bottom: 8px; display: block; }

.about-value h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.about-value p {
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-detail span {
  color: var(--text-mid);
  font-size: 0.9rem;
}

.contact-cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cta-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-cta-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ── Legal pages ── */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.75;
}

.legal-content ul {
  color: var(--text-mid);
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content li { margin-bottom: 6px; line-height: 1.65; }

.legal-updated {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 32px;
  font-style: italic;
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer p, .footer li, .footer a {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--accent-light); }

.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }

.footer__brand p { margin-bottom: 12px; }

.footer__legal { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 12px; }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 16px 24px;
    gap: 4px;
  }

  .navbar__links.open { display: flex; }

  .navbar__links li { width: 100%; }
  .navbar__links a { display: block; padding: 12px 0; border-bottom-width: 0; }

  .hamburger { display: block; }

  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 2.1rem; }
  .hero__lead { font-size: 1rem; }

  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .stat-tile { padding: 20px 16px; }
  .stat-tile__number { font-size: 1.8rem; }

  .value-props-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }

  .credentials-grid { grid-template-columns: 1fr 1fr; }

  .about-values { grid-template-columns: 1fr; }

  .page-hero { padding: 48px 0 36px; }
  .page-hero h1 { font-size: 1.8rem; }

  .section { padding: 56px 0; }
  .section__header h2 { font-size: 1.65rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}