/* ==========================================================================
   BORNO APC 2027 CAMPAIGN - ENGR. MUSTAPHA GUBIO & HON. ALI ISA ABDULLAHI
   Core Stylesheet & Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Official APC & Nigerian Civic Palette */
  --apc-blue: #0088cc;
  --apc-blue-hover: #0072ad;
  --apc-blue-dark: #075985;
  --apc-blue-deep: #082f49;
  --apc-blue-light: #e0f2fe;
  --apc-blue-subtle: #f0f9ff;

  --apc-green: #008751;
  --apc-green-hover: #006f42;
  --apc-green-dark: #064e3b;
  --apc-green-light: #d1fae5;
  --apc-green-subtle: #ecfdf5;

  --apc-red: #e11d48;
  --apc-red-hover: #be123c;
  --apc-red-dark: #881337;
  --apc-red-light: #ffe4e6;

  --accent-gold: #f59e0b;
  --accent-gold-light: #fef3c7;

  /* Neutrals & Base */
  --bg-white: #ffffff;
  --bg-slate-50: #f8fafc;
  --bg-slate-100: #f1f5f9;
  --bg-slate-200: #e2e8f0;
  
  --text-dark: #0f172a;
  --text-slate-800: #1e293b;
  --text-slate-700: #334155;
  --text-slate-600: #475569;
  --text-slate-500: #64748b;
  --text-slate-400: #94a3b8;
  --text-light: #f8fafc;

  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 10px -4px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 25px rgba(0, 136, 204, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1240px;
  --header-height: 76px;
  --alert-height: 42px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-slate-700);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  min-width: 0;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section,
footer,
main {
  max-width: 100%;
  overflow-x: clip;
}

p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
a,
button,
span,
label,
blockquote {
  overflow-wrap: break-word;
}

.pillars-grid,
.joint-ticket-card,
.ticket-grid,
.candidate-card,
.metrics-grid,
.candidate-showcase,
.candidate-stats,
.deputy-showcase,
.issues-grid,
.endorsements-grid,
.events-grid,
.news-grid,
.gallery-grid,
.join-container,
.form-grid,
.roles-grid,
.footer-top,
.donation-tiers {
  min-width: 0;
}

.pillar-card,
.candidate-info-col,
.deputy-info,
.issue-card,
.endorsement-card,
.author-details,
.event-card,
.event-details,
.event-meta-item,
.news-card,
.news-body,
.gallery-item,
.faq-item,
.join-text-col,
.join-form-card,
.footer-brand,
.footer-col {
  min-width: 0;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--apc-blue);
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 0.85rem;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--apc-blue);
}

.section-tag.green {
  color: var(--apc-green);
  background: transparent;
  border: none;
}

.section-tag.green::before {
  background: var(--apc-green);
}

.section-tag.red {
  color: var(--apc-red);
  background: transparent;
  border: none;
}

.section-tag.red::before {
  background: var(--apc-red);
}

.section-tag.white {
  color: #ffffff;
  background: transparent;
  border: none;
}

