:root {
  --nesti-green: #004b38;
  --nesti-green-deep: #002d22;
  --nesti-green-soft: #eaf4ef;
  --nesti-green-mist: #dbeae3;
  --nesti-coral: #ee7659;
  --nesti-coral-deep: #c8563f;
  --nesti-coral-soft: #ffd9cb;
  --nesti-ink: #18211d;
  --nesti-muted: #5f6d66;
  --nesti-line: #cbd8d1;
  --nesti-paper: #f8faf5;
  --nesti-white: #ffffff;
  --nesti-shadow: 0 24px 70px rgba(0, 45, 34, 0.14);
  --nesti-radius: 8px;
  --nesti-display: "Libre Caslon Text", Georgia, serif;
  --nesti-body: "Manrope", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--nesti-paper);
  color: var(--nesti-ink);
  font-family: var(--nesti-body);
  font-size: 16px;
  line-height: 1.6;
}

body.has-open-menu {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--nesti-green);
  color: var(--nesti-white);
  border-radius: var(--nesti-radius);
}

.icon {
  width: 1.18em;
  height: 1.18em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 245, 0.88);
  border-bottom: 1px solid rgba(203, 216, 209, 0.75);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(1260px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 24px;
}

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

.site-logo__image {
  width: 160px;
  height: auto;
}

.site-logo--footer .site-logo__image {
  filter: brightness(0) invert(1);
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--nesti-green-deep);
  font-size: 14px;
  font-weight: 700;
  opacity: 0.82;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--nesti-coral-deep);
  opacity: 1;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--nesti-radius);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  padding: 16px 22px;
  background: var(--nesti-green);
  color: var(--nesti-white);
  box-shadow: 0 16px 30px rgba(0, 75, 56, 0.24);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--nesti-green-deep);
}

.btn--coral {
  padding: 14px 18px;
  background: var(--nesti-coral);
  color: var(--nesti-white);
  box-shadow: 0 14px 26px rgba(238, 118, 89, 0.28);
}

.btn--coral:hover,
.btn--coral:focus-visible {
  background: var(--nesti-coral-deep);
}

.btn--ghost {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--nesti-green);
  border-color: rgba(238, 118, 89, 0.55);
}

.btn--wide {
  width: 100%;
}

.icon-button {
  width: 48px;
  height: 48px;
  background: var(--nesti-green);
  color: var(--nesti-white);
  box-shadow: 0 12px 24px rgba(0, 75, 56, 0.24);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 75, 56, 0.18);
  border-radius: var(--nesti-radius);
  background: var(--nesti-white);
  color: var(--nesti-green);
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(234, 244, 239, 0.98) 0%, rgba(234, 244, 239, 0.92) 40%, rgba(248, 250, 245, 0.62) 100%),
    linear-gradient(135deg, rgba(238, 118, 89, 0.17), rgba(0, 75, 56, 0.12));
}

.hero__inner {
  min-height: calc(100vh - 82px);
  padding: clamp(56px, 8vw, 102px) 0 clamp(44px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.86fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.hero__content {
  max-width: 670px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--nesti-coral-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  padding: 10px 14px;
  background: var(--nesti-coral);
  color: var(--nesti-white);
  border-radius: var(--nesti-radius);
  box-shadow: 0 12px 30px rgba(238, 118, 89, 0.28);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--nesti-green);
}

h1,
h2 {
  font-family: var(--nesti-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  font-size: 78px;
}

h2 {
  font-size: 54px;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
}

.hero__lead,
.section-heading p,
.split-layout__copy p,
.quote-copy p,
.content-page p {
  color: var(--nesti-muted);
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 19px;
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
}

.hero__badges span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 10px 12px;
  color: var(--nesti-green-deep);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(0, 75, 56, 0.12);
  border-radius: var(--nesti-radius);
}

.hero__badges .icon {
  color: var(--nesti-green);
  font-size: 22px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__visual {
  position: relative;
  min-height: 530px;
  border-radius: var(--nesti-radius);
  overflow: hidden;
  box-shadow: var(--nesti-shadow);
  isolation: isolate;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 45, 34, 0.04), rgba(0, 45, 34, 0.26));
  z-index: 1;
}

.hero__note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: min(265px, calc(100% - 36px));
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--nesti-radius);
  box-shadow: 0 18px 40px rgba(0, 45, 34, 0.18);
}

.hero__note strong,
.hero__note span {
  display: block;
}

.hero__note strong {
  color: var(--nesti-green);
  font-size: 18px;
}

