:root {
  --teal: #0a4d56;
  --teal-deep: #063840;
  --aqua: #7ec8c3;
  --aqua-soft: #b7e0dc;
  --mist: #eef5f4;
  --ink: #12333a;
  --muted: #4a6b71;
  --white: #ffffff;
  --line: rgba(10, 77, 86, 0.12);
  --shadow: 0 18px 40px rgba(6, 56, 64, 0.12);
  --font-d: "Josefin Sans", sans-serif;
  --font-b: "Mulish", sans-serif;
  --r: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(126, 200, 195, 0.18), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(10, 77, 86, 0.08), transparent 24%),
    var(--mist);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle, rgba(10, 77, 86, 0.07) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(126, 200, 195, 0.12) 1px, transparent 1.5px);
  background-size: 72px 72px, 120px 120px;
  background-position: 0 0, 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(238, 245, 244, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--teal);
  min-width: 9rem;
}

.brand-name {
  font-family: var(--font-d);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
}

.nav-main a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-main a:hover::after,
.nav-main a.is-current::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.5rem;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--white);
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.lang button.is-on {
  background: var(--teal);
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--teal);
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-pan 22s ease-in-out infinite alternate;
  transform: scale(1.08);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 56, 64, 0.35) 0%, rgba(6, 56, 64, 0.72) 55%, rgba(6, 56, 64, 0.88) 100%),
    radial-gradient(circle at 70% 30%, rgba(126, 200, 195, 0.28), transparent 42%);
}

.hero__content {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto 4.5rem;
  position: relative;
  z-index: 1;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.hero__h {
  margin: 0 0 0.85rem;
  font-family: var(--font-d);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.25;
  max-width: 18ch;
}

.hero__p {
  margin: 0 0 1.4rem;
  max-width: 38ch;
  color: rgba(238, 245, 244, 0.92);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-teal {
  background: var(--aqua);
  color: var(--teal-deep);
}

.btn-teal:hover {
  background: var(--white);
  color: var(--teal);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(238, 245, 244, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(238, 245, 244, 0.12);
  color: var(--white);
}

.btn-solid {
  background: var(--teal);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--teal);
  letter-spacing: 0.03em;
}

.lead {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section {
  padding: 4.2rem 0;
  position: relative;
  z-index: 1;
}

.section--panel {
  background:
    radial-gradient(circle at 20% 20%, rgba(126, 200, 195, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(238, 245, 244, 0.9));
  border-block: 1px solid var(--line);
}

.section--cta {
  background: linear-gradient(135deg, var(--teal) 0%, #0d6672 55%, #126a74 100%);
  color: var(--white);
  border: 0;
}

.section--cta h2,
.section--cta p {
  color: var(--white);
}

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
}

.section--panel .kicker,
.section .kicker {
  color: #1f7d7a;
}

.section--cta .kicker {
  color: var(--aqua-soft);
}

h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  letter-spacing: 0.02em;
  color: var(--teal);
  line-height: 1.2;
}

h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--teal-deep);
}

p {
  margin: 0 0 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.split--rev {
  grid-template-columns: 0.95fr 1.05fr;
}

.figure {
  margin: 0;
  position: relative;
}

.figure::before {
  content: "";
  position: absolute;
  inset: -0.8rem;
  border: 1px solid rgba(126, 200, 195, 0.55);
  border-radius: 50%;
  clip-path: inset(8% 8% 8% 8%);
  pointer-events: none;
  opacity: 0.7;
}

.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.05);
}

.figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.rail,
.steps,
.who,
.duo {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.rail {
  grid-template-columns: repeat(4, 1fr);
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.who {
  grid-template-columns: repeat(3, 1fr);
}

.duo {
  grid-template-columns: 1fr 1fr;
}

.rail article,
.steps article,
.who article,
.duo article {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.rail article,
.steps article,
.who article {
  border-top: 2px solid var(--aqua);
  padding-top: 0.9rem;
}

.list-plain {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.list-plain li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.list-plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--aqua);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-block + .contact-block {
  margin-top: 2rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.35rem 1.5rem;
}

.form-card h2 {
  margin-bottom: 0.4rem;
}

.form-card label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r);
}

.form-card textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-card button {
  margin-top: 1.1rem;
  width: 100%;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.2rem;
  color: var(--aqua);
  font-weight: 800;
}

.faq details[open] summary::before {
  content: "–";
}

.faq details p {
  margin: 0.55rem 0 0.2rem;
  color: var(--muted);
}

.privacy-block {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.privacy-block:last-of-type {
  border-bottom: 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--teal-deep);
  color: rgba(238, 245, 244, 0.88);
  padding: 2.4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer a {
  color: var(--aqua-soft);
}

.site-footer .brand-name {
  color: var(--white);
}

.site-footer .brand-sub {
  color: rgba(238, 245, 244, 0.7);
}

.footer-copy {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(126, 200, 195, 0.22);
  font-size: 0.88rem;
  color: rgba(238, 245, 244, 0.7);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(6, 56, 64, 0.55);
}

.modal[hidden] {
  display: none;
}

.modal__panel {
  width: min(420px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.3rem 1.25rem;
}

.modal__panel h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.modal__panel p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.modal__panel p[hidden] {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes hero-pan {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 980px) {
  .rail,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .who,
  .duo,
  .split,
  .split--rev,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .figure::before {
    display: none;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(238, 245, 244, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav-main.is-open {
    display: flex;
  }

  .nav-main a {
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-row {
    position: relative;
  }

  .hero {
    min-height: 78vh;
  }

  .hero__content {
    margin-bottom: 3rem;
  }

  .rail,
  .steps,
  .who {
    grid-template-columns: 1fr;
  }

  .shell {
    width: min(1120px, calc(100% - 1.5rem));
  }
}
