/* ==========================================================================
   Posad Digital - Theme Stylesheet
   Color Palette: Deep Navy (#0F172A), Cobalt (#2563EB), Emerald (#10B981)
   ========================================================================== */

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --navy-muted: #334155;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-light: #EFF6FF;
  --blue-border: #BFDBFE;
  --emerald: #10B981;
  --emerald-hover: #059669;
  --emerald-light: #ECFDF5;
  --emerald-border: #A7F3D0;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --red: #EF4444;
  --red-light: #FEE2E2;
  --slate: #64748B;
  --slate-dark: #475569;
  --slate-light: #F8FAFC;
  --slate-border: #E2E8F0;
  --white: #FFFFFF;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--slate-light);
  color: var(--navy-light);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--blue-hover);
}

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

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

/* ==========================================================================
   Badges (Хит, NEW, MAX, Акция)
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1.3;
  vertical-align: middle;
  margin-left: 6px;
  white-space: nowrap;
}
.badge-hit {
  background-color: #FEE2E2;
  color: #DC2626;
}
.badge-new {
  background-color: #EFF6FF;
  color: #2563EB;
}
.badge-max {
  background-color: #FEF3C7;
  color: #D97706;
}
.badge-promo {
  background-color: #ECFDF5;
  color: #059669;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--blue-hover);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-success {
  background-color: var(--emerald);
  color: var(--white);
}
.btn-success:hover {
  background-color: var(--emerald-hover);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.btn-outline {
  background-color: transparent;
  border-color: var(--slate-border);
  color: var(--navy-light);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background-color: var(--blue-light);
}
.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}
.btn-lg {
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.site-topbar {
  background-color: var(--navy);
  color: #94A3B8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-geo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  font-weight: 500;
}
.geo-tag svg {
  color: var(--emerald);
}
.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 13.5px;
}
.topbar-phone:hover {
  color: #60A5FA;
}
.topbar-lk-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.topbar-lk-btn:hover {
  background-color: var(--blue);
  color: var(--white);
}

/* Header Container */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

/* Bulletproof Logo */
.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-flex {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.8px;
  color: var(--navy);
}
.brand-title span {
  color: var(--blue);
}
.brand-sub {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ==========================================================================
   Mega-Menu Navigation (Fixed Non-Wrapping Layout)
   ========================================================================== */
.site-nav {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1;
  justify-content: center;
}
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  height: 100%;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  color: var(--navy-light);
  font-weight: 600;
  font-size: 13.5px;
  height: 100%;
  border-bottom: 2px solid transparent;
  white-space: nowrap !important; /* CRITICAL: Never break text into two lines */
  text-decoration: none;
  transition: var(--transition);
}
.nav-link svg {
  flex-shrink: 0;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.nav-link:hover, .nav-item:hover .nav-link {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Mega-Menu Dropdown Panel */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--slate-border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateY(6px);
  z-index: 999;
  padding: 32px 0;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.mega-col-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}
.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mega-links li a {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  color: var(--slate-dark);
  font-weight: 500;
  transition: var(--transition);
}
.mega-links li a:hover {
  color: var(--blue);
  transform: translateX(3px);
}
.mega-cta-col {
  background-color: var(--slate-light);
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-border);
}
.mega-cta-col h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}
.mega-cta-col p {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 16px;
}

/* Header Right CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-cta .btn {
  white-space: nowrap;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
}
.mobile-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, #172554 100%);
  color: var(--white);
  padding: 75px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.8;
  pointer-events: none;
}
.hero-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93C5FD;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.16;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-title span {
  background: linear-gradient(90deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 17px;
  color: #CBD5E1;
  margin-bottom: 32px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 38px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}
.stat-item h3 {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item h3 span {
  color: var(--emerald);
}
.stat-item p {
  font-size: 13px;
  color: #94A3B8;
}

.hero-card {
  background: rgba(30, 41, 59, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.hero-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.hero-card p {
  font-size: 13.5px;
  color: #94A3B8;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 14px;
}
.form-input, .form-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-border);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  outline: none;
  transition: var(--transition);
}
.form-input:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-card-input {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.form-card-input:focus {
  background: rgba(15, 23, 42, 0.9);
  border-color: #60A5FA;
}

/* ==========================================================================
   Sections & Services
   ========================================================================== */
