/* ============================================================
   Watercolor Birds — Global Stylesheet
   Soft & painterly aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Sans+3:wght@300;400;500;600&display=swap');

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

:root {
  --bg:           #faf8f4;
  --bg-card:      #fffdf9;
  --bg-muted:     #f4efe8;
  --text:         #2c2420;
  --text-mid:     #6b5e57;
  --text-light:   #9c8d85;
  --accent:       #7a9e7e;
  --accent-dark:  #5a7d5e;
  --accent-light: #c8ddc9;
  --warm:         #c4956a;
  --warm-light:   #f0e0cc;
  --border:       #e0d6cc;
  --border-light: #ede8e0;
  --shadow:       rgba(44, 36, 32, 0.08);
  --radius:       12px;
  --radius-lg:    20px;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Source Sans 3', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--warm); }
img { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { color: var(--text-mid); }

/* ── Layout Utilities ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Watercolor texture overlay (decorative) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(122, 158, 126, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(196, 149, 106, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(122, 158, 126, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.site-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: all .2s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-dark);
  background: var(--accent-light);
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  border-radius: 20px !important;
  padding: .4rem 1rem !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: .5rem 1rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--warm-light);
  color: var(--warm);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: .75rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-dark);
}

.hero p {
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ============================================================
   TOOL CARD
   ============================================================ */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 24px var(--shadow);
  margin-bottom: 2rem;
}

/* Location Controls */
.location-section {
  text-align: center;
  margin-bottom: 2rem;
}

.location-label {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.location-display {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  min-height: 1.5em;
}

.location-display .coords {
  font-family: var(--font-sans);
  font-size: .8rem;
  color: var(--text-light);
  margin-top: .2rem;
}

.btn-group {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  padding: .65rem 1.4rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(90, 125, 94, 0.3);
}

.btn-secondary {
  background: var(--bg-muted);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--border);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-warm {
  background: var(--warm);
  color: white;
}
.btn-warm:hover {
  background: #a97550;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 149, 106, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.btn-sm {
  font-size: .85rem;
  padding: .4rem .9rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: .8rem 1.8rem;
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-size: .85rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   BIRD DISPLAY CARD
   ============================================================ */
#bird-display {
  display: none;
}

.bird-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
  margin-bottom: 2rem;
}

.bird-image-wrap {
  position: relative;
  background: var(--bg-muted);
  aspect-ratio: 16/9;
  max-height: 480px;
  overflow: hidden;
}

.bird-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .5s;
}

.bird-image-wrap img.loading { filter: blur(12px); }

/* Magnifier */
.magnifier-lens {
  display: none;
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  pointer-events: none;
  overflow: hidden;
  background-repeat: no-repeat;
  transform: translate(-50%, -50%);
}
.bird-image-wrap:hover .magnifier-lens { display: block; }

/* Bird photo credit */
.photo-credit {
  position: absolute;
  bottom: .5rem;
  right: .75rem;
  font-size: .72rem;
  color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.35);
  padding: .15rem .5rem;
  border-radius: 4px;
}

.bird-info {
  padding: 1.75rem 2rem;
}

.bird-names {
  margin-bottom: 1rem;
}
.bird-names h2 {
  margin-bottom: .2rem;
}
.bird-scientific {
  font-style: italic;
  color: var(--text-light);
  font-size: .95rem;
}
.bird-location-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .2rem .65rem;
  border-radius: 12px;
  margin-top: .5rem;
}

.bird-desc {
  font-size: .98rem;
  line-height: 1.7;
  margin: 1rem 0;
}

.bird-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* ── Drawing Prompt ── */
.drawing-prompt {
  background: var(--warm-light);
  border-left: 3px solid var(--warm);
  border-radius: 0 8px 8px 0;
  padding: .75rem 1rem;
  margin: 1rem 0;
  font-size: .92rem;
  color: var(--text);
}
.drawing-prompt strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--warm);
  margin-bottom: .3rem;
}

/* ============================================================
   PRACTICE TIMER
   ============================================================ */
.timer-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.timer-section h3 {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
}

.timer-options {
  display: flex;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.timer-option {
  background: var(--bg-muted);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: .5rem 1rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: all .2s;
}
.timer-option:hover, .timer-option.selected {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-light);
}

.timer-display {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .04em;
  margin-bottom: 1rem;
  line-height: 1;
}

.timer-controls { display: flex; gap: .75rem; justify-content: center; }

/* ============================================================
   RANDOM LOCATIONS GRID
   ============================================================ */
.locations-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, .55);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.locations-modal-overlay.open { display: flex; }

.locations-modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-muted);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: background .2s;
}
.modal-close:hover { background: var(--border); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .6rem;
  margin-top: 1.25rem;
}

