/* ============================================================
   TAJIMA LLP — Global Stylesheet
   Design: Option 3 (Clean White/Premium Modern)
   Accent: Navy + Sage Green
   Font: Inter (sans-serif)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #ffffff;
  --offwhite: #f9f8f5;
  --cream: #f2efe8;
  --ink: #1a1a1a;
  --navy: #1e3a5f;
  --navy-dark: #152d4a;
  --sage: #4a7c6f;
  --sage-light: #6a9e8f;
  --warm: #c8a96e;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #e8e5df;
  --border: #e2ddd6;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ---- TOPBAR ---- */
.topbar {
  background: linear-gradient(90deg, #0d1f3c 0%, #1e3a5f 40%, #2a4f7a 70%, #1e3a5f 100%);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 9px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
}
.topbar a { color: rgba(255,255,255,0.9); text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ---- NAVIGATION ---- */
nav {
  background: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  height: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
}
.logo {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-divider {
  width: 1.5px;
  height: 22px;
  background: var(--sage-light);
  display: inline-block;
  flex-shrink: 0;
}
.logo span {
  color: var(--sage-light);
  font-size: 0.7em;
  letter-spacing: 2px;
  font-weight: 700;
}
.logo-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: center;
  width: 100%;
  margin-top: 1px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--sage) !important;
  color: #fff !important;
  padding: 10px 22px;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}
.nav-cta:hover { background: var(--sage-dark, #3a6b5e) !important; }

/* ---- DROPDOWN NAV ---- */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ' ▾';
  font-size: 9px;
  opacity: 0.6;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 2px solid var(--sage);
  min-width: 200px;
  list-style: none;
  padding: 14px 0 8px;
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  margin-top: 0;
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff !important;
}
.has-dropdown:hover .dropdown { display: block; }
.has-dropdown.open .dropdown { display: block; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: rgba(74,124,111,0.12);
  border-radius: 50%;
}
.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.page-hero-line { width: 32px; height: 1px; background: var(--sage-light); }
.page-hero-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-light);
}
.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 700px;
}
.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-top: 16px;
  max-width: 600px;
  line-height: 1.8;
}

/* ---- SECTION UTILITIES ---- */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eyebrow-line { width: 32px; height: 1px; background: var(--sage); flex-shrink: 0; }
.eyebrow-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
}
h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--ink);
}
h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
}
p { color: var(--gray); font-size: 15px; line-height: 1.85; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 15px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--navy-dark); }
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 14px 34px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sage {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  padding: 15px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-sage:hover { background: var(--sage-light); }

/* ---- FOOTER ---- */
footer {
  background: var(--ink);
  padding: 70px 60px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--sage-light); }
.footer-tagline {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--sage); color: #fff; }
.footer-col h4 {
  color: rgba(255,255,255,0.35);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  color: rgba(255,255,255,0.25);
  font-size: 11px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }
.footer-disclaimer {
  color: rgba(255,255,255,0.2);
  font-size: 10px;
  line-height: 1.7;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---- HAMBURGER BUTTON ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE MENU OVERLAY ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 70px;
  gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 40px;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.mobile-menu a.mobile-cta {
  background: var(--sage);
  color: #fff;
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  nav { padding: 0 30px; }
  .nav-links { gap: 18px; }
  .page-hero { padding: 50px 30px; }
  .page-hero h1 { font-size: 36px; }
  footer { padding: 50px 30px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* NAV */
  nav { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .logo { font-size: 17px; letter-spacing: 2px; }

  /* TYPOGRAPHY */
  h2 { font-size: 28px; letter-spacing: -0.5px; }
  h3 { font-size: 16px; }
  p { font-size: 14px; }

  /* PAGE HERO */
  .page-hero { padding: 40px 20px; }
  .page-hero h1 { font-size: 28px; letter-spacing: -1px; }
  .page-hero p { font-size: 14px; }

  /* TOPBAR */
  .topbar { font-size: 10px; padding: 8px 16px; letter-spacing: 0.5px; }

  /* BUTTONS */
  .btn-primary, .btn-outline, .btn-sage {
    padding: 13px 24px;
    font-size: 11px;
    display: block;
    text-align: center;
    width: 100%;
  }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  footer { padding: 40px 20px 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
