/* ================================================================
   MVCCF Design System — leydeajustevenezolano.org
   My Voice Counts Charities Foundation Inc.
   Single source of truth for all visual styling.
   Version: 1.0.0 | 2026-06-05
   ================================================================ */

/* ================================================================
   1. DESIGN TOKENS — CSS Custom Properties
   ================================================================ */

:root {
  /* ---- Color: Primary Navy ---- */
  --color-navy: #1B1B4B;
  --color-navy-deep: #0D1333;
  --color-navy-lav: #243468;

  /* ---- Color: Teal ---- */
  --color-teal: #2A9D8F;
  --color-teal-light: #3AB5A6;
  --color-teal-dark: #1E7A6E;

  /* ---- Color: Gold ---- */
  --color-gold: #D4901E;
  --color-gold-light: #F0C040;
  --color-gold-dark: #B87A15;

  /* ---- Color: Neutrals ---- */
  --color-white: #FFFFFF;
  --color-gray-50: #F8F9FA;
  --color-gray-100: #E9ECEF;
  --color-gray-200: #DEE2E6;
  --color-gray-300: #ADB5BD;
  --color-gray-400: #8E959C;
  --color-gray-600: #6C757D;
  --color-gray-800: #343A40;
  --color-gray-900: #212529;

  /* ---- Color: Semantic ---- */
  --color-success: #2A9D8F;
  --color-warning: #D4901E;
  --color-error: #C0392B;
  --color-info: #3498DB;

  /* ---- Gradients ---- */
  --gradient-hero: linear-gradient(135deg, #0D1333 0%, #1B1B4B 50%, #1B2A5B 100%);
  --gradient-cta: linear-gradient(90deg, #2A9D8F 0%, #1B1B4B 100%);
  --gradient-gold: linear-gradient(90deg, #D4901E 0%, #F0C040 100%);
  --gradient-subtle: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
  --gradient-whatsapp: linear-gradient(135deg, #075E54, #128C7E, #25D366);

  /* ---- Typography ---- */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-hero: clamp(2.5rem, 5vw, 3.5rem);
  --text-h1: clamp(2rem, 4vw, 2.5rem);
  --text-h2: clamp(1.5rem, 3vw, 2rem);
  --text-h3: 1.5rem;
  --text-h4: 1.25rem;
  --text-h5: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* ---- Spacing ---- */
  --space-2xs: 0.125rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* ---- Border Radius ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
  --shadow-glow-teal: 0 0 20px rgba(42, 157, 143, 0.3);
  --shadow-glow-gold: 0 0 20px rgba(212, 144, 30, 0.3);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* ---- Motion ---- */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;
  --easing-default: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-in: cubic-bezier(0.4, 0, 1, 1);
  --easing-out: cubic-bezier(0, 0, 0.2, 1);
  --easing-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ---- Layout ---- */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 64px;
  --header-compact: 56px;
  --footer-min-height: 320px;

  /* ---- Z-index Scale ---- */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 500;
  --z-modal: 1000;
  --z-toast: 1500;
  --z-tooltip: 2000;
}


/* ================================================================
   2. RESET & BASE STYLES
   ================================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--color-gray-900);
  background: var(--color-white);
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

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

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--duration-fast) var(--easing-default);
}

a:hover {
  color: var(--color-teal-dark);
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

::selection {
  background: rgba(42, 157, 143, 0.2);
  color: var(--color-navy);
}


/* ================================================================
   3. TYPOGRAPHY SCALE
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-snug);
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.text-hero,
h1.text-hero {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: var(--text-h1);
  font-weight: 800;
}

h2 {
  font-size: var(--text-h2);
  font-weight: 700;
}

h3 {
  font-size: var(--text-h3);
  font-weight: 700;
}

h4 {
  font-size: var(--text-h4);
  font-weight: 600;
}

h5 {
  font-size: var(--text-h5);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-gray-600);
  line-height: var(--leading-normal);
}

.text-body {
  font-size: var(--text-body);
}

.text-small {
  font-size: var(--text-small);
}

.text-xs {
  font-size: var(--text-xs);
}

.text-lead {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
}

.label-text {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.overline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(42, 157, 143, 0.08);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}


/* ================================================================
   4. BUTTON COMPONENTS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 28px;
  line-height: 1;
  transition: all var(--duration-fast) var(--easing-default);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Sizes */
.btn-sm {
  padding: 8px 20px;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

.btn-md {
  padding: 12px 28px;
  font-size: var(--text-small);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

/* Pill shape */
.btn-pill {
  border-radius: var(--radius-full);
}

/* -- btn-primary: Navy with gradient -- */
.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-primary:hover {
  background: var(--color-navy-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--color-white);
}

/* -- btn-lav: Gold gradient for LAV CTAs -- */
.btn-lav {
  background: var(--gradient-gold);
  color: var(--color-navy);
  border: none;
  box-shadow: 0 4px 15px rgba(212, 144, 30, 0.25);
}

.btn-lav:hover {
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-2px);
  color: var(--color-navy);
}

/* -- btn-outline: Transparent with border -- */
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-gray-200);
}

.btn-outline:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* -- btn-teal: Teal solid for action items -- */
.btn-teal {
  background: var(--gradient-cta);
  color: var(--color-white);
  border: none;
}

.btn-teal:hover {
  box-shadow: var(--shadow-glow-teal);
  transform: translateY(-2px);
  color: var(--color-white);
}

/* -- btn-ghost: Minimal, text-only feel -- */
.btn-ghost {
  background: transparent;
  color: var(--color-teal);
  border: none;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

.btn-ghost:hover {
  background: rgba(42, 157, 143, 0.06);
  color: var(--color-teal-dark);
}

/* -- btn-outline-white: For dark backgrounds -- */
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* -- btn-gold: Solid gold accent -- */
.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
  border: none;
  box-shadow: 0 4px 15px rgba(212, 144, 30, 0.25);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-2px);
  color: var(--color-navy);
}

/* -- btn-danger: Error / destructive actions -- */
.btn-danger {
  background: var(--color-error);
  color: var(--color-white);
  border: none;
}

.btn-danger:hover {
  background: #A93226;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
  transform: translateY(-1px);
  color: var(--color-white);
}

/* Button group */
.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn-group-center {
  justify-content: center;
}


/* ================================================================
   5. CARD COMPONENTS
   ================================================================ */

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--duration-normal) var(--easing-default);
}

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

