:root {
  --green: #1f8f3a;
  --green-dark: #11662c;
  --green-soft: #d9f2e2;
  --blue: #193f78;
  --blue-dark: #102a52;
  --blue-soft: #dcecff;
  --orange: #ff7a26;
  --cream: #f6fbff;
  --cream-strong: #e7f4ff;
  --ink: #10223f;
  --muted: #536782;
  --card-bg: rgba(255, 255, 255, 0.82);
  --shadow: 0 22px 70px rgba(25, 63, 120, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(31, 143, 58, 0.11), transparent 26rem),
    linear-gradient(180deg, #f7fcff 0%, #edf7ff 46%, #f8fcff 100%);
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

button.button {
  border: 0;
  cursor: pointer;
}

.site-header,
main,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 0 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: auto;
  height: 82px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: clamp(18px, 3.2vw, 42px);
  align-items: center;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  font-size: 0.92rem;
  color: var(--blue);
  padding: 12px 18px 7px 0;
}

.main-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 24px;
  border-right: 2px solid var(--green);
  border-top: 2px solid var(--green);
  border-top-right-radius: 7px;
  opacity: 0.82;
  transform: translateY(-2px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 25px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--green);
  opacity: 0.82;
  transform: translateY(-2px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before,
.main-nav .active::before,
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav .active::after {
  opacity: 1;
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before,
.main-nav .active::before {
  transform: translateY(0);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav .active::after {
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(47, 95, 31, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 14px;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.main-nav .active,
.text-link,
.service-card a {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #26a64a, var(--green-dark));
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 12px 26px rgba(35, 73, 24, 0.2);
}

.button-small {
  min-height: 45px;
  padding-inline: 24px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.32fr);
  min-height: 500px;
  overflow: hidden;
  border-radius: 0 28px 28px 74px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), var(--blue-soft));
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after,
.intro-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  left: 0;
  bottom: 0;
  width: 84px;
  height: 190px;
  border-left: 18px solid var(--green-soft);
  border-bottom: 18px solid var(--green-soft);
  border-radius: 0 0 0 56px;
}

.hero::after {
  inset: 0 auto 0 0;
  width: 47%;
  background: linear-gradient(90deg, #f7fcff 0%, rgba(247, 252, 255, 0.94) 55%, rgba(247, 252, 255, 0) 100%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 62px 20px 62px 46px;
}

.hero h1 {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: clamp(2.35rem, 4.4vw, 4.05rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 365px;
  margin: 0 0 30px;
  font-size: 1.05rem;
}

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

.intro-section {
  position: relative;
  display: grid;
  grid-template-columns: 230px 1fr 270px;
  align-items: center;
  gap: 50px;
  padding: 34px 78px 26px;
}

.intro-section::after {
  right: 0;
  top: 48px;
  width: 55px;
  height: 55px;
  border-top: 15px solid var(--green-soft);
  border-right: 15px solid var(--green-soft);
  border-radius: 0 24px 0 0;
}

.portrait {
  width: 230px;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  object-position: 68% center;
}

h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: "Ink Free", "Segoe Print", Verdana, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.intro-copy p {
  max-width: 560px;
  margin: 0 0 18px;
}

.text-link,
.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.intro-section blockquote,
.testimonial-grid blockquote,
.contact-strip,
.service-card,
.site-footer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 247, 255, 0.72)),
    var(--card-bg);
  box-shadow: 0 16px 42px rgba(25, 63, 120, 0.09);
}

.intro-section blockquote {
  position: relative;
  overflow: visible;
  margin: 0;
  padding: 34px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 1.03rem;
}

blockquote span {
  display: block;
  color: var(--green);
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.8;
}

cite {
  display: block;
  margin-top: 14px;
  color: var(--green);
  font-family: "Ink Free", "Segoe Print", Verdana, sans-serif;
  font-size: 2rem;
  font-style: italic;
}

.services,
.benefits,
.testimonials {
  padding: 20px 78px;
  text-align: center;
}

.card-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 18px;
  text-align: left;
}

.service-card {
  position: relative;
  overflow: visible;
  padding: 34px 32px 28px;
  border-radius: 12px;
  border: 1px solid rgba(25, 63, 120, 0.08);
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 16px 42px rgba(25, 63, 120, 0.08);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.service-card::before,
.intro-section blockquote::before,
.service-detail::before,
.testimonial-grid blockquote::before {
  content: "";
  position: absolute;
  inset: -2px -2px 0 0;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  border-top-right-radius: 26px;
  pointer-events: none;
  z-index: 1;
}

.service-card::after,
.intro-section blockquote::after,
.service-detail::after,
.testimonial-grid blockquote::after {
  content: "";
  position: absolute;
  right: -8.5px;
  bottom: -3px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 11px solid var(--blue);
  pointer-events: none;
  z-index: 1;
}

.service-card:hover,
.service-card:focus-visible,
.service-card.is-active {
  box-shadow: 0 18px 38px rgba(25, 63, 120, 0.15);
  outline: 0;
  transform: translateY(-3px);
}

.service-card.highlight {
  background: linear-gradient(135deg, rgba(239, 255, 244, 0.95), rgba(255, 255, 255, 0.86));
}

.service-card.highlight::before,
.service-detail::before,
.testimonial-grid blockquote.is-featured::before {
  border-top-color: var(--green);
  border-right-color: var(--green);
}

.service-card.highlight::after,
.service-detail::after,
.testimonial-grid blockquote.is-featured::after {
  border-top-color: var(--green);
}

.icon,
.benefit-row span,
.mail-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 9px 25px rgba(47, 95, 31, 0.14);
  font-size: 2rem;
  font-weight: 700;
}

.highlight .icon,
.highlight h3,
.highlight a {
  color: var(--green-dark);
}

.service-card h3,
.benefit-row h3 {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 1.15rem;
}

.service-card p,
.benefit-row p {
  margin: 0 0 18px;
}

.service-detail {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(47, 95, 31, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  text-align: left;
  box-shadow: 0 14px 36px rgba(25, 63, 120, 0.1);
}

.service-detail .eyebrow,
.contact-form .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-detail h3 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 1.35rem;
}

.service-detail p:not(.eyebrow) {
  margin: 0;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 22px;
  text-align: left;
}

.benefit-row article {
  display: grid;
  grid-template-columns: 66px 1fr;
  column-gap: 18px;
  align-items: center;
  border-right: 1px solid rgba(25, 63, 120, 0.14);
}

.benefit-row article:last-child {
  border-right: 0;
}

.benefit-row span {
  grid-row: span 2;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 1.6rem;
}

.benefit-row h3,
.benefit-row p {
  margin: 0;
}

.testimonial-grid blockquote {
  position: relative;
  overflow: visible;
  margin: 0;
  min-height: 140px;
  padding: 26px 30px;
  border-radius: 10px;
  border: 1px solid rgba(25, 63, 120, 0.08);
  opacity: 0.72;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.testimonial-grid blockquote.is-featured {
  opacity: 1;
  transform: translateY(-3px);
}

.testimonial-grid cite {
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 800;
}

.centered {
  justify-content: center;
  margin-top: 16px;
}

.testimonial-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.testimonial-controls button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 16px;
}

.testimonial-controls span {
  min-width: 48px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.contact-strip {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 28px auto 22px;
  padding: 22px 34px;
  border-radius: 16px;
}

.contact-strip h2,
.contact-strip p {
  margin: 0;
}

.mail-icon {
  background: linear-gradient(180deg, #2db456, var(--green-dark));
  color: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1.4fr auto;
  gap: 36px;
  margin-bottom: 28px;
  padding: 34px 76px;
  border-radius: 0 0 28px 28px;
}

.site-footer h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.88rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 7px;
  font-size: 0.86rem;
}

.footer-logo {
  align-self: start;
}

.footer-logo img {
  height: 92px;
}

.linkedin {
  align-self: center;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.contact-modal {
  width: min(560px, calc(100% - 28px));
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: transparent;
}

.contact-modal::backdrop {
  background: rgba(17, 22, 15, 0.45);
  backdrop-filter: blur(4px);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 18px;
  background: #f7fcff;
  box-shadow: 0 30px 80px rgba(17, 22, 15, 0.22);
}

.form-result {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.form-result .contact-form {
  width: min(560px, 100%);
}

.form-result h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.12;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-question {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eaf7ef;
  color: var(--green-dark);
  font-weight: 800;
  padding: 7px 12px;
}

.contact-form h2 {
  margin-bottom: 0;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(47, 95, 31, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(47, 95, 31, 0.13);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--blue);
  cursor: pointer;
  font-size: 1.4rem;
}

.form-note {
  margin: 0;
  border-radius: 10px;
  background: #eaf7ef;
  color: var(--green-dark);
  font-weight: 700;
  padding: 12px 14px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .intro-section,
  .contact-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    padding: 44px 34px 10px;
  }

  .hero img {
    height: 410px;
  }

  .intro-section,
  .services,
  .benefits,
  .testimonials {
    padding-inline: 16px;
  }

  .testimonial-grid,
  .benefit-row {
    grid-template-columns: 1fr;
  }

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

  .service-detail {
    grid-template-columns: 1fr;
  }

  .benefit-row article {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1200px);
  }

  .site-header {
    align-items: flex-start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .logo img {
    height: 72px;
  }

  .button-small {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }

  .menu-toggle {
    grid-column: 1 / -1;
    display: inline-flex;
    justify-content: center;
    justify-self: end;
    order: 2;
    width: 100%;
  }

  .menu-toggle span {
    display: none;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(2, max-content);
    justify-content: flex-start;
    gap: 12px 16px;
    order: 4;
  }

  .site-header.nav-open .main-nav {
    display: grid;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .hero {
    border-radius: 0 18px 18px 44px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero img {
    height: 310px;
  }

  .portrait {
    width: 100%;
  }

  .contact-strip {
    padding: 22px;
  }

  .contact-strip .button {
    width: 100%;
  }

  .contact-form {
    padding: 26px 20px 22px;
  }

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