/* Meridian Global — site styles */

:root {
  --navy-900: #0b1f33;
  --navy-800: #12304d;
  --navy-700: #1b4468;
  --gold-500: #c9a24a;
  --gold-400: #d8b76b;
  --ink: #1d2733;
  --ink-soft: #52606d;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 10px;
  --max: 1120px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); }
a:hover { color: var(--navy-900); }

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--navy-900);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.8rem;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
}
.brand svg { width: 32px; height: 32px; flex-shrink: 0; }

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--navy-700); }
.nav-list a[aria-current="page"] {
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--navy-900);
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: block; }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav-list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold-500); }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-400); color: var(--navy-900); }
.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: #fff;
  padding: 120px 0 110px;
}
.hero h1 { color: #fff; max-width: 760px; }
.hero .lead { color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-lines {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  opacity: 0.18;
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero { padding: 80px 0 72px; }
  .hero-lines { width: 420px; height: 420px; right: -200px; }
}

.page-hero {
  background: var(--navy-900);
  color: #fff;
  padding: 80px 0 64px;
}
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero .lead { color: rgba(255, 255, 255, 0.8); }

/* --- Sections --- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 48px; }
@media (max-width: 760px) { .section { padding: 64px 0; } }

.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(201, 162, 74, 0.14);
  color: var(--gold-500);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 28px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1;
}
.stat-label { font-size: 0.9rem; color: var(--ink-soft); margin-top: 6px; }

.panel {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 44px;
}
.panel h3 { color: #fff; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}

/* Service detail rows */
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: none; }
.service-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold-500);
  line-height: 1;
}
.service-row ul { color: var(--ink-soft); padding-left: 20px; margin: 0; }
@media (max-width: 640px) { .service-row { grid-template-columns: 1fr; gap: 12px; } }

/* --- CTA band --- */
.cta-band {
  background: var(--navy-800);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 560px; margin: 0 auto 28px; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { margin-bottom: 28px; }
.contact-item .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.contact-item .value { font-size: 1.1rem; color: var(--navy-900); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 500;
  font-size: 0.93rem;
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #cbd3dc;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(27, 68, 104, 0.15);
}
.field textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #1e7a46; }
.form-status.err { color: #b3261e; }

/* --- Footer --- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; }

/* Placeholder marker — remove once real copy is in */
.ph { background: rgba(201, 162, 74, 0.18); border-radius: 3px; padding: 0 3px; }
