/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #1E3A8A;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: #1E3A8A;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   Z-INDEX SCALE
   ============================================= */
/* 10 = cards/overlays, 20 = dropdowns, 30 = modals, 50 = nav */

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar__logo img {
  height: 48px;
  width: auto;
  display: block;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.925rem;
  font-weight: 500;
  color: #374151;
  letter-spacing: 0.01em;
  transition: color 200ms ease-out;
  cursor: pointer;
}

.nav-link:hover {
  color: #1E40AF;
}

.nav-link:focus-visible {
  outline: 2px solid #1E40AF;
  outline-offset: 3px;
  border-radius: 2px;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  /* 44x44 touch target */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1E3A8A;
  border-radius: 2px;
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}

.navbar__hamburger:focus-visible {
  outline: 2px solid #1E40AF;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Hamburger open state */
.navbar__hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.925rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid #1E40AF;
  outline-offset: 3px;
}

.btn--primary {
  background: #1E40AF;
  color: #ffffff;
  border-color: #1E40AF;
}

.btn--primary:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
}

.btn--ghost {
  background: transparent;
  color: #1E40AF;
  border-color: #1E40AF;
}

.btn--ghost:hover {
  background: #EFF6FF;
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.section__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 14px;
}

.section__sub {
  font-size: 1rem;
  color: #4B5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: #ffffff;
  padding: 96px 0 80px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1E40AF;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 100px;
  padding: 4px 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__heading {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero__sub {
  font-size: 1.0625rem;
  color: #4B5563;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
}

.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
}

.hero__stat-divider {
  width: 1px;
  height: 48px;
  background: #E5E7EB;
  flex-shrink: 0;
}

.hero__stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #1E40AF;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: #6B7280;
  text-align: center;
  line-height: 1.3;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: #EFF6FF;
  padding: 88px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 28px 24px;
  cursor: default;
  transition: border-color 200ms ease-out;
}

.service-card:hover {
  border-color: #93C5FD;
}

.service-card--wide {
  grid-column: span 3;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.service-card--wide .service-card__icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.service-card--wide .service-card__name,
.service-card--wide .service-card__desc {
  text-align: left;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: #EFF6FF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #1E40AF;
}

.service-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1E3A8A;
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.65;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: #ffffff;
  padding: 88px 0;
}

.about .section__header {
  text-align: left;
  margin-bottom: 40px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__text p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.about__cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.about__cred-item svg {
  color: #1E40AF;
  flex-shrink: 0;
}

.about__trust {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.about__trust-badge {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border: 1px solid #BFDBFE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E40AF;
}

.about__trust-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1E3A8A;
  line-height: 1.3;
}

.about__trust-body {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.7;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: #EFF6FF;
  padding: 88px 0;
}

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

.contact__item {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: border-color 200ms ease-out;
}

.contact__item:hover {
  border-color: #93C5FD;
}

.contact__icon {
  width: 52px;
  height: 52px;
  background: #EFF6FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E40AF;
  margin-bottom: 8px;
}

.contact__label {
  font-size: 0.8rem;
  color: #6B7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact__value {
  font-family: 'Poppins', sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  color: #1E3A8A;
  word-break: break-word;
  cursor: pointer;
  transition: color 200ms ease-out;
}

a.contact__value:hover {
  color: #1E40AF;
  text-decoration: underline;
}

a.contact__value:focus-visible {
  outline: 2px solid #1E40AF;
  outline-offset: 3px;
  border-radius: 2px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #111827;
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__inner span {
  font-size: 0.875rem;
  color: #9CA3AF;
}

/* =============================================
   RESPONSIVE — TABLET (768px)
   ============================================= */
@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--wide {
    grid-column: span 2;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about .section__header {
    text-align: center;
  }

  .contact__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid .contact__item:last-child {
    grid-column: span 2;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (480px)
   ============================================= */
@media (max-width: 600px) {
  .navbar__nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    flex-direction: column;
    gap: 0;
    z-index: 49;
  }

  .navbar__nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 16px 24px;
    width: 100%;
    border-bottom: 1px solid #F3F4F6;
    font-size: 1rem;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero__stats {
    flex-direction: column;
    border: none;
    gap: 0;
    max-width: 100%;
  }

  .hero__stat {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid #E5E7EB;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero__stat:last-child {
    border-bottom: none;
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__stat-number {
    font-size: 1.375rem;
  }

  .services {
    padding: 64px 0;
  }

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

  .service-card--wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .about {
    padding: 64px 0;
  }

  .about .section__header {
    text-align: left;
  }

  .contact {
    padding: 64px 0;
  }

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

  .contact__grid .contact__item:last-child {
    grid-column: span 1;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section__header {
    text-align: left;
  }
}