.hero__note span {
  margin-top: 2px;
  color: var(--nesti-muted);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section--services {
  background: linear-gradient(180deg, var(--nesti-white), var(--nesti-green-soft));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 17px;
}

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

.service-card,
.value-item,
.step,
.quote-panel {
  border: 1px solid rgba(0, 75, 56, 0.12);
  border-radius: var(--nesti-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(0, 45, 34, 0.07);
}

.service-card {
  min-height: 244px;
  padding: 24px 20px;
}

.service-card__icon,
.value-item__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--nesti-green);
  background: var(--nesti-green-soft);
  border: 1px solid rgba(0, 75, 56, 0.14);
  border-radius: 50%;
}

.service-card:nth-child(even) .service-card__icon,
.value-item:nth-child(even) .value-item__icon {
  color: var(--nesti-coral-deep);
  background: var(--nesti-coral-soft);
  border-color: rgba(238, 118, 89, 0.2);
}

.service-card h3,
.value-item h3,
.step h3 {
  margin-bottom: 10px;
  color: var(--nesti-ink);
}

.service-card p,
.value-item p,
.step p {
  margin: 0;
  color: var(--nesti-muted);
  font-size: 14px;
}

.section--split {
  background: var(--nesti-paper);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: center;
}

.split-layout__copy p {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--nesti-coral-deep);
  font-weight: 800;
}

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

.sector-list span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: var(--nesti-green-deep);
  font-weight: 800;
  background: var(--nesti-white);
  border: 1px solid rgba(0, 75, 56, 0.13);
  border-radius: var(--nesti-radius);
}

.section--values {
  background: var(--nesti-green-deep);
}

.section--values h2,
.section--values .section-kicker {
  color: var(--nesti-white);
}

.section--values .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

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

.value-item {
  min-height: 220px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: start;
}

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

.step {
  min-height: 150px;
  padding: 22px;
}

.quote-section {
  background:
    linear-gradient(90deg, rgba(0, 75, 56, 0.95), rgba(0, 45, 34, 0.96)),
    var(--nesti-green-deep);
  color: var(--nesti-white);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.78fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.quote-copy h2,
.quote-copy .section-kicker {
  color: var(--nesti-white);
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-lines a,
.contact-lines p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--nesti-white);
  font-weight: 800;
}

.contact-lines .icon {
  color: var(--nesti-coral);
}

.quote-panel {
  padding: clamp(20px, 3vw, 30px);
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--nesti-green-deep);
  font-size: 14px;
  font-weight: 800;
}

.quote-form label.quote-form__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(0, 45, 34, 0.78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--nesti-ink);
  background: var(--nesti-white);
  border: 1px solid var(--nesti-line);
  border-radius: var(--nesti-radius);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quote-form__consent input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--nesti-coral);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--nesti-coral);
  box-shadow: 0 0 0 4px rgba(238, 118, 89, 0.16);
}

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

.quote-form__trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--nesti-radius);
  font-weight: 800;
}

.form-notice--success {
  color: #064333;
  background: #dff4ea;
}

.form-notice--error {
  color: #842018;
  background: #ffe2dc;
}

.site-footer {
  padding: 36px 0;
  color: var(--nesti-white);
  background: var(--nesti-green-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.site-footer__brand p,
.site-footer__legal {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer__contact {
  display: grid;
  gap: 10px;
}

.site-footer__contact a,
.site-footer__contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.site-footer__contact .icon {
  color: var(--nesti-coral);
}

.site-footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links {
  text-align: right;
}

.content-page {
  max-width: 820px;
}

.content-page h1 {
  margin-bottom: 22px;
}

.entry-content a {
  color: var(--nesti-coral-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: 170px 1fr auto;
  }

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

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

@media (max-width: 900px) {
  .site-header__inner {
    min-height: 74px;
    grid-template-columns: 1fr auto;
  }

  .site-logo__image {
    width: 136px;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    padding: 20px;
    background: rgba(248, 250, 245, 0.98);
    border-bottom: 1px solid var(--nesti-line);
    box-shadow: 0 24px 50px rgba(0, 45, 34, 0.16);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    display: grid;
    justify-content: stretch;
    gap: 6px;
  }

  .site-nav a {
    display: block;
    padding: 13px 0;
    font-size: 17px;
  }

  .site-header__actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero__inner,
  .split-layout,
  .process-layout,
  .quote-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__visual,
  .hero__visual img {
    min-height: 430px;
  }

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

  .site-footer__links {
    text-align: left;
  }

  .site-footer__menu {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .site-header__inner {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero__badges,
  .services-grid,
  .values-grid,
  .steps,
  .sector-list,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual,
  .hero__visual img {
    min-height: 360px;
  }

  .quote-layout {
    gap: 26px;
  }
}
