/* ============================================
   CTEHR - Committee to Elect House Republicans
   Modern Political Campaign Website
   ============================================ */

/* --- Norwester Font --- */
@font-face { font-family: "Norwester"; src: url("../fonts/norwester.otf") format("opentype"); font-display: block; }

/* --- CSS Custom Properties --- */
:root {
  --red-primary: #b91c1c;
  --red-dark: #991b1b;
  --red-darker: #7f1d1d;
  --red-light: #dc2626;
  --red-glow: rgba(185, 28, 28, 0.3);
  --navy: #0c1d3d;
  --navy-light: #152a52;
  --navy-lighter: #1e3a6e;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gold: #d4a03c;
  --gold-light: #f0c75e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-red: 0 4px 14px rgba(185, 28, 28, 0.3);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1200px;
  --header-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Norwester', sans-serif;
  font-weight: normal;
  line-height: 1.2;
  color: var(--gray-900);
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section--gray {
  background: var(--off-white);
}

.section--red {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  color: var(--white);
}

.section--red h2,
.section--red h3,
.section--red p {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--red-primary);
  margin-bottom: 1rem;
}

.section--dark .section-header .label {
  color: var(--gold);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-family: 'Norwester', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.btn--primary {
  background: var(--red-primary);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn--primary:hover {
  background: var(--red-dark);
  letter-spacing: 5px;
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn--navy:hover {
  background: var(--navy-light);
  letter-spacing: 5px;
}

.btn--outline {
  background: transparent;
  color: var(--red-primary);
  border: 2px solid var(--red-primary);
}

.btn--outline:hover {
  background: var(--red-primary);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--red-primary);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn--white:hover {
  background: var(--off-white);
  letter-spacing: 5px;
}

.btn--lg {
  padding: 1.2rem 3rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: var(--header-height);
  transition: all var(--transition-base);
}

.header--transparent {
  background: transparent;
}

.header--scrolled {
  background: rgba(12, 29, 61, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.header__logo img {
  height: 45px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.header__nav-link {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: var(--red-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.header__nav-link:hover {
  color: var(--white);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  transform: scaleX(1);
}

.header__nav-link--active {
  color: var(--white);
}

.header__donate {
  margin-left: 1.5rem;
}

/* Mobile menu toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0.5rem;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.header__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-statehouse.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(185, 28, 28, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 58, 110, 0.3) 0%, transparent 50%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  background-size: 60px 60px;
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding-top: var(--header-height);
}

.hero__pre-heading {
  display: inline-block;
  font-family: 'Norwester', sans-serif;
  font-size: 1rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
  padding: 0.6rem 1.5rem;
  background: var(--red-primary);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: normal;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__title span {
  display: block;
}

.hero__title .highlight {
  -
  -
  color: var(--red-light);
  -
}

.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat {
  text-align: left;
}

.hero__stat-number {
  font-size: 2.5rem;
  font-weight: normal;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Decorative element */
.hero__decor {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 550px;
  height: 550px;
  z-index: 1;
}

.hero__decor-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: rotate-ring 30s linear infinite;
}

.hero__decor-ring:nth-child(1) {
  inset: 0;
}

.hero__decor-ring:nth-child(2) {
  inset: 50px;
  animation-direction: reverse;
  animation-duration: 25s;
}

.hero__decor-ring:nth-child(3) {
  inset: 100px;
  animation-duration: 20s;
}

.hero__decor-ring::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--red-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--red-glow);
}

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- About / Mission Section --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__content {
  padding-right: 2rem;
}

.about__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--red-primary);
  margin-bottom: 1rem;
}

.about__title {
  margin-bottom: 1.5rem;
}

.about__text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about__feature-check {
  flex-shrink: 0;
  color: var(--red-primary);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.contract-item__desc {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.2rem;
}

.about__feature-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.4;
}

.about__visual {
  position: relative;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.about__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(12, 29, 61, 0.5));
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
}

.about__accent-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.about__accent-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.about__accent-text {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.95rem;
  line-height: 1.3;
}

.about__accent-sub {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* --- Priorities Section --- */
.priorities__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.priority-card {
  flex: 0 1 calc(33.333% - 1.5rem);
}

.priority-card {
  padding: 2rem 0;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.priority-card:hover {
  border-top-color: var(--red-primary);
}

.priority-card__number {
  font-size: 3rem;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  margin-bottom: 1rem;
}

.priority-card__icon {
  width: 50px;
  height: 50px;
  background: rgba(185, 28, 28, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.priority-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.priority-card__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* --- Contract Preview --- */
.contract-preview__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 3rem;
}

.contract-item {
  padding: 1.25rem 1rem;
  border-bottom: 2px solid var(--gray-200);
  transition: all var(--transition-base);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contract-item:hover {
  border-bottom-color: var(--red-primary);
}

.contract-item__number {
  flex-shrink: 0;
  font-family: 'Norwester', sans-serif;
  font-size: 1.5rem;
  color: var(--red-primary);
  line-height: 1;
  min-width: 1.5rem;
  text-align: center;
}

.contract-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

/* --- CTA Section --- */
.cta {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta__text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* --- Leadership Cards --- */
.leadership__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.leader-card {
  background: var(--white);
  overflow: hidden;
  transition: all var(--transition-base);
  border-bottom: 3px solid var(--red-primary);
  display: flex;
  flex-direction: column;
}

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

.leader-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.leader-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(12, 29, 61, 0.8), transparent);
}

.leader-card__body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.leader-card__title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red-primary);
  margin-bottom: 0.5rem;
}

.leader-card__name {
  font-size: 1.5rem;
  font-weight: normal;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.leader-card__text {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.leader-card__text {
  flex: 1;
}

.leader-card__district {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
}

/* --- Contract Full Page --- */
.contract-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contract-layout > img {
  position: sticky;
  top: 100px;
}

.contract-full__grid {
  display: grid;
  gap: 0;
}

.contract-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.contract-card__number {
  font-family: 'Norwester', sans-serif;
  font-size: 2rem;
  color: var(--red-primary);
  line-height: 1;
}

.contract-card__title {
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contract-card__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* --- Contact Section --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.contact__info-icon {
  width: 48px;
  height: 48px;
  background: rgba(185, 28, 28, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact__info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}

.contact__info-text {
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 500;
}

.contact__form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: border-color var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.social-link--facebook {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}

.social-link--twitter {
  background: rgba(0, 0, 0, 0.1);
  color: var(--gray-800);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-base);
}

.footer__social:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  padding: 5rem 0 0;
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Page Hero (internal pages) --- */
.page-hero {
  padding: 10rem 0 4rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(12, 29, 61, 0.8) 0%, rgba(12, 29, 61, 0.6) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: normal;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero__text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.7s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.8s; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.9s; }

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

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__content {
    padding-right: 0;
  }

  .hero__decor {
    display: none;
  }

  .hero__stats {
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .header {
    overflow: visible;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .header__nav-link {
    font-size: 1.25rem;
    padding: 1rem 2rem;
  }

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

  .header__donate {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .header__toggle {
    display: flex;
    z-index: 10000;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .priority-card {
    flex: 0 1 100%;
  }

  .contract-preview__grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .initiatives__grid {
    grid-template-columns: 1fr !important;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

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

  .contract-layout {
    grid-template-columns: 1fr;
  }

  .contract-layout > img {
    position: static;
    max-width: 300px;
    margin: 0 auto;
  }

  .contract-card {
    grid-template-columns: 2rem 1fr;
    padding: 1rem 0;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__badge {
    font-size: 0.65rem;
  }
}

.initiatives__grid h3 {
  text-transform: none;
}
