/* ── RESET + VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1F4F73;
  --gold:    #C89A4A;
  --white:   #FFFFFF;
  --gray-bg: #F5F5F5;
  --text:    #1A1A2E;
  --muted:   #6B8FAD;
  --border:  #E8EDF2;
  --font:    'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAV (white/solid variant — all pages except landing override below) ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--primary);
  border: none;
  padding: 10px 22px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}
.mobile-menu.open { pointer-events: all; }
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,28,46,0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-menu.open .mobile-menu-overlay { opacity: 1; }
.mobile-menu-drawer {
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 100%;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
}
.mobile-menu.open .mobile-menu-drawer { transform: translateX(0); }
.mobile-menu-drawer a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.mobile-menu-drawer a:hover { color: var(--primary); }
.mobile-menu-cta {
  margin-top: 28px;
  background: var(--primary) !important;
  color: var(--white) !important;
  text-align: center;
  padding: 14px 24px !important;
  border-radius: 4px;
  border-bottom: none !important;
}
.mobile-menu-cta:hover { background: var(--gold) !important; }

/* ── FOOTER ── */
footer {
  background: var(--primary);
  border-top: 4px solid var(--gold);
}
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 48px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 28px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,154,74,0.1); }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item svg {
  width: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}
.footer-contact-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom-copy { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TABLET (≤ 1024px) ── */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 32px 40px; }
  .footer-bottom { padding: 20px 32px; }
}

/* ── MOBILE (≤ 768px) ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 56px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 24px; }
}
