/* ═══════════════════════════════════════════════════════════════
   LA FRESCA NETWORK — REDESIGN STYLES (additive to styles.css)
   Photo-forward, warm, community storytelling
   ═══════════════════════════════════════════════════════════════ */

:root {
  --lf-teal: #009791;
  --lf-teal-dark: #00736e;
  --lf-orange: #f39200;
  --lf-orange-dark: #d97c00;
  --lf-cream: #fdf8ee;
  --lf-warm: #fff5e1;
  --lf-ink: #1f2a2a;
  --lf-muted: #5a6a6a;
  --lf-border: rgba(0, 0, 0, 0.08);
  --lf-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --lf-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
  --lf-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
  --lf-radius: 14px;
}

/* ─── Inline SVG icon helpers ─── */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-lg { width: 36px; height: 36px; }
.icon-xl { width: 56px; height: 56px; }
.icon-sm { width: 18px; height: 18px; }

/* ─── HERO PHOTO ─── */
.hero-photo {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(0, 60, 58, 0.85) 0%,
    rgba(0, 115, 110, 0.7) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: -1;
}
.hero-content-photo {
  max-width: 760px;
  padding: 6rem 2rem 5rem;
  color: #fff;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-content-photo h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-accent { color: var(--lf-orange); }
.hero-content-photo .lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 620px;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── BUTTONS (additive) ─── */
.btn-white {
  background: #fff;
  color: var(--lf-teal-dark);
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--lf-shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--lf-shadow-lg); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 0.95rem 1.75rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--lf-cream);
  padding: 3rem 0;
  border-bottom: 1px solid var(--lf-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lf-teal);
  box-shadow: var(--lf-shadow-sm);
  margin-bottom: 0.5rem;
}
.stat-cell .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lf-teal-dark);
  line-height: 1;
}
.stat-cell .stat-label {
  font-size: 0.95rem;
  color: var(--lf-muted);
  font-weight: 500;
}

/* ─── SPLIT SECTIONS (image + text) ─── */
.split-section {
  padding: 5rem 0;
}
.section-warm { background: var(--lf-warm); }
.section-cream { background: var(--lf-cream); }
.split-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-image {
  position: relative;
  border-radius: var(--lf-radius);
  overflow: hidden;
  box-shadow: var(--lf-shadow-lg);
  aspect-ratio: 4 / 3;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}
.split-content .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lf-orange-dark);
  margin-bottom: 0.75rem;
}
.split-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: var(--lf-ink);
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.split-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lf-muted);
  margin-bottom: 1rem;
}
.split-content .btn,
.split-content .btn-primary {
  margin-top: 1rem;
}
.split-reverse .split-grid {
  direction: rtl;
}
.split-reverse .split-grid > * {
  direction: ltr;
}

