/*
Theme Name: St. Vincent de Paul
Theme URI: https://svdp.us
Author: SVdP IT
Author URI: https://svdp.us
Description: Custom theme for St. Vincent de Paul of Lane County - matching the static site design exactly.
Version: 1.0.0
License: Private
Text Domain: svdp
*/

/* ============================================================
   ST. VINCENT DE PAUL - MODERN REDESIGN
   Premium nonprofit design system with modern CSS
   ============================================================ */

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

:root {
  /* SVdP Brand Palette */
  --svdp-red: #ed1c24;
  --svdp-red-rgb: 237, 28, 36;
  --svdp-red-dark: #c41820;
  --svdp-red-light: #f23a41;
  --svdp-blue: #2ea3f2;
  --svdp-blue-rgb: 46, 163, 242;
  --black: #000000;
  --charcoal: #333333;
  --charcoal-rgb: 51, 51, 51;
  --body-gray: #666666;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --cream: #f0ece4;
  --light-gray: #e9ecef;
  --mid-gray: #adb5bd;
  --gray: #6c757d;
  --dark-gray: #495057;
  --text-dark: #333333;
  --text-body: #666666;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-xl: 0 25px 80px rgba(0,0,0,0.2);
  --shadow-red: 0 8px 30px rgba(var(--svdp-red-rgb), 0.25);

  /* Layout */
  --max-width: 1240px;
  --header-height: 80px;
  --section-pad: clamp(60px, 8vw, 120px);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  /* Border Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(var(--svdp-red-rgb), 0.2);
  color: var(--charcoal);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* ============================================================
   UTILITY BAR (top)
   ============================================================ */
.top-bar {
  background: var(--svdp-red);
  padding: 6px 0;
  position: relative;
  z-index: 1001;
  border-bottom: none;
}
.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.top-bar a {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.top-bar a.donate-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.5);
}
.top-bar a.donate-btn:hover {
  background: var(--white);
  color: var(--svdp-red);
  transform: translateY(-1px);
}
.top-bar a.help-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.5);
}
.top-bar a.help-btn:hover {
  background: var(--white);
  color: var(--svdp-red);
  transform: translateY(-1px);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.main-header {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.main-header.scrolled {
  background: rgba(0,0,0,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  height: var(--header-height);
}

.logo img {
  height: 56px;
  width: auto;
  transition: transform var(--transition);
}
.logo a {
  display: flex;
  align-items: center;
}
.logo a:hover img {
  transform: scale(1.03);
}

/* Desktop Navigation */
.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; gap: 0; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  padding: 28px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all var(--transition-fast);
  position: relative;
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--svdp-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
  border-radius: 1px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li:hover > a {
  color: var(--white);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li:hover > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown */
.main-nav .dropdown,
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 999;
  border: 1px solid rgba(0,0,0,0.06);
}
.main-nav > ul > li:hover > .dropdown,
.main-nav > ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.main-nav .dropdown li a,
.main-nav .sub-menu li a {
  display: block;
  padding: 12px 22px;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}
.main-nav .dropdown li a::before,
.main-nav .sub-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--svdp-red);
  transform: scaleY(0);
  transition: transform 0.25s var(--ease-out);
}
.main-nav .dropdown li a:hover,
.main-nav .sub-menu li a:hover {
  background: var(--off-white);
  color: var(--svdp-red);
  padding-left: 28px;
}
.main-nav .dropdown li a:hover::before,
.main-nav .sub-menu li a:hover::before {
  transform: scaleY(1);
}
.main-nav .dropdown li:last-child a,
.main-nav .sub-menu li:last-child a { border-bottom: none; }

/* Sub-dropdown */
.main-nav .dropdown li { position: relative; }
.main-nav .sub-menu li { position: relative; }
.main-nav .dropdown .sub-dropdown,
.main-nav .sub-menu .sub-menu {
  position: absolute;
  left: 100%;
  top: -1px;
  background: var(--white);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.3s var(--ease-out);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.main-nav .dropdown li:hover > .sub-dropdown,
.main-nav .sub-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--svdp-red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--svdp-red-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}

.btn-secondary {
  background: transparent;
  color: var(--svdp-red);
  border: 2px solid var(--svdp-red);
  padding: 12px 30px;
}
.btn-secondary:hover {
  background: var(--svdp-red);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}

.btn-orange {
  background: var(--svdp-red);
  color: var(--white);
  padding: 16px 40px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(237,28,36,0.4);
}
.btn-orange:hover {
  background: var(--white);
  color: var(--svdp-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(237,28,36,0.5);
}

.btn-white {
  background: var(--white);
  color: var(--charcoal);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: clamp(500px, 80vh, 900px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
}
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 20px;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.95);
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-logo {
  max-width: 280px;
  width: 40%;
  margin: 0 auto 32px;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,0.5));
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease infinite;
}
.hero-scroll i { font-size: 1.2rem; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION SYSTEM
   ============================================================ */
section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 5vw, 70px);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--svdp-red);
  margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--svdp-red);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 18px;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--text-body);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.8;
}

