:root {
  --ink: #18312d;
  --muted: #5e706d;
  --green: #176f61;
  --green-deep: #0e5147;
  --green-bright: #78b72e;
  --aqua: #21a9bd;
  --paper: #fbfcf9;
  --mist: #eff5f0;
  --line: #dce7df;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(25, 58, 50, 0.09);
  --radius: 10px;
  --shell: 1160px;
  --header-offset: 190px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.15;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6vw, 5.35rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(24, 49, 45, 0.09);
  box-shadow: 0 8px 24px rgba(16, 62, 52, 0.08);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--aqua) 0 48%, var(--green-bright) 52% 100%);
}

.header-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 220px;
  height: auto;
}

.header-contact {
  text-align: right;
}

.header-contact > span {
  display: block;
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-contact div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-contact a {
  color: var(--green-deep);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
}

.header-contact i {
  width: 4px;
  height: 4px;
  background: var(--green-bright);
  border-radius: 50%;
}

.nav-toggle {
  min-width: 48px;
  min-height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--green-deep);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-icon {
  width: 20px;
  display: grid;
  gap: 4px;
}

.nav-toggle-icon i {
  width: 100%;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav {
  color: var(--white);
  background: var(--green-deep);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-inner a {
  flex: 0 0 auto;
  padding: 16px 18px 15px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.nav-inner a:hover,
.nav-inner a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--green-bright);
}

.nav-call {
  display: none;
}

.hero {
  min-height: 670px;
  display: grid;
  align-items: center;
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 48, 38, 0.92) 0%, rgba(8, 67, 51, 0.72) 48%, rgba(13, 86, 61, 0.18) 100%),
    url("images/hero-sharp.png") center / cover no-repeat;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 100px;
}