.card-body {
  padding: var(--space-xl);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--color-gray-600);
  font-size: var(--text-small);
  line-height: var(--leading-normal);
}

.card-footer {
  padding: var(--space-md) var(--space-xl);
  border-top: 1px solid var(--color-gray-100);
}

/* -- card-info: Info/feature card with icon -- */
.card-info {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition: all var(--duration-normal) var(--easing-default);
}

.card-info:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-info .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-lg);
  background: rgba(42, 157, 143, 0.08);
  color: var(--color-teal);
}

.card-info h4 {
  font-size: var(--text-body);
  margin-bottom: var(--space-xs);
}

.card-info p {
  font-size: var(--text-small);
  color: var(--color-gray-600);
  margin-bottom: 0;
}

/* -- card-action: Card with left accent border -- */
.card-action {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-left: 4px solid var(--color-teal);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--easing-default);
}

.card-action:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-action.card-action-gold {
  border-left-color: var(--color-gold);
}

.card-action.card-action-navy {
  border-left-color: var(--color-navy);
}

.card-action h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.card-action p {
  font-size: var(--text-small);
  color: var(--color-gray-600);
  margin-bottom: 0;
}

/* -- card-stat: Dark stat card with big number -- */
.card-stat {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  color: var(--color-white);
}

.card-stat .stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.card-stat .stat-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.6);
}

/* -- card-stat-light: Light background stat card -- */
.card-stat-light {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.card-stat-light .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.card-stat-light .stat-label {
  font-size: var(--text-xs);
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* -- card-program: Centered card with icon circle -- */
.card-program {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--easing-default);
}

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

.card-program .card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.card-program .card-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* -- card-news: Article / news card -- */
.card-news .card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* -- card-jornada: Event card with colored header -- */
.card-jornada {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--easing-default);
}

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

.card-jornada-header {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.card-jornada-header.bg-blue {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lav));
}

.card-jornada-header.bg-teal {
  background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal));
}

.card-jornada-header.bg-gold {
  background: linear-gradient(135deg, #8B6914, var(--color-gold));
}

.card-jornada-body {
  padding: var(--space-lg);
}

.card-jornada-tag {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-xs);
}


/* ================================================================
   6. FORM ELEMENTS
   ================================================================ */