/* ============================================================
   COMMUNITY CARE (About Preview)
   ============================================================ */
.community-care {
  background: var(--white);
  overflow: hidden;
}
.community-care-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.community-care-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.community-care-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.community-care-img:hover img {
  transform: scale(1.04);
}
.community-care-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  pointer-events: none;
}
.community-care-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
}
.community-care-text p {
  margin-bottom: 18px;
  line-height: 1.85;
  color: var(--text-body);
}

/* ============================================================
   IMPACT SECTION (Counters)
   ============================================================ */
.impact-section {
  background: linear-gradient(160deg, var(--svdp-red) 0%, #b01018 50%, #8a0c12 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.impact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.impact-section .section-label {
  color: rgba(255,255,255,0.9);
}
.impact-section .section-label::before,
.impact-section .section-label::after {
  background: rgba(255,255,255,0.5);
}
.impact-section .section-title { color: var(--white); }
.impact-section .section-subtitle { color: rgba(255,255,255,0.85); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.impact-item {
  padding: 30px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.impact-item:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.impact-item h3 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 800;
}
.impact-item p {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

/* ============================================================
   GET INVOLVED CARDS
   ============================================================ */
.get-involved {
  background: var(--off-white);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--svdp-red);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  z-index: 2;
}
.card:hover::before {
  transform: scaleX(1);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
  pointer-events: none;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.card:hover .card-img img { transform: scale(1.08); }
.card-body {
  padding: clamp(20px, 3vw, 30px);
}
.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--charcoal);
  font-weight: 700;
}
.card-body p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 20px;
  color: var(--text-body);
}
.card-body .btn {
  font-size: 0.75rem;
  padding: 10px 24px;
}

/* ============================================================
   NEWS & EVENTS
   ============================================================ */
.news-section { background: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.news-card-img {
  height: 200px;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body {
  padding: clamp(18px, 3vw, 28px);
}
.news-card-body .date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-card-body .date a { color: var(--svdp-red); }
.news-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card-body h3 a { color: var(--charcoal); transition: color var(--transition-fast); }
.news-card-body h3 a:hover { color: var(--svdp-red); }
.news-card-body p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-body);
}
.news-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--svdp-red);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
}
.news-card-body .read-more i {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}
.news-card-body .read-more:hover {
  color: var(--svdp-red-dark);
  gap: 10px;
}
.news-card-body .read-more:hover i {
  transform: translateX(3px);
}

/* ============================================================
   STORE LOCATIONS
   ============================================================ */
.stores-section {
  background: var(--off-white);
}
.stores-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.stores-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 18px;
}
.stores-text p {
  line-height: 1.85;
  margin-bottom: 18px;
}
.stores-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.stores-map:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stores-map img {
  width: 100%;
  display: block;
}
.stores-badges {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stores-badges img { height: 65px; width: auto; }

/* ============================================================
   EMAIL SIGNUP / CTA BAND
   ============================================================ */
.email-signup {
  background: var(--svdp-red);
  padding: clamp(50px, 7vw, 80px) 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.email-signup::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.email-signup-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  flex-direction: column;
  position: relative;
}
.email-signup-inner img { height: 70px; filter: brightness(0) invert(1); opacity: 0.9; }
.email-signup-inner h3 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 10px;
}
.email-signup-inner p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
}
.email-signup-inner .btn {
  background: var(--white);
  color: var(--svdp-red);
  font-weight: 800;
}
.email-signup-inner .btn:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: clamp(50px, 7vw, 80px) 0 0;
  position: relative;
}
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--svdp-red);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 50px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 8px;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-fast);
}
.footer-col a:hover { color: var(--svdp-blue); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--svdp-blue);
  transform: translateX(4px);
}
.footer-logo { margin-bottom: 22px; }
.footer-logo img { height: 45px; width: auto; }
.footer-phone a {
  color: var(--svdp-blue);
  font-weight: 700;
  font-size: 1.05rem;
}

