/* ============================================================
   REFORM UK YEADING 2026 — STYLESHEET
   ============================================================ */

:root {
  /* ── Darker navy palette ── */
  --navy-deep:  #00091a;
  --navy:       #000f2e;
  --navy-mid:   #001a45;
  --navy-light: #002a6e;

  /* ── Turquoise accent ── */
  --cyan:       #00b4a0;
  --cyan-dark:  #00907f;
  --cyan-pale:  #e0f5f2;

  /* ── Warm beige palette ── */
  --beige:      #f5ede0;
  --beige-mid:  #e8d9c4;
  --beige-dark: #c9a97a;

  /* ── Neutrals ── */
  --white:      #ffffff;
  --off-white:  #f5ede0;   /* body bg → beige */
  --text-dark:  #0d1321;
  --text-mid:   #3d4a5c;
  --text-light: #6b7a8d;
  --card-bg:    #fffdf9;   /* cards → very warm white */
  --border:     #e0d4c0;   /* beige-tinted border */

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.20);
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;
  --transition: .25s ease;
}

/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SKIP LINK ───────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  padding: .5rem 1rem;
  background: var(--cyan); color: var(--navy-deep);
  font-weight: 600; border-radius: var(--radius-sm);
  z-index: 9999; transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0, 18, 51, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.2; color: var(--white); flex-shrink: 0; }
.logo-reform { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); }
.logo-ward   { font-size: 1.05rem; font-weight: 700; color: var(--white); }

.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a {
  color: rgba(255,255,255,.82); font-size: .88rem; font-weight: 500;
  padding: .45rem .9rem; border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.nav-links .nav-cta {
  background: var(--cyan); color: var(--navy-deep);
  font-weight: 700; padding: .42rem 1.1rem;
}
.nav-links .nav-cta:hover { background: var(--cyan-dark); color: var(--white); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; padding: 6px;
  border-radius: var(--radius-sm); transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 100px 2rem 4rem;
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800; line-height: 1.12; color: var(--white);
}
.hero-date { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.date-label { font-size: .9rem; color: rgba(255,255,255,.72); }
.date-value { font-size: .9rem; font-weight: 600; color: var(--white); }
.countdown-badge {
  background: var(--cyan); color: var(--navy-deep);
  font-size: .78rem; font-weight: 800;
  padding: .22rem .85rem; border-radius: 999px;
}

.hero-tagline {
  font-size: 1rem; color: rgba(255,255,255,.82); line-height: 1.65; max-width: 480px;
}

/* Ballot Card */
.ballot-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 1.3rem 1.5rem;
  max-width: 430px; backdrop-filter: blur(8px);
}
.ballot-card-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .13em;
  color: rgba(255,255,255,.58); text-transform: uppercase; margin-bottom: .9rem;
}
.ballot-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.96); color: var(--text-dark);
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  padding: .68rem 1rem; border-radius: 6px;
  margin-bottom: .5rem; border: 1.5px solid #cdd5e0;
}
.ballot-row:last-child { margin-bottom: 0; }
.ballot-x {
  width: 28px; height: 28px; border: 2px solid #475569; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: var(--text-dark); flex-shrink: 0;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan); color: var(--navy-deep);
  font-weight: 700; font-size: .9rem;
  padding: .75rem 1.8rem; border-radius: 999px;
  transition: background var(--transition), transform var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--cyan-dark); color: var(--white); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: var(--white);
  font-weight: 600; font-size: .9rem;
  padding: .75rem 1.8rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-secondary:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--navy);
  font-weight: 600; font-size: .9rem;
  padding: .75rem 1.8rem; border-radius: 999px;
  border: 2px solid var(--navy);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

.btn-sm { padding: .52rem 1.2rem; font-size: .83rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: 1rem; }

/* ============================================================
   SLIDESHOW
   ============================================================ */
.hero-right { position: relative; display: flex; flex-direction: column; gap: .75rem; }
.slideshow {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/3;
  background: rgba(0,0,0,.3); box-shadow: var(--shadow-lg);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,18,51,.85));
  color: var(--white); font-size: .78rem; font-weight: 500;
  padding: 1.5rem 1rem .75rem;
}
.slideshow-controls {
  display: flex; align-items: center; gap: .5rem; padding: 0 .25rem;
}
.slideshow-dots { display: flex; gap: .4rem; flex: 1; }
.slideshow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.32); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slideshow-dot.active { background: var(--cyan); transform: scale(1.3); }
.slideshow-pause {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: .75rem;
  border: none; cursor: pointer; transition: background var(--transition); flex-shrink: 0;
}
.slideshow-pause:hover { background: rgba(255,255,255,.28); }

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--cyan-dark); margin-bottom: .5rem; display: block;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700; color: var(--text-dark);
  margin-bottom: .7rem; line-height: 1.18;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-mid);
  max-width: 680px; margin-bottom: 3rem; line-height: 1.7;
}

/* ============================================================
   CANDIDATES
   ============================================================ */
