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

:root {
  --navy:      #0f2342;
  --navy-mid:  #1b3a6b;
  --blue:      #1d6fa4;
  --blue-lt:   #2e8bc0;
  --accent:    #c8a24b;
  --text:      #1a1a2e;
  --text-mid:  #4a5568;
  --text-lt:   #718096;
  --bg-light:  #f7f9fc;
  --bg-white:  #ffffff;
  --border:    #e2e8f0;
  --radius:    8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.13);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 88px 0; }
.bg-light    { background: var(--bg-light); }
.bg-dark     { background: var(--navy); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 11px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-lt);
  border-color: var(--blue-lt);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}
.btn-lg  { padding: 14px 34px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ── SECTION TYPOGRAPHY ─────────────────────────────────────── */
.section-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-eyebrow.light { color: var(--accent); }

.section-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 18px;
}
.section-title.light { color: #fff; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.logo-gh {
  font-family: 'Merriweather', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}
.logo-text {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.main-nav a {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-phone {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
}
.header-phone:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── LOGO IMAGE ─────────────────────────────────────────────── */
.logo-img        { height: 44px; width: auto; display: block; }
.logo-fallback   { display: none; align-items: baseline; gap: 6px; }
.footer-logo-img { height: 36px; width: auto; filter: brightness(0) invert(.5); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  color: #fff;
  padding: 110px 0 80px;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(12,28,56,.88) 0%, rgba(20,42,85,.82) 55%, rgba(20,42,85,.7) 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content { max-width: 680px; }

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}
.hero .btn-primary:hover {
  background: #d4b060;
  border-color: #d4b060;
}
.hero .btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.btn-gold {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  font-weight: 700;
}
.btn-gold:hover {
  background: #d4b060;
  border-color: #d4b060;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.hero-bar {
  position: relative; z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--blue-lt), var(--accent));
  margin-top: 64px;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover .service-img-wrap::after {
  opacity: .45;
}

.service-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.service-card--featured .service-img-wrap::after {
  background: linear-gradient(180deg, rgba(29,111,164,.35) 0%, rgba(10,28,64,.7) 100%);
}

/* Full-width image header */
.service-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--navy-mid);
}
.service-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,24,56,.2) 0%, rgba(10,24,56,.65) 100%);
  transition: opacity var(--transition);
  opacity: .35;
}
.service-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.04); }

/* Card body (text content below image) */
.service-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-body > p {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-list li {
  font-size: .875rem;
  color: var(--text-mid);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
  border-top: 1px solid var(--border);
}
.service-list li:last-child { border-bottom: 1px solid var(--border); }
.service-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ── WHY US ──────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-content > p {
  font-size: .975rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.why-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-num {
  display: block;
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-lt);
  line-height: 1.4;
  margin-top: 4px;
}

.why-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.pillar:first-child { border-top: 1px solid var(--border); }

.pillar-icon {
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px;
  height: 22px;
  background: rgba(29,111,164,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.pillar strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.pillar p {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ── TEAM ────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  gap: 28px;
  transition: var(--transition);
  align-items: flex-start;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.team-photo-col { flex-shrink: 0; }

.team-photo-wrap {
  width: 120px;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-light);
  border: 2px solid var(--border);
}
.team-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.avatar-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  font-family: 'Merriweather', serif;
  font-size: 1.6rem; font-weight: 700; color: #fff;
}

.team-info h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.team-creds {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--blue);
  margin-bottom: 2px;
}
.team-title {
  font-size: .82rem;
  color: var(--text-lt);
  font-weight: 500;
  margin-bottom: 14px;
}
.team-bio {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.cred-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--bg-light);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.team-email {
  font-size: .85rem;
  color: var(--blue);
  font-weight: 500;
  transition: color var(--transition);
}
.team-email:hover { color: var(--blue-lt); text-decoration: underline; }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-intro {
  font-size: .975rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}
.contact-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .7; }
.contact-item a { color: inherit; transition: color var(--transition); }
.contact-item a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 24px; }

label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

input, textarea {
  width: 100%;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 11px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,111,164,.12);
  background: #fff;
}

.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-lt);
  margin-top: 12px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #08172b;
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.footer-brand .logo-text { color: rgba(255,255,255,.5); }

.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,.85); }

.footer-legal {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; gap: 48px; }
  .team-grid     { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .site-header { position: relative; }

  .hero-inner { flex-direction: column; }
  .hero-badge { display: none; }
  .hero { padding: 64px 0 48px; }

  .hero-headline { font-size: 1.45rem; }

  .form-row { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .section-pad { padding: 60px 0; }
}
