:root {
  --blue: #003f79;
  --red: #bf2026;
  --gold: #f7b718;
  --offwhite: #f9f5ec;
  --dark: #111822;
  --text: #e4e7ec;
  --muted: #7f8ca0;
}

/* =========================
   GLOBAL RESET / BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2a3a 0, #05070b 55%, #020309 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   PAGE LAYOUT
   ========================= */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =========================
   HEADER & NAV
   ========================= */
.site-header {
  background: rgba(4, 9, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* LOGO CIRCLE (safe, no cropping) */
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keep contain - do not override */
  display: block;
}

.brand-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* NAVIGATION */
.nav {
  display: flex;
  gap: 0.75rem;
  position: relative;
}

.nav a,
.nav button.nav-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: none;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.nav a:hover,
.nav button.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav a.active,
.nav button.nav-link.active {
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: #fff;
  border-color: rgba(0, 0, 0, 0.3);
}

/* DROPDOWN MENU */
.nav-item {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 38px;
  right: 0;
  background: rgba(6, 11, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  min-width: 170px;
  backdrop-filter: blur(8px);
  z-index: 50;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   HERO SECTION (DEFAULT)
   ========================= */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Default banner height (mobile-friendly, stable) */
.hero-media {
  height: 320px;
  max-height: 320px;
  overflow: hidden;
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;              /* default is banner crop */
  object-position: center 35%;    /* controls desktop crop too */
  filter: saturate(1.1) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.7));
}

/* Hero card overlay positioning */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2.75rem 1.25rem 1.75rem;
}

.hero-card {
  width: 100%;
  max-width: 960px;
  background: rgba(6, 11, 22, 0.92);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  padding: 1.5rem 1.75rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.hero-title {
  font-size: clamp(1.6rem, 2.4vw + 1.2rem, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0.35rem 0 0.5rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* =========================
   HERO MODES (use on section)
   - hero hero--cover   : cropped banner (default)
   - hero hero--contain : full image, no cropping
   ========================= */

/* A — Banner-style (cropped) */
.hero--cover .hero-media {
  height: 320px;
  max-height: 320px;
}
.hero--cover .hero-media img {
  height: 100%;
  object-fit: cover;
}

/* B — Full image (no cropping) */
.hero--contain .hero-media {
  height: auto;
  max-height: none;
}
.hero--contain .hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: none; /* optional: keeps full image more natural */
}

/* =========================
   HOME: IMAGE-ONLY HERO (if used)
   ========================= */
.hero-image-only {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-image-only-img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: #111;
  border-color: rgba(0, 0, 0, 0.4);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
}

/* =========================
   SECTIONS
   ========================= */
.section {
  padding: 2.5rem 0;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.16em;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0.35rem 0 0.5rem;
}

.section-lead {
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}

/* =========================
   GRID + CARDS
   ========================= */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: radial-gradient(circle at top, #1d2836 0, #05070b 65%);
  border-radius: 1.1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-tag {
  background: rgba(0, 0, 0, 0.6);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.7rem;
}

.card-title {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* =========================
   LISTS
   ========================= */
.list {
  padding-left: 1rem;
}

.list li {
  margin-bottom: 0.5rem;
}

/* =========================
   CONTACT ROWS
   ========================= */
.contact-block {
  margin-top: 1.5rem;
}

.contact-row {
  margin-bottom: 1rem;
}

.contact-label {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* =========================
   FORM FIELDS
   ========================= */
.field-label {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(3, 5, 10, 0.85);
  color: var(--text);
}

.field-textarea {
  min-height: 110px;
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
  padding: 1.2rem 0;
  background: #05070b;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.75rem;
  margin-left: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========================
   RESPONSIVE FIXES
   ========================= */

/* Mobile header overflow fix */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav a,
  .nav button.nav-link {
    margin-top: 0.25rem;
  }
}

/* HERO mobile tuning */
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    height: 220px;
    max-height: none;
  }

  .hero-content {
    padding: 1.75rem 1rem