:root {
  --bg: #070b13;
  --bg-warm: #11100d;
  --panel: #0e141d;
  --panel-soft: #151b24;
  --cream: #fff8ea;
  --cream-2: #f3ead8;
  --text: #f8f4ec;
  --muted: #adb4bd;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(232, 166, 55, 0.45);
  --gold: #e8a637;
  --gold-dark: #b87316;
  --olive: #72845c;
  --rust: #9d4f2d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 166, 55, 0.13), transparent 25rem),
    radial-gradient(circle at 88% 28%, rgba(114, 132, 92, 0.14), transparent 22rem),
    var(--bg);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

main {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 42px));
  margin: 0 auto;
}

.container.medium {
  width: min(960px, calc(100% - 42px));
}

.container.narrow {
  width: min(800px, calc(100% - 42px));
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(980px, calc(100% - 34px));
  align-items: center;
  justify-content: center;
  gap: 24px;
  pointer-events: none;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 900;
  line-height: 0.9;
  pointer-events: auto;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.brand span {
  font-size: 1.03rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: #141821;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #1b1203;
  background: var(--gold);
}

.icon-button,
.rail-arrow {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.icon-button:hover,
.rail-arrow:hover {
  border-color: var(--line-strong);
  background: rgba(232, 166, 55, 0.16);
  transform: translateY(-1px);
}

.icon-button svg,
.button svg,
.text-link svg,
.preview-card svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.nav-toggle {
  display: none;
  pointer-events: auto;
}

.nav-toggle svg {
  grid-area: 1 / 1;
}

.nav-toggle .nav-icon-close {
  display: none;
}

body.nav-open .nav-toggle .nav-icon-menu {
  display: none;
}

body.nav-open .nav-toggle .nav-icon-close {
  display: block;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: #111;
}

.home-hero {
  min-height: clamp(560px, 58vw, 720px);
}

.hero-media,
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-shade,
.page-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, transparent 28%, rgba(7, 11, 19, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 46%);
  content: "";
}

.hero-caption,
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 11, 19, 0.54);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-caption {
  position: absolute;
  left: max(28px, calc((100% - 1120px) / 2));
  bottom: 58px;
  max-width: 650px;
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(7, 11, 19, 0.78), rgba(17, 16, 13, 0.62)),
    rgba(7, 11, 19, 0.56);
}

.hero-caption .hero-kicker,
.hero-caption h1,
.hero-caption .hero-lead,
.page-hero-content p,
.page-hero-content h1 {
  margin: 0;
}

.eyebrow,
.hero-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero-caption h1,
.page-hero-content h1 {
  margin-top: 9px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.hero-lead,
.page-hero-content > p:not(.eyebrow) {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--cream-2);
  background: rgba(255, 255, 255, 0.065);
  font-size: 0.73rem;
  font-weight: 850;
  line-height: 1;
}

.hero-highlights svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  stroke-width: 2.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
  writing-mode: vertical-rl;
}

.section {
  position: relative;
  padding: 78px 0;
  background: rgba(7, 11, 19, 0.96);
}

.section[id] {
  scroll-margin-top: 112px;
}

.section + .section {
  padding-top: 48px;
}

.section-title {
  margin: 0 auto 34px;
  text-align: center;
}

.section-title.compact {
  margin-bottom: 24px;
}

.section-title h2,
.split-copy h2,
.contact-panel h2,
.catalog-toolbar h2,
.cta-band h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.04;
}

.section-title p,
.catalog-toolbar p,
.split-copy p,
.contact-panel p,
.cta-band p {
  width: min(100%, 620px);
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.section-title p {
  color: var(--soft, var(--muted));
  font-weight: 750;
}

.section-title span {
  color: var(--gold);
}

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

.stat-card {
  min-height: 170px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-card > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--cream);
}

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

.stat-card h2 {
  margin: 5px 0 8px;
  color: var(--text);
  font-size: 0.82rem;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

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

.preview-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.preview-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.76));
  content: "";
}

.preview-card img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  transition: transform 460ms ease;
}

.preview-card:hover img {
  transform: scale(1.06);
}

.preview-card span {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
}

.preview-card svg {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(7, 11, 19, 0.76);
}

