/* ========================================
   THE PENNY POWER PROJECT — Global Styles
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --green-dark: #284e13;
  --green-light: #38761d;
  --green-accent: #2ca05a;
  --gold: #D4A437;
  --text-dark: #1C1C1C;
  --bg-beige: #F3EEE7;
  --bg-card: #FAF9F5;
  --white: #FFFFFF;
  --footer-bg: #1C1C1C;
  --radius-card: 15px;
  --radius-pill: 9999px;
  --max-width: 1500px;
  --gutter: 4vw;
  --font-heading: "Helvetica Neue", Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 17.6px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-beige);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 41.6px); }
h3 { font-size: clamp(22px, 2.5vw, 28.8px); }

.accent { color: var(--green-light); }
.bold { font-weight: 700; }

/* Animated SVG underline */
.underline-wrap {
  position: relative;
  display: inline-block;
}

.underline-wrap svg {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 12px;
  overflow: visible;
}

.underline-wrap svg path {
  stroke: var(--green-light);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 0.6s ease;
}

.underline-wrap.animated svg path {
  stroke-dashoffset: 0;
}

/* --- Layout Helpers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 80px 0;
}

.section--beige { background: var(--bg-beige); }
.section--white { background: var(--white); }
.section--green { background: var(--green-light); color: var(--white); }
.section--dark-green { background: var(--green-dark); color: var(--white); }
.section--dark { background: var(--footer-bg); color: var(--white); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

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

.text-center { text-align: center; }
.text-white { color: var(--white); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

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

.btn--gold:hover {
  background: #c4942f;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 164, 55, 0.4);
}

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

.btn--green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 118, 29, 0.4);
}

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

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

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(243, 238, 231, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  transition: color 0.3s ease;
}

.navbar.scrolled .navbar__logo {
  color: var(--green-dark);
}

.navbar__logo-icon {
  width: 44px;
  height: 44px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s ease;
  position: relative;
}

.navbar.scrolled .navbar__links a {
  color: var(--text-dark);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  transition: width 0.3s ease;
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__cta {
  padding: 10px 24px !important;
  font-size: 14px !important;
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: var(--radius-pill) !important;
}

.navbar__cta::after {
  display: none !important;
}

.navbar__cta:hover {
  background: #c4942f !important;
}

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar__toggle span {
  background: var(--text-dark);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a3a0d 50%, var(--green-dark) 100%);
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(56, 118, 29, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(42, 160, 90, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(212, 164, 55, 0.1) 0%, transparent 40%);
}

/* Floating coin particles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(212, 164, 55, 0.15);
  animation: float-up linear infinite;
}

.particle:nth-child(1) { left: 10%; width: 15px; height: 15px; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; width: 25px; height: 25px; animation-duration: 15s; animation-delay: 2s; }
.particle:nth-child(3) { left: 40%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 55%; width: 20px; height: 20px; animation-duration: 14s; animation-delay: 1s; }
.particle:nth-child(5) { left: 70%; width: 18px; height: 18px; animation-duration: 11s; animation-delay: 3s; }
.particle:nth-child(6) { left: 85%; width: 22px; height: 22px; animation-duration: 13s; animation-delay: 5s; }
.particle:nth-child(7) { left: 15%; width: 10px; height: 10px; animation-duration: 16s; animation-delay: 6s; }
.particle:nth-child(8) { left: 60%; width: 14px; height: 14px; animation-duration: 9s; animation-delay: 2s; }

@keyframes float-up {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 var(--gutter);
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Rotating text in hero */
.rotating-text-wrapper {
  display: inline-block;
  position: relative;
  min-width: 280px;
  height: 1.2em;
  vertical-align: bottom;
  overflow: hidden;
}

.rotating-text {
  display: block;
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
  color: var(--gold);
  font-weight: 700;
}

.rotating-text.active {
  opacity: 1;
  transform: translateY(0);
}

.rotating-text.exit {
  opacity: 0;
  transform: translateY(-30px);
}

/* --- Inner page hero (non-home) --- */
.hero--inner {
  min-height: 50vh;
  padding-top: 120px;
}

.hero--inner .hero__content {
  max-width: 800px;
}

/* --- About / Content Sections --- */
.about-text p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.read-more {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--green-light);
  border-color: var(--green-light);
}

/* --- Stats Section --- */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.stat-card__number {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 15px;
  color: #666;
  font-weight: 500;
}

/* --- Stats Panel (green bg, used on impact page) --- */
.stats-panel {
  background: var(--green-light);
  border-radius: 24px;
  padding: 60px 48px;
  display: flex;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
}