/* Labels */
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: var(--space-xs);
}

.form-label .required {
  color: var(--color-error);
  margin-left: 2px;
}

/* Text inputs, textareas, selects */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--color-gray-900);
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--easing-default),
              box-shadow var(--duration-fast) var(--easing-default);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--color-gray-300);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

.form-input::placeholder {
  color: var(--color-gray-400);
}

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

/* Select with custom arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Small input */
.form-input-sm {
  padding: 8px 12px;
  font-size: var(--text-small);
}

/* Error state */
.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error {
  border-color: var(--color-error);
}

.form-input.is-error:focus,
.form-select.is-error:focus,
.form-textarea.is-error:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

/* Success state */
.form-input.is-success,
.form-select.is-success {
  border-color: var(--color-success);
}

.form-input.is-success:focus,
.form-select.is-success:focus {
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

/* Disabled */
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background: var(--color-gray-50);
  color: var(--color-gray-400);
  cursor: not-allowed;
}

/* Help text */
.form-help {
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  margin-top: var(--space-xs);
}

.form-error-msg {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-xs);
}

/* Form group */
.form-group {
  margin-bottom: var(--space-lg);
}

/* Form row (side-by-side fields) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: all var(--duration-fast) var(--easing-default);
  position: relative;
}

.form-check input[type="checkbox"]:checked {
  background: var(--color-teal);
  border-color: var(--color-teal);
}

.form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.form-check-label {
  font-size: var(--text-small);
  color: var(--color-gray-800);
  line-height: 1.4;
}

/* Radio */
.form-radio {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-radio input[type="radio"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  background: var(--color-white);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: all var(--duration-fast) var(--easing-default);
  position: relative;
}

.form-radio input[type="radio"]:checked {
  border-color: var(--color-teal);
}

.form-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-teal);
}

/* Form container (centered box for login/register) */
.form-container {
  max-width: 480px;
  margin: var(--space-3xl) auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.form-container h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.form-footer {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: var(--text-small);
  color: var(--color-gray-600);
}

/* File upload area */
.form-upload {
  border: 2px dashed var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--easing-default);
}

.form-upload:hover {
  border-color: var(--color-teal);
  background: rgba(42, 157, 143, 0.03);
}

.form-upload.is-dragging {
  border-color: var(--color-teal);
  background: rgba(42, 157, 143, 0.06);
}


/* ================================================================
   7. NAVIGATION — Header, Nav, Footer
   ================================================================ */

/* ---- Site Header ---- */
.site-header,
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-navy);
  border-bottom: 3px solid var(--color-gold);
  z-index: var(--z-sticky);
  transition: all var(--duration-normal) var(--easing-default);
}

.site-header.scrolled {
  height: var(--header-compact);
  background: rgba(13, 19, 51, 0.97);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Logo */
.site-logo,
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
}

.site-logo img,
.logo img {
  height: 36px;
  width: auto;
  transition: height var(--duration-normal) var(--easing-default);
}

.scrolled .site-logo img {
  height: 30px;
}

.logo span {
  color: var(--color-gold);
}

/* Main navigation */
.main-nav,
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.main-nav a,
.nav a {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--duration-fast) var(--easing-default);
}

.main-nav a:hover,
.main-nav a.active,
.nav a:hover,
.nav a.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

/* Active underline */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transform: translateX(-50%);
  transition: width var(--duration-normal) var(--easing-default);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 60%;
}

/* LAV highlight in nav */
.nav a.nav-lav,
.main-nav a.nav-lav {
  color: var(--color-gold);
  font-weight: 700;
}

.main-nav a.nav-lav::after {
  background: var(--color-gold);
}

/* Header CTA button */
.nav .btn-cta {
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-full);
}

.nav .btn-cta:hover {
  background: var(--color-gold-light);
}

/* Donate button in header */
.btn-donate-header {
  background: var(--color-teal);
  color: var(--color-white) !important;
  padding: 10px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: var(--tracking-wide);
  border: none;
  transition: all var(--duration-fast) var(--easing-default);
}

.btn-donate-header:hover {
  background: var(--color-teal-light);
  box-shadow: var(--shadow-glow-teal);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: all var(--duration-normal) var(--easing-default);
}

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

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

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

/* ---- Site Footer ---- */
.site-footer,
.footer {
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
}

.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--text-small);
}

