:root {
  --bg: #050607;
  --bg-secondary: #090c10;
  --panel: rgba(10, 13, 17, 0.96);
  --panel-strong: #10151a;
  --panel-soft: rgba(255, 255, 255, 0.025);
  --text: #f2eee6;
  --muted: #a8a293;
  --muted-strong: #c4bcad;
  --gold: #c9a561;
  --gold-soft: rgba(201, 165, 97, 0.14);
  --gold-line: rgba(201, 165, 97, 0.2);
  --gold-line-strong: rgba(201, 165, 97, 0.32);
  --green: #009393;
  --green-soft: #92dbd1;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(146, 219, 209, 0.08), transparent 22%),
    radial-gradient(circle at top right, rgba(201, 165, 97, 0.08), transparent 24%),
    linear-gradient(180deg, #050607 0%, #06080b 50%, #050607 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom));
}

.hero,
.section,
.sticky-bar {
  backdrop-filter: blur(14px);
}

.hero {
  padding: 20px;
  border: 1px solid var(--gold-line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(16, 21, 26, 0.98), rgba(8, 10, 13, 0.98)),
    linear-gradient(120deg, rgba(0, 147, 147, 0.06), rgba(201, 165, 97, 0.04));
  box-shadow: var(--shadow);
}

.hero__topline,
.service-card__row,
.cta-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hero__brandline,
.hero__actions,
.cta-panel__actions,
.brief-form__actions,
.service-card__chips,
.route-lab__switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__badge,
.section__label,
.route-result__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: rgba(201, 165, 97, 0.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__badge--muted {
  color: var(--green-soft);
  border-color: rgba(146, 219, 209, 0.18);
  background: rgba(146, 219, 209, 0.08);
}

.hero__site {
  color: var(--muted);
  font-size: 12px;
  line-height: 28px;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
  margin-top: 18px;
}

.hero__main,
.hero__panel,
.service-card,
.reason-grid article,
.flow-grid article,
.route-result,
.brief-form,
.brief-preview,
.atlas,
.cta-panel {
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(18, 23, 29, 0.9), rgba(9, 11, 15, 0.96)),
    rgba(11, 13, 17, 0.94);
}

.hero__main {
  padding: 22px;
}

.hero__panel {
  padding: 18px;
}

.hero__eyebrow {
  margin: 0 0 10px;
  color: var(--green-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-panel h2 {
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.02;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(30px, 5vw, 46px);
}

.hero__lead,
.section__head p,
.service-card p,
.reason-grid p,
.atlas__summary p,
.flow-grid p,
.route-result p,
.brief-form__hint,
.brief-preview__status,
.cta-panel p {
  color: var(--muted);
  line-height: 1.58;
}

.hero__lead {
  max-width: 58ch;
  margin: 14px 0 0;
  font-size: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible,
.route-pill:hover,
.route-pill:focus-visible,
.service-card__link:hover,
.service-card__link:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #090b0f;
  background: linear-gradient(135deg, #d3b06a, #ae8a4e);
  box-shadow: 0 10px 20px rgba(201, 165, 97, 0.18);
}

.button--ghost {
  border-color: var(--gold-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button--compact {
  min-height: 40px;
  white-space: nowrap;
}

.hero__briefing {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.hero__briefing article {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__briefing article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero__briefing span,
.hero__stats span {
  display: block;
  color: var(--text);
  font-weight: 700;
}

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

.hero__stats,
.service-grid,
.reason-grid,
.flow-grid,
.route-result__meta {
  display: grid;
  gap: 12px;
}

.hero__stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.hero__stats article {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.hero__stats span {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 6px;
}

.hero__stats p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.content {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.section {
  padding: 18px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(201, 165, 97, 0.05), transparent 20%),
    linear-gradient(180deg, rgba(9, 12, 16, 0.98), rgba(6, 8, 10, 0.96));
}

.section__head {
  max-width: 62ch;
  margin-bottom: 16px;
}

.section__head h2,
.cta-panel h2 {
  margin-top: 8px;
  font-size: clamp(24px, 4vw, 34px);
}

.section__head p {
  margin: 10px 0 0;
  font-size: 14px;
}

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

.service-card,
.reason-grid article,
.flow-grid article,
.brief-form,
.brief-preview {
  padding: 18px;
}

.service-card {
  display: grid;
  gap: 12px;
}

.service-card--accent {
  background:
    radial-gradient(circle at top right, rgba(201, 165, 97, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(18, 22, 28, 0.96), rgba(9, 11, 15, 0.98));
}

.service-card--dark {
  background:
    radial-gradient(circle at bottom right, rgba(0, 147, 147, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(13, 19, 22, 0.96), rgba(8, 11, 13, 0.98));
}

.service-card__tag {
  margin: 0;
  color: var(--green-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3,
.reason-grid h3,
.flow-grid h3,
.route-result h3,
.brief-preview h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  font-size: 14px;
}

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

.service-card__link--light {
  color: var(--green-soft);
}

.service-card__chips span,
.atlas__countries span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 500;
}

.reason-grid--focus {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reason-grid article {
  min-height: 158px;
}

.reason-grid article:nth-child(3) {
  border-color: rgba(146, 219, 209, 0.18);
  background:
    radial-gradient(circle at top left, rgba(146, 219, 209, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(12, 21, 22, 0.96), rgba(8, 11, 13, 0.98));
}

.reason-grid h3,
.flow-grid h3 {
  margin-bottom: 8px;
}

.reason-grid p,
.flow-grid p {
  margin: 0;
  font-size: 13px;
}

.atlas {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.atlas__countries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.atlas__summary {
  padding: 4px 0 0;
}

.atlas__summary p {
  margin: 0;
  font-size: 14px;
}

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

.flow-grid article {
  position: relative;
}

.flow-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(201, 165, 97, 0.12);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.route-lab {
  display: grid;
  gap: 12px;
}

.route-pill {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.route-pill.is-active {
  color: #edf7f6;
  border-color: rgba(146, 219, 209, 0.28);
  background: linear-gradient(135deg, rgba(0, 147, 147, 0.22), rgba(0, 147, 147, 0.1));
  box-shadow: inset 0 0 0 1px rgba(146, 219, 209, 0.05);
}

.route-result {
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(201, 165, 97, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(146, 219, 209, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(14, 18, 23, 0.98), rgba(8, 10, 13, 0.98));
}

.route-result h3 {
  margin-top: 10px;
}

.route-result p {
  margin: 8px 0 0;
  font-size: 14px;
}

.route-result__meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.route-result__meta div,
.preview-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.route-result__meta span,
.field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.route-result__meta strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.brief-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 12px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 14px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7a756c;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(146, 219, 209, 0.3);
  box-shadow: 0 0 0 4px rgba(0, 147, 147, 0.08);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.brief-form__actions {
  align-items: center;
  margin-top: 14px;
}

.brief-form__hint,
.brief-preview__status,
.preview-card p {
  margin: 0;
}

.brief-form__hint,
.brief-preview__status {
  font-size: 13px;
}

.preview-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.preview-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-strong);
}

.preview-card strong {
  color: var(--text);
}

.cta-panel {
  padding: 18px;
  border-color: var(--gold-line-strong);
  background:
    radial-gradient(circle at top left, rgba(201, 165, 97, 0.1), transparent 20%),
    radial-gradient(circle at bottom right, rgba(146, 219, 209, 0.08), transparent 26%),
    linear-gradient(130deg, rgba(10, 13, 17, 0.98), rgba(7, 9, 12, 0.98));
}

.cta-panel__actions {
  justify-content: flex-end;
  align-items: center;
}

.sticky-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(calc(100% - 20px), 1068px);
  padding: 12px 14px;
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  background: rgba(8, 10, 13, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.sticky-bar strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 13px;
}

.sticky-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .hero__layout,
  .service-grid--priority,
  .brief-layout,
  .atlas,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    display: grid;
  }

  .cta-panel__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .hero__stats,
  .reason-grid--focus,
  .flow-grid,
  .route-result__meta,
  .brief-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-inline: 12px;
  }

  .hero,
  .section {
    padding: 14px;
    border-radius: 22px;
  }

  .hero__topline,
  .service-card__row,
  .sticky-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__main,
  .hero__panel,
  .service-card,
  .reason-grid article,
  .flow-grid article,
  .route-result,
  .brief-form,
  .brief-preview,
  .atlas,
  .cta-panel {
    padding: 16px;
    border-radius: 16px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(28px, 9vw, 36px);
  }

  .section__head h2,
  .cta-panel h2 {
    font-size: 24px;
  }

  .hero__lead,
  .section__head p,
  .service-card p,
  .route-result p,
  .atlas__summary p {
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .route-pill {
    width: 100%;
    justify-content: center;
  }

  .sticky-bar {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
  }
}