.location-btn {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem .9rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: .88rem;
  text-align: left;
  transition: all .2s;
  line-height: 1.3;
}
.location-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}
.location-btn .loc-name { font-weight: 600; color: var(--text); }
.location-btn .loc-region { font-size: .78rem; color: var(--text-light); }

/* ============================================================
   LOADING STATE
   ============================================================ */
.loading-state {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.loading-state.visible { display: block; }

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-state p {
  font-style: italic;
  color: var(--text-light);
}

/* ============================================================
   ERROR STATE
   ============================================================ */
.error-state {
  display: none;
  background: #fef6f6;
  border: 1px solid #f0c0c0;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.error-state.visible { display: block; }
.error-state p { color: #a04040; }

/* ============================================================
   COLOR ADVISOR PAGE
   ============================================================ */
.advisor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .advisor-layout { grid-template-columns: 1fr; }
}

.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-section h2 {
  margin-bottom: .4rem;
}

.form-section .subtitle {
  color: var(--text-light);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: .95rem;
  transition: border-color .2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b5e57' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
}

.form-hint {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: .3rem;
}

/* Color Palette Results */
.palette-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 300px;
}

.palette-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  text-align: center;
  color: var(--text-light);
  gap: .75rem;
}

.palette-placeholder .icon { font-size: 3rem; opacity: .4; }

.color-swatches {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.color-swatch-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.swatch-color {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.swatch-info h4 {
  font-size: .95rem;
  font-family: var(--font-serif);
  margin-bottom: .15rem;
}

.swatch-paint-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: .25rem;
}

.swatch-usage {
  font-size: .82rem;
  color: var(--text-light);
}

.swatch-tip {
  font-size: .82rem;
  color: var(--warm);
  font-style: italic;
  margin-top: .15rem;
}

.palette-approach {
  background: var(--bg-muted);
  border-radius: 8px;
  padding: .9rem 1rem;
  font-size: .88rem;
  margin-top: 1.25rem;
}
.palette-approach strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  margin-bottom: .25rem;
}

.difficulty-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 10px;
  margin-top: .75rem;
  text-transform: capitalize;
}
.difficulty-badge.beginner { background: #d4edda; color: #276030; }
.difficulty-badge.intermediate { background: var(--warm-light); color: #7a4a1e; }
.difficulty-badge.advanced { background: #f8d7da; color: #7a1e2a; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; }
}

.about-sidebar {
  position: sticky;
  top: 84px;
}

.about-illustration {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--warm-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid var(--border);
}

.about-main h2 { margin: 2rem 0 .75rem; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { margin-bottom: 1rem; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 1rem 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .95rem;
  color: var(--text-mid);
}
.feature-list li::before {
  content: '✦';
  color: var(--accent);
  font-size: .8rem;
  margin-top: .15rem;
  flex-shrink: 0;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-hero { padding: 3.5rem 0 2rem; text-align: center; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0 4rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--shadow);
}

.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--accent-light), var(--warm-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 10px;
  margin-bottom: .75rem;
}

.blog-card h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.blog-card p { font-size: .9rem; flex: 1; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  font-size: .82rem;
  color: var(--text-light);
  padding-top: .75rem;
  border-top: 1px solid var(--border-light);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin: 2rem 0 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-info h3 { margin-bottom: .5rem; }
.contact-info p { margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: .9rem; margin-bottom: .15rem; font-family: var(--font-sans); font-weight: 600; }
.contact-detail p { font-size: .88rem; color: var(--text-light); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form h2 { margin-bottom: 1.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

.footer-brand .logo-text { font-size: 1rem; }
.footer-brand p {
  font-size: .88rem;
  color: var(--text-light);
  margin-top: .6rem;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-light);
  margin-bottom: .9rem;
  font-family: var(--font-sans);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.footer-col ul a {
  font-size: .9rem;
  color: var(--text-mid);
}
.footer-col ul a:hover { color: var(--accent-dark); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .83rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom a { color: var(--text-light); }
.footer-bottom a:hover { color: var(--accent-dark); }

/* ============================================================
   UTILITIES & MISC
   ============================================================ */
.page-section {
  padding: 3rem 0;
}

.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .5rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .75rem;
}

.tag {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .2rem .7rem;
  font-size: .8rem;
  color: var(--text-mid);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text);
  color: var(--bg);
  padding: .75rem 1.25rem;
  border-radius: 8px;
  font-size: .9rem;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s;
  pointer-events: none;
  max-width: 280px;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Success message */
.success-msg {
  background: #d4edda;
  border: 1px solid #b8d8c0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #276030;
  display: none;
  margin-top: 1rem;
}
.success-msg.visible { display: block; }

/* Responsive tweaks */
@media (max-width: 480px) {
  .tool-card, .bird-info { padding: 1.25rem; }
  .timer-section { padding: 1.25rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
}