.footer-col a {
  display: block;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--easing-default);
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-logo img {
  height: 40px;
  margin-bottom: var(--space-lg);
}

.footer-quote {
  font-style: italic;
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: all var(--duration-fast) var(--easing-default);
}

.footer-social a:hover {
  border-color: var(--color-teal);
  background: rgba(42, 157, 143, 0.15);
  color: var(--color-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.25);
}

.footer-501c3 {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
}

/* Newsletter form in footer */
.nl-form {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.nl-form input {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font-size: var(--text-small);
}

.nl-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.nl-form button {
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xs);
  cursor: pointer;
  transition: background var(--duration-fast) var(--easing-default);
}

.nl-form button:hover {
  background: var(--color-gold-light);
}


/* ================================================================
   8. SECTION LAYOUTS
   ================================================================ */

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background: var(--color-gray-50);
}

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

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

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

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

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

.container-wide {
  max-width: var(--container-wide);
}

.container-sm {
  max-width: var(--container-sm);
}

/* Section header (centered title block) */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--color-gray-600);
  max-width: 550px;
  margin: 0 auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
}

.hero-dark {
  background: var(--gradient-hero);
}

.hero-light {
  background: var(--color-white);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-dark .hero-content h1 {
  color: var(--color-white);
}

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

.hero-light .hero-content h1 {
  color: var(--color-navy);
}

.hero-light .hero-content h1 em {
  font-style: normal;
  color: var(--color-teal);
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  opacity: 0.08;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
}

/* LAV spotlight section */
.lav-spotlight {
  background: var(--color-navy-lav);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.lav-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}


/* ================================================================
   9. COUNTER / PROGRESS COMPONENTS
   ================================================================ */

/* Counter section (petition signatures, etc.) */
.counter-section {
  background: var(--gradient-hero);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.counter-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 750px;
  margin: 0 auto var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.counter-item {
  flex: 1;
  padding: var(--space-xl) var(--space-md);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.counter-item:last-child {
  border-right: none;
}

.counter-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.counter-num.gold {
  color: var(--color-gold);
}

.counter-num.white {
  color: var(--color-white);
}

.counter-num.teal {
  color: var(--color-teal);
}

.counter-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: var(--space-xs);
}

/* Progress bar */
.progress-wrap {
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  height: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-gold);
  transition: width var(--duration-slow) var(--easing-out);
}

/* Progress bar light variant */
.progress-wrap-light {
  background: var(--color-gray-100);
}

.progress-fill-teal {
  background: var(--gradient-cta);
}

/* LAV counter */
.lav-counter {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.lav-counter .counter-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
}

.lav-counter .counter-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-h4);
}

/* Impact stats grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.impact-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.impact-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.impact-label {
  font-size: var(--text-xs);
  color: var(--color-gray-600);
}

/* Stats grid (dark) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.stat-card {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* ================================================================
   10. GRID UTILITIES
   ================================================================ */

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-auto-sm {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* Alignment */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }


/* ================================================================
   11. ANIMATION & TRANSITION UTILITIES
   ================================================================ */

/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--easing-default),
              transform var(--duration-slow) var(--easing-default);
}

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

/* Fade in from left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--duration-slow) var(--easing-default),
              transform var(--duration-slow) var(--easing-default);
}

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

/* Fade in from right */
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--duration-slow) var(--easing-default),
              transform var(--duration-slow) var(--easing-default);
}

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

/* Scale in */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--duration-normal) var(--easing-default),
              transform var(--duration-normal) var(--easing-default);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Slide down (for dropdowns, panels) */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse (for live indicators) */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s var(--easing-default) infinite;
}

/* Spin (for loading) */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Count up number (for counters) */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger children delays */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 100ms; }
.stagger > *:nth-child(3) { transition-delay: 200ms; }
.stagger > *:nth-child(4) { transition-delay: 300ms; }
.stagger > *:nth-child(5) { transition-delay: 400ms; }
.stagger > *:nth-child(6) { transition-delay: 500ms; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
  }
}


/* ================================================================
   12. RESPONSIVE BREAKPOINTS
   ================================================================ */

