/* ============================================================
   RWTAG — Redesign Stylesheet
   Nature-inspired dark theme · DM Serif Display + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Design Tokens ── */
:root {
  --bg:           #0c1810;
  --surface:      #152116;
  --surface-2:    #1c2d1f;
  --text:         #eff0e8;
  --muted:        rgba(239, 240, 232, 0.65);
  --muted-dark:   rgba(239, 240, 232, 0.42);
  --glass:        rgba(8, 16, 10, 0.72);
  --glass-strong: rgba(6, 12, 8, 0.88);
  --card:         rgba(255, 255, 255, 0.05);
  --card-border:  rgba(255, 255, 255, 0.09);
  --shadow:       0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-md:    0 8px 24px  rgba(0, 0, 0, 0.3);
  --shadow-lg:    0 24px 64px rgba(0, 0, 0, 0.55);
  --radius:       16px;
  --radius-sm:    10px;
  --accent:       #6dbf90;
  --accent-hover: #8dd4a8;
  --accent-warm:  #c8a45c;
  --accent-warm-hover: #dbb97a;
  --topbar-h:     70px;

  /* Gradient accent line colour */
  --grad-accent:  rgba(109, 191, 144, 0.55);
  --grad-warm:    rgba(200, 164, 92, 0.45);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

img { display: block; max-width: 100%; }
a   { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-family: 'DM Sans', sans-serif; font-weight: 700; }
h4 { font-size: 1.05rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

p { color: var(--text); line-height: 1.75; text-align: justify; }

strong { font-weight: 700; }

/* ── Layout Helpers ── */
.container {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.content {
  padding-top: 20px;
  padding-bottom: 60px;
}

/* ── Topbar ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--topbar-h);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(109, 191, 144, 0.15);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  width: min(1200px, calc(100% - 24px));
  margin-inline: auto;
}

/* ── Brand ── */
.brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 200ms ease;
  line-height: 1.3;
}

.brand:hover,
.brand.active { color: var(--accent); }

/* ── Navigation ── */
.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item { position: relative; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(239, 240, 232, 0.88);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.nav__link:hover,
.nav__item.active > .nav__link {
  color: var(--text);
  transform: translateY(-1px);
}

/* Dropdown */
.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(109, 191, 144, 0.18);
  border-radius: 0;
  padding: 4px 8px 8px;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease 250ms, transform 150ms ease 250ms;
  box-shadow: var(--shadow);
}

.dropdown:hover .dropdown__menu,
.dropdown.open .dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 150ms ease 0ms, transform 150ms ease 0ms;
}

.dropdown__menu li a {
  display: block;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 0;
  transition: color 200ms ease, background 200ms ease;
}

.dropdown__menu li a:hover {
  color: var(--text);
  background: rgba(109, 191, 144, 0.12);
}

/* Mobile hamburger */
.navToggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 200ms ease;
}

.navToggle:hover { background: rgba(255,255,255,0.08); }

/* ── Slideshow mechanics (used on Trails, Waterways, About pages) ── */
.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.slide.is-active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

/* Slide prev/next buttons */
.slideBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(12, 24, 16, 0.55);
  border: 1px solid rgba(109, 191, 144, 0.3);
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.slideBtn:hover {
  background: rgba(109, 191, 144, 0.25);
  border-color: rgba(109, 191, 144, 0.65);
  transform: translateY(-50%) scale(1.08);
}

.slideBtn.prev { left: 12px; }
.slideBtn.next { right: 12px; }

/* Dots */
.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(239, 240, 232, 0.35);
  border: none;
  cursor: pointer;
  transition: background 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  padding: 0;
}

.dot.is-active {
  background: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 8px rgba(109, 191, 144, 0.7);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  letter-spacing: 0.03em;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 191, 144, 0.35);
}

/* Warm variant */
.btn-warm {
  background: var(--accent-warm);
  color: var(--bg);
}

.btn-warm:hover {
  background: var(--accent-warm-hover);
  box-shadow: 0 6px 20px rgba(200, 164, 92, 0.35);
}

/* ── Card ── */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body { padding: 20px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p  { color: var(--muted); font-size: 0.93rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* ── Glass info card ── */
.info-card {
  background: rgba(21, 33, 22, 0.7);
  border: 1px solid rgba(109, 191, 144, 0.18);
  border-radius: var(--radius);
  padding: 32px;
}

/* ── Sub-navigation bars (sticky section nav) ── */
.section-nav {
  width: 100%;
  padding: 14px 20px 10px;
  background: rgba(12, 24, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-image: linear-gradient(to right, transparent, var(--grad-accent), transparent);
  background-size: 100% 1px;
  background-position: bottom center;
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  position: sticky;
  top: var(--topbar-h);
  z-index: 999;
  box-sizing: border-box;
}

.section-nav a {
  color: var(--accent);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 200ms ease, background 200ms ease;
  white-space: nowrap;
}

.section-nav a:hover {
  color: var(--text);
  background: rgba(109, 191, 144, 0.12);
}

.section-nav .sep {
  color: var(--muted-dark);
  user-select: none;
}

/* ── Trail / Waterway Panels ── */
.panel-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 52px 20px;
  max-width: 1100px;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--grad-accent), transparent) 1;
  transition: background-color 250ms ease;
}

