/* ============================================
   WilliamThomas&Co — Final Stylesheet
   Brand Kit: Montserrat + Lato | Navy + Gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  /* Brand Colours */
  --navy:         #0B2545;
  --navy-mid:     #0d2e5c;
  --navy-light:   #1a3a6b;
  --gold:         #D4AF37;
  --gold-light:   #e8cc6a;
  --gold-pale:    #f7f0d8;

  /* Neutrals */
  --white:        #FFFFFF;
  --off-white:    #F5F5F5;
  --light-grey:   #EFEFED;
  --mid-grey:     #A0A0A0;
  --dark-grey:    #4a4a4a;
  --ink:          #1a1a2e;

  /* Functional */
  --border:       rgba(11,37,69,0.10);
  --border-gold:  rgba(212,175,55,0.4);
  --shadow-sm:    0 2px 16px rgba(11,37,69,0.07);
  --shadow-md:    0 8px 40px rgba(11,37,69,0.11);
  --shadow-lg:    0 24px 64px rgba(11,37,69,0.14);
  --shadow-gold:  0 8px 32px rgba(212,175,55,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Lato', sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =====================
   NAVIGATION
   ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 2px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}

.nav-logo-icon .logo-wt {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 800;
  color: var(--white); letter-spacing: 1px;
  line-height: 1;
}

.nav-logo-icon .logo-rule {
  width: 26px; height: 1.5px;
  background: var(--gold); margin: 3px 0;
}

.nav-logo-icon .logo-co {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700;
  color: var(--gold); letter-spacing: 0.5px;
  line-height: 1;
}

.nav-logo-text {
  display: flex; flex-direction: column;
  gap: 1px;
}

.nav-logo-text .logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.3px;
  line-height: 1.1;
}

.nav-logo-text .logo-name span { color: var(--gold); }

.nav-logo-text .logo-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 9px; font-weight: 400;
  color: var(--mid-grey); letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }

.nav-links > li > a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--dark-grey); transition: color 0.25s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--navy); border-bottom-color: var(--gold); }

.dropdown { position: relative; }
.dropdown > a::after { content: ' ▾'; font-size: 8px; opacity: 0.5; }

.dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 24px); left: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  min-width: 260px; padding: 8px 0;
  box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block; padding: 12px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600;
  color: var(--dark-grey) !important;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { color: var(--navy) !important; background: var(--off-white); padding-left: 30px; }

.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px !important; font-weight: 700 !important;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white) !important;
  background: var(--navy);
  padding: 12px 24px !important;
  border-bottom: none !important;
  transition: all 0.25s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

/* =====================
   BUTTONS
   ===================== */
.btn-gold {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 16px 40px;
  border: none; cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(212,175,55,0.4); }

.btn-navy {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 16px 40px;
  border: none; cursor: pointer;
  transition: all 0.3s;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-navy {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  padding: 15px 38px;
  border: 2px solid var(--navy);
  transition: all 0.3s;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 15px 38px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* =====================
   SECTION LABELS
   ===================== */
.label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.label::before { content: ''; width: 24px; height: 2px; background: var(--gold); flex-shrink: 0; }
.label.light { color: var(--gold-light); }
.label.light::before { background: var(--gold-light); }

.h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 6vw, 76px); font-weight: 800;
  line-height: 1.05; letter-spacing: -1.5px;
  color: var(--navy);
}
.h1.light { color: var(--white); }
.h1 span { color: var(--gold); }

.h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 800;
  line-height: 1.1; letter-spacing: -1px;
  color: var(--navy);
}
.h2.light { color: var(--white); }
.h2 span { color: var(--gold); }

.h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 700;
  line-height: 1.2; color: var(--navy);
}
.h3.light { color: var(--white); }

.body-text {
  font-family: 'Lato', sans-serif;
  font-size: 16px; font-weight: 400;
  line-height: 1.85; color: var(--dark-grey);
}
.body-text p { margin-bottom: 18px; }
.body-text p:last-child { margin-bottom: 0; }
.body-text strong { font-weight: 700; color: var(--navy); }
.body-text.light { color: rgba(255,255,255,0.78); }
.body-text.light strong { color: var(--white); }

/* =====================
   GOLD DIVIDER
   ===================== */
.gold-line { width: 48px; height: 3px; background: var(--gold); margin: 24px 0; }
.gold-line.center { margin: 24px auto; }

/* =====================
   CTA BANNER
   ===================== */
.cta-banner {
  background: var(--navy);
  padding: 80px 60px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner .h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner .body-text { color: rgba(255,255,255,0.7); max-width: 500px; font-size: 15px; }

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--white);
  padding: 72px 60px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; padding-bottom: 52px;
}
.footer-brand .footer-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 800;
  color: var(--navy); letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.footer-brand .footer-logo-name span { color: var(--gold); }
.footer-brand .footer-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 13px; color: var(--mid-grey);
  line-height: 1.7; margin: 14px 0 24px;
  max-width: 300px;
}
.footer-brand a {
  display: block; font-size: 13px;
  color: var(--dark-grey); margin-bottom: 6px;
  transition: color 0.2s;
}
.footer-brand a:hover { color: var(--gold); }
.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-family: 'Lato', sans-serif;
  font-size: 13px; color: var(--dark-grey);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--mid-grey); }
.footer-bottom-links { display: flex; gap: 24px; list-style: none; }
.footer-bottom-links a { font-size: 12px; color: var(--mid-grey); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-gold-bar { height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .cta-banner { padding: 64px 32px; }
  footer { padding: 60px 32px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  nav { padding: 0 20px; }
  .cta-banner { flex-direction: column; padding: 52px 20px; text-align: center; }
  footer { padding: 52px 20px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
