/* ═══════════════════════════════════════════════════════════
   GILL ACADEMIC CONSULTING — SHARED DESIGN SYSTEM
   Font: Fraunces (display) + DM Sans (body)
   Palette: Deep navy · Warm white · Gold accent
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy:       #0a1628;
  --navy-mid:   #112240;
  --navy-light: #1a3560;
  --gold:       #c9a84c;
  --gold-light: #e6bf63;
  --gold-pale:  #fdf6e3;
  --white:      #ffffff;
  --off-white:  #f9f7f4;
  --panel:      #f3f0eb;
  --text:       #0a1628;
  --text-mid:   #334155;
  --text-muted: #64748b;
  --border:     #e8e2d9;
  --border-dark:#d4cdc2;
  --accent:     #1e54b7;
  --accent-dark:#153d8a;
  --shadow-sm:  0 2px 12px rgba(10,22,40,0.07);
  --shadow-md:  0 8px 32px rgba(10,22,40,0.10);
  --shadow-lg:  0 24px 64px rgba(10,22,40,0.13);
  --r-sm:       8px;
  --r-md:       14px;
  --r-lg:       22px;
  --r-xl:       32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { width: min(1200px, 92%); margin: 0 auto; }
.container-sm { width: min(860px, 92%); margin: 0 auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
h4 { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy); }
p { font-size: 16px; line-height: 1.7; color: var(--text-mid); }
.lead { font-size: 19px; line-height: 1.65; color: var(--text-mid); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 16px;
}
.kicker::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all .22s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.35); }
.btn-navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-dark);
}
.btn-outline:hover { border-color: var(--navy); background: var(--off-white); }
.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-lg { padding: 16px 34px; font-size: 15px; border-radius: var(--r-md); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); }
.brand-text { line-height: 1.2; }
.brand-text strong { display: block; font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; color: var(--navy); }
.brand-text small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 500; letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: .18s ease;
  letter-spacing: .01em;
}
.main-nav a:hover { color: var(--navy); background: var(--panel); }
.main-nav a.active { color: var(--navy); font-weight: 700; }
.nav-cta { margin-left: 8px; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; border-radius: var(--r-sm); transition: background .2s; }
.hamburger:hover { background: var(--panel); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 10px 20px;
  transition: color .2s;
  letter-spacing: -0.02em;
}
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-menu .menu-cta { margin-top: 16px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { width: 48px; height: 48px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 5px 0;
  transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.card-dark {
  background: var(--navy-mid);
  border-color: var(--navy-light);
  color: white;
}
.card-gold {
  background: var(--gold-pale);
  border-color: #e8d5a3;
}

/* ── BADGES / TAGS ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.badge-navy { background: var(--navy); color: white; }
.badge-gold { background: var(--gold-pale); color: #7a5c1e; border: 1px solid #e8d5a3; }
.badge-blue { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-green { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.badge-amber { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }

/* ── UTILITY ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.divider { height: 1px; background: var(--border); margin: 0; border: none; }

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}

/* ── REVIEWS ─────────────────────────────────────────────── */
.review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 15px; line-height: 1.7; color: var(--text-mid); font-style: italic; margin-bottom: 18px; }
.review-text strong { color: var(--navy); font-style: normal; }
.reviewer-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.reviewer-role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.service-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  margin-bottom: 12px;
}

/* ── FLOATING CTA ────────────────────────────────────────── */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: none;
}
.float-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(10,22,40,.35);
  transition: .22s ease;
  border: 1.5px solid rgba(255,255,255,0.15);
}
.float-cta a:hover { background: var(--navy-mid); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,22,40,.4); }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-up { animation: fadeUp .6s ease forwards; }
.animate-up-delay-1 { animation: fadeUp .6s .1s ease both; }
.animate-up-delay-2 { animation: fadeUp .6s .2s ease both; }
.animate-up-delay-3 { animation: fadeUp .6s .3s ease both; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-sm { padding: 40px 0; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .stat-item { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .float-cta { bottom: 18px; right: 18px; }
  .float-cta a { font-size: 13px; padding: 11px 18px; }
  /* Mobile menu always on top */
  .mobile-menu { z-index: 9999; }
  .hamburger { z-index: 10000; position: relative; }
  /* Typography */
  h1 { font-size: clamp(28px, 7vw, 48px); }
  h2 { font-size: clamp(22px, 5vw, 34px); }
  /* Cards */
  .review-card { padding: 20px 22px; }
  .card { padding: 22px; }
  /* Buttons */
  .btn-lg { padding: 14px 26px; font-size: 14px; }
  /* Stats */
  .stats-inner { flex-wrap: wrap; justify-content: center; }
  .stat-item { min-width: 130px; text-align: center; }
}
@media (max-width: 480px) {
  .stat-item { padding: 14px 16px; border-right: none; border-bottom: 1px solid var(--border); width: 100%; text-align: center; }
  .stat-item:last-child { border-bottom: none; }
  .stats-inner { flex-direction: column; align-items: stretch; }
  .stat-num { font-size: 26px; }
  .container { width: 95%; }
  /* Nav brand on small screens */
  .brand-text small { display: none; }
  .brand img { width: 36px; height: 36px; }
  /* Buttons full width on small screens */
  .btn-lg { width: 100%; justify-content: center; font-size: 14px; padding: 14px 20px; }
  /* Footer */
  .footer-grid { gap: 24px; }
  .footer-brand p { font-size: 13px; }
  .footer-col a { font-size: 13px; }
}