.section-tag.white::before {
  background: var(--accent-gold);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary {
  background: var(--apc-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.35);
}

.btn-primary:hover {
  background: var(--apc-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.45);
}

.btn-red {
  background: var(--apc-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.btn-red:hover {
  background: var(--apc-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
}

.btn-green {
  background: var(--apc-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 135, 81, 0.3);
}

.btn-green:hover {
  background: var(--apc-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 135, 81, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-subtle);
}

.btn-outline:hover {
  background: var(--bg-slate-100);
  border-color: var(--text-slate-600);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--text-dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   1. Top Notice & INEC Alert Banner
   ========================================================================== */

.top-alert-bar {
  background: linear-gradient(90deg, #075985 0%, #008751 50%, #be123c 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  position: relative;
  z-index: 101;
}

.top-alert-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.alert-message {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.alert-badge {
  background: #ffffff;
  color: var(--apc-red);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.alert-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: opacity var(--transition-fast);
}

.alert-link:hover {
  opacity: 0.85;
}

.countdown-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
}

/* ==========================================================================
   2. Sticky Navigation Header
   ========================================================================== */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  inset-block-start: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 900;
  transition: all var(--transition-normal);
  overflow: visible;
  isolation: isolate;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.apc-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.apc-emblem {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--apc-blue) 0%, var(--apc-green) 50%, var(--apc-red) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--apc-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-slate-700);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--apc-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--apc-blue);
  transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: #04121f;
  background-size: cover;
  background-position: center right;
  color: #ffffff;
  padding: 5rem 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(4, 18, 31, 0.98) 0%, 
    rgba(4, 18, 31, 0.92) 36%, 
    rgba(4, 18, 31, 0.55) 62%, 
    rgba(4, 18, 31, 0.08) 88%,
    rgba(4, 18, 31, 0.0) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-title {
  margin-bottom: 0.75rem;
  line-height: 1.05;
}

.hero-campaign-tag {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.hero-candidate-name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.25vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

/* Refined Running Mate & Office Line */
.hero-ticket-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #e0f2fe;
  margin-bottom: 1.35rem;
  letter-spacing: 0.01em;
}

.hero-office {
  color: #93c5fd;
  font-weight: 700;
}

.hero-ticket-sep {
  color: rgba(255, 255, 255, 0.35);
}

.hero-running-mate {
  color: #ffffff;
}

.hero-running-mate .deputy-role {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.9em;
}

/* Refined Editorial Description */
.hero-description {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 600px;
  margin-bottom: 0;
}

.hero-lead-slogan {
  font-family: "Georgia", "Playfair Display", serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.35;
  position: relative;
  padding-left: 0.9rem;
  border-left: 2px solid var(--accent-gold);
}

.hero-lead-body {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.6;
  padding-left: 0.9rem;
}

/* ==========================================================================
   4. Four-Pillar Strategic Highlights Grid
   ========================================================================== */

.pillars-section {
  padding: 5.5rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
  transition: color var(--transition-fast);
}

.pillar-card:hover .pillar-num {
  color: var(--apc-blue);
}

.pillar-card.green:hover .pillar-num {
  color: var(--apc-green);
}

.pillar-card.red:hover .pillar-num {
  color: var(--apc-red);
}

.pillar-card.gold:hover .pillar-num {
  color: var(--accent-gold);
}

.pillar-category {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-slate-500);
  margin-bottom: 0.45rem;
}

.pillar-title {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
  line-height: 1.35;
}

.pillar-text {
  font-size: 0.92rem;
  color: var(--text-slate-600);
  line-height: 1.6;
  margin-top: auto;
}

/* ==========================================================================
   5. Vision & Leadership Statement Banner (Executive Oath Docket)
   ========================================================================== */

.vision-section {
  padding: 6.5rem 0;
  background: #061a2b;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.vision-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(0, 136, 204, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.vision-quote-card {
  max-width: 980px;
  margin: 0 auto;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  position: relative;
}

.vision-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  margin-bottom: 2rem;
}

.vision-kicker::before,
.vision-kicker::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent-gold);
  opacity: 0.65;
}

.vision-quote {
  font-family: "Georgia", "Playfair Display", serif;
  font-size: clamp(1.45rem, 2.75vw, 2.15rem);
  font-weight: 400;
  font-style: italic;
  color: #f8fafc;
  line-height: 1.5;
  margin: 0 auto 2.5rem auto;
  max-width: 900px;
}

.vision-author {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 540px;
  margin: 0 auto;
}

.vision-author-info {
  text-align: center;
}

.vision-author-name {
  font-weight: 800;
  color: #ffffff;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}

.vision-author-title {
  font-size: 0.84rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ==========================================================================
   6. About Candidates Section (Executive Editorial Showcase)
   ========================================================================== */

.about-section {
  padding: 6.5rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

/* Official APC Docket Badge */
.apc-ribbon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apc-blue-dark);
  margin-bottom: 1.25rem;
}

.ribbon-bar {
  width: 5px;
  height: 14px;
  border-radius: 1px;
}

.ribbon-bar.blue { background: var(--apc-blue); }
.ribbon-bar.white { background: #cbd5e1; }
.ribbon-bar.green { background: var(--apc-green); }
.ribbon-bar.red { background: var(--apc-red); }

.ribbon-label {
  margin-left: 0;
}

/* Master Executive Profiles Stack */
.executive-profiles-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
}

/* Individual Editorial Profile Dossier */
.editorial-profile {
  display: grid;
  grid-template-columns: 460px 1fr;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.editorial-profile:hover {
  border-color: #cbd5e1;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.12);
}

/* Alternating layout for deputy */
.editorial-profile.reverse-layout {
  grid-template-columns: 1fr 460px;
}

/* Visual Column */
.profile-visual-col {
  position: relative;
  background: #071829;
  overflow: hidden;
  min-height: 540px;
  display: flex;
}

.profile-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-profile:hover .profile-portrait-img {
  transform: scale(1.02);
}

.profile-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 41, 0) 65%, rgba(7, 24, 41, 0.85) 100%);
  pointer-events: none;
}