.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}
.social-links a:hover {
  background: var(--svdp-red);
  border-color: var(--svdp-red);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(var(--svdp-red-rgb), 0.3);
}

.footer-badges {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.footer-badges img { height: 50px; width: auto; opacity: 0.85; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero {
  position: relative;
  height: clamp(350px, 50vh, 500px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-intro {
  text-align: center;
  padding-bottom: 0;
}
.directory-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.directory-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-full);
  color: var(--svdp-red);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}
.directory-links a:hover {
  background: var(--svdp-red);
  color: var(--white);
  border-color: var(--svdp-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(237,28,36,0.2);
}

.service-block {
  padding: clamp(50px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--light-gray);
}
.service-block:nth-child(even) { background: var(--off-white); }
.service-block-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.service-block-header img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.service-block-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.service-block-info .icon {
  width: 52px;
  flex-shrink: 0;
  padding: 10px;
  background: rgba(var(--svdp-red-rgb), 0.08);
  border-radius: var(--radius);
}
.service-block-info .icon img { width: 100%; }
.service-block-info h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--charcoal);
  margin-bottom: 14px;
}
.service-block-info p {
  line-height: 1.85;
  margin-bottom: 15px;
}
.service-programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--svdp-red);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.program-card:hover::before { opacity: 1; }
.program-card h4 {
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.program-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.program-card .btn { font-size: 0.72rem; padding: 8px 20px; }

/* ============================================================
   INNER PAGES (Generic)
   ============================================================ */
.page-hero {
  background: var(--svdp-red);
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.06) 100%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 14px;
  position: relative;
}
.page-hero p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

/* Page content with side nav support */
.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}
.page-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}
.page-sidebar nav ul li {
  margin-bottom: 4px;
}
.page-sidebar nav ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}
.page-sidebar nav ul li a:hover,
.page-sidebar nav ul li a.active {
  color: var(--svdp-red);
  background: rgba(var(--svdp-red-rgb), 0.06);
  border-left-color: var(--svdp-red);
}

.page-content {
  padding: var(--section-pad) 0;
}
.page-content p {
  margin-bottom: 20px;
  line-height: 1.85;
  font-size: 1rem;
}
.page-content h2 {
  margin: clamp(30px, 4vw, 50px) 0 16px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.page-content h3 {
  margin: 28px 0 12px;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

/* Content cards for inner pages */
.content-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  margin-bottom: 24px;
  transition: all var(--transition);
}
.content-card:hover {
  border-color: rgba(var(--svdp-red-rgb), 0.2);
  box-shadow: var(--shadow-sm);
}
.content-card h3 {
  margin-top: 0;
  color: var(--charcoal);
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: rgba(var(--svdp-red-rgb), 0.2);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--charcoal);
  font-size: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: all var(--transition-fast);
}
.faq-question:hover { color: var(--svdp-red); }
.faq-question i {
  font-size: 0.8rem;
  transition: transform var(--transition);
  color: var(--svdp-red);
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}
.faq-item.open .faq-answer {
  padding: 0 24px 20px;
  max-height: 400px;
}
.faq-answer p { margin-bottom: 0; }

