.services-page {
  background: #fbfcfa;
}

.services-hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-height) + 78px) 0 94px;
  color: #fff;
}

.services-hero-media,
.services-hero-shade {
  position: absolute;
  inset: 0;
}

.services-hero-media {
  z-index: -3;
  background: var(--green-900);
}

.services-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 30, 22, 0.78) 0%, rgba(11, 45, 31, 0.54) 54%, rgba(11, 45, 31, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 19, 14, 0.16) 0%, rgba(5, 19, 14, 0.62) 100%);
}

.services-hero-inner {
  position: relative;
}

.services-hero-inner::before {
  position: absolute;
  top: 8px;
  left: -28px;
  width: 3px;
  height: 210px;
  content: "";
  background: linear-gradient(180deg, var(--gold), rgba(217, 179, 90, 0));
}

.services-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.services-hero-message {
  max-width: 780px;
  margin: 28px 0 0;
  font-size: clamp(1.45rem, 2.75vw, 2.45rem);
  font-weight: 800;
  line-height: 1.5;
}

.services-hero-lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
  line-height: 2;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.services-anchor-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 24;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(21, 47, 34, 0.08);
  backdrop-filter: blur(12px);
}

.services-anchor-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.services-anchor-inner::-webkit-scrollbar {
  display: none;
}

.services-anchor-inner a {
  flex: 1 0 auto;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.services-anchor-inner a:hover,
.services-anchor-inner a:focus-visible {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

.services-intro {
  padding: 104px 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 246, 0.92)),
    url("../img/services-tree-bg.png") center / cover no-repeat;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  gap: 70px;
  align-items: start;
}

.services-intro-copy h2,
.services-section-heading h2,
.one-stop-heading h2,
.strengths-copy h2,
.services-contact h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 3.55vw, 3.2rem);
  line-height: 1.34;
  letter-spacing: 0;
}

.services-intro-text {
  padding: 4px 0 4px 32px;
  border-left: 1px solid rgba(40, 112, 73, 0.3);
}

.services-intro-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 2.05;
}

.services-intro-text p + p {
  margin-top: 20px;
}

.services-fields,
.one-stop-section,
.strengths-section,
.services-related {
  padding: 104px 0;
}

#business-fields,
#one-stop,
#strengths,
#services-contact {
  scroll-margin-top: calc(var(--header-height) + 82px);
}

.services-section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.services-section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.services-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(21, 47, 34, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.services-card-wide {
  grid-column: auto;
  grid-template-columns: 1fr;
}

.services-card:hover,
.services-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(61, 154, 98, 0.46);
  box-shadow: var(--shadow);
}

.services-card-media {
  position: relative;
  display: grid;
  height: 240px;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(20, 60, 45, 0.86), rgba(40, 112, 73, 0.72)),
    url("../img/services-tree-bg.png") center / cover no-repeat;
}

.services-card-media::after {
  display: none;
}

.services-card-media img {
  width: min(70%, 220px);
  height: 165px;
  object-fit: contain;
  background: #fff;
  border: 8px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(7, 29, 20, 0.28);
  transition: transform 500ms ease;
}

.services-card:hover .services-card-media img,
.services-card:focus-visible .services-card-media img {
  transform: scale(1.04);
}

.services-card-body {
  display: grid;
  align-content: start;
  padding: 26px;
}

.services-card-number {
  color: var(--green-700);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.services-card-en {
  margin-top: 10px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-card-body > strong {
  margin-top: 5px;
  color: var(--green-900);
  font-size: 1.42rem;
  line-height: 1.4;
}

.services-card-text {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.services-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 17px;
  color: var(--green-800);
  font-size: 0.9rem;
  font-weight: 900;
  border-top: 1px solid var(--line);
}

.services-card-link span {
  font-size: 1.16rem;
}

.one-stop-section {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(12, 49, 35, 0.93), rgba(31, 86, 63, 0.8)),
    url("../img/services-one-stop-forest-generated.png") center / cover no-repeat;
}

.one-stop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(560px, 0.55fr);
  gap: 54px;
  align-items: start;
}

.one-stop-heading h2,
.services-contact h2 {
  color: #fff;
}

.one-stop-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.one-stop-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.one-stop-list li {
  min-height: 220px;
  background: rgba(10, 42, 29, 0.76);
  backdrop-filter: blur(6px);
}