/* Official Position Tag on Portrait */
.profile-portrait-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  background: rgba(7, 24, 41, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.portrait-badge-role {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
  text-align: center;
}

.deputy-profile .portrait-badge-role {
  color: #86efac;
}

/* Editorial Content Column */
.profile-content-col {
  padding: 3.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--apc-blue);
  margin-bottom: 0.75rem;
}

.profile-kicker::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--apc-blue);
}

.deputy-profile .profile-kicker {
  color: var(--apc-green);
}

.deputy-profile .profile-kicker::before {
  background: var(--apc-green);
}

.profile-candidate-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #0b192c;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.profile-candidate-title {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.45;
}

.profile-bio-lead {
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Legislative Metric Strip */
.profile-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
  margin-bottom: 2rem;
}

.profile-metric {
  padding: 0 1.25rem;
  border-right: 1px solid #e2e8f0;
}

.profile-metric:first-child {
  padding-left: 0;
}

.profile-metric:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #071829;
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  line-height: 1.3;
}

/* Action Link */
.profile-action-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dossier-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--apc-blue);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.dossier-action-btn:hover {
  color: var(--apc-blue-dark);
  transform: translateX(4px);
}

.deputy-profile .dossier-action-btn {
  color: var(--apc-green);
}

.deputy-profile .dossier-action-btn:hover {
  color: var(--apc-green-dark);
}

/* Unified Ticket Commitment Bar */
.ticket-unity-bar {
  background: #071829;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(7, 24, 41, 0.2);
}

.unity-bar-tricolor {
  display: flex;
  height: 5px;
  width: 100%;
}

.unity-bar-tricolor .col-blue { flex: 1; background: var(--apc-blue); }
.unity-bar-tricolor .col-white { width: 4px; background: #ffffff; }
.unity-bar-tricolor .col-green { flex: 1; background: var(--apc-green); }
.unity-bar-tricolor .col-red { flex: 1; background: var(--apc-red); }

.unity-bar-content {
  padding: 1.85rem 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.unity-badge-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.unity-apc-mark {
  background: #ffffff;
  color: var(--apc-blue);
  font-weight: 900;
  font-size: 0.8rem;
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.unity-meta-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.unity-statement {
  font-size: 0.94rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  max-width: 650px;
  text-align: right;
}

/* ==========================================================================
   7. Grassroots Mobilization Banner (Mid-Page Stripe)
   ========================================================================== */

.mobilization-banner {
  background: linear-gradient(135deg, #0284c7 0%, #008751 60%, #be123c 100%);
  padding: 4.5rem 0;
  color: #ffffff;
  text-align: center;
  position: relative;
}

.mobilization-content {
  max-width: 780px;
  margin: 0 auto;
}

.mobilization-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.mobilization-subtitle {
  font-size: 1.15rem;
  color: #e0f2fe;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.mobilization-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   8. Top Issues & 6-Point Agenda Grid
   ========================================================================== */

.issues-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.issue-card {
  background: var(--bg-slate-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.issue-card:hover {
  background: #ffffff;
  border-color: var(--apc-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.issue-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--apc-blue);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.issue-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}

.issue-desc {
  font-size: 0.95rem;
  color: var(--text-slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.issue-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--apc-blue);
  cursor: pointer;
}

.issue-link:hover {
  color: var(--apc-blue-hover);
  gap: 0.6rem;
}

/* ==========================================================================
   9. Endorsements & Coalition Showcase
   ========================================================================== */

.endorsements-section {
  padding: 5.5rem 0;
  background: var(--bg-slate-50);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.endorsements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.endorsement-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.endorsement-quote {
  font-size: 1.05rem;
  color: var(--text-slate-700);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  position: relative;
}

.endorsement-quote::before {
  content: '“';
  font-size: 3rem;
  color: var(--apc-blue-light);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  z-index: 0;
  font-family: Georgia, serif;
}

.endorsement-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--apc-blue-subtle);
  color: var(--apc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
}

.author-details h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.author-details p {
  font-size: 0.8rem;
  color: var(--text-slate-500);
}

/* ==========================================================================
   10. Campaign Events & Rallies
   ========================================================================== */

.events-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.event-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.event-month {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--apc-red);
}

.event-day {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}

.event-details {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-slate-500);
  margin-bottom: 0.85rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.event-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.event-desc {
  font-size: 0.95rem;
  color: var(--text-slate-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   11. Latest News & Press Releases
   ========================================================================== */

.news-section {
  padding: 5.5rem 0;
  background: var(--bg-slate-50);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.news-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-thumb {
  height: 200px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-smooth);
}

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

.news-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--apc-blue);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.news-snippet {
  font-size: 0.9rem;
  color: var(--text-slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.news-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--apc-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   12. Campaign Photo Trail Gallery
   ========================================================================== */

.gallery-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 47, 73, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   13. FAQ Accordion Section
   ========================================================================== */

.faq-section {
  padding: 5.5rem 0;
  background: var(--bg-slate-50);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--apc-blue);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--bg-slate-100);
  color: var(--text-slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform var(--transition-normal), background var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--apc-blue);
  color: #ffffff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-content {
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-slate-600);
  line-height: 1.7;
}

/* ==========================================================================
   14. Join Grassroots Form Section
   ========================================================================== */

.join-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0c4a6e 0%, #008751 50%, #881337 100%);
  color: #ffffff;
  position: relative;
}

.join-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.join-text-col h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.join-text-col p {
  font-size: 1.1rem;
  color: #e0f2fe;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.join-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  flex-shrink: 0;
}

.highlight-item h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.highlight-item p {
  color: #bae6fd;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.join-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-xl);
  color: var(--text-slate-800);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-slate-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-slate-50);
  color: var(--text-dark);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--apc-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.15);
}

.volunteer-roles {
  margin: 1.5rem 0;
}

.roles-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-slate-700);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-slate-700);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--apc-blue);
  width: 16px;
  height: 16px;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-slate-400);
  margin-top: 1rem;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   15. Campaign Footer & Social Hub
   ========================================================================== */

