*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2d7a4f;
  --green-light: #e8f5ee;
  --accent:      #f5a623;
  --text:        #1a1a2e;
  --muted:       #5a6a72;
  --border:      #d8e6dc;
  --white:       #ffffff;
  --card-bg:     #f9fdf9;
  --page-bg:     #d6e4db;
  --story-bg1:   #fffbf0;
  --story-bg2:   #fff8e8;
  --story-border:#f0d99a;
  --story-text:  #4a3c1a;
}

[data-theme="dark"] {
  --green:       #4caf80;
  --green-light: #0d2b1a;
  --accent:      #f5a623;
  --text:        #e8edf0;
  --muted:       #8fa0a8;
  --border:      #1e3d2a;
  --white:       #1a2b1d;
  --card-bg:     #162418;
  --page-bg:     #080f09;
  --story-bg1:   #1c1508;
  --story-bg2:   #19120a;
  --story-border:#3d2e0a;
  --story-text:  #c8b07a;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.65;
  transition: background 0.2s, color 0.2s;
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 10;
}
.theme-toggle:hover { background: rgba(255,255,255,0.25); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1a4a2e 0%, #2d7a4f 60%, #3a9660 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.hero-sub {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.8rem;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.7rem; font-weight: 800; }
.hero-stat span   { font-size: 0.8rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── LAYOUT ── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── STORY CARD ── */
.story-card {
  background: linear-gradient(135deg, var(--story-bg1), var(--story-bg2));
  border: 1px solid var(--story-border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  font-style: italic;
  color: var(--story-text);
  line-height: 1.75;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.story-card .story-title {
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ── SECTION CARD ── */
.card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}
.card-header {
  background: var(--green-light);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.card-header .icon,
.story-title .icon { font-size: 2rem; }
.card-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card-body { padding: 1.25rem 1.5rem; }

/* ── CHECK LIST ── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text);
}
.check-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.check-list li.plus::before { content: '+'; color: var(--accent); }

/* ── TWO COLUMN GRID ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── TERMS LIST ── */
.terms-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.terms-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.terms-list li::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

/* ── CTA ── */
.cta-card {
  background: linear-gradient(135deg, var(--green), #1a4a2e);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-align: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,122,79,0.35);
}
.cta-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.cta-card p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.5);
}

/* ── GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery--map { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .gallery--map { grid-template-columns: 1fr; } }

.gallery-thumb {
  all: unset;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  background: var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.gallery-thumb:hover img { transform: scale(1.04); }
.gallery-thumb span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 0.3rem 0.5rem;
  letter-spacing: 0.03em;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.lb-caption {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.75rem;
  text-align: center;
}
.lb-counter {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.lb-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  z-index: 10;
}
.lb-close:hover { background: rgba(255,255,255,0.25); }

.lb-arrow {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  margin: 0 0.5rem;
  padding-bottom: 0.15rem;
}
.lb-arrow:hover { background: rgba(255,255,255,0.25); }
@media (max-width: 480px) {
  .lb-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.8rem; }
}

/* ── FOOTER ── */
footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding-bottom: 2rem;
}
