/* ===== Design tokens ===== */
:root {
  --navy: #21435D;
  --navy-dark: #17324A;
  --slate: #7793A8;
  --steel: #6C899F;
  --gold: #C6A15B;
  --bg: #F6F8FA;
  --bg-warm: #FBFAF7;
  --white: #FFFFFF;
  --text: #23303A;
  --text-light: #58697A;
  --border: #E2E8ED;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 14px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { color: var(--text-light); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(33, 67, 93, 0.25);
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--slate);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { flex-shrink: 0; }
.brand-logo { height: 48px; width: auto; }

.main-nav {
  display: flex;
  gap: 30px;
  margin-left: 12px;
  flex: 1;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--bg-warm) 0%, var(--bg) 55%, #EEF3F6 100%);
  padding: 96px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-image img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: 65% 25%;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(33, 67, 93, 0.2);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: 1.12rem; max-width: 620px; margin-bottom: 18px; }
.hero-location {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--navy);
  padding: 30px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.trust-icon { font-size: 1.5rem; flex-shrink: 0; }
.trust-item p { color: #CBD9E3; font-size: 0.92rem; margin: 0; }

/* ===== Section base ===== */
.section { padding: 92px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 14px; }
.section-sub { font-size: 1.05rem; }
.section-head.light h2 { color: var(--white); }
.section-head.light .eyebrow { color: var(--gold); }

/* ===== Philosophy ===== */
.philosophy { background: var(--bg); }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.philosophy-copy h2 { margin-bottom: 18px; }
.philosophy-copy p { margin-bottom: 14px; }
.philosophy-stats { display: grid; gap: 18px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.92rem; color: var(--text-light); }

/* ===== How it works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step-number {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  width: 42px; height: 42px;
  line-height: 39px;
  text-align: center;
  margin-bottom: 16px;
}
.step-card p { font-size: 0.95rem; }

/* ===== Services ===== */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border-top: 3px solid var(--slate);
  box-shadow: 0 10px 24px rgba(33, 67, 93, 0.05);
}
.service-card h3 { color: var(--navy); }
.service-card p { font-size: 0.95rem; margin: 0; }
.service-card--featured {
  grid-column: 1 / -1;
  border-top-color: var(--gold);
  background: linear-gradient(135deg, var(--white) 0%, #FBF6EC 100%);
  display: flex;
  flex-direction: column;
}
.service-card--featured h3::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--gold);
  margin-left: 10px;
  vertical-align: middle;
}

/* ===== Why partner (dark) ===== */
.why-partner {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 36px;
}
.benefit-item h3 { color: var(--white); }
.benefit-item p { color: #B9C9D5; font-size: 0.95rem; margin: 0; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(33, 67, 93, 0.18);
}
.about-role { color: var(--slate); font-weight: 600; margin-bottom: 16px; }
.about-copy p { margin-bottom: 14px; }
.credentials { margin-top: 20px; display: grid; gap: 10px; }
.credentials li {
  padding-left: 26px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-light);
}
.credentials li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===== Explainer ===== */
.explainer { background: var(--bg); }
.explainer-grid { max-width: 820px; }
.explainer p { margin-bottom: 16px; font-size: 1.02rem; }

/* ===== Video library ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #0c1b26;
  box-shadow: 0 14px 32px rgba(33, 67, 93, 0.14);
}
.video-card h3 {
  margin-top: 14px;
  font-size: 1.05rem;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--navy);
  padding: 70px 0;
  text-align: center;
}
.cta-banner-inner { max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: #C7D6E0; margin-bottom: 30px; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 28px; }
.contact-details { display: grid; gap: 20px; margin-bottom: 20px; }
.contact-details strong { color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-details a { color: var(--text-light); }
.contact-details a:hover { color: var(--navy); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 6px;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 12px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgba(119, 147, 168, 0.2);
}
.contact-form button { margin-top: 18px; }
.form-status { margin-top: 12px; font-size: 0.9rem; color: var(--navy); min-height: 1.2em; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: #B9C9D5;
  padding-top: 56px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { max-width: 340px; }
.footer-logo {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.footer-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--slate);
  margin-top: 2px;
}
.footer-brand p { color: #8FA5B5; font-size: 0.9rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; align-content: flex-start; }
.footer-nav a { font-size: 0.9rem; color: #B9C9D5; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { padding: 22px 0; }
.footer-bottom p { font-size: 0.82rem; color: #7690A2; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .philosophy-grid,
  .about-grid,
  .contact-grid,
  .hero-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 420px; }
  .hero-image { max-width: 420px; order: -1; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .main-nav.open a::after { display: none; }

  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .steps-grid,
  .services-grid,
  .benefits-grid,
  .trust-grid,
  .video-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 38px; }
}