/* Feature grid for inner pages */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}
.feature-card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--svdp-red-rgb), 0.15);
}
.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(var(--svdp-red-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
  color: var(--svdp-red);
}
.feature-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.82rem;
  color: var(--gray);
}
.breadcrumbs a { color: var(--svdp-red); font-weight: 600; }
.breadcrumbs a:hover { color: var(--svdp-red-dark); }
.breadcrumbs span { margin: 0 8px; color: var(--mid-gray); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--svdp-red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(var(--svdp-red-rgb), 0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--svdp-red-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(var(--svdp-red-rgb), 0.4);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.reveal-left {
  transform: translateX(-40px);
}
.reveal.reveal-left.visible {
  transform: translateX(0);
}
.reveal.reveal-right {
  transform: translateX(40px);
}
.reveal.reveal-right.visible {
  transform: translateX(0);
}
.reveal.reveal-scale {
  transform: scale(0.92);
}
.reveal.reveal-scale.visible {
  transform: scale(1);
}

/* Staggered children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.4s; }
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Counter animation */
.counter { display: inline-block; }

/* ============================================================
   WORDPRESS-SPECIFIC STYLES
   ============================================================ */
/* WordPress alignment classes */
.alignleft { float: left; margin: 0 1.5em 1.5em 0; }
.alignright { float: right; margin: 0 0 1.5em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1.5em; }
.alignwide { max-width: calc(var(--max-width) + 100px); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

/* WordPress image captions */
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  padding: 8px 0;
}

/* WordPress gallery */
.gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-item { flex: 1 0 calc(33.333% - 8px); }
.gallery-item img { width: 100%; height: auto; }

/* Screen reader text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

/* WordPress admin bar offset */
body.admin-bar .main-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .main-header {
    top: 46px;
  }
}

/* WordPress block editor content */
.entry-content > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Blog post styles */
.blog-listing {
  padding: var(--section-pad) 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body {
  padding: clamp(18px, 3vw, 28px);
}
.blog-card-body .meta {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-body h3 a { color: var(--charcoal); }
.blog-card-body h3 a:hover { color: var(--svdp-red); }
.blog-card-body p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-body);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.pagination a {
  background: var(--off-white);
  color: var(--text-dark);
  border: 1px solid var(--light-gray);
}
.pagination a:hover {
  background: var(--svdp-red);
  color: var(--white);
  border-color: var(--svdp-red);
}
.pagination span.current {
  background: var(--svdp-red);
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .main-nav > ul > li > a { padding: 28px 11px; font-size: 0.78rem; }
  .impact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-layout { grid-template-columns: 1fr; gap: 0; }
  .page-sidebar { display: none; }
}

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

  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100dvh;
    background: var(--charcoal);
    flex-direction: column;
    padding: 90px 24px 30px;
    transition: right 0.4s var(--ease-out);
    overflow-y: auto;
    z-index: 1001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .main-nav.open { right: 0; }
  .main-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .main-nav > ul > li > a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
  }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav .dropdown,
  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    border: none;
    border-radius: 0;
    min-width: auto;
    display: none;
  }
  .main-nav .dropdown.show,
  .main-nav .sub-menu.show { display: block; }
  .main-nav .dropdown li a,
  .main-nav .sub-menu li a {
    color: rgba(255,255,255,0.75);
    border-bottom-color: rgba(255,255,255,0.04);
    padding-left: 20px;
    font-size: 0.85rem;
  }
  .main-nav .dropdown li a::before,
  .main-nav .sub-menu li a::before { display: none; }
  .main-nav .dropdown li a:hover,
  .main-nav .sub-menu li a:hover {
    background: rgba(255,255,255,0.06);
    padding-left: 24px;
    color: var(--white);
  }
  .main-nav .dropdown .sub-dropdown,
  .main-nav .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.02);
    min-width: auto;
  }
  .nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .nav-overlay.active {
    display: block;
    opacity: 1;
  }

  .hero { height: clamp(500px, 75vh, 650px); }
  .hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-scroll { display: none; }
  .hero-logo { max-width: 160px; width: 35%; margin-bottom: 16px; }

  .community-care-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .news-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .stores-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .service-block-header { grid-template-columns: 1fr; }
  .service-programs { grid-template-columns: 1fr; }

  .page-hero {
    padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 6vw, 60px);
  }

  .directory-links { gap: 6px; }
  .directory-links a { font-size: 0.75rem; padding: 6px 14px; }

  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.7rem; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .impact-item { padding: 20px 12px; }
  .impact-item h3 { font-size: 1.7rem; }
  .top-bar .container { justify-content: center; }
  .btn { padding: 12px 24px; font-size: 0.8rem; }
  .cards-grid, .news-grid { max-width: 100%; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .top-bar, .main-header, .back-to-top, .hero-video, .hero-overlay,
  .nav-overlay, .hamburger { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
