:root {
  --navy: #0b3a6e;
  --sky: #78d3f8;
  --sky-dark: #2f7fb6;
  --mint: #61ddaa;
  --lav: #c2c8ff;
  --orange: #ffcf99;
  --yellow: #ffe58f;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text h1 {
  margin: 0;
  font-size: 20px;
  color: #020617;
}

.brand-text p {
  margin: 3px 0 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky-dark);
  font-weight: bold;
}

.brand-name {
  margin: 0;
  font-size: 20px;
  color: #020617;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #475569;
  font-size: 14px;
  font-weight: bold;
}

.nav-links a:hover,
.nav-links a.active {
  background: #0f172a;
  color: #fff;
}

.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #ecfdf5 100%);
  padding: 72px 0 56px;
}

.hero-grid,
.grid-2,
.portal-wrap {
  display: grid;
  gap: 32px;
}

.hero-grid,
.grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.portal-wrap {
  grid-template-columns: 0.95fr 1.05fr;
}

.kicker,
.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
}

.kicker {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #075985;
  letter-spacing: 0.18em;
  font-size: 11px;
}

.section-kicker {
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--sky-dark);
}

.hero-title {
  text-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  margin: 18px 0 0;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #020617;
}

.section-title {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 10px 0;
  color: #020617;
}

.lead {
  font-size: 19px;
  color: #475569;
  max-width: 760px;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 18px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.btn-dark {
  background: #0f172a;
  color: #fff;
  border: none;
}

.btn-light {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.card,
.card-sm {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.card {
  border-radius: 28px;
  padding: 24px;
}

.card-sm {
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.tiles-2,
.tiles-3,
.tiles-4,
.diagram-grid-2,
.diagram-grid-3,
.diagram-grid-4,
.form-grid {
  display: grid;
  gap: 18px;
}

.tiles-2,
.diagram-grid-2,
.form-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

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

.diagram-box {
  border-radius: 18px;
  padding: 16px;
  font-size: 14px;
  font-weight: bold;
}

.orange { background: #ffedd5; color: #9a3412; }
.sky { background: #e0f2fe; color: #075985; }
.lav { background: #ede9fe; color: #5b21b6; }
.mint { background: #dcfce7; color: #166534; }
.yellow { background: #fef3c7; color: #92400e; }
.slate { background: #f1f5f9; color: #0f172a; }

.muted {
  color: var(--muted);
}

.note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 13px;
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 12px;
  color: #475569;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  font: inherit;
  background: #fff;
}

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

.range {
  width: 100%;
  accent-color: #0b3a6e;
}

.estimate {
  font-size: 52px;
  font-weight: bold;
  line-height: 1.05;
  color: #020617;
}

.small {
  font-size: 12px;
}

.center {
  text-align: center;
}

.hidden {
  display: none !important;
}

.section {
  padding: 68px 0;
}

.section-white {
  background: #fff;
}

.section-dark {
  background: #0f172a;
  color: #fff;
}

.section-dark .section-title,
.section-dark .brand-text h1 {
  color: #fff;
}

.section-dark .brand-text p {
  color: #bae6fd;
}

.section-dark .muted,
.section-dark p {
  color: #cbd5e1;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-2,
  .portal-wrap,
  .tiles-2,
  .tiles-3,
  .tiles-4,
  .diagram-grid-2,
  .diagram-grid-3,
  .diagram-grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 34px;
  }

  .nav {
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
}

.patriot-banner {
  background: linear-gradient(
    90deg,
    #b22234 0%,
    #ffffff 45%,
    #3c3b6e 100%
  );
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.patriot-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 0;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.patriot-banner-inner p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.patriot-badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.hero-patriotic {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(178, 34, 52, 0.10) 0%,
      #ffffff 45%,
      rgba(60, 59, 110, 0.12) 100%
    );
}

.hero-patriotic::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 0% 0%, rgba(178, 34, 52, 0.18), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(60, 59, 110, 0.20), transparent 40%),
    linear-gradient(
      120deg,
      rgba(178, 34, 52, 0.08) 0%,
      transparent 35%,
      rgba(60, 59, 110, 0.10) 70%,
      transparent 100%
    );

  pointer-events: none;
}

.hero-patriotic::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    repeating-linear-gradient(
      120deg,
      rgba(178, 34, 52, 0.06) 0px,
      rgba(178, 34, 52, 0.06) 3px,
      transparent 3px,
      transparent 16px
    );

  opacity: 0.6;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.10), rgba(255,255,255,0.20));
}

.hero-patriotic .container,
.hero-patriotic .hero-grid,
.hero-patriotic .card {
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .patriot-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 0;
  }
}

.tribute-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  background:
    linear-gradient(135deg, rgba(178, 34, 52, 0.12) 0%, #ffffff 42%, rgba(60, 59, 110, 0.14) 100%);
}

.tribute-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(178, 34, 52, 0.20), transparent 34%),
    radial-gradient(circle at top right, rgba(11, 58, 110, 0.22), transparent 34%),
    linear-gradient(120deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  pointer-events: none;
}

.tribute-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.16) 0px,
      rgba(255, 255, 255, 0.16) 2px,
      transparent 2px,
      transparent 18px
    );
  opacity: 0.45;
  pointer-events: none;
}

