:root {
  --teal: #0d9488;
  --teal-bright: #14b8a6;
  --teal-soft: #99f6e4;
  --teal-mist: #f0fdfa;
  --charcoal: #2a302f;
  --charcoal-soft: #4a5452;
  --line: #d1e7e4;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 22px 55px rgba(42, 48, 47, 0.08);
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--charcoal);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  margin: 0 0 0.65rem;
}

h3 {
  font-size: 1.28rem;
  margin: 0 0 0.35rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 4vw;
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand small {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal-soft);
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--teal);
}

.head-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.head-tools a {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--charcoal-soft);
}

.lang button.is-on {
  background: var(--teal);
  color: var(--white);
}

.nav-toggle {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.hero-full {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 4rem 4vw 3.5rem;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(13, 148, 136, 0.82) 0%, rgba(42, 48, 47, 0.55) 55%, rgba(42, 48, 47, 0.35) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
}

.hero-full h1,
.hero-full h2 {
  color: var(--white);
}

.hero-inner {
  max-width: 720px;
}

.hero-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.92;
  margin: 0 0 0.75rem;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 38rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid var(--teal);
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.btn.ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn.dark-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--line);
}

.btn.dark-ghost:hover {
  border-color: var(--teal);
  color: var(--charcoal);
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-bar div {
  background: var(--white);
  padding: 1.15rem 1.5rem;
  text-align: center;
}

.stats-bar span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.stats-bar b {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--charcoal);
}

.stats-bar a {
  text-decoration: none;
}

.section {
  padding: 4.25rem 0;
}

.section.mist {
  background: var(--teal-mist);
}

.section.charcoal-band {
  background: var(--charcoal);
  color: #e8edec;
}

.section.charcoal-band h2,
.section.charcoal-band h3 {
  color: var(--white);
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.5rem;
}

.intro {
  max-width: 36rem;
  color: var(--charcoal-soft);
  margin-bottom: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

figure.frame {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

figure.frame figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  background: var(--white);
  color: var(--charcoal-soft);
  border: 1px solid var(--line);
  border-top: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-bright);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.06);
}

.section.mist .card,
.section.charcoal-band .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  border-left-color: var(--teal-soft);
  color: #dce8e6;
}

.section.charcoal-band .card h3 {
  color: var(--white);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--teal);
  line-height: 1;
}

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  background: var(--white);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--charcoal-soft);
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, var(--teal-mist), var(--white));
}

.page-hero .lead {
  max-width: 40rem;
  color: var(--charcoal-soft);
}

.form-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

form {
  display: grid;
  gap: 1rem;
}

label span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--teal-soft);
  border-color: var(--teal);
}

.two-col-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.two-col-lists ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--charcoal-soft);
}

.site-foot {
  padding: 2rem 4vw;
  background: var(--charcoal);
  color: #c5d0ce;
  font-size: 0.92rem;
}

.foot-row {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.foot-row a {
  color: var(--teal-soft);
  text-decoration: none;
  font-weight: 600;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(42, 48, 47, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-box {
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.5rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
}

.modal-box h2 {
  margin: 0 0 0.5rem;
}

.modal-box p {
  color: var(--charcoal-soft);
}

.modal-close {
  margin-top: 1.25rem;
}

.privacy-body {
  padding: 2.5rem 0 4rem;
}

.privacy-body article {
  max-width: 680px;
}

.privacy-body h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.privacy-body ul {
  color: var(--charcoal-soft);
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 88vw);
    flex-direction: column;
    padding: 5rem 1.25rem 2rem;
    background: var(--white);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
    margin: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .head-tools .head-mail,
  .head-tools .head-phone {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .split,
  .form-block,
  .two-col-lists {
    grid-template-columns: 1fr;
  }

  .split.reverse {
    direction: ltr;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }
}