.section-candidates { background: var(--card-bg); }
.candidates-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
}
.candidate-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.candidate-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.candidate-photo-wrap {
  width: 140px; height: 140px; border-radius: 50%;
  overflow: hidden; border: 4px solid var(--cyan);
  box-shadow: 0 0 0 6px rgba(0,193,222,.12);
  margin-bottom: 1.25rem;
}
.candidate-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.candidate-role {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--cyan-dark); margin-bottom: .35rem;
}
.candidate-name { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: .85rem; }
.candidate-bio { font-size: .93rem; color: var(--text-mid); line-height: 1.72; margin-bottom: 1.2rem; }
.candidate-link { font-size: .88rem; font-weight: 600; color: var(--navy-mid); transition: color var(--transition); }
.candidate-link:hover { color: var(--cyan-dark); }

/* ============================================================
   PLEDGES
   ============================================================ */
.section-pledges { background: var(--beige); }
.pledges-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
}
.pledge-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pledge-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pledge-icon { font-size: 2rem; margin-bottom: .9rem; }
.pledge-title { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: .55rem; line-height: 1.3; }
.pledge-text { font-size: .88rem; color: var(--text-mid); line-height: 1.68; }

/* ============================================================
   COMMUNITY UPDATES CAROUSEL
   ============================================================ */
.section-updates { background: var(--card-bg); }
.carousel-wrapper {
  position: relative; display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.carousel { flex: 1; overflow: hidden; border-radius: var(--radius); }
.carousel-track { display: flex; transition: transform .4s ease; gap: 1.5rem; }

.update-card {
  min-width: calc(33.333% - 1rem); flex-shrink: 0;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--transition);
}
.update-card:hover { box-shadow: var(--shadow-md); }
.update-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.update-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.update-card:hover .update-img { transform: scale(1.04); }
.update-body { padding: 1.1rem 1.25rem 0; }
.update-title { font-size: .97rem; font-weight: 700; color: var(--text-dark); margin-bottom: .5rem; }
.update-text { font-size: .86rem; color: var(--text-mid); line-height: 1.6; padding-bottom: .8rem; }
.update-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cyan-dark); background: var(--cyan-pale);
  padding: .18rem .7rem; border-radius: 999px; margin: 0 1.25rem 1.25rem;
}

.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-sm);
  transition: background var(--transition), transform var(--transition);
}
.carousel-btn:hover { background: var(--cyan-dark); transform: scale(1.08); }
.carousel-btn:disabled { background: #cbd5e1; cursor: not-allowed; transform: none; }

.carousel-dots { display: flex; gap: .4rem; justify-content: center; margin-top: .5rem; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #cbd5e1; border: none; cursor: pointer; transition: background var(--transition);
}
.carousel-dot.active { background: var(--navy); }
.carousel-hint { text-align: center; font-size: .74rem; color: var(--text-light); margin-top: .4rem; }

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.section-gallery { background: var(--beige); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem;
}
.gallery-item {
  position: relative; border-radius: var(--radius-sm);
  overflow: hidden; aspect-ratio: 1; cursor: pointer; padding: 0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.gallery-item:hover img { transform: scale(1.07); filter: brightness(.82); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,18,51,.82));
  color: var(--white); font-size: .7rem; font-weight: 500;
  padding: 1rem .6rem .55rem;
  opacity: 0; transition: opacity .25s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.93);
  z-index: 500; display: none; align-items: center; justify-content: center; padding: 2rem;
  flex-direction: column; gap: 1rem;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); display: block; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.15); color: var(--white);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--transition); border: none;
}
.lightbox-close { top: 1.5rem; right: 1.5rem; font-size: 1rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-caption {
  color: rgba(255,255,255,.75); font-size: .83rem; text-align: center;
}

/* ============================================================
   POLLING
   ============================================================ */
.section-polling {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  color: var(--white);
}
.section-polling .section-tag  { color: var(--cyan); }
.section-polling .section-title { color: var(--white); }
.section-polling .section-subtitle { color: rgba(255,255,255,.78); }

.polling-info-box {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 1.75rem 2rem;
  max-width: 500px; backdrop-filter: blur(8px); margin-bottom: 3rem;
}
.polling-detail {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); gap: 1rem;
}
.polling-detail:last-of-type { border-bottom: none; margin-bottom: .75rem; }
.polling-detail-label { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .05em; }
.polling-detail-value { font-size: 1rem; font-weight: 700; color: var(--white); }
.polling-note { font-size: .875rem; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 1.25rem; }

.polling-stations-title { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; }
.polling-stations-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-bottom: 1.5rem;
}
.polling-station {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 1.25rem; backdrop-filter: blur(6px);
}
.polling-station h4 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: .3rem; }
.station-postcode { font-size: .83rem; font-weight: 700; color: var(--cyan); margin-bottom: .2rem; }
.station-address  { font-size: .8rem; color: rgba(255,255,255,.68); margin-bottom: .8rem; }
.station-link { font-size: .82rem; font-weight: 600; color: var(--cyan); transition: color var(--transition); }
.station-link:hover { color: var(--white); text-decoration: underline; }
.polling-footer-note { font-size: .85rem; color: rgba(255,255,255,.65); }
.polling-footer-note a { color: var(--cyan); }
.polling-footer-note a:hover { text-decoration: underline; }