.tribute-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.kicker-tribute {
  background: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.55);
  color: #0f172a;
}

.tribute-title {
  max-width: 760px;
}

.tribute-lead {
  max-width: 700px;
}

.tribute-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88));
}

.tribute-flag-panel {
  position: relative;
  min-height: 240px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06)),
    linear-gradient(90deg, #b22234 0%, #ffffff 48%, #3c3b6e 100%);
}

.tribute-flag-panel::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,0.08),
      transparent 40%,
      rgba(255,255,255,0.08)
    );

  opacity: 0.6;
}

.tribute-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 56%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.95) 1.4px, transparent 1.8px);
  background-size: 18px 18px;
  background-color: rgba(15, 23, 42, 0.92);
  border-bottom-right-radius: 28px;
  opacity: 0.95;
}

.tribute-stripes {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 14px;
  padding: 22px 0;
}

.tribute-stripes span {
  display: block;
  background: rgba(255,255,255,0.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.tribute-quote {
  padding-top: 20px;
}

.tribute-quote p {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: #334155;
}

.section-intro {
  max-width: 860px;
  margin: 0 auto 36px;
}

.section-lead-center {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.tribute-cards {
  margin-top: 18px;
}

.tribute-card {
  text-align: center;
  padding-top: 22px;
  padding-bottom: 22px;
}

.tribute-card h4 {
  margin: 10px 0 8px;
  font-size: 20px;
  color: #020617;
}

.tribute-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: bold;
  color: #0f172a;
  background: linear-gradient(135deg, rgba(178, 34, 52, 0.14), rgba(60, 59, 110, 0.14));
}

.tribute-band {
  background:
    linear-gradient(135deg, rgba(178, 34, 52, 0.06) 0%, #ffffff 45%, rgba(60, 59, 110, 0.08) 100%);
}

.tribute-band-grid {
  align-items: center;
}

.tribute-panel {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.tribute-panel-lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(178, 34, 52, 0.08) 0px,
      rgba(178, 34, 52, 0.08) 3px,
      transparent 3px,
      transparent 18px
    );
  opacity: 0.65;
}

.tribute-panel-content {
  position: relative;
  z-index: 1;
}

.tribute-panel h4 {
  margin: 18px 0 10px;
  font-size: 28px;
  color: #020617;
}

.tribute-cta-section {
  background:
    linear-gradient(135deg, #111827 0%, #0f172a 45%, #1e293b 100%);
}

@media (max-width: 960px) {
  .tribute-hero-grid {
    grid-template-columns: 1fr;
  }

  .tribute-visual {
    min-height: auto;
  }

  .tribute-flag-panel {
    min-height: 220px;
  }
}