/* ═══════════════════════════════════════════════
   HG CONSULTING — GLOBAL STYLESHEET
   Colors sourced from company logo
═══════════════════════════════════════════════ */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@600;700&display=swap");

:root {
  --navy: #1b2a4a;
  --navy2: #0f1c33;
  --gold: #d4a017;
  --gold2: #f0bc2e;
  --gold3: #fdd85a;
  --silver: #8a9bb0;
  --light: #f4f6fa;
  --white: #ffffff;
  --text: #2c3e55;
  --muted: #6b7d94;
  --border: rgba(212, 160, 23, 0.25);
  --success: #22c55e;
  --danger: #ef4444;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 28, 51, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  height: 50px;
}
.nav-logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1b2a4a, #2a4a7f);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-mark span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #d4a017;
}
.nav-brand {
  display: flex;
  flex-direction: column;
}
.nav-brand-main {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}
.nav-brand-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold2);
  background: rgba(212, 160, 23, 0.08);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy2) !important;
  padding: 9px 20px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--gold2) !important;
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 140px 48px 72px;
  background: linear-gradient(
    135deg,
    var(--navy2) 0%,
    #1b3560 60%,
    #0f2240 100%
  );
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}
.breadcrumb-sep {
  opacity: 0.4;
}
.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero h1 span {
  color: var(--gold2);
}
.page-hero p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
}
.page-hero-accent {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 60px solid rgba(212, 160, 23, 0.05);
}

/* ─── SECTION COMMON ─── */
section {
  padding: 88px 48px;
}
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span {
  color: var(--gold);
}
.section-lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 600px;
}
.section-header {
  margin-bottom: 52px;
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-lead {
  margin: 0 auto;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--gold);
  color: var(--navy2);
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.2s,
    transform 0.15s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
}
.btn-outline-navy {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--gold2);
}
.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold2);
}

/* ─── TICKER ─── */
.ticker-bar {
  background: var(--gold);
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  gap: 60px;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy2);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy2);
  opacity: 0.4;
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy2);
  border-top: 1px solid rgba(212, 160, 23, 0.15);
  padding: 64px 48px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 14px;
}
.footer-col h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--gold2);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
}
.footer-copy span {
  color: var(--gold);
}

/* ─── FORMS ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border-radius: 5px;
  border: 1.5px solid rgba(27, 42, 74, 0.15);
  font-family: "Barlow", sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--light);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea {
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy2);
  color: var(--gold2);
  border: none;
  border-radius: 5px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover {
  background: var(--navy);
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(27, 42, 74, 0.08);
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(27, 42, 74, 0.1);
}

/* ─── BADGE ─── */
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  display: inline-block;
}
.badge-gold {
  background: var(--gold);
  color: var(--navy2);
}
.badge-navy {
  background: var(--navy);
  color: var(--gold2);
}
.badge-green {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}
.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}
.badge-muted {
  background: rgba(107, 125, 148, 0.1);
  color: var(--muted);
}

/* ─── ALERT ─── */
.alert {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #166534;
}
.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: block;
  }
  section {
    padding: 60px 20px;
  }
  .page-hero {
    padding: 120px 20px 56px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
