/* ============================================================
   PsychLine.in — Shared Design System
   Styles common to both the home page and inner pages.
   Design language: warm cream / terracotta / sage / charcoal
   Fonts: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --cream: #faf7f2;
  --warm-white: #fff9f4;
  --terracotta: #c5604a;
  --terra-light: #e8856f;
  --terra-pale: #f5e4de;
  --sage: #6b7f6a;
  --sage-light: #d4e0d3;
  --charcoal: #2d2d2d;
  --mid-grey: #6b6b6b;
  --border: #e2d8d0;
  --gold: #c9a96e;
  --terra: #c5604a;
}

/* ── NAV ── */
.hl-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 64px;
}
.hl-nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.hl-nav-logo span { color: var(--terracotta); }
.hl-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hl-nav-links a {
  text-decoration: none;
  color: var(--mid-grey);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.hl-nav-links a:hover { color: var(--terracotta); }
.hl-nav-cta {
  background: var(--terracotta) !important;
  color: white !important;
  padding: 9px 20px;
  border-radius: 40px;
  transition: background 0.2s !important;
}
.hl-nav-cta:hover { background: #a84d39 !important; }

/* Mobile burger */
.hl-nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--charcoal);
  padding: 4px 8px;
}
.hl-nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
  position: sticky;
  top: 64px;
  z-index: 199;
}
.hl-nav-mobile.open { display: flex; }
.hl-nav-mobile a {
  text-decoration: none;
  color: var(--mid-grey);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s;
}
.hl-nav-mobile a:last-child { border-bottom: none; }
.hl-nav-mobile a:hover { color: var(--terracotta); }
.hl-nav-mobile .hl-nav-cta {
  margin-top: 12px;
  text-align: center;
  border-radius: 40px;
  border-bottom: none !important;
}

/* ── SHARED BUTTONS ── */
.hl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 20px rgba(197, 96, 74, 0.3);
}
.hl-btn-primary:hover { background: #a84d39; transform: translateY(-2px); color: white; }
.hl-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  padding: 13px 24px;
  border-radius: 50px;
  transition: border-color 0.2s, color 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.hl-btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ── COOKIE NOTICE ── */
#cookie-notice {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 680px;
  width: calc(100% - 48px);
}
#cookie-notice span { flex: 1; line-height: 1.5; min-width: 200px; }
.hl-cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
#cookie-notice-accept {
  padding: 8px 18px;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
#cookie-notice-accept:hover { background: var(--terra-light); }
#cookie-notice-deny {
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
#cookie-notice-deny:hover { background: rgba(255,255,255,0.15); color: white; }
#cookie-notice a.hl-cookie-info {
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  text-decoration: underline;
  flex-shrink: 0;
}

/* ── FOOTER ── */
.hl-footer {
  background: #1e1e1e;
  color: rgba(255, 255, 255, 0.45);
  padding: 48px 60px 32px;
}
.hl-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 40px;
}
.hl-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.hl-footer-logo span { color: var(--terra-light); }
.hl-footer-tagline {
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 0;
}
.hl-footer-col-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.hl-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hl-footer-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.hl-footer-links a:hover { color: var(--terra-light); }
.hl-footer-newsletter label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.hl-footer-newsletter-form {
  display: flex;
  gap: 8px;
}
.hl-footer-newsletter input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
}
.hl-footer-newsletter input::placeholder { color: rgba(255, 255, 255, 0.3); }
.hl-footer-newsletter input:focus { border-color: var(--terra-light); }
.hl-footer-newsletter button {
  padding: 10px 16px;
  background: var(--terracotta);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}
.hl-footer-newsletter button:hover { background: var(--terra-light); }
.hl-footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.hl-footer-social-link {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.hl-footer-social-link:hover { background: var(--terracotta); color: white; }
.hl-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 8px;
}
.hl-footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
.hl-footer-bottom a:hover { color: var(--terra-light); }
.hl-footer-crisis {
  max-width: 1200px;
  margin: 16px auto 0;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── RESPONSIVE — NAV + FOOTER ── */
@media (max-width: 900px) {
  .hl-nav { padding: 0 24px; }
  .hl-nav-links { display: none; }
  .hl-nav-burger { display: block; }

  .hl-footer { padding: 48px 24px 32px; }
  .hl-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hl-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hl-footer-inner { grid-template-columns: 1fr; }
  .hl-footer-newsletter-form { flex-direction: column; }
}
