/* ==========================================================================
   ShelterMeds — styles.css
   Edit the CSS custom properties in :root to update the palette site-wide.
   ========================================================================== */


/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  /* Brand colors — adjust these to update the full palette */
  --color-primary:       #1d7e84;
  --color-primary-dark:  #135a5f;
  --color-primary-light: #2e9da6;
  --color-accent:        #c96b3e;
  --color-accent-dark:   #a8542f;

  /* Surface colors */
  --color-bg:            #f8f6f1;
  --color-bg-soft:       #eef7f7;
  --color-bg-dark:       #1a2d35;
  --color-white:         #ffffff;

  /* Text */
  --color-text:          #1e2d3d;
  --color-muted:         #5c6e78;
  --color-border:        #c4d9dc;

  /* Typography */
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Helvetica, Arial, sans-serif;

  /* Shape */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Shadow */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 18px rgba(0,0,0,0.09);
  --shadow-lg:  0 8px 36px rgba(0,0,0,0.11);

  /* Layout */
  --container-max: 1120px;
  --container-pad: 1.5rem;
  --header-height: 68px;
}


/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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


/* ===========================
   SKIP LINK (accessibility)
   =========================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
}


/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--color-text);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--color-text);
  max-width: 68ch;
}

.text-muted {
  color: var(--color-muted);
}

.text-center { text-align: center; }

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-muted);
}

/* Eyebrow label above headings */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}


/* ===========================
   LAYOUT UTILITIES
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: 5rem 0;
}

.section--soft {
  background-color: var(--color-bg-soft);
}

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

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

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

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

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

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 0.75rem auto 0;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inline-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}


/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 3px;
}

/* Primary teal */
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

/* Outlined teal */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

/* White outlined (for dark backgrounds) */
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.7);
}

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

/* Donate / accent */
.btn-donate,
.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-donate:hover,
.btn-accent:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

/* Size variants */
.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}


/* ===========================
   CARDS
   =========================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.card--soft {
  background: var(--color-bg-soft);
  border-color: rgba(196,217,220,0.4);
  box-shadow: none;
}

.card--feature {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
}


/* ===========================
   SITE HEADER & NAV
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-primary);
}

.logo-mark {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 2px;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.main-nav ul li a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.main-nav ul li a:hover,
.main-nav ul li a[aria-current="page"] {
  background: var(--color-bg-soft);
  color: var(--color-primary);
  text-decoration: none;
}

.main-nav ul li a[aria-current="page"] {
  font-weight: 600;
}

.nav-donate {
  margin-left: 0.75rem;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 8px;
  z-index: 210;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

/* Active hamburger animation */
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ===========================
   HERO SECTIONS
   =========================== */
.page-hero {
  padding: 4rem 0 3.5rem;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero .lead {
  max-width: 58ch;
}


/* Homepage hero */
.home-hero {
  padding: 4.5rem 0 4rem;
  background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
}

.home-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.home-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-hero-content h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
}

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

.home-hero-visual {
  position: relative;
}

.hero-image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg-soft);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Generic image frame — apply to any container that holds a cover image */
.img-frame {
  overflow: hidden;
}

/* All image frame containers — fill the frame and crop, never stretch */
.hero-image-frame img,
.problem-image img,
.solution-image img,
.shelters-cta-image img,
.about-image img,
.monthly-image img,
.honor-card img,
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--color-border);
}

.overlay-icon {
  width: 36px;
  height: 36px;
  background: var(--color-bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overlay-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--color-text);
  font-weight: 500;
}


/* ===========================
   HOMEPAGE: PROBLEM SECTION
   =========================== */
.problem-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-content h2 {
  margin-bottom: 1.25rem;
}

.problem-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-soft);
  aspect-ratio: 5/4;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ===========================
   HOMEPAGE: SOLUTION SECTION
   =========================== */
.solution-section {
  padding: 5rem 0;
  background: var(--color-bg-soft);
}

.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.solution-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  aspect-ratio: 5/4;
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;
}

.solution-content h2 {
  margin-bottom: 1.25rem;
}


/* ===========================
   HOMEPAGE: IMPACT TIERS
   =========================== */
.impact-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.tier-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tier-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tier-card.featured {
  border-color: var(--color-primary);
  background: var(--color-bg-soft);
}

.tier-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.tier-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.tier-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
  flex-grow: 1;
  max-width: none;
}

.tier-card .btn {
  width: 100%;
  margin-top: auto;
}


/* ===========================
   HOMEPAGE: HOW WE HELP
   =========================== */
.help-section {
  padding: 5rem 0;
  background: var(--color-bg-soft);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.help-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.help-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.help-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.help-card p {
  font-size: 0.92rem;
  color: var(--color-muted);
  max-width: none;
}


/* ===========================
   HOMEPAGE: TRANSPARENCY
   =========================== */
.transparency-section {
  padding: 5rem 0;
  background: var(--color-primary-dark);
}

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

.transparency-section .lead {
  color: rgba(255,255,255,0.82);
}

.transparency-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  max-width: none;
  line-height: 1.4;
}


/* ===========================
   HOMEPAGE: SHELTERS CTA
   =========================== */
.shelters-cta-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.shelters-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.shelters-cta-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shelters-cta-content h2 {
  margin-bottom: 1.25rem;
}


/* ===========================
   HOMEPAGE: FINAL CTA
   =========================== */
