/* ===== Hero (shared) ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #0d2420 0%, #14322E 55%, #113030 100%);
  color: #fff;
  text-align: center;
  padding: 128px 52px 72px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,201,176,.22) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,201,176,.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero h1 {
  position: relative;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.07;
  color: #fff;
  margin: 0 auto 18px;
  max-width: 22ch;
  text-wrap: balance;
}
.hero > p {
  position: relative;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  max-width: 44ch;
  margin: 0 auto;
}

.hero--service  { border-radius: 0 0 44px 44px; padding-bottom: 80px; }
.hero--services { border-radius: 0 0 44px 44px; padding-bottom: 68px; }


/* ===== Service page: two-column layout ===== */
.service-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 52px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0 48px;
  align-items: start;
}

.service-page__main {
  min-width: 0;
}

.service-sidebar {
  position: sticky;
  top: 108px;
}

.sidebar-cta {
  background: #25C9B0;
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 20px;
}

.sidebar-cta p {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 20px;
}

.sidebar-cta__btn {
  display: block;
  background: #14322E;
  color: #fff;
  text-align: center;
  box-shadow: 0 6px 22px rgba(20,50,46,.28);
}

.sidebar-cta__btn:hover {
  box-shadow: 0 10px 32px rgba(20,50,46,.40);
}

.sidebar-services {
  background: #F3FCFA;
  border-radius: 20px;
  padding: 24px 28px;
}

.sidebar-services h3 {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0FA68E;
  margin: 0 0 16px;
}

.sidebar-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-services li {
  border-bottom: 1px solid #D9F6EF;
}

.sidebar-services li:last-child {
  border-bottom: none;
}

.sidebar-services a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #3E5C57;
  text-decoration: none;
  transition: color .15s, padding-left .15s;
}

.sidebar-services a:hover,
.sidebar-services a.active {
  color: #0FA68E;
  font-weight: 700;
  padding-left: 6px;
}


/* ===== Service detail: prose area ===== */
.service-content {
  padding: 64px 0;
}

.service-content h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.2;
  color: #14322E;
  margin: 52px 0 14px;
  padding-left: 16px;
  border-left: 3px solid #25C9B0;
}
.service-content h2:first-child { margin-top: 0; }

.service-content p {
  font-size: 16px;
  line-height: 1.78;
  color: #3E5C57;
  font-weight: 500;
  margin: 0 0 18px;
}

.service-content ol {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 0 0 22px;
}
.service-content ol li {
  counter-increment: steps;
  position: relative;
  padding: 18px 22px 18px 64px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 10px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #3E5C57;
  font-weight: 500;
}
.service-content ol li::before {
  content: counter(steps);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #D9F6EF;
  color: #0FA68E;
  font-weight: 900;
  font-size: 14px;
  line-height: 32px;
  text-align: center;
}
.service-content strong { color: #14322E; font-weight: 800; }


/* ===== CTA block (inside service-content) ===== */
.cta-block {
  background: #25C9B0;
  border-radius: 28px;
  padding: 44px 48px;
  text-align: center;
  margin-top: 56px;
}
.cta-block > p {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 24px;
}
.cta-block .btn--primary {
  background: #14322E;
  color: #fff;
  box-shadow: 0 6px 22px rgba(20,50,46,.28);
}
.cta-block .btn--primary:hover {
  box-shadow: 0 10px 32px rgba(20,50,46,.40);
}


/* ===== Back nav (service detail pages) ===== */
.service-nav {
  padding: 4px 0 64px;
}
.service-nav a {
  font-size: 14px;
  font-weight: 700;
  color: #0FA68E;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .15s;
}
.service-nav a:hover { gap: 9px; }


/* ===== Services list grid ===== */
.services-grid {
  max-width: 1260px;
  margin: 0 auto;
  padding: 56px 52px 72px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card {
  background: #fff;
  border-radius: 26px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
  box-shadow: 0 10px 36px rgba(37,201,176,.18);
  transform: translateY(-2px);
}
.service-card h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: #14322E;
  margin: 0;
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #5A7570;
  font-weight: 500;
  margin: 0;
  flex-grow: 1;
}
.service-card .btn {
  align-self: flex-start;
  padding: 11px 22px;
  font-size: 13.5px;
  margin-top: auto;
}


/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .service-page    { padding: 0 36px 64px; gap: 0 36px; }
  .service-content { padding: 56px 0; }
  .service-nav     { padding: 4px 0 52px; }
  .services-grid   { padding: 48px 36px 60px; }
}

@media (max-width: 900px) {
  .hero           { padding: 108px 28px 56px; }
  .hero h1        { font-size: 42px; }
  .hero > p       { font-size: 16px; }
  .hero--service,
  .hero--services { border-radius: 0 0 32px 32px; }

  /* Collapse to single column; sidebar moves below */
  .service-page {
    grid-template-columns: 1fr;
    padding: 0 28px 56px;
    gap: 0;
  }
  .service-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 0;
    padding-bottom: 56px;
  }
  .sidebar-cta   { margin-bottom: 0; }

  .service-content  { padding: 48px 0; }
  .service-content h2 { font-size: 22px; margin-top: 40px; }
  .service-nav      { padding: 4px 0 48px; }
  .services-grid    { padding: 40px 28px 56px; grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .cta-block        { padding: 36px 32px; }
  .cta-block > p    { font-size: 18px; }
}

@media (max-width: 640px) {
  .hero           { padding: 100px 20px 48px; }
  .hero h1        { font-size: 34px; }
  .hero > p       { font-size: 15px; }
  .hero--service,
  .hero--services { border-radius: 0 0 24px 24px; }

  .service-page  { padding: 0 20px 48px; }
  /* Hide sidebar at mobile — each page has its own CTA block */
  .service-sidebar { display: none; }

  .service-content       { padding: 40px 0; }
  .service-content h2    { font-size: 20px; margin-top: 34px; }
  .service-content ol li { padding: 14px 16px 14px 54px; font-size: 15px; }
  .service-content ol li::before { left: 14px; top: 14px; width: 28px; height: 28px; font-size: 13px; line-height: 28px; }
  .service-nav           { padding: 4px 0 40px; }
  .services-grid         { padding: 32px 20px 48px; grid-template-columns: 1fr; }

  .cta-block    { padding: 32px 24px; margin-top: 44px; }
  .cta-block > p { font-size: 17px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 28px; }
}