.hero-copy {
  max-width: 830px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.22rem;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow-light {
  color: #d7f0a9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--green-deep);
  background: #d8ef9c;
}

.button-primary:hover {
  background: #e4f6b6;
}

.button-quiet {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.09);
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid div {
  padding: 26px 34px;
  border-left: 1px solid var(--line);
}

.trust-grid div:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 3px;
  color: var(--green-deep);
  font-size: 0.96rem;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero,
.section,
.contact {
  scroll-margin-top: var(--header-offset);
}

.section {
  padding-block: 112px;
}

.section-tinted {
  background: var(--mist);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 86px;
  align-items: start;
}

.section-copy {
  max-width: 730px;
}

.section-copy > p:not(.eyebrow),
.section-heading > p,
.supervision-copy > p,
.contact p {
  color: var(--muted);
}

.lead {
  color: var(--ink) !important;
  font-size: 1.18rem;
  line-height: 1.65;
}

.standards-card {
  position: relative;
  margin-top: 20px;
  padding: 42px;
  color: var(--white);
  background: var(--green-deep);
  box-shadow: var(--shadow);
  border-radius: 20px;
  overflow: hidden;
}

.standards-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -100px;
  bottom: -120px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.standards-card h3 {
  margin-bottom: 20px;
}

.standards-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.leaf-mark {
  width: 80px;
  height: 80px;
  display: block;
  margin-bottom: 28px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.leaf-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

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

.service-card {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid rgba(23, 111, 97, 0.1);
  box-shadow: 0 10px 30px rgba(26, 70, 60, 0.045);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(23, 111, 97, 0.22);
  box-shadow: 0 20px 44px rgba(26, 70, 60, 0.1);
  transform: translateY(-4px);
}

.service-card > img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.service-body {
  padding: 32px 30px 26px;
}

.service-number {
  display: block;
  margin-bottom: 14px;
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-body h3 {
  margin-bottom: 16px;
}

.service-body p,
.service-body ul {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-body ul {
  margin: -8px 0 0;
  padding-left: 1.25rem;
}

.service-body p:last-child {
  margin-bottom: 0;
}

.service-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.person-card-beata {
  order: 1;
}

.person-card-dominika {
  order: 2;
}

.person-card-jolanta {
  order: 3;
}

.person-card-adriana {
  order: 4;
}

.person-card {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(26, 70, 60, 0.055);
  overflow: hidden;
  transition: border-color 240ms ease, box-shadow 320ms ease;
}

.person-card.is-expanded {
  grid-column: 1 / -1;
  border-color: rgba(23, 111, 97, 0.24);
  box-shadow: 0 26px 64px rgba(26, 70, 60, 0.14);
}

.person-card > img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
}

.person-card-dominika > img {
  aspect-ratio: 3 / 4;
  object-position: 58% top;
}

@media (min-width: 1061px) {
  .person-card-dominika {
    grid-template-columns: 46% minmax(0, 1fr);
  }

  .person-card.is-expanded,
  .person-card-dominika.is-expanded {
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  }

  .person-card.is-expanded > img {
    height: 100%;
    max-height: 720px;
    aspect-ratio: auto;
  }

  .person-card.is-expanded .person-content {
    padding: 46px 50px;
  }
}

.person-content {
  padding: 34px 30px;
}

.person-content h3 {
  margin-bottom: 8px;
}

.person-content > p:not(.person-role),
.bio p {
  color: var(--muted);
  font-size: 0.9rem;
}

.person-role {
  margin-bottom: 20px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.person-card details {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.person-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.person-card summary::-webkit-details-marker {
  display: none;
}

.person-card summary::after {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: var(--green-deep);
  content: "+";
  font-size: 1.15rem;
  line-height: 1;
  background: var(--mist);
  border: 1px solid rgba(23, 111, 97, 0.14);
  border-radius: 50%;
  transition: color 200ms ease, background-color 200ms ease, transform 360ms ease;
}

.person-card details[open] summary::after {
  color: var(--white);
  content: "−";
  background: var(--green);
  transform: rotate(180deg);
}

.bio {
  display: grid;
  grid-template-rows: 0fr;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-rows 460ms cubic-bezier(0.22, 1, 0.36, 1), padding-top 460ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
}

.bio-inner {
  min-height: 0;
  overflow: hidden;
}

.person-card details[open] .bio {
  grid-template-rows: 1fr;
  padding-top: 20px;
  opacity: 1;
}

.bio-inner p:last-child {
  margin-bottom: 0;
}

.collaborators {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 72px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.collaborators-intro {
  padding: 16px 30px 16px 0;
}

.collaborators-intro h3 {
  margin-bottom: 0;
}

.collaborator {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 20px;
  background: var(--mist);
  border: 1px solid rgba(23, 111, 97, 0.08);
  border-radius: 16px;
}

.collaborator img {
  width: 110px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}

.collaborator-seweryn img {
  object-position: center 46%;
}

.collaborator h4 {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.collaborator p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.collaborator .small {
  margin: 0;
  color: var(--green-deep);
  font-weight: 700;
}

.supervision {
  color: var(--white);
  background: var(--green-deep);
}

.supervision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(3, 39, 32, 0.24);
}

.supervision-image {
  min-height: 500px;
  background-image: linear-gradient(rgba(12, 80, 68, 0.16), rgba(12, 80, 68, 0.16)), url("images/superwizje-upscale.jpg");
  background-position: center, 42% center;
  background-size: cover, 135% auto;
  background-repeat: no-repeat;
}

.supervision-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
  background: rgba(255, 255, 255, 0.04);
}

.supervision-copy h2 {
  margin-bottom: 24px;
}

.supervision-copy > p {
  color: rgba(255, 255, 255, 0.76);
}

.supervision-copy .lead {
  color: var(--white) !important;
}

.inline-link {
  align-self: flex-start;
  margin-top: 14px;
  padding-bottom: 6px;
  color: #d8ef9c;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 239, 156, 0.45);
}

.inline-link span {
  margin-left: 8px;
}

.partners {
  text-align: center;
}

.partners .eyebrow {
  margin-bottom: 32px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.partner-logos a {
  width: min(100%, 360px);
  min-height: 170px;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.partner-logos a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.partner-logos img {
  max-width: 280px;
  max-height: 100px;
  object-fit: contain;
}

.contact {
  padding-block: 104px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(8, 66, 55, 0.97), rgba(19, 105, 88, 0.91)),
    url("images/hero-sharp.png") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.1fr);
  gap: 90px;
  align-items: center;
}

.contact h2 {
  margin-bottom: 22px;
}

.contact p {
  color: rgba(255, 255, 255, 0.77);
}

.contact .location {
  margin-top: 30px;
  color: var(--white);
  font-weight: 700;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  background: rgba(216, 239, 156, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  box-shadow: 0 24px 52px rgba(3, 39, 32, 0.18);
}

.contact-card {
  position: relative;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 72px 28px 30px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(2, 52, 44, 0.38), rgba(9, 73, 61, 0.28));
  border: 0;
  border-radius: 0;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.contact-card::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 3px;
  content: "";
  background: #d8ef9c;
  transform: scaleY(0.38);
  transition: transform 160ms ease;
}

.contact-card::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #d8ef9c;
  font-size: 1rem;
  content: "↗";
  border: 1px solid rgba(216, 239, 156, 0.42);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 0 0 1px rgba(216, 239, 156, 0.25);
}

.contact-card:hover::before {
  transform: scaleY(1);
}

.contact-card:hover::after {
  color: var(--green-deep);
  background: #d8ef9c;
  border-color: #d8ef9c;
}

.contact-card:focus-visible {
  z-index: 1;
  outline: 2px solid #d8ef9c;
  outline-offset: -3px;
}

.contact-card span {
  margin-bottom: 9px;
  color: #d8ef9c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.01em;
}

.contact-card-wide {
  grid-column: 1 / -1;
  min-height: 108px;
}

.site-footer {
  padding-block: 36px;
  color: var(--muted);
  background: #f2f5f1;
  border-top: 1px solid var(--line);
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-block: 60px;
  background:
    linear-gradient(100deg, rgba(245, 249, 244, 0.97), rgba(255, 255, 255, 0.91)),
    url("images/hero-sharp.png") center / cover;
}

.error-page .shell {
  max-width: 760px;
}

.error-page .brand {
  display: inline-block;
  margin-bottom: 70px;
}

.error-page h1 {
  color: var(--green-deep);
}

.error-page > .shell > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.footer-brand img {
  width: 132px;
  height: auto;
  mix-blend-mode: multiply;
}

.footer-inner p {
  margin: 0;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.privacy-note {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}

.privacy-note summary {
  width: fit-content;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(82, 98, 91, 0.4);
  text-underline-offset: 3px;
}

.privacy-note div {
  max-width: 760px;
  padding-top: 12px;
}

.privacy-note p + p {
  margin-top: 8px;
}

.privacy-note a {
  color: var(--green-deep);
}

.service-card > *,
.person-card > *,
.collaborator > *,
.contact-grid > *,
.footer-inner > * {
  min-width: 0;
}

@media (max-width: 1060px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .person-card {
    grid-template-columns: 280px minmax(0, 1fr);
  }

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

  .collaborators-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --header-offset: 92px;
  }

  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    min-height: 88px;
  }

  .brand img {
    width: 185px;
  }

  .header-contact {
    display: none;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .js .site-nav {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 220ms ease, visibility 220ms step-end;
  }

  .js .site-header.menu-open .site-nav {
    max-height: 560px;
    visibility: visible;
    transition: max-height 220ms ease, visibility 0s;
  }

  .site-header.menu-open .nav-toggle-icon i:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle-icon i:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle-icon i:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-inner {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 16px;
    overflow: visible;
  }

  .nav-inner a {
    width: 100%;
    padding: 12px;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
  }

  .nav-inner a:last-child {
    border-bottom: 0;
  }

  .nav-call {
    display: block;
    margin-top: 5px;
    color: #d8ef9c;
    background: rgba(216, 239, 156, 0.08);
    border: 1px solid rgba(216, 239, 156, 0.18);
  }

  .nav-call + .nav-call {
    margin-top: 2px;
  }

  .hero {
    min-height: 590px;
  }

  .hero-inner {
    padding-block: 74px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1.06rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding-block: 10px;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    padding: 16px 8px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 76px;
  }

  .split-layout,
  .section-heading,
  .supervision-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-layout,
  .section-heading,
  .contact-grid {
    gap: 40px;
  }

  .section-heading {
    align-items: start;
    margin-bottom: 42px;
  }

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

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

  .supervision-grid {
    width: 100%;
  }

  .supervision-image {
    min-height: 380px;
  }

  .supervision-copy {
    padding: 55px max(24px, calc((100vw - min(calc(100vw - 32px), var(--shell))) / 2));
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    justify-self: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 580px) {
  body {
    line-height: 1.64;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    min-height: 72px;
    align-items: center;
    gap: 12px;
  }

  .brand img {
    width: 142px;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 11.8vw, 2.9rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  h2 {
    margin-bottom: 20px;
    font-size: clamp(1.9rem, 9vw, 2.45rem);
    letter-spacing: -0.035em;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero {
    min-height: auto;
    background-position: 60% center;
    background-image:
      linear-gradient(90deg, rgba(5, 48, 38, 0.95), rgba(8, 67, 51, 0.76)),
      url("images/hero-sharp.png");
  }

  .hero-inner {
    padding-block: 52px 58px;
  }

  .hero .eyebrow {
    margin-bottom: 13px;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-bottom: 28px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .trust-strip {
    padding-block: 12px;
    background: #f7faf7;
  }

  .trust-grid {
    gap: 8px;
    padding-block: 0;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    padding: 13px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .trust-grid strong {
    font-size: 0.9rem;
  }

  .trust-grid span {
    font-size: 0.78rem;
  }

  .standards-card {
    margin-top: 0;
    padding: 30px 24px;
    border-radius: 16px;
  }

  .section {
    padding-block: 54px;
  }

  .split-layout,
  .section-heading,
  .contact-grid {
    gap: 30px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading > p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .services-grid,
  .team-grid {
    gap: 18px;
  }

  .service-card {
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(26, 70, 60, 0.07);
  }

  .service-card:hover {
    transform: none;
  }

  .service-card > img {
    aspect-ratio: 16 / 10;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .service-body,
  .person-content {
    padding: 24px 20px 26px;
  }

  .service-number {
    width: fit-content;
    margin-bottom: 12px;
    padding: 4px 8px;
    color: var(--green-deep);
    background: rgba(120, 183, 46, 0.14);
    border-radius: 999px;
  }

  .service-body h3 {
    margin-bottom: 14px;
  }

  .service-body p,
  .service-body ul {
    font-size: 0.93rem;
    line-height: 1.62;
  }

  .person-card > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1.08;
  }

  .person-card {
    border-radius: 16px;
  }

  .person-role {
    margin-bottom: 16px;
  }

  .person-card details {
    margin-top: 20px;
    padding-top: 16px;
  }

  .collaborators {
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .collaborator {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }

  .collaborator img {
    width: 82px;
  }

  .supervision-image {
    min-height: 230px;
  }

  .supervision-copy {
    padding-block: 38px 42px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

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

  .contact-card strong {
    overflow-wrap: anywhere;
  }

  .contact {
    padding-block: 58px;
  }

  .contact-card {
    min-height: 92px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
  }

  .contact-card::after {
    display: none;
  }

  .partner-logos a {
    min-height: 124px;
    padding: 24px;
  }

  .partner-logos img {
    max-width: 230px;
    max-height: 82px;
  }

  .error-page .brand {
    margin-bottom: 48px;
  }
}

@media (max-width: 390px) {
  .nav-toggle {
    min-width: 46px;
    padding-inline: 9px;
  }

  .nav-toggle > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .collaborator {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .collaborator img {
    width: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
