/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1a2b4a;
  --navy-dark:   #111d33;
  --gold:        #b8963e;
  --gold-light:  #d4af62;
  --white:       #ffffff;
  --off-white:   #f5f4f0;
  --text:        #2c2c2c;
  --text-muted:  #666;
  --border:      #ddd;
  --section-gap: 90px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  font-weight: normal;
  line-height: 1.25;
}

.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: var(--section-gap) 0; }
section:nth-child(even) { background: var(--off-white); }

/* ── Nav ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 43, 74, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 150, 62, 0.3);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(184,150,62,0.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; }
.hero-logo { width: min(340px, 80vw); margin-bottom: 36px; }
.hero-tagline {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin-bottom: 16px;
  font-style: italic;
}
.hero-sub {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 44px;
}
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── About ────────────────────────────────────────────────── */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
#about p { color: #444; margin-bottom: 16px; font-size: 1.05rem; }

.about-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat-card {
  text-align: center;
  padding: 28px 16px;
  border-top: 3px solid var(--gold);
  background: var(--white);
}
.stat-number {
  font-size: 2.4rem;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pull-quote {
  margin-top: 28px;
  padding: 28px;
  background: var(--off-white);
  border-left: 4px solid var(--gold);
}
.pull-quote p { font-style: italic; color: #444; font-size: 1rem; margin: 0; }

/* ── Global Reach ─────────────────────────────────────────── */
#reach .reach-intro {
  max-width: 680px;
  margin-bottom: 44px;
  font-size: 1.05rem;
  color: #444;
}
.reach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reach-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-top: 3px solid var(--gold);
}
.reach-flag { font-size: 2rem; margin-bottom: 12px; }
.reach-card h4 {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.reach-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ── Services ─────────────────────────────────────────────── */
#services .services-intro {
  max-width: 680px;
  margin-bottom: 52px;
  font-size: 1.05rem;
  color: #444;
}
.wms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}
.wms-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 28px 28px 28px 24px;
}
.wms-card h4 {
  color: var(--navy);
  font-size: 1rem;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.wms-card ul { list-style: none; padding: 0; }
.wms-card ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 3px 0 3px 14px;
  position: relative;
}
.wms-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}
.philosophy-block {
  background: var(--navy);
  color: var(--white);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.philosophy-chart { flex-shrink: 0; text-align: center; }
.chart-bar { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.bar-segment {
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 0.85rem;
  color: var(--white);
}
.bar-80 { height: 80px; background: var(--gold); }
.bar-20 { height: 20px; background: rgba(255,255,255,0.25); }
.bar-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0.05em;
}
.philosophy-text h3 { color: var(--gold-light); font-size: 1.3rem; margin-bottom: 14px; }
.philosophy-text p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.8; }

/* ── Team ─────────────────────────────────────────────────── */
#team .team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.team-card { background: var(--white); border: 1px solid var(--border); }
.team-card-header {
  background: var(--navy);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.team-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.team-card-header h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }
.team-card-header .title {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.team-card-body { padding: 28px; }
.team-card-body p { font-size: 0.95rem; color: #444; margin-bottom: 12px; line-height: 1.75; }
.team-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.skill-tag {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--off-white);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 4px 10px;
}

/* ── Clients ──────────────────────────────────────────────── */
#clients .clients-intro {
  max-width: 600px;
  margin-bottom: 48px;
  color: #444;
  font-size: 1.05rem;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2px;
  background: var(--border);
}
.logo-cell {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  min-height: 90px;
  transition: background 0.15s;
}
.logo-cell:hover { background: var(--off-white); }
.logo-cell img {
  max-width: 120px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.2s, opacity 0.2s;
}
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }

/* ── Partner ──────────────────────────────────────────────── */
#partner .partner-card {
  display: flex;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 44px 48px;
  max-width: 860px;
}
.partner-badge {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-badge span { color: var(--gold); font-size: 1.6rem; font-family: 'Georgia', serif; font-weight: bold; }
.partner-info h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 10px; }
.partner-info p { color: #444; font-size: 0.95rem; line-height: 1.75; margin-bottom: 18px; }
.partner-link {
  display: inline-block;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.partner-link:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ── Contact ──────────────────────────────────────────────── */
#contact { background: var(--navy-dark); color: var(--white); }
#contact .section-title { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}
.contact-detail { margin-bottom: 28px; }
.contact-detail .label {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-detail a, .contact-detail p { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 1rem; }
.contact-detail a:hover { color: var(--gold-light); }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: #0a1220; padding: 24px 0; text-align: center; }
footer p { font-family: 'Arial', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .reach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-gap: 60px; }

  .container { padding: 0 20px; }

  /* Mobile nav */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--navy-dark);
    border-top: 1px solid rgba(184,150,62,0.2);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 14px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
  }

  #about .about-grid,
  #team .team-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .wms-grid { grid-template-columns: 1fr; }

  .about-stat-row { gap: 12px; }

  .philosophy-block { flex-direction: column; padding: 32px 24px; }

  #partner .partner-card { flex-direction: column; padding: 32px 24px; gap: 28px; }

  .logo-grid { grid-template-columns: repeat(3, 1fr); }

  .reach-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .reach-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat-row { grid-template-columns: repeat(3, 1fr); }
  .hero-logo { width: 70vw; }
}
