:root {
  --ink: #071118;
  --panel: #0d1d25;
  --panel-soft: #132832;
  --cream: #f7dfac;
  --gold: #f6b13d;
  --orange: #e85a24;
  --red: #c93725;
  --teal: #2d8f95;
  --teal-light: #61b7b4;
  --text: #f9f1dc;
  --muted: #b8c2bc;
  --line: rgba(247, 223, 172, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(232, 90, 36, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(45, 143, 149, 0.16), transparent 30rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(247, 223, 172, 0.16);
  background: rgba(7, 17, 24, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(247, 223, 172, 0.28), 0 10px 28px rgba(0, 0, 0, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
  background: rgba(247, 223, 172, 0.1);
}

.cta,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.cta {
  color: #071118;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 16px 42px rgba(232, 90, 36, 0.22);
}

.ghost-link {
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(247, 223, 172, 0.06);
}

.hero {
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 46px;
  padding: 58px 0 44px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
}

h2 {
  font-size: clamp(2.15rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.16rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #d9ddcc;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b151a;
  box-shadow: var(--shadow);
}

.hero-art img,
.feature-photo img,
.page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art::after,
.feature-photo::after,
.page-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 17, 24, 0.58));
  pointer-events: none;
}

.stat-strip {
  width: min(1160px, calc(100% - 40px));
  margin: -22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stat {
  padding: 24px;
  background: rgba(13, 29, 37, 0.92);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section.compact {
  padding-top: 58px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p,
.page-intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(19, 40, 50, 0.94), rgba(9, 20, 26, 0.92));
}

.card .mark {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #071118;
  background: var(--gold);
  font-weight: 1000;
}

.card:nth-child(2n) .mark {
  background: var(--teal-light);
}

.card:nth-child(3n) .mark {
  background: var(--orange);
}

.card p,
.text-panel p,
.legal p,
.legal li,
.contact-block p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 42px;
}

.feature-photo,
.page-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.text-panel {
  padding: 12px 0;
}

.check-list,
.legal ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 12px 0;
  padding-left: 30px;
  color: #e9eadc;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 14px;
  height: 4px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.page-hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 24px;
}

.page-intro {
  max-width: 840px;
}

.legal {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 90px;
}

.legal h2 {
  margin-top: 42px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.legal li {
  margin: 10px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
}

.contact-block {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 29, 37, 0.88);
}

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--cream);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(7, 17, 24, 0.72);
  font: inherit;
}

textarea {
  min-height: 144px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid rgba(247, 223, 172, 0.16);
  background: rgba(7, 17, 24, 0.9);
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.h5-body {
  background: var(--ink);
}

.h5-shell {
  width: min(680px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.h5-logo {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 860px) {
  .nav {
    width: min(100% - 28px, 680px);
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 0;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 28px, 680px);
    min-height: auto;
    padding-top: 42px;
  }

  .hero-art,
  .feature-photo,
  .page-photo {
    min-height: 310px;
  }

  .grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero,
  .stat-strip,
  .footer-inner {
    width: min(100% - 28px, 680px);
  }

  .section {
    padding: 62px 0;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.4rem);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