.final-cta-section {
  padding: 6rem 0;
  background: linear-gradient(160deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
  text-align: center;
}

.final-cta-section h2 {
  max-width: 28ch;
  margin: 0 auto 1.25rem;
}

.final-cta-section .lead {
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}


/* ===========================
   ABOUT PAGE
   =========================== */
.about-content {
  padding: 5rem 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-sidebar {
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-soft);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-values {
  padding: 5rem 0;
  background: var(--color-bg-soft);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.value-card h3 {
  font-size: 1.05rem;
  margin: 0.75rem 0 0.5rem;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--color-muted);
  max-width: none;
}


/* ===========================
   HOW IT WORKS PAGE
   =========================== */
.steps-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  position: relative;
}

.steps-list::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: var(--color-border);
}

.step-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.75rem;
  align-items: start;
  padding: 0 0 2.5rem;
  position: relative;
}

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

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.step-content h3 {
  font-size: 1.2rem;
  padding-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--color-muted);
  font-size: 0.95rem;
  max-width: none;
}

.support-includes {
  padding: 5rem 0;
  background: var(--color-bg-soft);
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.include-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.include-item h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.include-item p {
  font-size: 0.88rem;
  color: var(--color-muted);
  max-width: none;
}

.donation-builds {
  padding: 5rem 0;
  background: var(--color-white);
}

.builds-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.build-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.build-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.build-item p {
  color: var(--color-text);
  font-size: 0.95rem;
  max-width: none;
}


/* ===========================
   FOR SHELTERS PAGE
   =========================== */
.shelter-who {
  padding: 5rem 0;
  background: var(--color-white);
}

.shelter-who-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.shelter-how {
  padding: 5rem 0;
  background: var(--color-bg-soft);
}

.shelter-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.shelter-how-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.shelter-how-card h3 {
  font-size: 1.05rem;
  margin: 0.75rem 0 0.5rem;
}

.shelter-how-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: none;
}

.shelter-contact {
  padding: 5rem 0;
  background: var(--color-white);
}

.shelter-contact-note {
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  border: 1px solid var(--color-border);
  font-size: 0.92rem;
  color: var(--color-muted);
  max-width: 60ch;
}


/* ===========================
   DONATE PAGE
   =========================== */
.donate-intro {
  padding: 4.5rem 0;
  background: var(--color-bg-soft);
}

.donate-intro-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.donate-tiers {
  padding: 5rem 0;
  background: var(--color-white);
}

.donate-monthly {
  padding: 5rem 0;
  background: var(--color-bg-soft);
}

.monthly-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.monthly-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 420px;
  width: 100%;
  margin-left: auto;
}

.donate-honor {
  padding: 5rem 0;
  background: var(--color-white);
}

.honor-card {
  background: var(--color-bg-soft);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  border: 1px solid var(--color-border);
}

.donate-trust {
  padding: 5rem 0;
  background: var(--color-bg-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.trust-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.trust-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.trust-item p {
  font-size: 0.87rem;
  color: var(--color-muted);
  max-width: none;
}

.donate-legal {
  padding: 3rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.legal-box {
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  border: 1px solid var(--color-border);
}

.legal-box p {
  font-size: 0.88rem;
  color: var(--color-muted);
  max-width: none;
}


/* ===========================
   CONTACT PAGE
   =========================== */
.contact-split {
  padding: 5rem 0;
  background: var(--color-white);
}

.contact-split-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

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

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: none;
}

.contact-info-item a {
  color: var(--color-primary);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--color-bg-soft);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29,126,132,0.12);
}

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

.form-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  padding: 0.75rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

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


/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.82);
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .site-logo .logo-name {
  color: var(--color-white);
}

.footer-brand .site-logo .logo-tagline {
  color: rgba(255,255,255,0.5);
}

.footer-brand .site-logo:hover .logo-name {
  color: var(--color-primary-light);
}

.footer-mission {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  max-width: 30ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: var(--color-white);
  text-decoration: none;
}

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  max-width: none;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-contact a {
  color: var(--color-primary-light);
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-legal {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  max-width: 60ch;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}


/* ===========================
   INLINE SVG ICONS
   =========================== */
.icon {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-teal { color: var(--color-primary); }
.icon-white { color: var(--color-white); }
.icon-accent { color: var(--color-accent); }


/* ===========================
   NOTICE / CALLOUT
   =========================== */
.notice {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.notice strong {
  color: var(--color-text);
}


/* ===========================
   STAT / NUMBER CALLOUT
   =========================== */
.stat-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 500;
}


/* ===========================
   ACTIVE NAV INDICATOR
   =========================== */
.main-nav a.active:not(.btn) {
  background: var(--color-bg-soft);
  color: var(--color-primary);
  font-weight: 600;
}


/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 900px) {
  :root {
    --container-pad: 1.25rem;
  }

  .home-hero-inner,
  .problem-inner,
  .solution-inner,
  .transparency-inner,
  .shelters-cta-inner,
  .two-col,
  .about-inner,
  .monthly-inner,
  .shelter-who-inner,
  .donate-intro-inner,
  .contact-split-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .solution-image { order: 1; }

  .home-hero { padding: 3.5rem 0 3rem; }

  .hero-overlay-card {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }

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

  .honor-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .about-sidebar {
    position: static;
  }
}


/* ===========================
   RESPONSIVE — MOBILE NAV
   =========================== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    inset: var(--header-height) 0 0;
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.5rem 1.5rem 2rem;
    overflow-y: auto;
    border-top: 1px solid var(--color-border);
    z-index: 199;
    gap: 0.5rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
  }

  .main-nav ul li a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .nav-donate {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-donate .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
}


/* ===========================
   RESPONSIVE — SMALL MOBILE
   =========================== */
@media (max-width: 520px) {
  :root {
    --container-pad: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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

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

  .tier-card:last-child {
    grid-column: 1 / -1;
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }

  .stat-row {
    gap: 1.5rem;
  }
}

@media (max-width: 360px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }
}


/* ===========================
   FOCUS STATES (accessibility)
   =========================== */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}
