﻿:root {
  --bg: #fff8f2;
  --surface: #ffffff;
  --text: #3a281f;
  --muted: #7a5b4b;
  --brand: #ff9a56;
  --brand-dark: #e9772d;
  --border: #f3dfd0;
  --danger-bg: #fff2f2;
  --danger-border: #ffcccc;
  --danger-text: #8a1f1f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: #ffe7d6;
  color: var(--brand-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, #fff1e6 0%, var(--bg) 100%);
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero p {
  max-width: 700px;
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  font-weight: 600;
}

.btn:hover {
  background: var(--brand-dark);
}

.section {
  padding: 2.2rem 0 3rem;
}

h1,
h2 {
  line-height: 1.25;
}

.lead {
  color: var(--muted);
  margin-top: -0.2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem 1.05rem;
  box-shadow: 0 8px 24px rgba(26, 42, 74, 0.05);
}

.card h2 {
  margin-top: 0;
}

.timeline {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  transform-origin: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(58, 40, 31, 0.12);
}

.alert {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
  border-radius: 0.65rem;
  padding: 0.8rem 0.9rem;
  margin: 1rem 0;
}

.sleep-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sleep-content .card p:first-of-type {
  margin-top: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist li label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 1rem;
}

.checklist li label input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}

.checklist li label.checked {
  text-decoration: line-through;
  color: var(--muted);
}

.btn-reset {
  background: none;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.875rem;
}

.btn-reset:hover {
  background: var(--bg);
}

.alert-large {
  font-size: 1.2rem;
  padding: 1rem 1.2rem;
}

.schedule-status {
  margin-top: 2rem;
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  max-width: 480px;
  box-shadow: 0 8px 24px rgba(255, 154, 86, 0.15);
}

.schedule-status-label {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.schedule-status-activity {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.3;
}

.hero-photo {
  display: block;
  margin-top: 2rem;
  width: 100%;
  max-width: 480px;
  border-radius: 1.2rem;
  box-shadow: 0 12px 36px rgba(58, 40, 31, 0.12);
}

.park-map-controls,
.cafe-map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.map-btn {
  border: 1px solid var(--border);
  background: #fff3e9;
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
}

.map-btn:hover,
.map-btn.active {
  background: #ffd6bb;
  color: #5a2d11;
}

.parks-map,
.cafes-map {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-top: 0.9rem;
}
.site-footer {
  background: var(--surface);
  color: var(--muted);
  padding: 0.9rem 0;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 0.8rem;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }
}
.password-gate {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #fff1e6 0%, #ffe7d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.password-gate.hidden {
  display: none;
}

.password-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 16px 48px rgba(58, 40, 31, 0.12);
  text-align: center;
  width: min(400px, 92%);
}

.password-box h2 {
  margin: 0 0 0.4rem;
  color: var(--brand-dark);
  font-size: 1.8rem;
}

.password-box p {
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.password-box form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.password-box input[type="password"] {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  font: inherit;
  font-size: 1rem;
  outline: none;
  background: var(--bg);
  color: var(--text);
}

.password-box input[type="password"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 154, 86, 0.2);
}

.password-box .btn {
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  margin-top: 0;
}

.password-error {
  color: var(--danger-text);
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
