:root {
  --cream: #f7f3eb;
  --cream-deep: #ede6d9;
  --ink: #2a2622;
  --ink-soft: #4a4540;
  --muted: #8a8278;
  --line: #d8cfc0;
  --teal: #2f6f78;
  --teal-soft: #4a8f98;
  --clay: #c96a4a;
  --clay-soft: #e08a6a;
  --sage: #5a7a62;
  --night: #1e1c19;
  --white: #fffdf9;
  --shell: min(1160px, calc(100% - 40px));
  --display: "Literata", "Georgia", "Times New Roman", serif;
  --ui: "Geologica", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--ui);
  font-weight: 400;
  font-variation-settings: "slnt" 0, "CRSV" 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 16px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--night);
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .6s ease var(--delay, 0ms),
    transform .6s ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Header ── */

.header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}

.header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 235, .92);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  min-height: 72px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
}

.logo img {
  width: clamp(148px, 18vw, 196px);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  font-size: 14px;
  font-weight: 450;
}

.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  transition: color .2s;
}

.nav a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  content: "";
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after { transform: scaleX(1); }

.tools {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.lang {
  color: var(--muted);
  letter-spacing: .04em;
}

.lang:hover { color: var(--ink); }

.phone {
  display: none;
  color: var(--ink-soft);
  font-weight: 500;
}

.phone:hover { color: var(--teal); }

.cabinet {
  padding: 9px 16px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: background .2s, color .2s;
}

.cabinet:hover {
  color: var(--white);
  background: var(--ink);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}

body.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.drawer {
  position: fixed;
  z-index: 45;
  inset: 72px 0 0;
  padding: 28px 20px 40px;
  overflow-y: auto;
  background: var(--cream);
}

.drawer-inner {
  display: grid;
  gap: 4px;
}

.drawer-inner > a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-family: var(--display);
}

.drawer-meta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

/* ── Hero ── */

.hero {
  display: grid;
  min-height: 100svh;
  align-items: stretch;
  padding-top: 72px;
  grid-template-columns: 1fr 1fr;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 56px) clamp(48px, 8vw, 80px) max(20px, calc((100vw - var(--shell)) / 2 + 0px));
}

.brand {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin: 0 0 24px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.02;
}

.hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.lead {
  max-width: 38ch;
  margin: 0 0 36px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.btn-main,
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.btn-main {
  padding: 14px 22px;
  color: var(--white);
  background: var(--teal);
  transition: background .2s;
}

.btn-main:hover { background: var(--teal-soft); }

.btn-main svg,
.btn-text svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-text {
  color: var(--ink);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.btn-text:hover {
  color: var(--clay);
  border-color: var(--clay-soft);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(42, 38, 34, .04) 39px,
      rgba(42, 38, 34, .04) 40px
    );
  content: "";
  pointer-events: none;
}

.steppe {
  position: absolute;
  inset: 0;
}

.steppe span {
  position: absolute;
  right: -8%;
  left: -8%;
  display: block;
  height: 22%;
  transform-origin: center;
}

.steppe span:nth-child(1) {
  bottom: 0;
  background: linear-gradient(180deg, #3d5a48 0%, #2f4a38 100%);
}

.steppe span:nth-child(2) {
  bottom: 18%;
  height: 16%;
  background: linear-gradient(180deg, #6b8f72 0%, #557a5c 100%);
  opacity: .92;
}

.steppe span:nth-child(3) {
  bottom: 30%;
  height: 14%;
  background: linear-gradient(180deg, #c4a574 0%, #b08f5e 100%);
}

.steppe span:nth-child(4) {
  bottom: 40%;
  height: 28%;
  background: linear-gradient(180deg, #7eb8c4 0%, #5a9aaa 100%);
}

.steppe span:nth-child(5) {
  bottom: 62%;
  height: 38%;
  background: linear-gradient(180deg, #dce8ef 0%, #b8d4e4 55%, #8ebdd4 100%);
}

.hero-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(280px, 52%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 253, 249, .55);
  transform: translate(-50%, -50%) rotate(12deg);
}

.hero-mark::before,
.hero-mark::after {
  position: absolute;
  background: rgba(255, 253, 249, .35);
  content: "";
}

.hero-mark::before {
  top: 50%;
  right: -20%;
  left: -20%;
  height: 1px;
  transform: translateY(-50%);
}

.hero-mark::after {
  top: -20%;
  bottom: -20%;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  max-width: 22ch;
  margin: 0;
  color: rgba(255, 253, 249, .78);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ── Sections shared ── */

section { padding-block: clamp(64px, 10vw, 108px); }

.section-label {
  display: block;
  margin-bottom: 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-head h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.section-head p {
  max-width: 48ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ── Audiences ── */

.audiences {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.audiences-layout {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(200px, 280px) 1fr;
}

.audience-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.audience {
  display: grid;
  align-items: center;
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  transition: background .25s, padding-left .25s;
}

.audience:hover {
  padding-left: 8px;
  background: rgba(201, 106, 74, .06);
}

.audience-no {
  color: var(--line);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  transition: color .25s;
}

.audience:hover .audience-no { color: var(--clay); }

.audience strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -.02em;
}

.audience span:not(.audience-no):not(.audience-arrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.audience-arrow {
  color: var(--teal);
  font-size: 22px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .25s, transform .25s;
}

.audience:hover .audience-arrow {
  opacity: 1;
  transform: none;
}

/* ── Services ── */

.services { background: var(--cream); }

.services-grid {
  display: grid;
  gap: 0;
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--ink);
}

.service {
  display: grid;
  align-items: start;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 72px 1fr auto;
  gap: clamp(16px, 3vw, 32px);
  transition: background .25s;
}

.service:hover { background: rgba(47, 111, 120, .05); }

.service-index {
  padding-top: 6px;
  color: var(--clay);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.service strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.service small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.service-go {
  align-self: center;
  padding-top: 6px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.services-foot {
  margin-top: 28px;
}

.services-foot a {
  color: var(--teal);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(47, 111, 120, .35);
}

.services-foot a:hover { border-color: var(--teal); }

/* ── Figures ── */

.figures {
  padding-block: 0;
  background: var(--night);
  color: rgba(255, 253, 249, .88);
}

.figures-panel {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  padding-block: clamp(64px, 10vw, 96px);
  grid-template-columns: minmax(220px, 320px) 1fr;
}

.figures .section-label { color: var(--clay-soft); }

.figures .section-head h2 { color: var(--white); }

.figure-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 253, 249, .12);
  grid-template-columns: repeat(2, 1fr);
}

.figure {
  padding: clamp(24px, 3vw, 36px);
  background: var(--night);
}

.figure strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.figure span {
  color: rgba(255, 253, 249, .62);
  font-size: 14px;
  line-height: 1.55;
}

/* ── News ── */

.news { background: var(--white); }

.news-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.head-link {
  color: var(--teal);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid rgba(47, 111, 120, .35);
}

.head-link:hover { border-color: var(--teal); }

.news-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 32px;
}

.news-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 5px;
  width: 1px;
  background: var(--line);
  content: "";
}

.news-item {
  position: relative;
  display: grid;
  padding: clamp(22px, 3vw, 30px) 0 clamp(22px, 3vw, 30px) clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 100px 1fr;
  gap: clamp(16px, 3vw, 32px);
}

.news-item::before {
  position: absolute;
  top: 32px;
  left: -27px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--clay);
  content: "";
}

.news-item time {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.news-type {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.news-item h3 a {
  transition: color .2s;
}

.news-item h3 a:hover { color: var(--clay); }

/* ── Contact ── */

.contact { background: var(--cream-deep); }

.contact-panel {
  display: grid;
  align-items: end;
  gap: clamp(32px, 5vw, 48px);
  grid-template-columns: 1fr auto;
}

.contact-panel h2 {
  max-width: 16ch;
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.contact-panel p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact-actions {
  display: grid;
  gap: 14px;
  text-align: right;
}

.contact-phone {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
}

.contact-phone:hover { color: var(--teal); }

.contact-link {
  color: var(--ink-soft);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.contact-link:hover {
  color: var(--clay);
  border-color: var(--clay-soft);
}

/* ── Footer ── */

.footer {
  padding: 56px 0 32px;
  color: rgba(255, 253, 249, .72);
  background: var(--ink);
}

.footer-top {
  display: grid;
  gap: 36px;
  margin-bottom: 48px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.footer-brand img {
  width: 180px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.footer-brand p {
  max-width: 34ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li { margin-top: 8px; }

.footer a {
  font-size: 14px;
  transition: color .2s;
}

.footer a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 253, 249, .12);
  font-size: 13px;
}

/* ── Responsive ── */

@media (min-width: 901px) {
  .phone { display: inline; }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav { display: none; }

  .menu-btn { display: flex; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 48px 20px 40px;
  }

  .hero h1 { max-width: none; }

  .hero-visual {
    min-height: 320px;
    order: -1;
  }

  .audiences-layout,
  .figures-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .audience {
    grid-template-columns: 44px 1fr;
  }

  .audience-arrow { display: none; }

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

  .service-go {
    grid-column: 2;
    justify-self: start;
    padding-top: 0;
  }

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

  .news-item { grid-template-columns: 1fr; }

  .news-head {
    flex-direction: column;
    align-items: start;
  }

  .contact-actions { text-align: left; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .tools .cabinet { display: none; }

  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