/* ─── MISSION PILLARS PREVIEW ─── */
.pillars-preview {
  padding: 5rem 0;
  background: #fff;
}
.pillars-preview .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.pillars-preview .section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--lf-ink);
  margin-bottom: 0.75rem;
  font-weight: 800;
}
.pillars-preview .section-head p {
  color: var(--lf-muted);
  font-size: 1.1rem;
}
.pillars-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-card {
  background: var(--lf-cream);
  border-radius: var(--lf-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--lf-border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lf-shadow-md);
}
.pillar-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}
.pillar-card h3 {
  color: var(--lf-teal-dark);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.pillar-card p {
  color: var(--lf-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.pillars-cta-row {
  text-align: center;
  margin-top: 2.5rem;
}

/* ─── LA FRESCA FEST CALLOUT ─── */
.fest-callout {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--lf-teal) 0%, var(--lf-teal-dark) 100%);
  color: #fff;
}
.fest-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}
.fest-svg {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}
.fest-content .fest-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lf-orange);
  margin-bottom: 0.75rem;
}
.fest-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.fest-content p {
  font-size: 1.1rem;
  line-height: 1.65;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

/* ─── 3-UP CTA CARDS ─── */
.cta-three-up {
  padding: 5rem 0;
  background: var(--lf-cream);
}
.cta-three-up .section-head {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}
.cta-three-up .section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--lf-ink);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.cta-three-up .section-head p {
  color: var(--lf-muted);
  font-size: 1.1rem;
}
.cta-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.cta-card {
  background: #fff;
  border-radius: var(--lf-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--lf-shadow-sm);
  border: 1px solid var(--lf-border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lf-shadow-md);
}
.cta-card .cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lf-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lf-orange-dark);
  margin: 0 auto 1.25rem;
}
.cta-card h3 {
  color: var(--lf-teal-dark);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.cta-card p {
  color: var(--lf-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}
.cta-card .btn {
  align-self: center;
}

/* ─── TEAM CARDS (used by team.html) ─── */
.team-section {
  padding: 5rem 0;
  background: var(--lf-cream);
}
.team-section + .team-section { background: #fff; }
.team-section .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.team-section .section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--lf-teal-dark);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.team-section .section-head p {
  color: var(--lf-muted);
  font-size: 1.1rem;
}
.team-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.team-card {
  background: #fff;
  border-radius: var(--lf-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--lf-border);
  box-shadow: var(--lf-shadow-sm);
  transition: transform 0.25s;
}
.team-card:hover { transform: translateY(-4px); }
.team-card .avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lf-teal), var(--lf-teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  box-shadow: var(--lf-shadow-md);
}
.team-card h3 {
  color: var(--lf-ink);
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
  font-weight: 700;
}
.team-card .role {
  color: var(--lf-orange-dark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.team-card .years {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--lf-warm);
  color: var(--lf-orange-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.team-card p {
  color: var(--lf-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ─── MISSION PAGE — full pillar grid ─── */
.pillars-full {
  padding: 5rem 0;
  background: #fff;
}
.pillars-full-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-card-full {
  background: var(--lf-cream);
  border-radius: var(--lf-radius);
  padding: 2.5rem 2rem;
  text-align: left;
  border: 1px solid var(--lf-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pillar-card-full .pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lf-teal);
  box-shadow: var(--lf-shadow-sm);
}
.pillar-card-full h3 {
  color: var(--lf-teal-dark);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}
.pillar-card-full p {
  color: var(--lf-muted);
  line-height: 1.65;
  margin: 0;
}

/* ─── PAGE HERO (smaller for inner pages) ─── */
.page-hero {
  padding: calc(80px + 3rem) 2rem 4rem;
  background: linear-gradient(135deg, var(--lf-teal) 0%, var(--lf-teal-dark) 100%);
  color: #fff;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.page-hero p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.6;
}

/* ─── BUSINESS CARDS WITH PHOTOS ─── */
.biz-grid-photo {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2rem;
}
.biz-card-photo {
  background: #fff;
  border-radius: var(--lf-radius);
  overflow: hidden;
  box-shadow: var(--lf-shadow-sm);
  border: 1px solid var(--lf-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.biz-card-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--lf-shadow-md);
}
.biz-card-photo .biz-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--lf-cream);
}
.biz-card-photo .biz-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.biz-card-photo:hover .biz-image img { transform: scale(1.05); }
.biz-card-photo .biz-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}
.biz-card-photo h3 {
  color: var(--lf-ink);
  font-size: 1.35rem;
  margin: 0;
  font-weight: 700;
}
.biz-card-photo .biz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.biz-card-photo .biz-tag {
  background: var(--lf-warm);
  color: var(--lf-orange-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.biz-card-photo .biz-desc {
  color: var(--lf-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}
.biz-card-photo .biz-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--lf-ink);
  border-top: 1px solid var(--lf-border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.biz-card-photo .biz-info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lf-muted);
}
.biz-card-photo .biz-info-row .icon {
  width: 16px;
  height: 16px;
  color: var(--lf-teal);
}
.biz-card-photo .new-badge {
  background: var(--lf-orange);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE CTA SECTION (v2 — replaces broken .cta-three-up usage)
   ═══════════════════════════════════════════════════════════════ */
.cta-homepage {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--lf-teal) 0%, var(--lf-teal-dark) 100%);
  color: #fff;
}
.cta-homepage-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.cta-homepage-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #fff;
}
.cta-homepage-head p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
}
.cta-homepage-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cta-homepage-card {
  background: #fff;
  border-radius: var(--lf-radius);
  padding: 2.5rem 1.75rem;
  text-align: center;
  text-decoration: none;
  color: var(--lf-ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--lf-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.cta-homepage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.cta-homepage-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--lf-warm);
  color: var(--lf-orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.cta-homepage-icon svg {
  width: 30px;
  height: 30px;
}
.cta-homepage-card h3 {
  color: var(--lf-teal-dark);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.cta-homepage-card p {
  color: var(--lf-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}
.cta-homepage-arrow {
  color: var(--lf-orange-dark);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.25s;
}
.cta-homepage-card:hover .cta-homepage-arrow {
  transform: translateX(6px);
}

/* ═══════════════════════════════════════════════════════════════
   UNIFORM PILLAR CARDS V2 (replaces mismatched PNG icons)
   ═══════════════════════════════════════════════════════════════ */
.pillars-grid-v2 {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-card-v2 {
  background: #fff;
  border-radius: var(--lf-radius);
  padding: 2.5rem 1.75rem;
  text-align: center;
  border: 1px solid var(--lf-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pillar-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}
.pillar-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lf-teal) 0%, var(--lf-teal-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 151, 145, 0.3);
}
.pillar-icon-badge svg {
  width: 34px;
  height: 34px;
}
.pillar-card-v2 h4 {
  color: var(--lf-teal-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-family: 'Playfair Display', Georgia, serif;
}
.pillar-card-v2 p {
  color: var(--lf-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   BUSINESS CARD PHOTO SLIDESHOW
   ═══════════════════════════════════════════════════════════════ */
.biz-card-photo .biz-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.biz-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}
.biz-slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.biz-slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.biz-slideshow-slide.active {
  opacity: 1;
  z-index: 2;
}
.biz-slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.biz-slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  color: var(--lf-teal-dark);
  font-weight: 700;
  z-index: 5;
  transition: background 0.2s;
}
.biz-slideshow-nav:hover { background: #fff; }
.biz-slideshow-nav.prev { left: 10px; }
.biz-slideshow-nav.next { right: 10px; }
.biz-slideshow-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.biz-slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 0.2s;
}
.biz-slideshow-dot.active {
  background: #fff;
  border-color: var(--lf-teal-dark);
}

/* ─── LANGUAGE TOGGLE (EN / ES) ───────────────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
  padding: 2px;
  margin-right: 0.75rem;
  font-family: 'Inter', sans-serif;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lf-muted);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.lang-toggle button.active,
.lang-toggle button[aria-pressed="true"] {
  background: var(--lf-teal-dark);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 115, 110, 0.3);
}
.lang-toggle button:hover:not(.active) {
  color: var(--lf-ink);
}

/* Block-level EN/ES content blocks — show only the active language.
   Elements use lang="en" or lang="es" and are swapped via the [data-lang]
   attribute set on <html> by script.js. */
html[data-lang="en"] [lang="es"] { display: none !important; }
html[data-lang="es"] [lang="en"] { display: none !important; }

/* Inline pairs use data-en / data-es attributes; JS swaps textContent. No CSS needed. */

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .cta-homepage-grid { grid-template-columns: 1fr; }
  .pillars-grid-v2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split-reverse .split-grid { direction: ltr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-full-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .fest-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .fest-svg { margin: 0 auto; width: 160px; height: 160px; }
  .hero-photo { min-height: 70vh; }
  .hero-content-photo { padding: 5rem 1.5rem 4rem; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row a { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO CONTRAST FIX
   The base styles.css sets .hero h1 and .hero-subtitle to dark
   colors (teal-dark / muted). Over the dark photo overlay on
   index.html that's unreadable. Force white inside .hero-photo
   and darken the overlay slightly for extra safety on AA contrast.
   ═══════════════════════════════════════════════════════════════ */
.hero.hero-photo h1,
.hero.hero-photo .hero-subtitle,
.hero.hero-photo .hero-content-photo,
.hero.hero-photo .hero-content-photo p {
  color: #fff;
}
.hero.hero-photo h1 {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.hero.hero-photo .hero-subtitle {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  max-width: 640px;
}
.hero.hero-photo .hero-subtitle strong {
  color: #fff;
  font-weight: 700;
}
/* Slightly darker gradient for guaranteed WCAG AA on subtitle */
.hero.hero-photo .hero-photo-overlay {
  background: linear-gradient(
    115deg,
    rgba(0, 50, 48, 0.92) 0%,
    rgba(0, 95, 92, 0.78) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
/* The eyebrow pill + badge over a dark hero — make them pop, not disappear */
.hero.hero-photo .hero-eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.hero.hero-photo .hero-eyebrow .badge {
  background: var(--lf-orange);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════
   LAUNCH POLISH — 501(c)(3)-style nonprofit refinements
   Additive, non-breaking. Small-but-noticeable improvements to
   rhythm, typography, button behavior, cards, and accessibility.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Accessible focus ring on every interactive element ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--lf-teal-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.85);
}

/* ─── Placeholder social icons (no handle yet) ─── */
.is-placeholder {
  opacity: 0.45;
  cursor: not-allowed !important;
  filter: grayscale(0.4);
  transition: opacity 180ms ease;
}
.is-placeholder:hover { opacity: 0.6; }

/* ─── Buttons: steadier rhythm, subtle lift on hover ─── */
.btn {
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  box-shadow: 0 6px 16px rgba(0, 115, 110, 0.18);
}
.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(0, 115, 110, 0.28);
}

/* ─── Nonprofit trust bar: a thin strip under any hero ─── */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--lf-border);
  border-bottom: 1px solid var(--lf-border);
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--lf-muted);
}
.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.25rem;
}
.trust-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
}
.trust-bar-item svg {
  width: 18px;
  height: 18px;
  color: var(--lf-teal);
  flex-shrink: 0;
}
.trust-bar-item strong { color: var(--lf-ink); font-weight: 600; }
@media (max-width: 720px) {
  .trust-bar-inner { gap: 0.75rem 1.5rem; }
  .trust-bar { font-size: 0.8rem; }
}

/* ─── Fiscal sponsor / Powered by CCW footer block ─── */
.fiscal-sponsor {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.fiscal-sponsor strong { color: #fff; }
.fiscal-sponsor a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fiscal-sponsor a:hover { color: #fff; }

/* ─── Footer refinements — stronger contrast & more refined social ─── */
.footer-logo .logo-text .sub {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  max-width: 420px !important;
}
.footer-socials {
  gap: 0.6rem !important;
}
.footer .social-link {
  width: 44px !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease !important;
}
.footer .social-link svg {
  width: 18px !important;
  height: 18px !important;
  color: rgba(255, 255, 255, 0.92);
}
.footer .social-link:hover:not(.is-placeholder) {
  background: var(--lf-orange) !important;
  border-color: var(--lf-orange) !important;
  transform: translateY(-2px) !important;
}
.footer-contact p, .footer-links a {
  color: rgba(255, 255, 255, 0.86) !important;
}
.footer-contact svg { color: var(--lf-orange); }
.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

/* ─── Stats bar polish — bigger, more confident numbers ─── */
.stats-bar .stat-icon {
  width: 32px;
  height: 32px;
  color: var(--lf-teal);
  margin: 0 auto 0.75rem;
  display: block;
  opacity: 0.85;
}
.stats-bar .stat-number {
  font-size: 3.2rem !important;
  background: linear-gradient(180deg, var(--lf-teal) 0%, var(--lf-teal-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-bar .stat-label {
  color: var(--lf-ink) !important;
  opacity: 0.72;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
}
.stats-bar .stat-item {
  background: #fff !important;
  border: 1px solid var(--lf-border) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.stats-bar .stat-item:hover {
  border-color: rgba(0, 151, 145, 0.3) !important;
  box-shadow: 0 8px 24px rgba(0, 115, 110, 0.10);
}

/* ─── Page hero uniform polish for non-photo pages ─── */
.page-hero {
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.015em;
}
.page-hero p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.65;
}

/* ─── Header Donate button: stronger anchor on the nav ─── */
.header .btn-primary {
  box-shadow: 0 4px 14px rgba(0, 115, 110, 0.25);
  font-weight: 700;
}
.header .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 115, 110, 0.35);
}
.header .nav a.active {
  color: var(--lf-teal-dark);
  font-weight: 700;
  position: relative;
}
.header .nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--lf-orange);
  border-radius: 2px;
}

/* ─── Biz cards: firmer elevation and tidier image frame ─── */
.biz-card-photo {
  background: #fff;
  border-radius: var(--lf-radius);
  overflow: hidden;
  box-shadow: var(--lf-shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
  border: 1px solid var(--lf-border);
}
.biz-card-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--lf-shadow-md);
}
.biz-card-photo .biz-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--lf-cream);
}
.biz-card-photo .biz-image img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Section-label refinement ─── */
.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lf-teal-dark);
  padding: 0.4rem 0.85rem;
  background: rgba(0, 151, 145, 0.08);
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

/* ─── Form success state (safe DOM) ─── */
.form-success {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--lf-cream);
  border: 1px solid rgba(0, 151, 145, 0.2);
  border-radius: var(--lf-radius);
}
.form-success .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lf-teal);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.form-success h3 { color: var(--lf-teal-dark); margin: 0 0 0.5rem; }
.form-success p { color: var(--lf-muted); margin: 0; }

/* ─── Reduced motion: respect user preference ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover { transform: none; }
  .biz-card-photo:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENTS — added in audit cleanup (kept at end to win on ties)
   ═══════════════════════════════════════════════════════════════ */

/* Skip-to-content link: visually hidden until keyboard-focused */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  transform: translateY(-150%);
  z-index: 2000;
  padding: 0.7rem 1.1rem;
  background: var(--lf-teal-dark);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid #fff; outline-offset: 2px; }

/* Offset anchor targets so the sticky header doesn't cover them */
.biz-card-photo, [id="main"] { scroll-margin-top: 100px; }

/* Animate the hamburger into an X when the mobile menu is open */
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Honest "form isn't live yet" note (shown when no Formspree endpoint is set) */
.form-note {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: var(--lf-cream);
  border: 1px solid var(--lf-teal-dark);
  border-radius: 10px;
  color: var(--lf-ink);
  font-size: 0.95rem;
}

/* ─── Accessibility / touch-target refinements (device audit) ─── */

/* Homepage slideshow dots are now <button>s: reset button chrome, keep the dot look */
button.dot {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  background: var(--border);
}
button.dot.active { background: var(--teal); }
/* Enlarge the effective touch target of every dot without changing the visual size.
   Targets are sized to a 24px pitch so neighboring hit areas never overlap (WCAG 2.5.8). */
.dot,
.biz-slideshow-dot {
  position: relative;
}
.dot::after {
  content: "";
  position: absolute;
  inset: -6px;                  /* 12px dot + 12px = 24px target; row gap is 12px */
}
.biz-slideshow-dots { gap: 16px; }  /* was 6px; gives the 8px dots a 24px pitch */
.biz-slideshow-dot::after {
  content: "";
  position: absolute;
  inset: -8px;                  /* 8px dot + 16px = 24px target */
}

/* Language toggle: comfortable touch height */
.lang-toggle button {
  min-height: 40px;
  min-width: 44px;
}

/* Hamburger: guarantee a 44px hit area */
.hamburger {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* Business-card slideshow arrows: larger targets on touch screens */
@media (max-width: 720px) {
  .biz-slideshow-nav { width: 44px; height: 44px; }
}

/* Compact header below 1200px: the full 7-link nav + language toggle + Donate
   needs ~1180px (more in Spanish), so switch to the hamburger before anything
   clips. The header Donate button is hidden in this mode so it can never cover
   the dropdown menu; the mobile menu has its own Donate link. */
@media (max-width: 1199px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn-primary { display: none; }
  .mobile-nav { z-index: 1100; }  /* stays position:fixed from styles.css; paint above header controls */
}

/* Desktop: never show the mobile dropdown, even if it was left open before a resize */
@media (min-width: 1200px) {
  .mobile-nav { display: none !important; }
}

/* Small phones: the full logo text pushes the ES button and hamburger off-screen.
   Tighten the row and drop the neighborhood sub-line so every control stays visible. */
@media (max-width: 560px) {
  .header-inner { gap: 0.4rem; }
  .logo { min-width: 0; gap: 0.5rem; }
  .logo-img { width: 40px; height: 40px; }
  .logo-text .name { font-size: 0.95rem; white-space: nowrap; }
  .logo-text .sub { display: none; }
  .lang-toggle button { min-width: 40px; padding: 0.3rem 0.4rem; }
  .header-cta { display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }
}

/* Long links and emails must wrap instead of overflowing on narrow screens */
.footer-contact a,
.info-card a,
.footer-bottom a {
  overflow-wrap: anywhere;
}


/* ─── Post-audit responsive refinements ─── */

/* Stats tiles: 2-up between phone and the 968px breakpoint (both stylesheets now agree) */
@media (min-width: 601px) and (max-width: 968px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Buttons inside CTA cards may carry long labels (e.g. the Instagram handle): let them wrap */
.cta-card .btn { white-space: normal; text-align: center; }
