@import url("./fonts.css");

:root {
  --red: #ed1c24;
  --ink: #21005d;
  --navy: #121f3f;
  --deep: #070b1a;
  --sky: #e9f6ff;
  --gold: #f6b740;
  --green: #1c9a70;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --line: #dfe5ef;
  --muted: #667085;
  --shadow: 0 18px 48px rgba(18, 31, 63, 0.08);
  --radius: 0;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-text strong,
.btn,
.eyebrow {
  font-family: "Barlow Condensed", "Inter Tight", Inter, sans-serif;
}

h1,
.display {
  font-size: clamp(1.85rem, 3.5vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 500;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.35vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 500;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.98rem;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.card:hover {
  border-color: #cfd8e8;
  box-shadow: 0 12px 32px rgba(18, 31, 63, 0.06);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 34px rgba(237, 28, 36, 0.28);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 0;
  padding: 7px 11px;
  background: #fff0f1;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 500;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.metric {
  padding: 24px;
  border-right: 1px solid var(--line);
}

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

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

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

.form-panel {
  padding: 28px;
}

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

.field label {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 13px;
  background: #fff;
  color: var(--navy);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.1);
}

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

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

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 150px 0 84px;
  background: linear-gradient(100deg, rgba(18, 31, 63, 0.92), rgba(33, 0, 93, 0.72)), var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.icon-box {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 0;
  background: #fff0f1;
  color: var(--red);
  font-weight: 500;
}

.list-check {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.list-check li::before {
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 500;
  content: "✓";
}

[data-animate] {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .grid-4,
  .grid-3,
  .grid-2,
  .split,
  .metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    gap: 32px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 0.94rem;
  }

  .section {
    padding: 46px 0;
  }

  .shell {
    width: min(100% - 24px, var(--max));
  }

  h1,
  .display {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.42rem, 7vw, 2rem);
    line-height: 1.14;
    margin-bottom: 14px;
  }

  h3 {
    font-size: 1.02rem;
  }

  p {
    margin-bottom: 12px;
  }

  .lead {
    font-size: 1rem;
  }

  .grid {
    gap: 14px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .split,
  .metric-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .media-frame {
    min-height: 230px;
  }

  .page-hero {
    min-height: 300px;
    padding: 112px 0 48px;
  }

  .breadcrumbs {
    margin-bottom: 14px;
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
  }

  .form-panel,
  .card {
    box-shadow: none;
  }
}
