:root {
  --sage: #6f8f7a;
  --pine: #163028;
  --mist: #e6ebe8;
  --teal: #3d6b7a;
  --ink: #12241f;
  --paper: #f3f6f4;
  --line: rgba(22, 48, 40, 0.14);
  --soft: #d7e0db;
  --display: "Literata", Georgia, serif;
  --body: "Sora", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(230, 235, 232, 0.92), rgba(243, 246, 244, 0.96)),
    repeating-linear-gradient(
      90deg,
      rgba(22, 48, 40, 0.025) 0 1px,
      transparent 1px 7px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(22, 48, 40, 0.02) 0 1px,
      transparent 1px 7px
    ),
    var(--mist);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pine);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(230, 235, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--teal), transparent 75%);
  transform-origin: left center;
  animation: accentGrow 1.1s ease-out both;
}

@keyframes accentGrow {
  from {
    transform: scaleX(0.15);
    opacity: 0.35;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: grid;
  gap: 0.1rem;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  color: var(--pine);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--sage);
  letter-spacing: 0.02em;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.nav-main a {
  color: var(--pine);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a.is-current {
  color: var(--teal);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  overflow: hidden;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--pine);
  padding: 0.35rem 0.55rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.lang button.is-on {
  background: var(--pine);
  color: var(--mist);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--pine);
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #f7faf8;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 22s ease-in-out infinite alternate;
  transform-origin: 55% 40%;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 48, 40, 0.28) 0%, rgba(22, 48, 40, 0.55) 48%, rgba(22, 48, 40, 0.88) 100%),
    linear-gradient(90deg, rgba(22, 48, 40, 0.45), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto 4.5rem;
  max-width: 38rem;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.hero__h {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}

.hero__p {
  margin: 0 0 1.4rem;
  max-width: 32rem;
  color: rgba(247, 250, 248, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-sage {
  background: var(--sage);
  color: #f7faf8;
}

.btn-sage:hover {
  background: #5f7f6b;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(247, 250, 248, 0.55);
  color: #f7faf8;
}

.btn-ghost:hover {
  background: rgba(247, 250, 248, 0.12);
  color: #fff;
}

.btn-pine {
  background: var(--pine);
  color: var(--mist);
}

.btn-pine:hover {
  background: #1f4035;
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

.section--soft {
  background: rgba(215, 224, 219, 0.45);
}

.section--pine {
  background: var(--pine);
  color: var(--mist);
}

.section--pine a {
  color: #b7d2c4;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section--pine .kicker {
  color: #9fbfae;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.2;
  color: var(--pine);
  font-weight: 600;
}

.section--pine h2,
.section--pine h3 {
  color: #f3f7f5;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 0.9rem;
}

.lead {
  max-width: 40rem;
  color: rgba(18, 36, 31, 0.82);
}

.section--pine .lead {
  color: rgba(243, 246, 244, 0.84);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: rgba(18, 36, 31, 0.7);
}

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.rail article {
  padding-top: 0.85rem;
  border-top: 2px solid var(--sage);
}

.rail p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(18, 36, 31, 0.8);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  counter-reset: step;
}

.steps article {
  position: relative;
  padding-left: 0.2rem;
}

.steps article::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--sage);
}

.who {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.who article {
  border-left: 3px solid var(--teal);
  padding-left: 0.9rem;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.4rem;
}

.duo ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.duo li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.1rem;
  border-bottom: 1px solid rgba(247, 250, 248, 0.12);
}

.duo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--sage);
}

.cta-band {
  text-align: left;
}

.page-hero {
  padding: 3.4rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(111, 143, 122, 0.14), transparent);
}

.list-plain {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.list-plain li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-lines {
  margin: 1rem 0 0;
}

.contact-lines > div {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-lines dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.contact-lines dd {
  margin: 0.25rem 0 0;
}

.form-panel {
  background: rgba(243, 246, 244, 0.95);
  border: 1px solid var(--line);
  padding: 1.35rem;
}

.form-panel form {
  display: grid;
  gap: 0.85rem;
}

.form-panel label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.form-panel textarea {
  min-height: 8rem;
  resize: vertical;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--pine);
}

.faq p {
  margin: 0.55rem 0 0;
}

.privacy-block {
  max-width: 46rem;
}

.privacy-block article {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #dfe7e2;
  padding: 2.2rem 0 2.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  font-size: 0.92rem;
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: rgba(18, 36, 31, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 36, 31, 0.55);
}

.modal[hidden] {
  display: none;
}

.modal__box {
  width: min(420px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.modal__box h2 {
  margin-bottom: 0.45rem;
}

.modal__box p[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .rail,
  .steps,
  .who,
  .footer-grid,
  .split,
  .contact-grid,
  .duo {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-main {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(230, 235, 232, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 1.25rem 1.1rem;
    flex-direction: column;
  }

  .nav-main.is-open {
    display: flex;
  }

  .header-row {
    position: relative;
  }

  .rail,
  .steps,
  .who,
  .footer-grid,
  .split,
  .contact-grid,
  .duo {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92vh;
  }

  .hero__content {
    margin-bottom: 3rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}
