
:root {
  --bg: #f7f4ee;
  --fg: #5a4330;
  --primary: #5f9b59;
  --primary-soft: #edf7ec;
  --secondary: #7c5a36;
  --accent: #f1b43a;
  --border: #e5d7c7;
  --white: #ffffff;
  --muted: #7b7b7b;
  --shadow: 0 14px 34px rgba(61, 42, 24, .10);
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: 'Nunito', sans-serif;
  background-image: radial-gradient(rgba(0,0,0,.02) 1px, transparent 1px);
  background-size: 10px 10px;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 32px)); }
.site-header {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(12px);
  background: rgba(247,244,238,.88); border-bottom: 1px solid rgba(229,215,199,.7);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: 'Fredoka', sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--primary); display:flex; gap:10px; align-items:center; }
.site-nav { display: flex; gap: 24px; font-weight: 700; }
.site-nav a { color: var(--fg); }
.site-nav a:hover { color: var(--primary); }
.menu-toggle { display: none; background: none; border: 0; font-size: 2rem; color: var(--fg); }
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-inner { text-align: center; padding: 72px 0 96px; position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(42px); opacity: .6; }
.blob-1 { width: 280px; height: 280px; background: rgba(241,180,58,.22); left: 5%; top: 16%; }
.blob-2 { width: 320px; height: 320px; background: rgba(95,155,89,.20); right: 5%; top: 18%; }
.hero-photo-wrap { position: relative; width: min(400px, 88vw); margin: 0 auto 32px; filter: drop-shadow(0 10px 24px rgba(61,42,24,.16)); }
.hero-photo { border-radius: 48px; border: 8px solid white; aspect-ratio: 4/3; object-fit: cover; }
.hero-badge { position: absolute; right: -20px; bottom: -18px; background: var(--accent); color: white; padding: 14px 20px; border-radius: 999px; border: 4px solid white; font-weight: 800; font-family: 'Fredoka', sans-serif; transform: rotate(7deg); box-shadow: var(--shadow); }
.hero h1, .section h2, .footer-card h2 { font-family: 'Fredoka', sans-serif; letter-spacing: .02em; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: 1.06; margin: 12px 0 16px; color: var(--secondary); }
.hero h1 span { display: block; color: var(--primary); margin-top: 10px; text-shadow: 0 0 20px rgba(255,255,255,.45); }
.hero p { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 700; color: rgba(90,67,48,.85); }
.scroll-down { display:inline-flex; align-items:center; justify-content:center; margin-top:30px; width:56px; height:56px; border-radius:50%; background:white; border:1px solid var(--border); box-shadow: var(--shadow); font-size:1.8rem; }
.section { padding: 88px 0; position: relative; }
.section-muted { background: rgba(95,155,89,.05); }
.section-primary { background: rgba(95,155,89,.08); }
.section-white { background: #fff; }
.section-pattern::before {
  content: ""; position: absolute; inset: 0; background: url('assets/images/forest-pattern.png') center/300px repeat; opacity: .08; pointer-events:none;
}
.section-head { text-align:center; margin-bottom: 48px; position:relative; z-index:1; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin:0 0 8px; color: var(--secondary); }
.section-head p { margin:0; color: var(--muted); font-size: 1.06rem; font-weight: 700; }
.quote-card { position:relative; z-index:1; background: white; padding: 42px 30px; border-radius: 40px; box-shadow: var(--shadow); border: 4px solid white; text-align:center; }
.quote-heart { position:absolute; left:-12px; top:-12px; font-size:2rem; }
.quote-card h2 { margin:0 0 18px; font-size: clamp(1.8rem, 3vw, 2.7rem); color: var(--primary); }
.quote-card p { margin:0; font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 800; }
.timeline { position: relative; display: grid; gap: 24px; }
.timeline-line { position:absolute; left:50%; top: 12px; bottom:12px; width:8px; transform:translateX(-50%); background: rgba(95,155,89,.18); border-radius:999px; }
.trip-card { display:grid; grid-template-columns: 1fr 64px 1fr; align-items:center; gap: 18px; }
.trip-left .trip-content { grid-column:1; text-align:right; }
.trip-left .trip-dot { grid-column:2; }
.trip-right .trip-dot { grid-column:2; }
.trip-right .trip-content { grid-column:3; text-align:left; }
.trip-content { background:white; padding: 26px; border-radius: 28px; box-shadow: var(--shadow); border:1px solid #efe7db; }
.trip-content h3 { margin: 10px 0 10px; font-size: 1.6rem; color: var(--secondary); font-family: 'Fredoka', sans-serif; }
.trip-content p { margin:0; font-weight:700; color: rgba(90,67,48,.85); }
.trip-dot { width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#e7f6e5; border:4px solid white; box-shadow: var(--shadow); font-size:1.4rem; margin:0 auto; z-index:1; }
.trip-dot.amber { background:#fff0d7; }
.trip-dot.orange { background:#ffe5d1; }
.trip-dot.yellow { background:#fff3b5; }
.trip-date { display:inline-block; padding:8px 14px; border-radius:999px; font-size:.9rem; font-weight:800; }
.trip-date.green { background:#e8f7e6; color:#3d8642; }
.trip-date.amber { background:#fff0d7; color:#b17300; }
.trip-date.forest { background:#edf8ed; color:#2e7a38; }
.trip-date.orange { background:#ffe7d9; color:#c26328; }
.trip-date.yellow { background:#fff5bf; color:#946d00; }
.hedgehogs-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position:relative; z-index:1; }
.hedgehog-card { text-align:center; }
.hedgehog-photo-wrap { position:relative; width:min(220px, 100%); margin:0 auto 14px; filter: drop-shadow(0 10px 20px rgba(61,42,24,.16)); }
.hedgehog-photo { width:100%; aspect-ratio:1; border-radius:50%; object-fit:cover; border:4px solid white; }
.hedgehog-icon { position:absolute; right:-4px; bottom:-4px; width:68px; height:68px; border-radius:50%; background:white; border:2px solid white; box-shadow: var(--shadow); padding:6px; }
.hedgehog-icon img { width:100%; height:100%; object-fit:contain; }
.hedgehog-card h3 { display:inline-block; margin:0; font-size:1.5rem; padding: 8px 18px; border-radius:999px; background:white; border:1px solid #efe7db; box-shadow: 0 8px 18px rgba(61,42,24,.07); font-family:'Fredoka',sans-serif; }
.hedgehog-card p { margin:8px 0 0; color: var(--muted); font-weight:700; }
.gear-card { position:relative; background: var(--accent); color:white; border-radius: 44px; padding: 34px; box-shadow: var(--shadow); overflow:hidden; }
.gear-icon { position:absolute; right:30px; top:24px; font-size:4rem; opacity:.18; }
.gear-card h2 { margin:0 0 18px; color:white; font-size: clamp(2rem, 4vw, 3rem); }
.gear-box { background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); padding: 22px; border-radius: 28px; backdrop-filter: blur(4px); }
.gear-box p { margin:0; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight:700; line-height:1.6; }
.gear-highlight { margin-top:18px !important; font-size: 1.55rem !important; }
.news-card { background: linear-gradient(135deg, #edf9f1, #eef8f7); padding: 34px; border-radius: 32px; border: 4px solid #c6ebd0; box-shadow: var(--shadow); }
.news-head { margin-bottom:24px; padding-bottom:20px; border-bottom:2px solid #c6ebd0; }
.news-head h3 { margin:0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); font-family:'Fredoka',sans-serif; }
.news-head p { margin:0; color: var(--muted); font-weight:700; }
.news-body p { line-height:1.65; font-size:1.05rem; }
.info-box, .accent-box, .orange-box { background:white; padding:18px; border-radius:22px; margin:18px 0; }
.info-box { border-left:4px solid var(--primary); }
.accent-box { background: rgba(241,180,58,.12); }
.orange-box { background: #fff2e7; border-left:4px solid #f29b4a; }
.info-box h4, .accent-box h4, .orange-box h4 { margin:0 0 10px; color: var(--primary); font-family:'Fredoka',sans-serif; }
.orange-box h4 { color:#b96b1e; }
.news-body ul { margin: 8px 0 0 18px; padding:0; }
.news-body li { margin: 6px 0; }
.small-note { font-size:.9rem; color:#a8642b; font-style: italic; }
.signature { color: rgba(90,67,48,.9); }
.gallery-grid { columns: 4 220px; column-gap: 14px; }
.gallery-item {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 14px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 22px rgba(61,42,24,.12);
  cursor: pointer;
  background: #d9d1c4;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 14px;
  color: white;
  font-weight: 800;
  line-height: 1.35;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.35), transparent);
  opacity: 1;
  transform: none;
  transition: background .28s ease;
  pointer-events: none;
}
.gallery-item:hover .gallery-caption {
  background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.42), transparent);
}
.site-footer { background: var(--secondary); color: white; text-align:center; padding: 74px 0 50px; position:relative; overflow:hidden; }
.footer-card { display:inline-block; background: rgba(255,255,255,.10); padding: 26px 28px; border-radius: 30px; backdrop-filter: blur(5px); }
.footer-card p { margin:0 0 8px; font-size:1.2rem; }
.footer-card h2 { margin:0; font-size:2.1rem; color: var(--accent); }
.footer-icons { font-size: 2.2rem; margin-top: 24px; }
.copyright { margin-top: 34px; font-size: .95rem; color: rgba(255,255,255,.58); }
.auth-overlay { position: fixed; inset:0; background: rgba(247,244,238,.98); display:flex; align-items:center; justify-content:center; padding:24px; z-index:100; }
.auth-card { width:min(420px, 100%); background:white; padding:32px; border-radius:22px; box-shadow: var(--shadow); text-align:center; }
.auth-card h1 { margin:0 0 10px; font-family:'Fredoka',sans-serif; }
.auth-card p { margin:0 0 22px; color:#666; }
.auth-card input { width:100%; padding:14px 16px; border-radius:12px; border:1px solid #d8d8d8; margin-bottom:14px; font: inherit; }
.auth-card button { width:100%; border:0; background: var(--primary); color:white; font-weight:800; padding:14px 16px; border-radius:12px; font: inherit; cursor:pointer; }
.password-error { margin-top: 12px; color: #b42318; font-weight:700; }
.lightbox { position: fixed; inset:0; background: rgba(0,0,0,.92); z-index:120; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:24px; }
.lightbox img { max-width: min(1200px, 100%); max-height: 76vh; border-radius: 18px; }
.lightbox p { color:white; font-weight:800; margin:16px 0 0; text-align:center; }
.lightbox-close { position:absolute; top:10px; right:20px; background:none; border:0; color:white; font-size:3.4rem; cursor:pointer; }
[hidden] { display:none !important; }
@media (max-width: 900px) {
  .site-nav { position:absolute; left:0; right:0; top:72px; background: rgba(247,244,238,.98); flex-direction:column; gap:0; padding: 10px 16px 16px; border-bottom:1px solid rgba(229,215,199,.7); display:none; }
  .site-nav.open { display:flex; }
  .site-nav a { padding:12px 0; }
  .menu-toggle { display:block; }
  .timeline-line { left: 24px; transform:none; }
  .trip-card, .trip-left, .trip-right { grid-template-columns: 48px 1fr; }
  .trip-left .trip-dot, .trip-right .trip-dot { grid-column:1; }
  .trip-left .trip-content, .trip-right .trip-content { grid-column:2; text-align:left; }
  .hedgehogs-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .hero-badge { right: -6px; bottom: -14px; padding: 11px 16px; font-size: .95rem; }
  .quote-card { padding: 34px 22px; }
  .news-card, .gear-card { padding: 24px; }
  .hedgehogs-grid { grid-template-columns: 1fr 1fr; }
}
