/* =========================================================
   Global Reset + Mobile Safety Net
========================================================= */

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  background: #f2f4f7;
  color: #2a2a2a;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   Layout Container
========================================================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* =========================================================
   Header
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-utility {
  background: #eef1f5;
  border-bottom: 1px solid #e5e7eb;
}

.utility-inner {
  min-height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  color: #555;
  text-align: center;
}

@media (min-width: 768px) {
  .utility-inner {
    justify-content: flex-end;
  }
}

.utility-inner a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.utility-inner a:hover {
  text-decoration: underline;
}

.header-main {
  background: rgba(248,249,251,0.96);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo img {
  height: 44px;
}

/* =========================================================
   Navigation (Mobile First)
========================================================= */

.nav-links {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0.75rem 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-cta {
  background: #3aa76d;
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
}

.nav-cta:hover {
  background: #31965f;
}

@media (min-width: 768px) {
  .nav-links {
    flex-direction: row;
    width: auto;
    padding: 0;
    gap: 1.5rem;
  }
}

/* =========================================================
   Hero
========================================================= */

.hero {
  padding: 3rem 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(56,189,248,0.06), transparent 42%),
    radial-gradient(circle at 80% 25%, rgba(58,167,109,0.05), transparent 48%),
    linear-gradient(180deg, #eef1f5 0%, #e7ebf0 100%);
}

.hero-card {
  max-width: 760px;
  margin: 0 auto;
  background: #f9fafb;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid #e1e5ea;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-support {
  margin: 1.25rem auto 2rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 4.5rem 0;
  }

  .hero-card {
    padding: 3rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* =========================================================
   Sections
========================================================= */

.section {
  position: relative;
  padding: 3rem 0;
}

.section.light {
  background: #f2f4f7;
}

.section.alt {
  background: #eef1f5;
}

.section:not(:first-of-type)::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  margin-bottom: 2.5rem;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* =========================================================
   Services Grid
========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================================
   Service Cards
========================================================= */

.service-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.service-card p {
  flex-grow: 1;
}

.service-link {
  margin-top: 1rem;
  font-weight: 600;
  color: #3aa76d;
  text-decoration: none;
}

.service-link:hover {
  text-decoration: underline;
}

/* =========================================================
   Who We Work With
========================================================= */

.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .who-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.who-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-weight: 500;
  line-height: 1.5;
}

.who-note {
  margin-top: 2rem;
  text-align: center;
  font-weight: 500;
}

/* =========================================================
   How We Work
========================================================= */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.step {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  cursor: pointer;
}

.step-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: #3aa76d;
  margin-bottom: 0.5rem;
}

.step-toggle {
  margin-top: 0.75rem;
  background: none;
  border: none;
  padding: 0;
  font-weight: 600;
  color: #3aa76d;
  cursor: pointer;
}

.step-toggle:hover {
  text-decoration: underline;
}

.step-details {
  display: none;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.step-details ul {
  padding-left: 1.25rem;
  margin: 0;
}

.step-details li {
  margin-bottom: 0.5rem;
}

.step.is-open .step-details {
  display: block;
}

/* =========================================================
   Buttons
========================================================= */

.btn {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
}

.btn.primary {
  background: #3aa76d;
  color: #ffffff;
}

.btn.primary:hover {
  background: #31965f;
}

.btn.secondary {
  border: 1px solid #3aa76d;
  color: #3aa76d;
}

/* =========================================================
   CTA Section
========================================================= */

.section.cta {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #ffffff;
  text-align: center;
  padding: 3rem 1rem;
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
  background: #eef1f5;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #e5e7eb;
}
/* =========================================================
   Service Pages
========================================================= */

.page-hero {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(56,189,248,0.06), transparent 42%),
    radial-gradient(circle at 80% 25%, rgba(58,167,109,0.05), transparent 48%),
    linear-gradient(180deg, #eef1f5 0%, #e7ebf0 100%);
}

.content-section {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

.content-section.muted {
  background: #eef1f5;
}

.cta-section {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  background: #0f172a;
  color: #ffffff;
}