/* ============================================================
   FAQ
   ============================================================ */
.section-faq { background: var(--card-bg); }
.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 800px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--transition); }
.faq-item.open { box-shadow: var(--shadow-md); }

.faq-question {
  width: 100%; text-align: left; background: var(--beige);
  padding: 1.1rem 1.5rem; font-size: .93rem; font-weight: 600; color: var(--text-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: inherit; border: none; border-radius: 0; cursor: pointer;
  transition: background var(--transition);
}
.faq-question::after {
  content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--text-light);
  flex-shrink: 0; transition: transform var(--transition), color var(--transition);
}
.faq-question:hover { background: var(--beige-mid); }
.faq-item.open .faq-question { background: var(--beige-mid); }
.faq-item.open .faq-question::after { transform: rotate(45deg); color: var(--cyan-dark); }

.faq-answer {
  display: none; padding: 1rem 1.5rem 1.25rem;
  background: var(--beige); border-top: 1px solid var(--border);
  font-size: .9rem; color: var(--text-mid); line-height: 1.72;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer a { color: var(--navy-mid); font-weight: 600; }
.faq-answer a:hover { text-decoration: underline; }

/* ============================================================
   GET INVOLVED
   ============================================================ */
.section-getinvolved {
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-mid) 100%);
  text-align: center;
}
.section-getinvolved .section-title,
.section-getinvolved .section-subtitle { margin-left: auto; margin-right: auto; max-width: 620px; }
.section-getinvolved .btn-outline { border-color: var(--navy); color: var(--navy); }
.section-getinvolved .btn-outline:hover { background: var(--navy); color: var(--white); }
.getinvolved-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 3rem 2rem 0; }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 2rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-heading { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-link {
  font-size: .85rem; color: rgba(255,255,255,.62); display: block;
  margin-bottom: .4rem; transition: color var(--transition);
}
.footer-links a:hover, .footer-link:hover { color: var(--cyan); }
.footer-share { display: flex; flex-direction: column; gap: .5rem; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .38rem 1rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; cursor: pointer;
  transition: opacity var(--transition); border: none; font-family: inherit;
}
.share-btn:hover { opacity: .82; }
.share-whatsapp { background: #25D366; color: #fff; }
.share-facebook  { background: #1877F2; color: #fff; }
.share-copy      { background: rgba(255,255,255,.15); color: var(--white); }
.footer-legal {
  max-width: 1280px; margin: 0 auto;
  padding: 1.2rem 0 1.6rem;
  font-size: .7rem; color: rgba(255,255,255,.38); line-height: 1.6;
}

/* ============================================================
   SOCIAL LINKS — CANDIDATE CARDS
   ============================================================ */
.candidate-social { margin-bottom: 1rem; }
.social-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .85rem; font-weight: 600;
  padding: .45rem 1rem; border-radius: 999px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-link:hover { transform: translateY(-1px); }
.social-facebook {
  background: #e8f0fe; color: #1877F2;
}
.social-facebook:hover { background: #1877F2; color: #fff; }
.social-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Footer social links */
.footer-social-link {
  display: flex !important; align-items: center; gap: .5rem;
}
.footer-social-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: .7; }
.footer-social-link:hover .footer-social-icon { opacity: 1; }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #25D366;
  color: #fff;
  padding: .7rem 1.1rem .7rem .85rem;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  /* Pulse animation to draw attention */
  animation: whatsapp-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .55);
  animation: none;
}
.whatsapp-float-icon { width: 26px; height: 26px; flex-shrink: 0; }
.whatsapp-float-label { white-space: nowrap; }

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,.75), 0 0 0 6px rgba(37,211,102,.12); }
}

/* On mobile move it to the left so it doesn't clash with back-to-top */
@media (max-width: 640px) {
  .whatsapp-float { bottom: 1rem; right: auto; left: 1rem; font-size: .75rem; padding: .6rem .9rem .6rem .75rem; }
  .whatsapp-float-icon { width: 22px; height: 22px; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--cyan-dark); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-right { order: -1; }
  .slideshow { max-height: 280px; }
  .hero-title { font-size: 2rem; }
  .update-card { min-width: calc(50% - .75rem); }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(0,18,51,.98); padding: 1rem; gap: .25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 90px 1.25rem 2.5rem; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .section { padding: 3.5rem 1.25rem; }
  .candidates-grid, .pledges-grid, .polling-stations-grid { grid-template-columns: 1fr; }
  .update-card { min-width: 100%; }
  .carousel-btn { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .getinvolved-ctas { flex-direction: column; align-items: center; }
  .getinvolved-ctas .btn-primary,
  .getinvolved-ctas .btn-outline { width: 100%; max-width: 340px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .back-to-top { bottom: 1rem; right: 1rem; }
}