.stats-panel .stat {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.stats-panel .stat__number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}

.stats-panel .stat__label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 250px;
  margin: 0 auto;
}

/* --- Location Cards --- */
.location-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.location-card__img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 48px;
  overflow: hidden;
  position: relative;
}

.location-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.location-card__body {
  padding: 24px;
}

.location-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.location-card__grade {
  font-size: 13px;
  color: var(--green-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.location-card__desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* --- Location status badges --- */
.status-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.status-badge--past {
  background: rgba(56, 118, 29, 0.1);
  color: var(--green-light);
}

.status-badge--planned {
  background: rgba(212, 164, 55, 0.15);
  color: var(--gold);
}

/* --- Planned locations list --- */
.planned-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.planned-item {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.planned-item:hover {
  transform: translateY(-2px);
}

.planned-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(56, 118, 29, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.planned-item__name {
  font-weight: 600;
  font-size: 15px;
}

.planned-item__state {
  font-size: 13px;
  color: #888;
}

/* --- Team Cards --- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.team-card__photo {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #d4e8cb, #a8d5a2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: var(--green-dark);
  overflow: hidden;
  position: relative;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.team-card__body {
  padding: 24px;
}

.team-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.team-card__role {
  font-size: 14px;
  color: var(--green-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card__bio {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* --- Contact Form --- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 48px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card h3 {
  margin-bottom: 8px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(56, 118, 29, 0.1);
}

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

/* Contact info bar */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(56, 118, 29, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Social links */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(56, 118, 29, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: background 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--white);
  user-select: none;
}

.faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* --- Photo Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-card);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* --- Footer --- */
.footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__brand h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.7;
}

.footer__nav h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.footer__nav a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  padding: 4px 0;
  transition: color 0.3s ease;
}

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

.footer__newsletter h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer__newsletter p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 16px;
}

.footer__newsletter-form {
  display: flex;
  gap: 8px;
}

.footer__newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 14px;
}

.footer__newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer__newsletter-form button {
  padding: 12px 24px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer__newsletter-form button:hover {
  background: #c4942f;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

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

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

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

/* staggered delays */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }

/* --- Section Divider --- */
.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 12px;
}

/* --- Testimonial Carousel --- */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}

.testimonial-card__quote {
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.testimonial-card__author {
  font-weight: 700;
  color: var(--green-light);
}

.testimonial-card__role {
  font-size: 14px;
  color: #888;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
}

.testimonial-dot.active {
  background: var(--green-light);
}

/* --- News Cards --- */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.news-card__source {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  font-weight: 500;
  margin-bottom: 12px;
}

.news-card__badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(56, 118, 29, 0.1);
  color: var(--green-light);
}

.news-card__badge--event {
  background: rgba(212, 164, 55, 0.15);
  color: var(--gold);
}

.news-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-card__excerpt {
  font-size: 14.5px;
  color: #666;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.news-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-light);
  transition: color 0.3s ease;
}

.news-card:hover .news-card__link {
  color: var(--green-dark);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

/* --- Page-specific inner hero text override --- */
.hero--inner-beige {
  background: var(--bg-beige);
}

.hero--inner-beige h1 {
  color: var(--text-dark);
}

.hero--inner-beige .hero__subtitle {
  color: #555;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-panel { padding: 40px 24px; }
}

@media (max-width: 768px) {
  :root { --gutter: 6vw; }

  .section { padding: 56px 0; }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__links a {
    color: var(--text-dark) !important;
    font-size: 18px;
  }

  .navbar__toggle { display: flex; }

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

  .hero { min-height: 85vh; }

  .contact-card { padding: 32px 24px; }

  .stats-panel {
    flex-direction: column;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.nav-overlay.open {
  display: block;
}

/* --- Section Image --- */
.section-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-img--tall {
  height: 400px;
}

.section-img--wide {
  max-height: 480px;
}

.section-img--rounded {
  border-radius: 24px;
}

/* Full-bleed image banner */
.image-banner {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: 0;
}

.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA with background image */
.cta-section--bg {
  position: relative;
  overflow: hidden;
}

.cta-section--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(40, 78, 19, 0.92), rgba(26, 58, 13, 0.88)),
    url('images/MaplewoodLibrary1.JPG') center/cover no-repeat;
  z-index: 0;
}

.cta-section--bg > * {
  position: relative;
  z-index: 1;
}

/* --- Utility --- */
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
