/* ============================================================
   GPRS ADVISORY — Shared Stylesheet
   Design language: GPRS Capital dark navy theme
   ============================================================ */

:root {
  --bg-primary:   #080f1e;
  --bg-secondary: #0b1628;
  --bg-card:      #0d1f38;
  --bg-card-hover:#0f2647;
  --accent:       #0891b2;
  --accent-light: #22d3ee;
  --accent-bg:    #064e63;
  --text-primary: #ffffff;
  --text-secondary:#94a3b8;
  --text-muted:   #64748b;
  --border:       rgba(255,255,255,0.07);
  --border-accent:rgba(8,145,178,0.35);
  --radius:       6px;
  --max-w:        1160px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section    { padding: 96px 0; }
.section--sm{ padding: 60px 0; }
.section--alt{ background: var(--bg-secondary); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,15,30,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex; align-items: center;
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav__logo {
  font-size: 18px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--text-primary); text-transform: uppercase;
}
.nav__logo span { color: var(--accent); }

/* Image logo */
.nav__logo-link { display: flex; align-items: center; }
.nav__logo-img  { height: 44px; width: auto; display: block; border-radius: 4px; }
.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text-secondary); text-transform: uppercase;
  transition: color 0.2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--text-primary); }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown > a::after { content: ' ▾'; font-size: 10px; }
.nav__dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 240px;
  padding: 16px 0 8px; /* top padding bridges the gap so hover doesn't break */
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 13px; color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.nav__dropdown-menu a:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }

/* Mobile menu toggle */
.nav__toggle { display: none; cursor: pointer; padding: 8px; }
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); margin: 4px 0;
  transition: all 0.3s;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding-top: 180px; padding-bottom: 120px;
  background: var(--bg-primary);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(8,145,178,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}

/* Hero with background photo */
.hero--photo {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero--photo::before {
  background: none;
}
.hero__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #ffffff;
  margin-bottom: 24px;
  text-shadow: none;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin-bottom: 28px;
  color: #ffffff;
  text-shadow: none;
}
.hero__sub {
  font-size: 18px; line-height: 1.75; font-weight: 700;
  color: #ffffff;
  max-width: 600px;
  margin-bottom: 44px;
  text-shadow: none;
}
.hero--inner {
  padding-top: 148px; padding-bottom: 72px;
}
.hero--inner .hero__headline { font-size: clamp(28px, 4vw, 46px); }

/* Page-header strip (inner pages) */
.page-header {
  padding-top: 160px; padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Photo version — add class page-header--photo */
.page-header--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border-bottom: none;
}
.page-header--photo::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,  rgba(8,15,30,0.85) 0%, rgba(8,15,30,0.40) 50%, rgba(8,15,30,0.15) 100%),
    linear-gradient(100deg,  rgba(8,15,30,0.50) 0%, rgba(8,15,30,0.15) 100%);
  pointer-events: none;
}
.page-header--photo .container { position: relative; z-index: 1; width: 100%; }

.page-header__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.page-header__sub {
  font-size: 17px; color: rgba(255,255,255,0.82);
  max-width: 640px; line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ── Tagline band ───────────────────────────────────────── */
.tagline-band {
  background: var(--accent);
  padding: 22px 32px;
  text-align: center;
}
.tagline-band p {
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent); color: #fff;
  border: 1.5px solid var(--accent);
}
.btn--primary:hover { background: #0e7490; border-color: #0e7490; }
.btn--outline {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--link {
  background: none; border: none; padding: 0;
  color: var(--accent); font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
}
.btn--link::after { content: ' →'; }
.btn--link:hover { color: var(--accent-light); }

/* ── Cards ───────────────────────────────────────────────── */
.card-grid { display: grid; gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.card__number {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 20px;
}
.card__title {
  font-size: 20px; font-weight: 700;
  margin-bottom: 14px; line-height: 1.3;
}
.card__body {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.7;
}
.card__footer { margin-top: 28px; }

/* ── Section headings ───────────────────────────────────── */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-sub {
  font-size: 17px; color: var(--text-secondary);
  max-width: 640px; line-height: 1.7;
  margin-bottom: 56px;
}
.section-title + .section-sub { margin-top: 16px; }

/* Centered variants */
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Statement block ─────────────────────────────────────── */
.statement {
  text-align: center;
  padding: 96px 0;
}
.statement__quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700; letter-spacing: -0.01em;
  max-width: 780px; margin: 0 auto 24px;
  line-height: 1.2;
}
.statement__body {
  font-size: 17px; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto;
  line-height: 1.7;
}

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700; margin-bottom: 16px;
  line-height: 1.2;
}
.cta-band__body {
  font-size: 17px; color: var(--text-secondary);
  max-width: 580px; margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── Lists ───────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--text-secondary); line-height: 1.6;
}
.check-list li::before {
  content: '—'; color: var(--accent);
  font-weight: 700; flex-shrink: 0; margin-top: 2px;
}

/* ── Pillars / horizontal strip ─────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.pillar {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
}
.pillar:last-child { border-right: none; }
.pillar__number {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 16px;
}
.pillar__title {
  font-size: 18px; font-weight: 700; margin-bottom: 12px;
}
.pillar__body { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ── Process steps ───────────────────────────────────────── */
.process-step {
  display: grid; grid-template-columns: 280px 1fr; gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-step__meta {}
.process-step__phase {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.process-step__title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.process-step__duration { font-size: 13px; color: var(--text-muted); }
.process-step__body { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.process-step__activities { margin-top: 24px; }
.process-step__activities h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: 14px;
}

/* ── Two-column text layout ──────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col--narrow { grid-template-columns: 5fr 4fr; }

/* ── Values grid ─────────────────────────────────────────── */
.values-list { display: flex; flex-direction: column; gap: 20px; }
.value-item {
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.value-item__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.value-item__body { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── Contact form ────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--bg-card); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__logo {
  font-size: 18px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 10px;
}
.footer__logo span { color: var(--accent); }
.footer__logo-img { height: 40px; width: auto; border-radius: 4px; margin-bottom: 10px; }
.footer__tagline { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.footer__contact a {
  display: block; font-size: 14px; color: var(--text-secondary);
  margin-bottom: 6px; transition: color 0.2s;
}
.footer__contact a:hover { color: var(--accent); }
.footer__heading {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  font-size: 14px; color: var(--text-secondary);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text-primary); }
.footer__base {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer__copy { font-size: 13px; color: var(--text-muted); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer__legal a:hover { color: var(--text-secondary); }

/* ── Divider ─────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:nth-child(2n) { }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--4 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .two-col, .two-col--narrow { grid-template-columns: 1fr; gap: 40px; }
  .process-step { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .nav__links.open a { padding: 12px 24px; font-size: 14px; }
  .nav__dropdown-menu {
    position: static; display: block; border: none;
    background: none; box-shadow: none; padding: 0;
  }
  .nav__dropdown-menu a { padding-left: 40px; }
}
