:root {
  --ink: #141c28;
  --ink-soft: #2a3444;
  --muted: #5c6778;
  --stone: #f3f5f7;
  --panel: #e8edf1;
  --white: #ffffff;
  --line: #d3dae3;
  --teal: #0a6b5c;
  --teal-deep: #074c42;
  --teal-soft: #d8efe9;
  --page: min(1220px, calc(100% - 48px));
  --font: "Sora", "Segoe UI", sans-serif;
  --display: "Sora", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--stone);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }

.shell {
  width: var(--page);
  margin-inline: auto;
}

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

.skip:focus { transform: none; }

/* Header */

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 247, .92);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
}

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

.logo img {
  width: 196px;
}

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

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.5px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}

.cabinet {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, color .2s;
}

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

.menu-btn {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.mobile-nav {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav details {
  border-top: 1px solid var(--line);
}

.mobile-nav summary,
.mobile-nav a {
  display: block;
  padding: 14px 0;
}

.mobile-nav summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker { display: none; }

.mobile-nav details > div {
  display: grid;
  gap: 4px;
  padding: 0 0 14px;
}

.mobile-nav a {
  padding: 8px 0;
  color: var(--muted);
}

/* Hero */

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #0d1520;
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out alternate infinite;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 24, .28) 0%, rgba(10, 16, 24, .55) 48%, rgba(10, 16, 24, .88) 100%),
    linear-gradient(90deg, rgba(10, 16, 24, .55) 0%, rgba(10, 16, 24, .12) 70%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 0 64px;
}

.hero-brand {
  margin: 0 0 22px;
  color: var(--teal-soft);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.05;
  animation: rise .8s ease both;
}

.hero h1 {
  max-width: 14ch;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
  animation: rise .8s .08s ease both;
}

.hero-lead {
  max-width: 42ch;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.55;
  animation: rise .8s .16s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise .8s .24s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: var(--white);
  background: var(--teal);
}

.btn-primary:hover { background: var(--teal-deep); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .08);
}

/* Sections shared */

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: end;
}

.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.08;
}

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

/* Audiences */

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

.audience-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.audience {
  display: grid;
  gap: 18px;
  min-height: 220px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  transition: background .25s;
}

.audience:last-child { border-right: 0; }

.audience:hover { background: var(--stone); }

.audience-no {
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}

.audience strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.audience p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.audience span {
  margin-top: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

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

/* Services */

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

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

.service {
  display: grid;
  grid-template-columns: 64px 1.2fr .9fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s, background .25s;
}

.service:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(10, 107, 92, .06), transparent 48%);
}

.service-no {
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
}

.service strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.service i {
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
}

/* Figures */

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

.figures .kicker { color: var(--teal-soft); }

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

.figure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 36px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
}

.figure {
  padding: 32px 24px;
  background: #182131;
}

.figure strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -.04em;
}

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

/* News */

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

.news-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.news-head a {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 18px;
}

.story {
  display: grid;
  gap: 16px;
}

.story img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.85) contrast(1.02);
}

.story time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}

.story h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.story:first-child h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}

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

/* Contact */

.contact {
  background:
    linear-gradient(135deg, rgba(10, 107, 92, .08), transparent 42%),
    var(--panel);
  border-top: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.contact h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
}

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

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  transition: border-color .2s, color .2s;
}

.contact-actions a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Footer */

.footer {
  padding: 64px 0 28px;
  color: rgba(255, 255, 255, .72);
  background: #101722;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

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

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

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

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

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 12px;
}

/* Motion */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -1%, 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* Responsive */

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .header-inner { grid-template-columns: 1fr auto; }
  .section-head,
  .contact-panel,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .audience-rail,
  .figure-grid {
    grid-template-columns: 1fr 1fr;
  }
  .audience { border-bottom: 1px solid var(--line); }
  .audience:nth-child(2n) { border-right: 0; }
  .service {
    grid-template-columns: 48px 1fr auto;
    gap: 14px;
  }
  .service p { display: none; }
}

@media (max-width: 640px) {
  :root { --page: calc(100% - 28px); }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .hero { min-height: 84vh; }
  .hero-content { padding: 36px 0 44px; }
  .section { padding: 64px 0; }
  .audience-rail,
  .figure-grid { grid-template-columns: 1fr; }
  .audience { border-right: 0; }
  .cabinet span { display: none; }
  .footer-bottom { flex-direction: column; }
}
