/* ═══════════════════════════════════════════════
   Global Styles — Taste Skill redesign
   Header, footer, mobile panel, shared components
   ═══════════════════════════════════════════════ */

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  color: var(--text);
}
.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.15s ease;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.08);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
}
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
}

/* ─── MOBILE PANEL ─── */
.mobile-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  padding: 1rem 0;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.mobile-panel a:last-of-type { border-bottom: none; }
.mobile-panel .sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.75rem 0;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.footer-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 36ch;
  margin: 1rem 0 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.625rem;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.06);
  transform: translateY(-2px);
}
.footer-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links-col a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-links-col a:hover { color: var(--accent); }
.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-contact-row:hover { color: var(--accent); }
.footer-contact-row svg { flex-shrink: 0; opacity: 0.6; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: auto; }
}

/* ─── PAGE PADDING (offset for fixed header) ─── */
main {
  padding-top: 72px;
}