.section {
  padding: 70px 0;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 46px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--slate);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--slate-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-border);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 18px;
  line-height: 1.5;
}
.service-features {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px dashed var(--slate-border);
  padding-top: 16px;
}
.service-features li {
  font-size: 13px;
  color: var(--navy-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 800;
}
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--slate-border);
}
.service-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}
.service-price span {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
}

/* ==========================================================================
   AI GEO Banner
   ========================================================================== */
.ai-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 16px 40px rgba(30, 27, 75, 0.4);
  margin: 40px 0;
}
.ai-tag {
  background: rgba(139, 92, 246, 0.25);
  color: #C4B5FD;
  border: 1px solid rgba(167, 139, 250, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
}
.ai-banner h3 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}
.ai-models-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.ai-model-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
}
.ai-card-mockup {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
}
.ai-chat-bubble {
  background: rgba(30, 41, 59, 0.9);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #CBD5E1;
  margin-bottom: 12px;
  border-left: 3px solid #8B5CF6;
}
.ai-chat-bubble strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

/* ==========================================================================
   Quiz Calculator
   ========================================================================== */
.quiz-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--slate-border);
  box-shadow: var(--shadow-md);
}
.quiz-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.quiz-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--slate);
}
.quiz-step-item.active {
  color: var(--blue);
}
.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-light);
  border: 1px solid var(--slate-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.quiz-step-item.active .step-number {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.quiz-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.quiz-option-card {
  border: 2px solid var(--slate-border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.quiz-option-card:hover {
  border-color: #93C5FD;
}
.quiz-option-card.selected {
  border-color: var(--blue);
  background: var(--blue-light);
}
.quiz-option-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.quiz-option-sub {
  font-size: 12px;
  color: var(--slate);
}
.quiz-summary-box {
  background: var(--slate-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--slate-border);
}
.quiz-total-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
}

/* ==========================================================================
   Cases
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-content {
  padding: 24px;
}
.case-industry {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.case-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.case-metrics-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-light);
  color: var(--emerald-hover);
  border: 1px solid var(--emerald-border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ==========================================================================
   Client Portal
   ========================================================================== */
.portal-container {
  padding: 40px 0 80px;
}
.portal-header {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--slate-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.portal-user-info h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.portal-user-info p {
  font-size: 14px;
  color: var(--slate);
}
.portal-balance-card {
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A8A 100%);
  color: var(--white);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  text-align: right;
  min-width: 280px;
}
.portal-balance-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #93C5FD;
  margin-bottom: 4px;
}
.portal-balance-val {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
}
.portal-balance-renew {
  font-size: 12px;
  color: #E2E8F0;
  margin-top: 4px;
}
.portal-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--slate-border);
  margin-bottom: 28px;
}
.portal-tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -2px;
  transition: var(--transition);
}
.portal-tab-btn:hover {
  color: var(--blue);
}
.portal-tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.portal-tab-content {
  display: none;
}
.portal-tab-content.active {
  display: block;
}
.portal-table-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.portal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.portal-table th {
  background: var(--slate-light);
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px solid var(--slate-border);
}
.portal-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--navy-light);
  border-bottom: 1px solid var(--slate-border);
}
.portal-table tr:last-child td {
  border-bottom: none;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.status-active {
  background: var(--emerald-light);
  color: var(--emerald-hover);
}
.status-pending {
  background: var(--amber-light);
  color: #B45309;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #94A3B8;
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand p {
  color: #64748B;
  margin-bottom: 16px;
  line-height: 1.5;
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a {
  color: #94A3B8;
}
.footer-links li a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 12.5px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1320px) {
  .nav-link {
    font-size: 12.5px;
    padding: 0 7px;
  }
  .brand-title {
    font-size: 18px;
  }
  .brand-sub {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .header-cta .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 1140px) {
  .nav-link {
    font-size: 12px;
    padding: 0 5px;
  }
}

@media (max-width: 1024px) {
  .site-nav {
    display: none;
  }
  .mobile-burger {
    display: block;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
  }
  .services-grid, .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quiz-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .services-grid, .cases-grid {
    grid-template-columns: 1fr;
  }
  .quiz-options {
    grid-template-columns: 1fr;
  }
  .ai-banner {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .portal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .portal-balance-card {
    width: 100%;
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
