:root {
  --bg: #0b0b0d;
  --bg-soft: #121217;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: #f3f4f6;
  --muted: #b9bcc6;
  --gold: #b28b44;
  --red: #7f1820;
  --border: rgba(255, 255, 255, 0.13);
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(127, 24, 32, 0.18), transparent 40%),
    radial-gradient(circle at 15% 25%, rgba(178, 139, 68, 0.14), transparent 42%),
    linear-gradient(160deg, #09090b 0%, #121218 45%, #0d0d11 100%);
  min-height: 100vh;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 12, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(145deg, rgba(178, 139, 68, 0.23), rgba(127, 24, 32, 0.23));
  border: 1px solid var(--border);
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
}

.hero,
.sub-hero {
  padding: 5.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.05;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.lead {
  margin-top: 1rem;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.lead-tight {
  margin-top: -0.3rem;
  color: #d2d4dc;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.72rem 1.12rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(140deg, #9b7638, #7f1820);
  color: #fff;
  border-color: transparent;
}

.btn-ghost {
  background: var(--panel);
}

.btn.small {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.text-link {
  color: #ddbe84;
  font-weight: 600;
}

.text-link:hover {
  color: #f2d8a5;
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  margin-bottom: 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.glass-panel,
.card,
.quote-card,
.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.glass-panel,
.quote-card,
.form-card {
  padding: 1.3rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  padding: 1.2rem;
}

.card h3 {
  margin-top: 0.35rem;
}

.card p,
.glass-panel p,
.quote-card p,
.list,
.form-card p {
  color: var(--muted);
  line-height: 1.55;
}

.icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--panel-strong);
}

.stats {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stats strong {
  display: block;
  font-size: 1.45rem;
  color: #f0d69d;
}

.stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.quote-card span {
  color: #d2d5de;
  font-weight: 600;
  display: block;
  margin-top: 0.7rem;
}

.list {
  padding-left: 1rem;
  margin-bottom: 0;
}

.dept-block {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  font: inherit;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #be9a5d;
  box-shadow: 0 0 0 2px rgba(190, 154, 93, 0.2);
}

.error {
  min-height: 1rem;
  color: #ff9da5;
  font-size: 0.78rem;
}

.field-invalid input,
.field-invalid select,
.field-invalid textarea {
  border-color: #d74d56;
}

.form-status {
  min-height: 1.2rem;
  font-size: 0.95rem;
  color: #d7d9df;
}

.site-footer {
  margin-top: 1.8rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .card-grid.four {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 4%;
    left: 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(10, 10, 12, 0.97);
    border: 1px solid var(--border);
  }

  .site-nav.open {
    display: flex;
  }

  .card-grid.three,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    line-height: 1.12;
  }
}
