:root {
  /* Brand palette — drawn from the logo (deep navy + cream, warm gold accent) */
  --navy: #14264a;
  --navy-700: #1e3a6b;
  --navy-900: #0d1a33;
  --gold: #c8a24c;
  --gold-ink: #8a6a1c;   /* deeper gold for text on light backgrounds */
  --gold-soft: #e7d6a8;  /* light gold for text on the navy background */
  --cream: #f6f2e7;

  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --text: #16213a;
  --muted: #5a657d;
  --line: #e6e9f0;
  --card: #ffffff;
  --danger: #b3261e;
  --success: #1f7a4d;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(13, 26, 51, 0.06), 0 8px 24px rgba(13, 26, 51, 0.05);
  --shadow-lg: 0 30px 70px rgba(13, 26, 51, 0.12);
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
  text-wrap: balance;   /* even out line lengths — no single-word orphan lines */
}

p {
  text-wrap: pretty;    /* prevent orphans in body copy too */
}

img { max-width: 100%; }

.container {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(12px);
}

.header-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-family: "Spectral", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.brand-name small {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.18s ease;
}

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

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  font-weight: 600;
  transition: background 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}

/* ---------- Buttons ---------- */
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover, button:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(20, 38, 74, 0.28);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

/* Light gold only where the eyebrow sits on the navy background */
.hero .eyebrow,
.contact .eyebrow {
  color: var(--gold-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
}

.section-sub {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(200, 162, 76, 0.20), transparent 60%),
    linear-gradient(150deg, rgba(13, 26, 51, 0.97) 18%, rgba(20, 38, 74, 0.86) 55%, rgba(30, 58, 107, 0.78)),
    url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?q=80&w=1800&auto=format&fit=crop") center 28% / cover no-repeat;
  color: #fff;
  padding: 96px 0 0;
}

.hero-glow {
  position: absolute;
  inset: auto -10% -40% auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(200, 162, 76, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 66px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .button:not(.button-ghost) {
  background: var(--gold);
  color: var(--navy-900);
}

.hero .button:not(.button-ghost):hover {
  background: var(--gold-soft);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200, 162, 76, 0.25);
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
}

.hero-card {
  position: relative;
  padding: 36px 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
}

.hero-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.hero-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 162, 76, 0.2);
}

/* ---------- Stats ---------- */
.stats {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

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

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.section.alt {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-body .eyebrow { margin-top: 0; }

.about-grid h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.5vw, 40px);
}

.about-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.about-body p:last-child { margin-bottom: 0; }

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

.card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 162, 76, 0.5);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: var(--cream);
  color: var(--navy);
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Process / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 18px;
  background: var(--navy);
  color: #fff;
  font-family: "Spectral", serif;
  font-weight: 600;
  font-size: 18px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Partners grid ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.partner-tile {
  display: grid;
  place-items: center;
  height: 110px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.partner-tile img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(200, 162, 76, 0.12), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy));
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-intro h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 42px);
}

.contact-intro > p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  max-width: 460px;
}

.contact-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.contact-points span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

.contact-media {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}

input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder, textarea::placeholder { color: #9aa3b5; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 38, 74, 0.14);
}

textarea { resize: vertical; }

.contact-form button[type="submit"] {
  margin-top: 4px;
  background: var(--navy);
}

.hidden { display: none; }

.form-message {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.form-message.success { color: var(--success); font-weight: 600; }
.form-message.error { color: var(--danger); font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 44px 0 28px;
}

.brand-footer .brand-name strong { color: #fff; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 32px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards,
  .steps { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .nav a:not(.nav-cta) { display: none; }

  .hero { padding-top: 64px; }

  .section { padding: 64px 0; }
}

@media (max-width: 600px) {
  .brand-name small { display: none; }

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

  .cards,
  .steps { grid-template-columns: 1fr; }

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

  .contact-form { padding: 22px; }

  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
}

@media (max-width: 380px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}