/* ---- Tablet: max 768px ---- */
@media (max-width: 768px) {
  /* Header */
  .menu-toggle {
    display: block;
  }

  .main-nav,
  .nav {
    display: none;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: var(--color-navy-deep);
    padding: var(--space-4xl) var(--space-xl);
    gap: var(--space-lg);
    z-index: var(--z-modal);
    box-shadow: var(--shadow-xl);
    animation: slideDown var(--duration-normal) var(--easing-default);
  }

  .main-nav.open a {
    font-size: var(--text-body);
    padding: var(--space-md) var(--space-md);
  }

  .main-nav.open .btn-donate-header {
    background: var(--color-teal) !important;
    color: var(--color-white) !important;
    text-align: center !important;
    margin-top: var(--space-sm);
    border-radius: var(--radius-full) !important;
    font-weight: 600;
    padding: 14px 28px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Typography */
  h1, .text-hero {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
  }

  h2 {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
  }

  /* Sections */
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

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

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  /* Counter */
  .counter-grid {
    flex-direction: column;
    border: none;
    gap: var(--space-md);
  }

  .counter-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md);
  }

  .counter-item:last-child {
    border-bottom: none;
  }

  .lav-counter {
    flex-direction: column;
    text-align: center;
  }

  /* Cards */
  .card-body {
    padding: var(--space-md);
  }

  /* Buttons */
  .btn-lg {
    padding: 12px 24px;
    font-size: var(--text-small);
  }

  /* Timeline */
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: var(--space-2xl);
  }

  .timeline::before {
    left: 10px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    transform: none;
  }

  .timeline-item {
    text-align: left;
    padding-left: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .tl-dot {
    position: absolute;
    left: 0;
    margin: 0;
  }
}

/* ---- Mobile: max 480px ---- */
@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
  }

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

  .donation-amounts {
    gap: var(--space-sm);
  }

  .donation-amount {
    width: 80px;
    height: 80px;
    font-size: var(--text-h4);
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Desktop: min 1024px ---- */
@media (min-width: 1024px) {
  .grid-2-desktop {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3-desktop {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4-desktop {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---- Wide: min 1200px ---- */
@media (min-width: 1200px) {
  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
}


/* ================================================================
   13. WHATSAPP SECTION
   ================================================================ */

.wa-section {
  background: var(--gradient-whatsapp);
  padding: var(--space-xl) 0;
}

.wa-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.wa-inner h3 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-body);
  font-weight: 800;
  margin-bottom: 0;
}

.wa-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-xs);
  margin-bottom: 0;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--color-white);
  color: #075E54;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--easing-default);
}

.wa-btn:hover {
  background: #FFF3CD;
  transform: translateY(-1px);
  color: #075E54;
}

.wa-btn svg,
.wa-btn img {
  width: 20px;
  height: 20px;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: var(--z-overlay);
  transition: all var(--duration-fast) var(--easing-default);
  cursor: pointer;
  border: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}


/* ================================================================
   14. BADGE & TAG COMPONENTS
   ================================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

.badge-teal {
  background: rgba(42, 157, 143, 0.1);
  color: var(--color-teal);
}

.badge-gold {
  background: rgba(212, 144, 30, 0.1);
  color: var(--color-gold-dark);
}

.badge-navy {
  background: rgba(27, 27, 75, 0.1);
  color: var(--color-navy);
}

.badge-error {
  background: rgba(192, 57, 43, 0.1);
  color: var(--color-error);
}

.badge-info {
  background: rgba(52, 152, 219, 0.1);
  color: var(--color-info);
}

.badge-success {
  background: rgba(42, 157, 143, 0.1);
  color: var(--color-success);
}

.badge-warning {
  background: rgba(212, 144, 30, 0.1);
  color: var(--color-warning);
}

/* Solid badges */
.badge-solid-teal {
  background: var(--color-teal);
  color: var(--color-white);
}

.badge-solid-gold {
  background: var(--color-gold);
  color: var(--color-navy);
}

.badge-solid-navy {
  background: var(--color-navy);
  color: var(--color-white);
}

/* Badge with dot indicator */
.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: currentColor;
}

/* Tag (clickable / removable) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gray-200);
  color: var(--color-gray-800);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--duration-fast) var(--easing-default);
}

.tag:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.tag.active {
  background: rgba(42, 157, 143, 0.08);
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.tag-remove {
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
}

.tag-remove:hover {
  opacity: 1;
}

/* Draft badge (fixed position) */
.badge-draft {
  position: fixed;
  top: var(--space-md);
  right: var(--space-md);
  z-index: var(--z-toast);
  background: var(--color-teal);
  color: var(--color-white);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Status indicator */
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
}