.certificates-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 34%),
    rgba(7, 11, 19, 0.96);
}

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

.certificate-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.certificate-preview {
  display: block;
  overflow: hidden;
  height: 360px;
  border-bottom: 1px solid var(--line);
  background: #f8f4ec;
}

.certificate-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  transition: transform 420ms ease;
}

.certificate-card:hover .certificate-preview img {
  transform: scale(1.025);
}

.certificate-card > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
}

.certificate-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.35;
}

.certificate-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.15;
}

.certificate-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

.certificate-card .text-link {
  margin-top: 10px;
}

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

.split-copy p {
  margin-right: 0;
  margin-left: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--gold);
  font-weight: 900;
}

.feature-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-panel div {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.feature-panel strong {
  color: var(--gold);
}

.feature-panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-list article {
  display: grid;
  gap: 14px;
  min-height: 150px;
  align-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.feature-list svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.feature-list span {
  font-weight: 850;
  line-height: 1.35;
}

.cta-band {
  border-top: 1px solid rgba(232, 166, 55, 0.28);
  border-bottom: 1px solid rgba(232, 166, 55, 0.28);
  background:
    linear-gradient(90deg, rgba(232, 166, 55, 0.12), rgba(114, 132, 92, 0.08)),
    var(--bg-warm);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band p {
  margin-right: 0;
  margin-left: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: #1b1203;
  background: var(--gold);
}

.button.ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.page-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 130px 0 58px;
}

.page-hero.compact-hero {
  min-height: 360px;
}

.page-hero-content {
  width: min(760px, calc(100% - 42px));
  margin: 0 auto;
  padding: 26px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.catalog-toolbar p {
  margin-right: 0;
  margin-left: 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-tabs button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  color: #1b1203;
  border-color: var(--gold);
  background: var(--gold);
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalog-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.catalog-card.is-hidden {
  display: none;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.catalog-card div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 15px;
}

.catalog-card span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
}

.catalog-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.2;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.catalog-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.catalog-card li {
  border: 1px solid rgba(232, 166, 55, 0.32);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--cream-2);
  font-size: 0.66rem;
  font-weight: 800;
}

.journey-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 58px;
  margin-top: 16px;
}

.journey-list article {
  position: relative;
  min-height: 96px;
}

.journey-list article:nth-child(odd) {
  text-align: right;
}

.journey-list article::after {
  position: absolute;
  top: 5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.journey-list article:nth-child(odd)::after {
  right: -34px;
}

.journey-list article:nth-child(even)::after {
  left: -34px;
}

.journey-list h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.95rem;
}

.journey-list p {
  margin: 0;
  color: var(--cream-2);
  font-size: 0.78rem;
  line-height: 1.65;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.metric-pill {
  min-height: 88px;
  padding: 15px;
  border: 1px solid rgba(232, 166, 55, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.metric-pill strong,
.metric-pill span {
  display: block;
}

.metric-pill strong {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.metric-pill span {
  margin-top: 7px;
  color: var(--cream-2);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
}

.process-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 34%),
    rgba(7, 11, 19, 0.96);
}

.process-grid,
.standards-grid {
  display: grid;
  gap: 18px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.standards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-card,
.standard-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.process-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(232, 166, 55, 0.14), transparent 42%);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.process-card:hover::before {
  opacity: 1;
}

.process-card > *,
.standard-card > * {
  position: relative;
  z-index: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  margin-bottom: 26px;
  border: 1px solid rgba(232, 166, 55, 0.36);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.process-card svg,
.standard-card svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.process-card h3,
.standard-card h3 {
  margin: 18px 0 10px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.process-card p,
.standard-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.standard-card {
  display: grid;
  min-height: 180px;
  align-content: start;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: stretch;
}

.contact-panel,
.map-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: 24px;
}

.contact-panel p {
  margin-right: 0;
  margin-left: 0;
}

.contact-panel strong {
  color: var(--gold);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cream-2);
  font-size: 0.86rem;
  line-height: 1.4;
}

.contact-list svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--cream-2);
  font-size: 0.76rem;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.map-panel {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  background:
    radial-gradient(circle at 42% 46%, rgba(232, 166, 55, 0.2) 0 7px, transparent 8px),
    linear-gradient(24deg, transparent 0 45%, rgba(232, 166, 55, 0.22) 46% 48%, transparent 49%),
    linear-gradient(132deg, transparent 0 36%, rgba(114, 132, 92, 0.18) 37% 39%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #0c121b;
  background-size: auto, auto, auto, 46px 46px, 46px 46px, auto;
}

.map-panel iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: 0;
  opacity: 0.72;
  filter: saturate(0.92) contrast(0.96);
}

.map-fallback {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: min(260px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid rgba(232, 166, 55, 0.36);
  border-radius: 8px;
  color: var(--text);
  background: rgba(7, 11, 19, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.map-fallback svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.map-fallback strong {
  color: var(--gold);
}

.map-fallback a {
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 900;
}

.site-footer {
  padding: 62px 0 28px;
  border-top: 1px solid rgba(232, 166, 55, 0.42);
  color: var(--muted);
  background: #060910;
}

.footer-top {
  display: grid;
  grid-template-columns: 0.85fr 0.9fr 1.2fr;
  gap: 82px;
}

.footer-top nav,
.footer-top div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-top h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.84rem;
}

.footer-top a,
.footer-top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.7rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

@media (max-width: 1040px) {
  .stats-grid,
  .product-catalog,
  .process-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filter-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 24px);
    justify-content: space-between;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
  }

  .brand {
    color: #151922;
    text-shadow: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    right: 12px;
    left: 12px;
    z-index: 4;
    display: none;
    gap: 2px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .main-nav {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    justify-content: center;
    min-height: 44px;
    font-size: 0.88rem;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 5;
    display: inline-grid;
    width: 44px;
    height: 44px;
    color: var(--text);
    border-color: rgba(232, 166, 55, 0.62);
    background: #111923;
    transform: translateY(-50%);
  }

  .nav-toggle:hover,
  .nav-toggle:active {
    color: var(--text);
    background: #111923;
    transform: translateY(-50%);
  }

  body.nav-open .nav-toggle,
  body.nav-open .nav-toggle:hover,
  body.nav-open .nav-toggle:active {
    color: #1b1203;
    background: var(--gold);
    transform: translateY(-50%);
  }

  .container,
  .container.medium,
  .container.narrow {
    width: min(100% - 28px, 620px);
  }

  .home-hero {
    min-height: 620px;
  }

  .hero-caption {
    right: 14px;
    left: 14px;
    bottom: 86px;
    max-width: none;
  }

  .hero-caption > p,
  .page-hero-content p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-highlights {
    gap: 7px;
  }

  .hero-highlights span {
    min-height: 34px;
  }

  .scroll-cue {
    right: auto;
    left: 50%;
    bottom: 28px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(7, 11, 19, 0.42);
    writing-mode: horizontal-tb;
    transform: translateX(-50%);
  }

  .section {
    padding: 58px 0;
  }

  .section[id] {
    scroll-margin-top: 96px;
  }

  .section + .section {
    padding-top: 34px;
  }

  .preview-grid,
  .feature-list,
  .metric-row,
  .standards-grid,
  .certificate-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .certificate-preview {
    height: 330px;
  }

  .journey-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .journey-list article,
  .journey-list article:nth-child(odd) {
    padding-left: 22px;
    text-align: left;
  }

  .journey-list article::after,
  .journey-list article:nth-child(odd)::after,
  .journey-list article:nth-child(even)::after {
    left: 0;
    right: auto;
  }

  .cta-band .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top {
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 34px;
  }
}

@media (max-width: 540px) {
  .brand span {
    font-size: 0.82rem;
  }

  .hero-caption h1,
  .page-hero-content h1 {
    font-size: 2.35rem;
  }

  .hero-caption {
    padding: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
    white-space: normal;
  }

  .stats-grid,
  .product-catalog,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .certificate-preview {
    height: 300px;
  }

  .catalog-toolbar {
    gap: 18px;
  }

  .filter-tabs button {
    width: 100%;
  }

  .filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero {
    min-height: 390px;
  }

  .page-hero-content {
    width: min(100% - 28px, 560px);
    padding: 20px;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 360px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