.one-stop-list a {
  display: block;
  min-height: 100%;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.one-stop-list a:hover,
.one-stop-list a:focus-visible {
  background: rgba(120, 184, 87, 0.15);
}

.one-stop-list span {
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.one-stop-list strong {
  display: block;
  margin-top: 26px;
  font-size: 1.32rem;
}

.one-stop-list p {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.8;
}

.one-stop-list em {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 800;
}

.strengths-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.48fr) minmax(0, 0.52fr);
  gap: 56px;
  align-items: center;
}

.strengths-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.strengths-media::before {
  position: absolute;
  inset: 14px;
  z-index: 2;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  pointer-events: none;
}

.strengths-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.strength-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.strength-list article {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 47, 34, 0.06);
}

.strength-list span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strength-list h3 {
  margin: 5px 0 0;
  color: var(--green-900);
  font-size: 1.2rem;
  line-height: 1.4;
}

.strength-list p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.services-related {
  background: #fff;
}

.related-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-link-grid a {
  display: grid;
  min-height: 180px;
  align-content: start;
  padding: 26px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 245, 0.95)),
    url("../img/services-tree-bg.png") center / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 47, 34, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.related-link-grid a:hover,
.related-link-grid a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(61, 154, 98, 0.42);
  box-shadow: var(--shadow-soft);
}

.related-link-grid span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-link-grid strong {
  margin-top: 8px;
  color: var(--green-900);
  font-size: 1.34rem;
}

.related-link-grid em {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.7;
}

.related-link-grid em::after {
  content: " →";
  color: var(--green-700);
  font-weight: 900;
}

.services-contact {
  padding: 88px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 48, 29, 0.72), rgba(31, 92, 53, 0.56)),
    url("../img/contact-forest-bg.png") center 42% / cover no-repeat;
}

.services-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.services-contact p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.services-contact .button-light {
  flex: 0 0 auto;
  min-width: 210px;
}

@media (max-width: 1060px) {
  .services-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-card-wide,
  .one-stop-layout,
  .strengths-layout {
    grid-template-columns: 1fr;
  }

  .services-card-wide {
    grid-column: auto;
  }

  .one-stop-layout {
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .services-hero {
    min-height: 650px;
    padding: calc(var(--header-height) + 54px) 0 70px;
  }

  .services-hero-inner::before {
    display: none;
  }

  .services-hero h1 {
    font-size: 3.25rem;
  }

  .services-hero-message {
    margin-top: 22px;
    font-size: 1.5rem;
  }

  .services-hero-lead {
    font-size: 0.96rem;
    line-height: 1.85;
  }

  .services-hero-actions,
  .services-contact-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .services-anchor-inner {
    width: min(100% - 28px, 1120px);
  }

  .services-intro,
  .services-fields,
  .one-stop-section,
  .strengths-section,
  .services-related {
    padding: 72px 0;
  }

  .services-intro-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .services-intro-text {
    padding: 0;
    border-left: 0;
  }

  .services-card-grid,
  .related-link-grid {
    grid-template-columns: 1fr;
  }

  .services-card-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .services-card-media {
    height: 220px;
    min-height: 0;
    padding: 15px;
  }

  .services-card-body {
    padding: 22px;
  }

  .services-card-body > strong {
    font-size: 1.2rem;
  }

  .services-card-text {
    font-size: 0.88rem;
    line-height: 1.72;
  }

  .one-stop-list {
    grid-template-columns: 1fr;
  }

  .one-stop-list li {
    min-height: 0;
  }

  .strengths-media img {
    aspect-ratio: 16 / 10;
  }

  .services-contact {
    padding: 70px 0;
  }
}

@media (max-width: 520px) {
  .services-card {
    display: block;
  }

  .services-card-media {
    height: 220px;
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .services-hero h1 {
    font-size: 2.75rem;
  }

  .services-hero-message {
    font-size: 1.3rem;
  }

  .services-intro-copy h2,
  .services-section-heading h2,
  .one-stop-heading h2,
  .strengths-copy h2,
  .services-contact h2 {
    font-size: 1.88rem;
  }

  .services-card-body,
  .related-link-grid a,
  .strength-list article {
    padding: 20px;
  }
}