.status-active .status-dot { background: var(--color-success); }
.status-pending .status-dot { background: var(--color-warning); }
.status-error .status-dot { background: var(--color-error); }
.status-inactive .status-dot { background: var(--color-gray-300); }


/* ================================================================
   15. TIMELINE COMPONENT
   ================================================================ */

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: var(--space-3xl) 0;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold), var(--color-gray-200));
  transform: translateY(-50%);
}

.timeline-item {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.tl-dot {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-md);
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--easing-default);
}

.tl-dot.done {
  background: var(--color-teal);
}

.tl-dot.active {
  background: var(--color-gold);
  width: 28px;
  height: 28px;
  box-shadow: var(--shadow-glow-gold);
}

.tl-dot.pending {
  background: var(--color-gray-200);
}

.tl-year {
  font-family: var(--font-heading);
  font-size: var(--text-body);
  font-weight: 800;
  color: var(--color-navy);
}

.tl-bill {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-teal);
  margin: 2px 0;
}

.tl-desc {
  font-size: var(--text-xs);
  color: var(--color-gray-600);
  max-width: 130px;
  margin: 0 auto;
}

/* Vertical timeline (for process/steps) */
.timeline-vertical {
  position: relative;
  padding-left: var(--space-3xl);
}

.timeline-vertical::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  width: 3px;
  height: 100%;
  background: var(--color-gray-100);
}

.timeline-vertical-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}

.timeline-vertical-item:last-child {
  padding-bottom: 0;
}

.timeline-vertical-dot {
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 5px);
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-teal);
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.timeline-vertical-dot.done {
  background: var(--color-teal);
}

.timeline-vertical-dot.active {
  background: var(--color-gold);
  box-shadow: var(--shadow-glow-gold);
}

.timeline-vertical-dot.pending {
  background: var(--color-gray-300);
}

.timeline-vertical-item h4 {
  margin-bottom: var(--space-xs);
}

.timeline-vertical-item p {
  font-size: var(--text-small);
  color: var(--color-gray-600);
  margin-bottom: 0;
}


/* ================================================================
   16. DONATION SECTION
   ================================================================ */

.donation-section {
  background: var(--gradient-hero);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.donation-section.donation-light {
  background: var(--color-gray-50);
}

.donation-amounts {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  flex-wrap: wrap;
}

.donation-amount {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--duration-fast) var(--easing-default);
}

.donation-amount:hover,
.donation-amount.selected {
  border-color: var(--color-teal);
  background: rgba(42, 157, 143, 0.15);
  box-shadow: var(--shadow-glow-teal);
}

/* Light donation amounts */
.donation-light .donation-amount {
  color: var(--color-navy);
  border-color: var(--color-gray-200);
  background: var(--color-white);
}

.donation-light .donation-amount:hover,
.donation-light .donation-amount.selected {
  border-color: var(--color-teal);
  background: rgba(42, 157, 143, 0.08);
  color: var(--color-teal);
}


/* ================================================================
   17. ADDITIONAL UTILITIES
   ================================================================ */

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Text colors */
.text-white { color: var(--color-white); }
.text-teal { color: var(--color-teal); }
.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }
.text-muted { color: var(--color-gray-600); }
.text-error { color: var(--color-error); }

/* Background colors */
.bg-white { background: var(--color-white); }
.bg-navy { background: var(--color-navy); }
.bg-navy-deep { background: var(--color-navy-deep); }
.bg-gray { background: var(--color-gray-50); }
.bg-teal { background: var(--color-teal); }

/* Spacing utilities */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }

.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }

.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }

.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-inline-flex { display: inline-flex; }

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-sm { max-width: var(--container-sm); }
.max-w-md { max-width: var(--container-md); }

