/* ========================================================
   IMM Immigration Lawyers Kenya — Main Stylesheet
   ======================================================== */

:root {
  --navy: #0a1628;
  --navy-mid: #112040;
  --navy-light: #1a3260;
  --gold: #c9a227;
  --gold-light: #e8c04a;
  --gold-pale: #fdf6e3;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-100: #f1f3f7;
  --gray-200: #e2e6ed;
  --gray-400: #9aa3b0;
  --gray-600: #5a6478;
  --gray-800: #2d3748;
  --text: #1a202c;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14);
  --transition: 0.25s ease;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 700; }
h1 { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-outline-sm { padding: 8px 16px; font-size: .85rem; border-radius: 6px; background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline-sm:hover { background: var(--gold); color: var(--navy); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.3); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
  padding: 5px 9px;
  border-radius: 6px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { color: var(--white); font-size: .9rem; font-weight: 600; }
.logo-text em { color: var(--gold); font-size: .72rem; font-style: normal; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 8px; }
.site-nav a {
  color: rgba(255,255,255,.8);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.site-nav a:hover, .site-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.header-cta { font-size: .85rem; padding: 9px 20px; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,.15);
  border: 1px solid rgba(201,162,39,.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-style: italic;
}
.hero-description {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-search {
  display: flex;
  max-width: 600px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
  backdrop-filter: blur(10px);
}
.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 18px;
  color: var(--white);
  font-size: .95rem;
  outline: none;
  font-family: var(--font-sans);
}
.hero-search input::placeholder { color: rgba(255,255,255,.5); }
.hero-search button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 24px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font-sans);
}
.hero-search button:hover { background: var(--gold-light); }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 4px;
}

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(201,162,39,.3);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-header p { color: var(--gray-600); max-width: 560px; margin: 14px auto 0; font-size: 1.05rem; }
.section-dark .section-header p { color: rgba(255,255,255,.65); }
.section-dark h2 { color: var(--white); }

/* ── FEATURED FIRM ── */
.featured-firm { padding: 60px 0; background: var(--gold-pale); }

.featured-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid var(--gold);
}
.featured-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 32px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.featured-badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
}
.featured-card-header h2 { color: var(--white); margin-bottom: 4px; font-size: 1.8rem; }
.featured-card-header .subtitle { color: var(--gold); font-size: 1rem; font-style: italic; }
.featured-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.featured-stat {
  text-align: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 110px;
}
.featured-stat .num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); font-family: var(--font-serif); }
.featured-stat .lbl { display: block; font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }

.featured-card-body { padding: 36px 40px; }
.featured-description { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 24px; line-height: 1.7; }
.featured-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tag {
  background: var(--gray-100);
  color: var(--navy);
  border: 1px solid var(--gray-200);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.article-tags .tag { font-size: .75rem; padding: 3px 10px; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.post-tags-label { font-size: .85rem; font-weight: 600; color: var(--gray-600); margin-right: 4px; }
.featured-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.contact-item { display: flex; align-items: flex-start; gap: 10px; }
.contact-item svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.contact-item a { color: var(--navy); font-weight: 500; }
.contact-item a:hover { color: var(--gold); }
.contact-item span { color: var(--gray-600); font-size: .9rem; }

/* ── WHY SECTION ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-features { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.why-feature {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.why-feature:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.why-icon {
  width: 36px;
  height: 36px;
  background: var(--gold-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
}
.why-feature h5 { font-size: .92rem; font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.why-feature p { font-size: .85rem; color: var(--gray-600); margin: 0; }

/* ── RANKINGS CARDS ── */
.rankings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }

.firm-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}
.firm-card.visible { opacity: 1; transform: translateY(0); }
.firm-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.firm-card.rank-1 { border-color: var(--gold); background: linear-gradient(135deg, #fffef5 0%, var(--white) 100%); }
.firm-card.rank-2 { border-color: #c0c0c0; }
.firm-card.rank-3 { border-color: #cd7f32; }

.rank-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 16px;
}
.rank-1 .rank-badge { background: var(--gold); color: var(--navy); }
.rank-2 .rank-badge { background: #c0c0c0; color: #333; }
.rank-3 .rank-badge { background: #cd7f32; color: var(--white); }
.firm-card:not(.rank-1):not(.rank-2):not(.rank-3) .rank-badge { background: var(--gray-100); color: var(--navy); border: 2px solid var(--gray-200); }

.firm-name { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.firm-subtitle { font-size: .82rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.stars { color: var(--gold); font-size: .95rem; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.stars span { font-size: .82rem; color: var(--gray-600); font-weight: 600; }
.firm-desc { font-size: .88rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.firm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.firm-tags .tag { font-size: .75rem; padding: 4px 10px; }
.ideal-for { font-size: .78rem; color: var(--gray-400); margin-bottom: 20px; }
.ideal-for strong { color: var(--gray-600); }
.firm-cta { display: flex; justify-content: flex-end; }
.firm-cta a { font-size: .85rem; padding: 9px 18px; border-radius: 7px; background: var(--navy); color: var(--white); font-weight: 600; transition: all var(--transition); }
.firm-cta a:hover { background: var(--gold); color: var(--navy); }
.firm-card.rank-1 .firm-cta a { background: var(--gold); color: var(--navy); }
.firm-card.rank-1 .firm-cta a:hover { background: var(--gold-light); }

.rankings-cta { text-align: center; margin-top: 48px; }

/* ── PRACTICE AREAS ── */
.practice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.practice-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}
.practice-card.visible { opacity: 1; transform: translateY(0); }
.practice-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.practice-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.practice-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.practice-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 20px; }
.explore-link { font-size: .82rem; color: var(--gold); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.explore-link:hover { gap: 10px; }

/* ── WORKFLOW ── */
.workflow-steps { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.workflow-step {
  display: flex;
  gap: 28px;
  position: relative;
  padding-bottom: 36px;
}
.workflow-step:last-child { padding-bottom: 0; }
.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.step-number {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}
.step-line {
  width: 2px;
  flex: 1;
  background: var(--gray-200);
  margin-top: 4px;
}
.workflow-step:last-child .step-line { display: none; }
.step-content { padding-top: 10px; }
.step-content h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.step-content p { font-size: .9rem; color: var(--gray-600); line-height: 1.6; }

/* ── ENTRY PATHWAYS ── */
.pathways-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.pathway-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.pathway-card:hover { background: rgba(255,255,255,.1); border-color: var(--gold); }
.pathway-icon { color: var(--gold); margin-bottom: 12px; }
.pathway-card h3 { font-size: .95rem; color: var(--white); margin-bottom: 6px; }
.pathway-card p { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ── PERMIT CLASSES ── */
.permit-note {
  background: rgba(201,162,39,.1);
  border: 1px solid rgba(201,162,39,.25);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.permit-note svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.permits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.permit-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.permit-card.visible { opacity: 1; transform: translateY(0); }
.permit-card:hover { background: rgba(255,255,255,.08); border-color: var(--gold); }
.permit-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 12px;
}
.permit-card h3 { font-size: .95rem; color: var(--white); margin-bottom: 4px; }
.permit-card .permit-name { font-size: .82rem; color: var(--gold); margin-bottom: 10px; font-weight: 500; }
.permit-card .permit-focus { font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: 8px; line-height: 1.5; }
.permit-card .permit-risk { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.5; }
.permit-card .permit-risk strong { color: rgba(255,255,255,.65); }

/* ── ARTICLES ── */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.article-card.visible { opacity: 1; transform: translateY(0); }
.article-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-image {
  height: 160px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-image .cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cat-rankings { background: var(--gold); color: var(--navy); }
.cat-insights { background: rgba(255,255,255,.2); color: var(--white); }
.cat-entry { background: #1a7a4c; color: var(--white); }
.article-body { padding: 24px; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: .78rem; color: var(--gray-400); margin-bottom: 10px; }
.article-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.article-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 18px; }
.read-more { font-size: .82rem; color: var(--gold); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.read-more:hover { gap: 10px; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-sans);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-100); }
.faq-question.open { background: var(--gold-pale); color: var(--navy); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-answer.open { display: block; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: var(--white); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.6); font-size: .875rem; }
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.75); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 120px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .95rem;
  font-family: var(--font-sans);
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-info-card h4 { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.contact-detail svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.contact-detail p { font-size: .9rem; color: var(--gray-700); line-height: 1.5; }
.contact-detail a { color: var(--navy); font-weight: 500; }
.contact-detail a:hover { color: var(--gold); }

/* ── RANKINGS PAGE TABLE ── */
.rankings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rankings-table th {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.rankings-table td { padding: 18px 20px; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.rankings-table tr:last-child td { border-bottom: none; }
.rankings-table tr:hover td { background: var(--gold-pale); }

/* ── ARTICLES FILTER ── */
.articles-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .site-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .site-nav.mobile-open {
    display: block;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.mobile-open ul { flex-direction: column; gap: 4px; }
  .site-nav.mobile-open a { display: block; padding: 12px 14px; font-size: 1rem; }
  .featured-card-header { flex-direction: column; }
  .featured-stats { flex-direction: row; }
  .featured-contact { grid-template-columns: 1fr; }
  .rankings-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .section { padding: 56px 0; }
}
@media (max-width: 580px) {
  .hero { padding: 110px 0 60px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── SINGLE POST ── */
.post-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  position: relative;
  background-size: cover;
  background-position: center;
}
.post-hero.has-thumbnail { min-height: 420px; }
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,.65) 0%, rgba(10,22,40,.85) 100%);
}
.post-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.post-hero h1 { color: var(--white); margin-bottom: 14px; }
.post-meta { color: rgba(255,255,255,.6); font-size: .875rem; display: flex; align-items: center; gap: 10px; }

.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

.post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-600);
}
.post-body h2, .post-body h3 { color: var(--navy); margin: 32px 0 14px; }
.post-body p { margin-bottom: 18px; }
.post-body a { color: var(--gold); text-decoration: underline; }
.post-body ul, .post-body ol { margin: 0 0 18px 24px; }
.post-body li { margin-bottom: 8px; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.post-nav-link:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.post-nav-next { text-align: right; }
.nav-dir { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 600; }
.nav-title { font-size: .875rem; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* Article card image */
.article-image { position: relative; }

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 90px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-card h4 { color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.sidebar-cta p { font-size: .875rem; color: var(--gray-600); margin-bottom: 16px; line-height: 1.6; }

.related-list { display: flex; flex-direction: column; gap: 14px; }
.related-list li { display: flex; gap: 12px; align-items: flex-start; }
.related-thumb img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.related-thumb { flex-shrink: 0; }
.related-info { display: flex; flex-direction: column; gap: 4px; }
.related-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gold); font-weight: 600; }
.related-info a { font-size: .85rem; color: var(--navy); font-weight: 500; line-height: 1.4; }
.related-info a:hover { color: var(--gold); }

@media (max-width: 1000px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}
@media (max-width: 580px) {
  .post-nav { grid-template-columns: 1fr; }
}
