:root {
  --navy: #0b1f3a;
  --navy-2: #12305c;
  --gold: #c8a24a;
  --gold-2: #e0b95c;
  --ink: #1c2430;
  --muted: #5b6673;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --line: #e3e7ee;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(11, 31, 58, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
  font-size: 18px;
}

.brand-name {
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--gold-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
}

.phone-chip:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.phone-chip i {
  color: var(--gold-2);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 31, 58, 0.92) 30%, rgba(11, 31, 58, 0.55) 70%, rgba(11, 31, 58, 0.35));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 0;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-2);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-2);
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(224, 185, 92, 0.6);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.meta-item i {
  color: var(--gold-2);
}

/* Logos strip */
.logos-strip {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.logos-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.logos span {
  font-weight: 800;
  font-size: 18px;
  color: #9aa6b5;
  letter-spacing: 1px;
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}

.section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px -20px rgba(11, 31, 58, 0.3);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-img {
  height: 180px;
  overflow: hidden;
}

.card-img img {
  transition: transform 0.4s;
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-body {
  padding: 22px;
}

.card-body > i {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
}

.card-body h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  color: var(--muted);
}

/* Stats */
.stats {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold-2);
}

.stat-plus {
  font-size: 26px;
  color: var(--gold-2);
}

.stat p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
}

/* Offices */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.office {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px -20px rgba(11, 31, 58, 0.3);
}

.office-img {
  height: 210px;
}

.office-body {
  padding: 22px;
}

.office-body h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}

.office-addr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.office-addr i {
  color: var(--gold);
  margin-top: 3px;
}

.office-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-2);
  font-weight: 600;
  font-size: 15px;
}

.office-phone i {
  color: var(--gold);
}

.office-phone:hover {
  color: var(--gold);
}

/* Team */
.team {
  background: var(--bg-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.member {
  text-align: center;
}

.member img {
  height: 300px;
  border-radius: var(--radius);
  object-position: top;
  margin-bottom: 16px;
}

.member h3 {
  font-size: 18px;
  color: var(--navy);
}

.member p {
  color: var(--muted);
  font-size: 14px;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 26px;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-lines a,
.contact-lines span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}

.contact-lines i {
  width: 20px;
  color: var(--gold);
  text-align: center;
}

.contact-lines a:hover {
  color: var(--gold);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 17px;
  transition: all 0.2s;
}

.socials a:hover {
  background: var(--navy);
  color: var(--gold-2);
  border-color: var(--navy);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-block {
  width: 100%;
}

.form-note {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  color: #2e7d32;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 12px;
  max-width: 260px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--gold-2);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15px;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .services-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .offices-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 20px;
    gap: 18px;
    transform: translateY(-120%);
    transition: transform 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav-toggle {
    display: block;
  }
  .phone-chip span {
    display: none;
  }
  .phone-chip {
    padding: 8px 10px;
  }
  .hero {
    min-height: 82vh;
  }
  .services-grid,
  .team-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .logos {
    gap: 24px;
  }
}