/* Border */
.border { border: 1px solid var(--color-gray-200); }
.border-top { border-top: 1px solid var(--color-gray-200); }
.border-bottom { border-bottom: 1px solid var(--color-gray-200); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-none { box-shadow: none; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Relative / absolute positioning */
.relative { position: relative; }
.absolute { position: absolute; }

/* Truncate text */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ================================================================
   18. ACCESSIBILITY
   ================================================================ */

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: var(--z-tooltip);
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  transition: top var(--duration-fast);
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}


/* ================================================================
   19. REQUISITOS / CHECKLIST COMPONENTS
   ================================================================ */

.req-list {
  max-width: 700px;
  margin: 0 auto;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 18px 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.req-item:last-child {
  border-bottom: none;
}

.req-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: var(--radius-full);
  background: rgba(42, 157, 143, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.req-item strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 2px;
  color: var(--color-gray-800);
}

.req-item span {
  font-size: var(--text-small);
  color: var(--color-gray-600);
}

/* Exclusion list */
.excl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.excl-item:last-child {
  border-bottom: none;
}

.excl-x {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: var(--radius-full);
  background: rgba(192, 57, 43, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-error);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}


/* ================================================================
   20. CTA SECTION
   ================================================================ */

.cta-section {
  background: var(--gradient-hero);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-body);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}


/* ================================================================
   21. ALERT / NOTIFICATION COMPONENTS
   ================================================================ */

.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--text-small);
  line-height: var(--leading-normal);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.alert-info {
  background: rgba(52, 152, 219, 0.08);
  border-left: 4px solid var(--color-info);
  color: var(--color-gray-800);
}

.alert-success {
  background: rgba(42, 157, 143, 0.08);
  border-left: 4px solid var(--color-success);
  color: var(--color-gray-800);
}

.alert-warning {
  background: rgba(212, 144, 30, 0.08);
  border-left: 4px solid var(--color-warning);
  color: var(--color-gray-800);
}

.alert-error {
  background: rgba(192, 57, 43, 0.08);
  border-left: 4px solid var(--color-error);
  color: var(--color-gray-800);
}

/* Toast notification */
.toast {
  position: fixed;
  top: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-toast);
  min-width: 300px;
  max-width: 420px;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  animation: slideDown var(--duration-normal) var(--easing-default);
}


/* ================================================================
   22. TABLE COMPONENT
   ================================================================ */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-100);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
}

.table thead {
  background: var(--color-gray-50);
}

.table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-gray-600);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--color-gray-100);
}

.table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-gray-50);
  color: var(--color-gray-800);
}

.table tbody tr:hover {
  background: var(--color-gray-50);
}

.table tbody tr:last-child td {
  border-bottom: none;
}


/* ================================================================
   23. MODAL / OVERLAY
   ================================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 19, 51, 0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp var(--duration-normal) var(--easing-default);
}

.modal-header {
  padding: var(--space-xl) var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  margin-bottom: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-gray-50);
  color: var(--color-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--easing-default);
}

.modal-close:hover {
  background: var(--color-gray-100);
  color: var(--color-gray-800);
}

.modal-body {
  padding: var(--space-xl);
}

.modal-footer {
  padding: 0 var(--space-xl) var(--space-xl);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
}


/* ================================================================
   24. WIZARD / MULTI-STEP FORM
   ================================================================ */

.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-2xl);
  padding: 0 var(--space-xl);
}

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

.wizard-step-dot {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 700;
  border: 2px solid var(--color-gray-200);
  background: var(--color-white);
  color: var(--color-gray-400);
  transition: all var(--duration-normal) var(--easing-default);
  flex-shrink: 0;
}

.wizard-step.active .wizard-step-dot {
  border-color: var(--color-teal);
  background: var(--color-teal);
  color: var(--color-white);
}

.wizard-step.done .wizard-step-dot {
  border-color: var(--color-teal);
  background: var(--color-teal);
  color: var(--color-white);
}

.wizard-step-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gray-400);
  margin-top: var(--space-xs);
  text-align: center;
  max-width: 80px;
}

.wizard-step.active .wizard-step-label {
  color: var(--color-teal);
}

.wizard-step.done .wizard-step-label {
  color: var(--color-gray-800);
}

.wizard-connector {
  width: 60px;
  height: 2px;
  background: var(--color-gray-200);
  flex-shrink: 0;
}

.wizard-step.done + .wizard-step .wizard-connector,
.wizard-step.done ~ .wizard-connector {
  background: var(--color-teal);
}


/* ================================================================
   25. DIVIDER
   ================================================================ */

.divider {
  height: 1px;
  background: var(--color-gray-100);
  border: none;
  margin: var(--space-xl) 0;
}

.divider-gold {
  height: 3px;
  background: var(--gradient-gold);
  border: none;
}

.divider-teal {
  height: 3px;
  background: var(--gradient-cta);
  border: none;
}


/* ================================================================
   END OF DESIGN SYSTEM
   ================================================================ */