.panel:hover {
  background-color: rgba(109, 191, 144, 0.04);
}

.panel:last-child { padding-bottom: 80px; }

.panel-title {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
}

.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.97rem;
}

.panel p a { color: var(--accent); }
.panel p a:hover { color: var(--accent-hover); }

.panel-body {
  display: grid;
  gap: 14px;
}

/* Panel slideshows */
.panel-slideshow {
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #030a04;
}

.panel-slideshow .slides { height: 100%; }

.panel-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 14px;
}

.panel-slideshow .slide img.clickable-image {
  cursor: zoom-in;
  transition: filter 200ms ease;
}

.panel-slideshow .slide img.clickable-image:hover {
  filter: brightness(1.08);
}

@media (max-width: 900px) {
  .panel-slideshow { height: 240px; }
  .panel { padding: 32px 20px; }
}

/* ── Lightbox (Global) ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbFadeIn 200ms ease;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: -52px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  padding: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease;
  outline: none;
}

.lightbox-close:hover { transform: scale(1.12); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all 200ms ease;
  z-index: 2001;
  outline: none;
}

.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(109, 191, 144, 0.35);
  border-color: rgba(109, 191, 144, 0.65);
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 640px) {
  .lightbox-close { top: -42px; font-size: 36px; }
  .lightbox-prev  { left: -36px; padding: 8px 10px; }
  .lightbox-next  { right: -36px; padding: 8px 10px; }
}

/* ── Article / Blog Post ── */
.blog-post {
  margin-top: calc(var(--topbar-h) + 32px);
  border: 1px solid rgba(200, 164, 92, 0.3);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(200, 164, 92, 0.04);
}

.blog-post header { margin-bottom: 20px; }

.blog-post .meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-post figure { margin-bottom: 24px; }

.blog-post figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 8px;
  text-align: center;
}

.blog-post h2 { margin-top: 28px; margin-bottom: 10px; }
.blog-post h3 { margin-top: 24px; margin-bottom: 8px; }

.blog-post p  { margin-top: 14px; }

.blog-post ul {
  list-style: disc;
  padding-left: 24px;
  margin-top: 12px;
}

.blog-post ul li {
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.7;
}

/* ── Information page ── */
.info-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 56px;
}

@media (min-width: 640px) {
  .info-section {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
  .info-section.reverse {
    grid-template-columns: 1fr 280px;
  }
  .info-section.reverse .info-img { order: 2; }
  .info-section.reverse .info-text { order: 1; }
}

.info-img {
  border-radius: 10px;
  overflow: hidden;
}

.info-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease;
}

.info-img:hover img { transform: scale(1.06); }

.info-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, var(--grad-accent), transparent) 1;
  margin-bottom: 16px;
}

.info-text p { color: var(--text); line-height: 1.75; }
.info-text p + p { margin-top: 12px; }
.info-text a { color: var(--accent); }
.info-text a:hover { color: var(--accent-hover); }

/* Info nav */
.information-nav {
  max-width: 1100px;
  margin: 20px 0 0;
  padding: 14px 20px 10px;
  background: rgba(12, 24, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--grad-accent), transparent) 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  position: sticky;
  top: var(--topbar-h);
  z-index: 999;
  box-sizing: border-box;
}

.information-nav a {
  color: var(--accent);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 200ms ease, background 200ms ease;
  white-space: nowrap;
}

.information-nav a:hover {
  color: var(--text);
  background: rgba(109, 191, 144, 0.12);
}

.information-nav .sep { color: var(--muted-dark); }

/* Business table */
.biz-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
  font-size: 0.93rem;
  margin-top: 20px;
  margin-bottom: 16px;
}

.biz-table thead tr {
  background: rgba(109, 191, 144, 0.1);
  border-bottom: 1px solid rgba(109, 191, 144, 0.25);
}

.biz-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.biz-table td { padding: 11px 14px; }

.biz-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 200ms ease;
}

.biz-table tbody tr:hover {
  background: rgba(109, 191, 144, 0.06);
}

.biz-table a { color: var(--accent); }
.biz-table a:hover { color: var(--accent-hover); }

/* ── Follow Us page ── */
.follow-container {
  padding-top: calc(var(--topbar-h) + 48px);
  text-align: center;
}