.site-footer {
  background: #082f49;
  color: #cbd5e1;
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--apc-blue);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--apc-blue);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.social-links-row {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--apc-blue);
  transform: translateY(-2px);
}

.footer-disclaimer-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #64748b;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1120px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .nav-container,
  .join-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    max-height: calc(100dvh - var(--header-height) - 1rem);
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.15rem;
    overflow-y: auto;
    transform: translateY(-0.5rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 99;
  }

  .nav-link {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--apc-blue-subtle);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    font-size: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: 560px;
    background-position: center;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .editorial-profile,
  .editorial-profile.reverse-layout {
    grid-template-columns: 1fr;
  }

  .editorial-profile.reverse-layout .profile-visual-col {
    order: -1;
  }

  .profile-visual-col {
    min-height: 400px;
    height: 400px;
  }

  .profile-content-col {
    padding: 2.5rem 2rem;
  }

  .unity-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
  }

  .unity-badge-group {
    justify-content: center;
  }

  .unity-statement {
    text-align: center;
    max-width: 100%;
  }

  .candidate-showcase {
    grid-template-columns: 1fr;
  }
  
  .candidate-img-col {
    min-height: 380px;
  }

  .candidate-info-col {
    padding: 2.5rem;
  }

  .issues-grid,
  .endorsements-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;
  }

  .join-form-card {
    padding: 2.5rem;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: var(--header-height);
  }

  .container,
  .nav-container,
  .join-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .btn,
  .btn-lg {
    min-height: 46px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    white-space: normal;
  }

  .top-alert-content {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }

  .alert-message {
    justify-content: center;
    flex-wrap: wrap;
  }

  .countdown-box {
    justify-content: center;
    width: 100%;
    max-width: 320px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .nav-menu {
    left: 0.75rem;
    right: 0.75rem;
    max-height: calc(100dvh - var(--header-height) - 0.75rem);
  }

  .nav-link {
    padding: 0.85rem;
  }

  .hero-section {
    min-height: auto;
    padding: 4.5rem 0;
    background-position: center;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(4, 18, 31, 0.94) 0%,
      rgba(4, 18, 31, 0.88) 60%,
      rgba(4, 18, 31, 0.75) 100%
    );
  }

  .hero-candidate-name {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero-ticket-line {
    font-size: 1rem;
    margin-bottom: 1.15rem;
  }

  .hero-lead-slogan {
    font-size: 1.1rem;
  }

  .hero-lead-body {
    font-size: 0.9rem;
  }

  .mobilization-actions {
    flex-direction: column;
  }

  .mobilization-actions .btn {
    width: 100%;
  }

  .pillars-section,
  .vision-section,
  .about-section,
  .mobilization-banner,
  .issues-section,
  .endorsements-section,
  .events-section,
  .news-section,
  .gallery-section,
  .faq-section,
  .join-section {
    padding: 3.75rem 0;
  }

  .pillars-grid,
  .issues-grid,
  .endorsements-grid,
  .events-grid,
  .news-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .profile-visual-col {
    min-height: 380px;
    height: 380px;
  }

  .profile-content-col {
    padding: 2rem 1.25rem;
  }

  .profile-metrics-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .profile-metric {
    padding: 0 0.5rem;
    border-right: 1px solid #e2e8f0;
    border-bottom: none;
    text-align: center;
  }

  .profile-metric:first-child {
    padding-left: 0;
  }

  .profile-metric:last-child {
    border-right: none;
    border-bottom: none;
    padding-right: 0;
  }

  .metric-number {
    font-size: 1.35rem;
  }

  .metric-label {
    font-size: 0.65rem;
  }

  .deputy-showcase {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .deputy-img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .deputy-badges {
    flex-direction: column;
    gap: 0.4rem;
  }

  .vision-quote-card {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .vision-author {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .candidate-showcase,
  .event-card {
    border-radius: var(--radius-lg);
  }

  .candidate-img-col {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .candidate-info-col {
    padding: 1.5rem;
  }

  .candidate-name {
    font-size: 1.75rem;
  }

  .candidate-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .event-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .event-details,
  .news-body {
    padding: 1.35rem;
  }

  .event-card .btn,
  .issues-section .btn,
  .join-form-card .btn {
    width: 100%;
  }

  .event-image,
  .news-thumb,
  .gallery-item {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .gallery-overlay {
    opacity: 1;
  }

  .faq-header {
    padding: 1.1rem 1rem;
  }

  .faq-question {
    font-size: 0.98rem;
  }

  .faq-content {
    padding: 0 1rem 1.15rem;
  }

  .join-container {
    gap: 2rem;
  }

  .join-text-col h2 {
    font-size: clamp(1.9rem, 10vw, 2.5rem);
  }

  .join-text-col p {
    font-size: 1rem;
  }

  .join-form-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-label {
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-brand .brand-logo {
    align-items: flex-start;
  }

  .footer-col,
  .footer-brand {
    text-align: left;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .top-alert-bar {
    font-size: 0.78rem;
    padding: 0.55rem 0.75rem;
  }

  .nav-container {
    height: var(--header-height);
  }

  .nav-menu {
    left: 0.5rem;
    right: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-md);
  }

  .apc-emblem,
  .apc-logo-img {
    width: 38px;
    height: 38px;
    font-size: 0.82rem;
  }

  .hero-section {
    padding: 3rem 0;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.9rem, 12vw, 2.5rem);
  }

  .section-tag {
    max-width: 100%;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .hero-badge {
    width: 100%;
  }

  .vision-author {
    flex-direction: column;
    gap: 0.75rem;
  }

  .endorsement-author {
    align-items: flex-start;
  }

  .author-avatar {
    width: 42px;
    height: 42px;
  }

  .pillar-card,
  .issue-card,
  .endorsement-card {
    padding: 1.5rem 1.2rem;
    border-radius: var(--radius-md);
  }

  .candidate-visual-box {
    height: 270px;
  }

  .candidate-full-name {
    font-size: 1.35rem;
  }

  .candidate-caption {
    padding: 1rem;
  }

  .metrics-grid {
    gap: 0.4rem;
  }

  .metric-item {
    padding: 0.5rem 0.25rem;
  }

  .metric-item h4 {
    font-size: 1.1rem;
  }

  .candidate-info-col,
  .event-details,
  .news-body,
  .join-form-card {
    padding: 1.2rem;
  }

  .mobilization-title {
    font-size: clamp(1.8rem, 10vw, 2.25rem);
  }

  .footer-top {
    margin-bottom: 2.25rem;
  }

  .social-links-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 360px) {
  .container,
  .nav-container,
  .join-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .btn,
  .btn-lg,
  .btn-sm {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .candidate-info-col,
  .event-details,
  .news-body,
  .join-form-card {
    padding: 1rem;
  }
}