.follow-title { margin-bottom: 10px; }

.follow-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 36px;
}

.social-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

.social-btn.facebook {
  background: #1877F2;
  box-shadow: 0 6px 24px rgba(24, 119, 242, 0.35);
}

.social-btn.instagram {
  background: linear-gradient(45deg, #E1306C, #F77737, #FCAF45);
  box-shadow: 0 6px 24px rgba(247, 119, 55, 0.35);
}

/* ── Calendar page ── */
.page-title { margin-top: calc(var(--topbar-h) + 32px); margin-bottom: 24px; }

.calendar-wrap {
  position: relative;
  padding-bottom: 72%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(109, 191, 144, 0.12);
}

.calendar-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.93) hue-rotate(180deg) saturate(0.9);
}

/* ── Adopt-a-Trail modal ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  animation: lbFadeIn 200ms ease;
}

.modal.active { display: flex; }

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-content img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 44px;
  cursor: pointer;
  line-height: 1;
  transition: transform 200ms ease;
}

.modal-close:hover { transform: scale(1.12); }

/* ── Report-a-trail figure ── */
.report-figure {
  margin: 28px auto;
  width: 100%;
  max-width: 580px;
  text-align: center;
}

.report-figure img {
  width: 100%;
  border-radius: var(--radius);
  cursor: zoom-in;
  transition: filter 200ms ease, transform 200ms ease;
}

.report-figure img:hover {
  filter: brightness(1.06);
  transform: scale(1.008);
}

.report-figure figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 8px;
}

/* ── Footer ── */
.footer {
  background: var(--bg);
  padding: 48px 0;
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, rgba(109, 191, 144, 0.28), transparent) 1;
}

.footer .container {
  margin-left: auto;
  margin-right: 120px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
  justify-content: flex-end;
  align-items: center;
}

.footer-section {
  text-align: center;
}

.footer-section p { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 0.05em; }
.footer-section strong { color: var(--text); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.12em; }

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  transition: transform 200ms ease, filter 200ms ease;
}

.footer-social a:hover { transform: translateY(-3px); filter: brightness(1.12); }

.footer-social a svg { width: 22px; height: 22px; fill: #fff; }

.footer-social a.facebook { background: #1877F2; }
.footer-social a.instagram { background: linear-gradient(45deg, #E1306C, #F77737); }

/* Vertical divider between the two footer groups */
.footer-newsletter {
  position: relative;
  text-align: center;
  padding-left: 56px;
}

.footer-newsletter::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 64px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(109, 191, 144, 0.25), transparent);
}

.footer-newsletter p { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 0.05em; }
.footer-newsletter strong { color: var(--text); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.12em; }

@media (max-width: 600px) {
  .footer-newsletter {
    padding-left: 0;
  }
  .footer-newsletter::before {
    display: none;
  }
}

/* ── About-us page slideshow (fixed height) ── */
.about-slideshow {
  width: 100%;
  height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
}

@media (max-width: 700px) {
  .about-slideshow { height: 340px; }
}

/* ── Page intro ── */
.page-intro {
  padding-top: calc(var(--topbar-h) + 36px);
  padding-bottom: 12px;
}

.page-intro h1 { margin-bottom: 12px; }

.page-intro .lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 780px;
}

.page-intro .lead a { color: var(--accent); }
.page-intro .lead a:hover { color: var(--accent-hover); }

/* ── Simple content pages ── */
.simple-page {
  padding-top: calc(var(--topbar-h) + 48px);
}

.simple-page h1 { margin-bottom: 16px; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .navToggle { display: flex; }

  .nav {
    display: none;
    position: fixed;
    top: var(--topbar-h);
    left: 0; right: 0;
    background: var(--glass-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(109, 191, 144, 0.15);
    padding: 12px 0 20px;
    z-index: 999;
    max-height: calc(100dvh - var(--topbar-h));
    overflow-y: auto;
  }

  .nav.is-open { display: block; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    font-size: 0.95rem;
    padding: 12px 20px;
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
  }

  .nav__link::after { content: '▾'; font-size: 0.75rem; }

  .dropdown { position: static; }

  .dropdown__menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
    display: none;
    background: rgba(0,0,0,0.2);
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-radius: 0;
    padding: 4px 0;
    box-shadow: none;
    min-width: 0;
  }

  .dropdown.open .dropdown__menu { display: block; }

  .dropdown__menu li a {
    padding: 10px 32px;
    border-radius: 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .blog-post { padding: 20px 16px; }
  .info-card  { padding: 20px; }
}

/* ── Scroll Reveal Animations (site-wide) ── */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition:
    opacity  0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-up    { transform: translateY(36px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-scale { transform: scale(0.93); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: none;
}
