/*
Theme Name: ChillQuotes
Theme URI: https://chillquotes.com
Author: ChillQuotes Team
Author URI: https://chillquotes.com
Description: A beautiful quotes website theme for emotional and relationship quotes
Version: 1.0.0
License: GPL v2 or later
Text Domain: chillquotes
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS / CSS VARIABLES
   ═══════════════════════════════════════════ */
:root {
  --bg: #faf7f4;
  --surface: #ffffff;
  --ink: #1c1714;
  --ink-mid: #4a4540;
  --ink-light: #8a8480;
  --border: #ede8e2;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 14px 44px rgba(0,0,0,.14);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.16);

  --coral: #c8563e;
  --coral-dk: #a5422d;
  --coral-lt: #fdeee9;
  --coral-mid: #f0c4b8;
  --coral-glow: rgba(200,86,62,.22);

  --sad: #4e7ab5;
  --sad-lt: #e6eff8;
  --sad-mid: #b0cae8;
  --lonely: #7558a8;
  --lonely-lt: #f0ecf8;
  --lonely-mid: #c8b8e8;
  --think: #a06830;
  --think-lt: #faf0e4;
  --think-mid: #e8c898;
  --happy: #b87818;
  --happy-lt: #fdf4e0;
  --happy-mid: #f0d080;
  --angry: #b83838;
  --angry-lt: #fceaea;
  --angry-mid: #e8a8a8;
  --peace: #3a8860;
  --peace-lt: #e4f4ec;
  --peace-mid: #a0d8b8;

  --love: #b83860;
  --love-lt: #fceef2;
  --love-mid: #efb0c4;
  --love-dk: #8e2046;
  --heart: #b84040;
  --heart-lt: #fceaea;
  --heart-mid: #e8a8a8;
  --heart-dk: #8e2828;
  --miss: #506ab8;
  --miss-lt: #edf0fc;
  --miss-mid: #b8c4e8;
  --miss-dk: #3a508e;
  --dist: #2e8898;
  --dist-lt: #e4f4f6;
  --dist-mid: #98d0d8;
  --dist-dk: #1e6070;
  --toxic: #8a6838;
  --toxic-lt: #f6f0e4;
  --toxic-mid: #d4b888;
  --toxic-dk: #6a5020;
  --trust: #3a7858;
  --trust-lt: #e4f2ec;
  --trust-mid: #98d0b0;
  --trust-dk: #286040;
  --new: #a06830;
  --new-lt: #faf0e4;
  --new-mid: #e8c898;
  --ac: #b84040;
  --ac-lt: #fceaea;
  --ac-mid: #e8a8a8;
  --ac-dk: #8e2828;

  --ff-head: 'Georgia', 'Times New Roman', serif;
  --ff-body: 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --ff-sans: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ═══════════════════════════════════════════
   RESET & BASE STYLES
   ═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 var(--coral-glow); }
  70% { box-shadow: 0 0 0 14px rgba(200,86,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,86,62,0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: .9; }
}

@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

@keyframes bounce-in {
  0% { transform: scale(0) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.08) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes progress {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes copyPop {
  0% { transform: scale(.9); opacity: 0; }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}

@keyframes checkPop {
  0% { transform: scale(0) rotate(-10deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}

.reveal.vis, .reveal.visible {
  opacity: 1;
  transform: none;
}

.rd1 { transition-delay: .07s; }
.rd2 { transition-delay: .14s; }
.rd3 { transition-delay: .21s; }
.rd4 { transition-delay: .28s; }
.rd5 { transition-delay: .35s; }
.rd6 { transition-delay: .42s; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }
.reveal-delay-6 { transition-delay: .48s; }

/* ═══════════════════════════════════════════
   READING PROGRESS BAR
   ═══════════════════════════════════════════ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ac), var(--love));
  z-index: 500;
  width: 0%;
  transition: width .1s linear;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
nav {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2.5px solid var(--coral);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(200,86,62,.1);
  animation: fadeIn .35s ease both;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  max-width: 1160px;
  margin: 0 auto;
  gap: 12px;
}

.logo {
  font-family: var(--ff-head);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--coral);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: #fff;
  transition: transform .2s;
}

.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.1);
}

.logo .l1 { color: var(--coral); }
.logo .l2 { color: var(--ink); }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  font-family: var(--ff-sans);
  font-size: .83rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--ink-mid);
  padding: 6px 12px;
  border-radius: 100px;
  transition: background .17s, color .17s;
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: width .2s;
}

.nav-links a:hover {
  color: var(--coral);
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  width: 60%;
}

.nav-links a.active {
  color: var(--coral);
  background: var(--coral-lt);
}

.nav-cta {
  font-family: var(--ff-sans);
  font-size: .8rem;
  font-weight: 700;
  background: var(--coral);
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .17s, transform .15s;
  box-shadow: 0 3px 12px rgba(200,86,62,.35);
}

.nav-cta:hover {
  background: var(--coral-dk);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════
   TICKER / MARQUEE
   ═══════════════════════════════════════════ */
.ticker-wrap {
  background: var(--coral);
  overflow: hidden;
  padding: 8px 0;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}

.ticker-inner:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-sans);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .04em;
  padding: 0 28px;
}

.t-dot, .ticker-dot {
  color: rgba(255,255,255,.4);
}

/* ═══════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════ */
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.bc-inner {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-sans);
  font-size: .78rem;
  color: var(--ink-light);
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.bc-inner a {
  color: var(--ink-light);
  transition: color .17s;
}

.bc-inner a:hover {
  color: var(--coral);
}

.bc-sep {
  color: var(--border);
}

.bc-cur, .bc-current {
  color: var(--coral);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   HERO SECTION (Homepage)
   ═══════════════════════════════════════════ */
.hero {
  background: linear-gradient(145deg, #fff4f0 0%, #fdeee9 25%, #fff8f2 55%, #f2eeff 100%);
  padding: 80px 24px 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--coral-mid);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hb1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,86,62,.14) 0%, transparent 70%);
  top: -200px;
  left: -150px;
  animation: glow-pulse 5s ease-in-out infinite;
}

.hb2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(117,88,168,.1) 0%, transparent 70%);
  bottom: -140px;
  right: -100px;
  animation: glow-pulse 7s ease-in-out infinite 1s;
}

.hb3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(184,56,96,.09) 0%, transparent 70%);
  top: 10%;
  right: 8%;
  animation: glow-pulse 6s ease-in-out infinite 2s;
}

.hb4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(58,136,96,.1) 0%, transparent 70%);
  bottom: 5%;
  left: 10%;
  animation: glow-pulse 8s ease-in-out infinite .5s;
}

.hero-float {
  position: absolute;
  font-family: var(--ff-head);
  font-weight: 700;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: .07;
  color: var(--coral);
}

.hf1 {
  font-size: 9rem;
  top: -20px;
  left: -10px;
  animation: float 8s ease-in-out infinite;
}

.hf2 {
  font-size: 6rem;
  bottom: 10px;
  right: 20px;
  animation: float 11s ease-in-out infinite 2s;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-lt);
  border: 1.5px solid var(--coral-mid);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
  animation: scaleIn .5s .1s both;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.3rem, 5.5vw, 3.7rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 22px;
  animation: fadeUp .65s .2s both;
}

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--coral) 0%, #d8784a 50%, #c85a80 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-mid);
  max-width: 540px;
  margin: 0 auto 14px;
  line-height: 1.78;
  animation: fadeUp .65s .32s both;
}

.mood-prompt {
  font-family: var(--ff-sans);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 10px;
  letter-spacing: .02em;
  animation: fadeUp .5s .42s both;
}

.mood-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-bottom: 36px;
  animation: fadeUp .5s .48s both;
}

.mood-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-sans);
  font-size: .84rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s, background .18s;
  background: var(--surface);
}

.mood-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-lg);
}

.mood-btn.active {
  transform: translateY(-3px) scale(1.06);
  box-shadow: var(--shadow-lg);
}

.mb-sad {
  border-color: var(--sad-mid);
  color: var(--sad);
}
.mb-sad.active {
  background: var(--sad-lt);
  border-color: var(--sad);
}
.mb-happy {
  border-color: var(--happy-mid);
  color: var(--happy);
}
.mb-happy.active {
  background: var(--happy-lt);
  border-color: var(--happy);
}
.mb-love {
  border-color: var(--love-mid);
  color: var(--love);
}
.mb-love.active {
  background: var(--love-lt);
  border-color: var(--love);
}
.mb-think {
  border-color: var(--think-mid);
  color: var(--think);
}
.mb-think.active {
  background: var(--think-lt);
  border-color: var(--think);
}
.mb-peace {
  border-color: var(--peace-mid);
  color: var(--peace);
}
.mb-peace.active {
  background: var(--peace-lt);
  border-color: var(--peace);
}
.mb-angry {
  border-color: var(--angry-mid);
  color: var(--angry);
}
.mb-angry.active {
  background: var(--angry-lt);
  border-color: var(--angry);
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .5s .56s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: .94rem;
  letter-spacing: .02em;
  background: linear-gradient(135deg, var(--coral) 0%, #d96b42 100%);
  color: #fff;
  padding: 15px 32px;
  border-radius: 12px;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 5px 22px rgba(200,86,62,.4);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
  border-radius: 12px;
}

.btn:hover {
  opacity: .93;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(200,86,62,.46);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: .94rem;
  color: var(--coral);
  background: var(--surface);
  border: 2px solid var(--coral-mid);
  padding: 13px 28px;
  border-radius: 12px;
  transition: border-color .18s, background .18s, transform .15s, box-shadow .18s;
}

.btn-ghost:hover {
  border-color: var(--coral);
  background: var(--coral-lt);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ═══════════════════════════════════════════
   QUOTE OF THE DAY SECTION
   ═══════════════════════════════════════════ */
.qotd-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.qotd-card {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fff4f0 0%, #fdeee9 40%, #f8f4ff 100%);
  border: 2px solid var(--coral-mid);
  border-radius: 24px;
  padding: 52px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(200,86,62,.12), 0 2px 8px rgba(0,0,0,.05);
}

.qotd-bg-quote {
  position: absolute;
  font-family: var(--ff-head);
  font-size: 18rem;
  font-weight: 700;
  color: rgba(200,86,62,.06);
  line-height: 1;
  top: -60px;
  left: -10px;
  pointer-events: none;
  user-select: none;
}

.qotd-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-lt);
  border: 1.5px solid var(--coral-mid);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.qotd-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-ring 1.8s infinite;
}

.qotd-quote {
  font-family: var(--ff-head);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.qotd-quote::before {
  content: '\201C';
  color: var(--coral);
  font-size: 1.2em;
}

.qotd-quote::after {
  content: '\201D';
  color: var(--coral);
  font-size: 1.2em;
}

.qotd-author {
  font-family: var(--ff-sans);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.qotd-author::before {
  content: '—';
  color: var(--coral);
  font-weight: 300;
  font-size: 1.1rem;
}

.qotd-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.qotd-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--coral-mid);
  color: var(--coral);
  background: var(--surface);
  cursor: pointer;
  transition: all .18s;
}

.qotd-btn:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200,86,62,.3);
}

.qotd-btn.liked {
  background: var(--angry);
  color: #fff;
  border-color: var(--angry);
}

.qotd-next-btn {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all .18s;
  z-index: 2;
  color: var(--ink-mid);
}

.qotd-next-btn:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════
   STATS SECTION
   ═══════════════════════════════════════════ */
.stats-section {
  background: var(--bg);
  padding: 40px 0;
}

.stats-strip {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #c8563e 0%, #d47040 40%, #c06060 80%, #9858a8 100%);
  box-shadow: 0 10px 40px rgba(200,86,62,.32);
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 1px, transparent 12px);
  pointer-events: none;
}

.stat-item {
  flex: 1;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
  position: relative;
  z-index: 1;
  cursor: default;
  transition: background .2s;
}

.stat-item:hover {
  background: rgba(255,255,255,.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  display: block;
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
  transition: transform .2s;
}

.stat-item:hover .stat-num {
  transform: scale(1.08);
}

.stat-label {
  font-family: var(--ff-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════ */
section {
  padding: 30px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-lt);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 12px;
  border: 1px solid var(--coral-mid);
}

h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 10px;
}

.section-sub {
  font-size: .97rem;
  color: var(--ink-light);
  font-family: var(--ff-sans);
}

.sec-title {
  font-family: var(--ff-head);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.24;
  color: var(--ink);
  margin-bottom: 6px;
}

.sec-sub {
  font-size: .9rem;
  color: var(--ink-light);
  font-family: var(--ff-sans);
  margin-bottom: 26px;
}

/* ═══════════════════════════════════════════
   EMOTION CARDS
   ═══════════════════════════════════════════ */
.sec-emotion {
  background: var(--surface);
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .emotion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .emotion-grid {
    grid-template-columns: 1fr;
  }
}

.emotion-card {
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  border: 2px solid transparent;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, border-color .2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.emotion-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.emotion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .4s;
  pointer-events: none;
}

.emotion-card:hover::before {
  left: 150%;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.emotion-card:hover .card-icon-wrap {
  transform: scale(1.15) rotate(-6deg);
}

.emotion-card h3 {
  font-family: var(--ff-head);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.2;
}

.emotion-card p {
  font-size: .87rem;
  color: var(--ink-mid);
  line-height: 1.62;
  font-family: var(--ff-sans);
  margin-bottom: 16px;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-sans);
  font-size: .8rem;
  font-weight: 700;
  transition: gap .2s;
  letter-spacing: .01em;
}

.emotion-card:hover .card-arrow {
  gap: 10px;
}

.card-count {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--ff-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 100px;
  opacity: .6;
  transition: opacity .2s;
}

.emotion-card:hover .card-count {
  opacity: 1;
}

.ec-sad {
  background: var(--sad-lt);
  border-color: var(--sad-mid);
}
.ec-sad:hover {
  border-color: var(--sad);
}
.ec-sad .card-icon-wrap {
  background: var(--sad-mid);
}
.ec-sad h3, .ec-sad .card-arrow {
  color: var(--sad);
}
.ec-sad .card-count {
  background: var(--sad-mid);
  color: var(--sad);
}

.ec-lonely {
  background: var(--lonely-lt);
  border-color: var(--lonely-mid);
}
.ec-lonely:hover {
  border-color: var(--lonely);
}
.ec-lonely .card-icon-wrap {
  background: var(--lonely-mid);
}
.ec-lonely h3, .ec-lonely .card-arrow {
  color: var(--lonely);
}
.ec-lonely .card-count {
  background: var(--lonely-mid);
  color: var(--lonely);
}

.ec-think {
  background: var(--think-lt);
  border-color: var(--think-mid);
}
.ec-think:hover {
  border-color: var(--think);
}
.ec-think .card-icon-wrap {
  background: var(--think-mid);
}
.ec-think h3, .ec-think .card-arrow {
  color: var(--think);
}
.ec-think .card-count {
  background: var(--think-mid);
  color: var(--think);
}

.ec-happy {
  background: var(--happy-lt);
  border-color: var(--happy-mid);
}
.ec-happy:hover {
  border-color: var(--happy);
}
.ec-happy .card-icon-wrap {
  background: var(--happy-mid);
}
.ec-happy h3, .ec-happy .card-arrow {
  color: var(--happy);
}
.ec-happy .card-count {
  background: var(--happy-mid);
  color: var(--happy);
}

.ec-angry {
  background: var(--angry-lt);
  border-color: var(--angry-mid);
}
.ec-angry:hover {
  border-color: var(--angry);
}
.ec-angry .card-icon-wrap {
  background: var(--angry-mid);
}
.ec-angry h3, .ec-angry .card-arrow {
  color: var(--angry);
}
.ec-angry .card-count {
  background: var(--angry-mid);
  color: var(--angry);
}

.ec-peace {
  background: var(--peace-lt);
  border-color: var(--peace-mid);
}
.ec-peace:hover {
  border-color: var(--peace);
}
.ec-peace .card-icon-wrap {
  background: var(--peace-mid);
}
.ec-peace h3, .ec-peace .card-arrow {
  color: var(--peace);
}
.ec-peace .card-count {
  background: var(--peace-mid);
  color: var(--peace);
}

/* ═══════════════════════════════════════════
   FEATURED QUOTE SLIDER
   ═══════════════════════════════════════════ */
.sec-featured {
  background: linear-gradient(145deg, #1c1714 0%, #2e2218 50%, #1a1820 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.sec-featured .section-label {
  color: #e8a080;
  background: rgba(200,86,62,.2);
  border-color: rgba(200,86,62,.4);
}

.sec-featured h2 {
  color: #f0ece8;
}

.sec-featured .section-sub {
  color: rgba(255,255,255,.45);
}

.featured-bg-deco {
  position: absolute;
  font-family: var(--ff-head);
  font-size: 20rem;
  font-weight: 700;
  color: rgba(200,86,62,.06);
  top: -60px;
  right: -40px;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.quote-slider {
  position: relative;
}

.quote-slides {
  overflow: hidden;
}

.quote-slide {
  display: none;
  animation: fadeUp .5s ease both;
}

.quote-slide.active {
  display: block;
}

.quote-card-big {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 44px 52px;
  position: relative;
  backdrop-filter: blur(4px);
}

.qc-emotion-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 22px;
  border: 1.5px solid transparent;
}

.quote-text-big {
  font-family: var(--ff-head);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.45;
  color: #f0ece8;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}

.quote-text-big::before {
  content: '\201C';
  color: var(--coral);
  margin-right: 3px;
}

.quote-text-big::after {
  content: '\201D';
  color: var(--coral);
  margin-left: 3px;
}

.quote-attr {
  font-family: var(--ff-sans);
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.quote-attr span:first-child {
  color: var(--coral);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  cursor: pointer;
  transition: all .18s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.slider-dots {
  display: flex;
  gap: 7px;
}

.sdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: all .2s;
}

.sdot.active {
  background: var(--coral);
  width: 22px;
  border-radius: 4px;
}

.slider-read-btn {
  margin-left: auto;
  font-family: var(--ff-sans);
  font-size: .84rem;
  font-weight: 600;
  color: #e8a080;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .18s, color .18s;
}

.slider-read-btn:hover {
  color: var(--coral);
  gap: 10px;
}

/* ═══════════════════════════════════════════
   RELATIONSHIP CARDS
   ═══════════════════════════════════════════ */
.sec-rel {
  background: linear-gradient(180deg, #fff6f0 0%, #faf7f4 100%);
}

.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.rel-card {
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 2px solid transparent;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}

.rel-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.rel-card::after {
  content: '→';
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  transform: translateX(-6px);
}

.rel-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.rel-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}

.rel-card:hover .rel-icon-wrap {
  transform: scale(1.15) rotate(-5deg);
}

.rel-card h3 {
  font-family: var(--ff-head);
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.rel-card p {
  font-size: .84rem;
  color: var(--ink-mid);
  font-family: var(--ff-sans);
  line-height: 1.55;
}

.rc-love {
  background: var(--love-lt);
  border-color: var(--love-mid);
}
.rc-love:hover {
  border-color: var(--love);
}
.rc-love .rel-icon-wrap {
  background: var(--love-mid);
}
.rc-love h3 {
  color: var(--love);
}
.rc-love::after {
  color: var(--love);
}

.rc-miss {
  background: var(--miss-lt);
  border-color: var(--miss-mid);
}
.rc-miss:hover {
  border-color: var(--miss);
}
.rc-miss .rel-icon-wrap {
  background: var(--miss-mid);
}
.rc-miss h3 {
  color: var(--miss);
}
.rc-miss::after {
  color: var(--miss);
}

.rc-dist {
  background: var(--dist-lt);
  border-color: var(--dist-mid);
}
.rc-dist:hover {
  border-color: var(--dist);
}
.rc-dist .rel-icon-wrap {
  background: var(--dist-mid);
}
.rc-dist h3 {
  color: var(--dist);
}
.rc-dist::after {
  color: var(--dist);
}

.rc-toxic {
  background: var(--toxic-lt);
  border-color: var(--toxic-mid);
}
.rc-toxic:hover {
  border-color: var(--toxic);
}
.rc-toxic .rel-icon-wrap {
  background: var(--toxic-mid);
}
.rc-toxic h3 {
  color: var(--toxic);
}
.rc-toxic::after {
  color: var(--toxic);
}

/* ═══════════════════════════════════════════
   POPULAR SECTION
   ═══════════════════════════════════════════ */
.sec-popular {
  background: var(--surface);
}

.popular-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 700px) {
  .popular-layout {
    grid-template-columns: 1fr;
  }
}

.popular-item {
  display: flex;
  align-items: stretch;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--ff-sans);
  color: var(--ink-mid);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
}

.popular-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(5px);
}

.pop-bar {
  width: 7px;
  flex-shrink: 0;
}

.pop-body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  flex: 1;
}

.pop-num {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 30px;
  line-height: 1;
  flex-shrink: 0;
}

.pop-text {
  flex: 1;
}

.pop-title {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  transition: color .18s;
}

.popular-item:hover .pop-title {
  color: inherit;
}

.pop-meta {
  font-size: .76rem;
  color: var(--ink-light);
}

.pop-arrow {
  font-size: .9rem;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  transform: translateX(-4px);
}

.popular-item:hover .pop-arrow {
  opacity: 1;
  transform: translateX(0);
}

.pi-1 .pop-bar { background: var(--sad); }
.pi-1:hover { border-color: var(--sad); }
.pi-1 .pop-num { color: var(--sad); }
.pi-1 .pop-arrow { color: var(--sad); }

.pi-2 .pop-bar { background: var(--love); }
.pi-2:hover { border-color: var(--love); }
.pi-2 .pop-num { color: var(--love); }
.pi-2 .pop-arrow { color: var(--love); }

.pi-3 .pop-bar { background: var(--toxic); }
.pi-3:hover { border-color: var(--toxic); }
.pi-3 .pop-num { color: var(--toxic); }
.pi-3 .pop-arrow { color: var(--toxic); }

.pi-4 .pop-bar { background: var(--think); }
.pi-4:hover { border-color: var(--think); }
.pi-4 .pop-num { color: var(--think); }
.pi-4 .pop-arrow { color: var(--think); }

.pi-5 .pop-bar { background: var(--angry); }
.pi-5:hover { border-color: var(--angry); }
.pi-5 .pop-num { color: var(--angry); }
.pi-5 .pop-arrow { color: var(--angry); }

.pi-6 .pop-bar { background: var(--peace); }
.pi-6:hover { border-color: var(--peace); }
.pi-6 .pop-num { color: var(--peace); }
.pi-6 .pop-arrow { color: var(--peace); }

/* ═══════════════════════════════════════════
   SITUATION TAGS
   ═══════════════════════════════════════════ */
.sec-situation {
  background: linear-gradient(180deg, #f8f4ff 0%, #faf7f4 100%);
}

.situation-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.situation-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 12px 24px;
  font-family: var(--ff-sans);
  font-size: .9rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, background .18s;
}

.situation-tag:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: var(--shadow-lg);
}

.st-emoji {
  font-size: 1.15rem;
  transition: transform .22s;
}

.situation-tag:hover .st-emoji {
  transform: rotate(-10deg) scale(1.2);
}

.st-breakup {
  background: var(--angry-lt);
  color: var(--angry);
  border-color: var(--angry-mid);
}
.st-breakup:hover {
  border-color: var(--angry);
}

.st-moving {
  background: var(--peace-lt);
  color: var(--peace);
  border-color: var(--peace-mid);
}
.st-moving:hover {
  border-color: var(--peace);
}

.st-latenight {
  background: var(--lonely-lt);
  color: var(--lonely);
  border-color: var(--lonely-mid);
}
.st-latenight:hover {
  border-color: var(--lonely);
}

.st-starting {
  background: var(--happy-lt);
  color: var(--happy);
  border-color: var(--happy-mid);
}
.st-starting:hover {
  border-color: var(--happy);
}

.st-selflove {
  background: var(--love-lt);
  color: var(--love);
  border-color: var(--love-mid);
}
.st-selflove:hover {
  border-color: var(--love);
}

.st-change {
  background: var(--think-lt);
  color: var(--think);
  border-color: var(--think-mid);
}
.st-change:hover {
  border-color: var(--think);
}

/* ═══════════════════════════════════════════
   SEO BLOCK
   ═══════════════════════════════════════════ */
.sec-seo {
  background: linear-gradient(135deg, #fff9f7 0%, #f2eeff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.seo-inner {
  max-width: 740px;
}

.sec-seo p {
  color: var(--ink-mid);
  font-size: 1rem;
  line-height: 1.88;
  margin-bottom: 16px;
}

.sec-seo p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   CTA / NEWSLETTER BANNER
   ═══════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--coral) 0%, #d97040 40%, #c06060 80%, #9858a8 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 1px, transparent 1px, transparent 14px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(255,255,255,.8);
  font-family: var(--ff-sans);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  font-family: var(--ff-sans);
  font-size: .92rem;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.15);
  color: #fff;
  outline: none;
  transition: border-color .18s, background .18s;
}

.cta-input::placeholder {
  color: rgba(255,255,255,.55);
}

.cta-input:focus {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.22);
}

.cta-submit {
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: .9rem;
  background: #fff;
  color: var(--coral);
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.cta-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

@media (max-width: 480px) {
  .cta-form {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
  background: #1c1714;
  color: #b0a8a0;
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2622;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 12px;
}

.footer-brand .logo .l1 {
  color: #e07868;
}

.footer-brand .logo .l2 {
  color: #e0d8d0;
}

.footer-brand p {
  font-size: .86rem;
  color: #706860;
  line-height: 1.72;
  font-family: var(--ff-sans);
  max-width: 270px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #2e2a27;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: background .18s, border-color .18s, transform .15s;
  cursor: pointer;
}

.social-btn:hover {
  background: rgba(224,120,104,.15);
  border-color: #e07868;
  transform: translateY(-2px);
}

footer h4 {
  font-family: var(--ff-sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #524c48;
  margin-bottom: 16px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

footer ul a {
  font-family: var(--ff-sans);
  font-size: .86rem;
  color: #887e78;
  transition: color .17s, padding-left .17s;
  display: flex;
  align-items: center;
  gap: 6px;
}

footer ul a::before {
  content: '·';
  color: #3e3a37;
  font-size: .7rem;
  transition: color .18s;
}

footer ul a:hover {
  color: #e07868;
  padding-left: 4px;
}

footer ul a:hover::before {
  color: #e07868;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--ff-sans);
  font-size: .76rem;
  color: #484440;
}

.footer-bottom a {
  color: #484440;
  transition: color .18s;
}

.footer-bottom a:hover {
  color: #e07868;
}

.footer-heart {
  color: #e07868;
  animation: pulse-ring 2s infinite;
  display: inline-block;
}

/* ═══════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════ */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 300;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(200,86,62,.4);
  border: none;
}

.back-top.vis {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px) scale(1.08);
}

/* ═══════════════════════════════════════════
   SIDEBAR WIDGETS
   ═══════════════════════════════════════════ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 80px;
}

.sidebar-widget, .sw {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
}

.sw-head {
  padding: 13px 17px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sw-head-icon {
  font-size: 1rem;
}

.sw-head-title {
  font-family: var(--ff-sans);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.sw-body {
  padding: 15px 17px;
}

/* Popular widget */
.pop-list {
  display: flex;
  flex-direction: column;
}

.pop-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.pop-item:first-child {
  padding-top: 0;
}

.pop-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pop-num {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  min-width: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.pop-info {
  flex: 1;
}

.pop-title-txt {
  font-family: var(--ff-sans);
  font-size: .83rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 2px;
  transition: color .17s;
}

.pop-item:hover .pop-title-txt {
  color: var(--coral);
}

.pop-meta-txt {
  font-family: var(--ff-sans);
  font-size: .71rem;
  color: var(--ink-light);
}

.pop-arrow {
  font-size: .88rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all .17s;
}

.pop-item:hover .pop-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Categories widget */
.cat-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cat-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .18s;
  font-family: var(--ff-sans);
  font-size: .83rem;
  font-weight: 600;
}

.cat-chip:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.cat-chip-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-chip-count {
  font-size: .71rem;
  opacity: .7;
}

.cc-love {
  background: var(--love-lt);
  color: var(--love);
}
.cc-love:hover {
  border-color: var(--love);
}

.cc-heart {
  background: var(--heart-lt);
  color: var(--heart);
}
.cc-heart:hover {
  border-color: var(--heart);
}

.cc-miss {
  background: var(--miss-lt);
  color: var(--miss);
}
.cc-miss:hover {
  border-color: var(--miss);
}

.cc-dist {
  background: var(--dist-lt);
  color: var(--dist);
}
.cc-dist:hover {
  border-color: var(--dist);
}

.cc-toxic {
  background: var(--toxic-lt);
  color: var(--toxic);
}
.cc-toxic:hover {
  border-color: var(--toxic);
}

.cc-trust {
  background: var(--trust-lt);
  color: var(--trust);
}
.cc-trust:hover {
  border-color: var(--trust);
}

.cc-new {
  background: var(--new-lt);
  color: var(--new);
}
.cc-new:hover {
  border-color: var(--new);
}

/* Quote widget */
.quote-widget {
  background: linear-gradient(145deg, #1c1714, #2a2018);
  border-color: #2e2a27;
}

.quote-widget .sw-head {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.quote-widget .sw-head-title {
  color: rgba(255,255,255,.5);
}

.qw-text {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.52;
  color: #f0ece8;
  margin-bottom: 12px;
}

.qw-text::before {
  content: '\201C';
  color: var(--love);
  font-size: 1.3em;
}

.qw-text::after {
  content: '\201D';
  color: var(--love);
  font-size: 1.3em;
}

.qw-author {
  font-family: var(--ff-sans);
  font-size: .77rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 7px;
}

.qw-author::before {
  content: '—';
  color: var(--love);
}

.qw-copy {
  margin-top: 14px;
  width: 100%;
  padding: 9px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
  font-family: var(--ff-sans);
  font-size: .77rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .17s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.qw-copy:hover {
  background: var(--love);
  color: #fff;
  border-color: var(--love);
}

/* Newsletter widget */


/* Quote of moment widget */
.qom-widget {
  background: linear-gradient(145deg, #1c1714, #2a2018);
  border-color: #2e2a27;
}

.qom-widget .sw-head {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.qom-widget .sw-head-title {
  color: rgba(255,255,255,.45);
}

.qom-text {
  font-family: var(--ff-head);
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.5;
  color: #f0ece8;
  margin-bottom: 10px;
}

.qom-text::before {
  content: '\201C';
  color: var(--ac);
  font-size: 1.2em;
}

.qom-text::after {
  content: '\201D';
  color: var(--ac);
  font-size: 1.2em;
}

.qom-author {
  font-family: var(--ff-sans);
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.qom-author::before {
  content: '—';
  color: var(--ac);
}

.qom-copy {
  margin-top: 12px;
  width: 100%;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
  font-family: var(--ff-sans);
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .17s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.qom-copy:hover {
  background: var(--ac);
  color: #fff;
  border-color: var(--ac);
}

/* ═══════════════════════════════════════════
   AUTHOR WIDGET
   ═══════════════════════════════════════════ */
.author-widget {
  background: linear-gradient(145deg, var(--ac-lt), #fdeee9);
  border-color: var(--ac-mid);
}

.author-widget .sw-head {
  border-bottom: 1px solid var(--ac-mid);
  background: rgba(184,64,64,.06);
}

.author-widget .sw-head-title {
  color: var(--ac);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.author-avatar-lg {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ac-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 2px solid var(--ac);
}

.author-name {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.author-role {
  font-family: var(--ff-sans);
  font-size: .73rem;
  color: var(--ink-light);
  letter-spacing: .04em;
}

.author-bio {
  font-family: var(--ff-sans);
  font-size: .82rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   SAVE PROGRESS WIDGET
   ═══════════════════════════════════════════ */
.save-count {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ac);
  line-height: 1;
  margin-bottom: 2px;
}

.save-label {
  font-family: var(--ff-sans);
  font-size: .76rem;
  color: var(--ink-light);
  margin-bottom: 14px;
}

.save-bar-wrap {
  background: var(--border);
  border-radius: 100px;
  height: 6px;
  margin-bottom: 14px;
  overflow: hidden;
}

.save-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--ac), var(--love));
  border-radius: 100px;
  width: 0%;
  transition: width .8s cubic-bezier(.16,1,.3,1);
}

.save-all-btn {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--ac);
  color: #fff;
  border: none;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .17s;
}

.save-all-btn:hover {
  background: var(--ac-dk);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   RESPONSE TIMES CARD
   ═══════════════════════════════════════════ */
.resp-card {
  background: linear-gradient(145deg, var(--trust-lt), #e8f8f0);
  border-color: var(--trust-mid);
}

.resp-card .con-card-head {
  border-bottom: 1px solid var(--trust-mid);
  background: rgba(58,120,88,.06);
}

.resp-card .con-card-title {
  color: var(--trust);
}

.resp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(58,120,88,.12);
}

.resp-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.resp-row:first-child {
  padding-top: 0;
}

.resp-type {
  font-family: var(--ff-sans);
  font-size: .82rem;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 7px;
}

.resp-time {
  font-family: var(--ff-sans);
  font-size: .8rem;
  font-weight: 700;
  color: var(--trust);
}

/* ═══════════════════════════════════════════
   CONTACT FORM STYLES
   ═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.form-card-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--love));
  transition: background .4s;
}

.form-card-body {
  padding: 32px 32px 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

label {
  font-family: var(--ff-sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.label-req {
  color: var(--coral);
  margin-left: 3px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--ff-sans);
  font-size: .93rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
  -webkit-appearance: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--ink-light);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--coral);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(200,86,62,.1);
}

.form-input.error, .form-textarea.error {
  border-color: var(--heart);
  box-shadow: 0 0 0 3px rgba(184,64,64,.1);
}

.form-input.success {
  border-color: var(--trust);
  box-shadow: 0 0 0 3px rgba(58,120,88,.1);
}

.field-error {
  font-family: var(--ff-sans);
  font-size: .74rem;
  color: var(--heart);
  margin-top: 4px;
  display: none;
  animation: slideDown .25s ease;
}

.field-error.show {
  display: block;
}

.form-select {
  cursor: pointer;
  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 d='M1 1l5 5 5-5' stroke='%238a8480' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

.char-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.char-count {
  font-family: var(--ff-sans);
  font-size: .72rem;
  color: var(--ink-light);
  transition: color .17s;
}

.char-count.warn {
  color: var(--happy);
}

.char-count.over {
  color: var(--heart);
}

.stars-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.star {
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform .15s, filter .15s;
  filter: grayscale(1);
  opacity: .4;
}

.star:hover, .star.lit {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.15);
}

.file-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s, background .18s;
  position: relative;
}

.file-drop:hover, .file-drop.drag {
  border-color: var(--coral);
  background: var(--coral-lt);
}

.file-drop input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-drop-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.file-drop-label {
  font-family: var(--ff-sans);
  font-size: .83rem;
  color: var(--ink-mid);
}

.file-drop-sub {
  font-family: var(--ff-sans);
  font-size: .72rem;
  color: var(--ink-light);
  margin-top: 3px;
}

.file-name {
  font-family: var(--ff-sans);
  font-size: .78rem;
  color: var(--trust);
  font-weight: 600;
  margin-top: 8px;
  display: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 22px;
}

.check-row input[type=checkbox] {
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  accent-color: var(--coral);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-label {
  font-family: var(--ff-sans);
  font-size: .82rem;
  color: var(--ink-mid);
  line-height: 1.55;
}

.check-label a {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-color: var(--coral-mid);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--ff-sans);
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: linear-gradient(135deg, var(--coral) 0%, #d96b42 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: opacity .18s, transform .15s, box-shadow .18s;
  box-shadow: 0 5px 20px rgba(200,86,62,.36);
}

.submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
  border-radius: 10px;
}

.submit-btn:hover:not(:disabled) {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 9px 28px rgba(200,86,62,.42);
}

.submit-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.submit-btn .btn-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.submit-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}

.success-panel {
  display: none;
  text-align: center;
  padding: 52px 32px;
}

.success-panel.show {
  display: block;
}

.success-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--trust), #4aa870);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  animation: checkPop .5s cubic-bezier(.34,1.56,.64,1) both;
  box-shadow: 0 8px 28px rgba(58,120,88,.32);
}

.success-title {
  font-family: var(--ff-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.success-sub {
  font-family: var(--ff-sans);
  font-size: .95rem;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.success-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-sans);
  font-size: .8rem;
  color: var(--trust);
  background: var(--trust-lt);
  border: 1px solid var(--trust-mid);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.success-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-sans);
  font-size: .88rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  transition: all .18s;
  cursor: pointer;
  border: none;
}

.sb-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 16px rgba(200,86,62,.3);
}

.sb-primary:hover {
  background: var(--coral-dk);
  transform: translateY(-2px);
}

.sb-ghost {
  background: var(--surface);
  color: var(--ink-mid);
  border: 1.5px solid var(--border);
}

.sb-ghost:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: var(--coral-lt);
}

/* ═══════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════ */
.mob-menu {
  position: fixed;
  inset: 0;
  background: rgba(28,23,20,.62);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  backdrop-filter: blur(4px);
}

.mob-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mob-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background: var(--surface);
  padding: 22px 18px;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.16,1,.3,1);
  overflow-y: auto;
}

.mob-menu.open .mob-panel {
  transform: none;
}

.mob-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
}

.mob-logo {
  font-family: var(--ff-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.mob-logo .l1 {
  color: var(--coral);
}

.mob-logo .l2 {
  color: var(--ink);
}

.mob-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mob-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-mid);
  transition: background .17s, color .17s;
}

.mob-nav a:hover, .mob-nav a.active {
  background: var(--coral-lt);
  color: var(--coral);
}

.mob-div {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.mob-subhead {
  font-family: var(--ff-sans);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 0 13px;
  margin-bottom: 5px;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE & LEGAL PAGE STYLES
   ═══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(145deg, #fff5f2 0%, #fdeee9 25%, #fff8f0 60%, #f4f0ff 100%);
  padding: 52px 20px 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--coral-mid);
}

.ph-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.phb1 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(200,86,62,.12) 0%, transparent 70%);
  top: -140px;
  right: -80px;
  animation: glow-pulse 6s ease-in-out infinite;
}

.phb2 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(58,120,88,.09) 0%, transparent 70%);
  bottom: -80px;
  left: -40px;
  animation: glow-pulse 8s ease-in-out infinite 2s;
}

.ph-deco {
  position: absolute;
  font-family: var(--ff-head);
  font-weight: 700;
  opacity: .055;
  pointer-events: none;
  user-select: none;
  color: var(--coral);
}

.phd1 {
  font-size: 14rem;
  top: -30px;
  left: -20px;
  animation: float 10s ease-in-out infinite;
}

.ph-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
}

.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-lt);
  border: 1.5px solid var(--coral-mid);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  animation: fadeUp .4s .1s both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.page-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 14px;
  animation: fadeUp .6s .2s both;
}

.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--coral) 0%, #d8784a 50%, #c8563e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-desc {
  font-size: 1rem;
  color: var(--ink-mid);
  max-width: 580px;
  line-height: 1.78;
  animation: fadeUp .6s .3s both;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--ff-sans);
  font-size: .8rem;
  color: var(--ink-light);
  animation: fadeUp .5s .38s both;
}

/* DOCUMENT GRID FOR ABOUT/PRIVACY/TERMS */
.doc-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
}

.toc-head {
  padding: 13px 17px;
  border-bottom: 1px solid var(--border);
  font-family: var(--ff-sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 7px;
}

.toc-body {
  padding: 10px 0;
}

.toc-link {
  display: block;
  padding: 8px 17px;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-mid);
  border-left: 3px solid transparent;
  transition: all .17s;
  line-height: 1.35;
}

.toc-link:hover, .toc-link.active {
  color: var(--coral);
  border-left-color: var(--coral);
  background: var(--coral-lt);
}

.doc-content {
  min-width: 0;
}

.doc-section {
  margin-bottom: 52px;
  scroll-margin-top: 90px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-lt);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
  border: 1px solid var(--coral-mid);
}

.doc-section h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.24;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.doc-section h3 {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 10px;
}

.doc-section p {
  font-size: .97rem;
  color: var(--ink-mid);
  line-height: 1.86;
  margin-bottom: 14px;
  font-family: var(--ff-sans);
}

.doc-section p:last-child {
  margin-bottom: 0;
}

.doc-section ul, .doc-section ol {
  margin: 10px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.doc-section li {
  font-family: var(--ff-sans);
  font-size: .95rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.doc-section strong {
  color: var(--ink);
  font-weight: 700;
}

.doc-section a {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-color: var(--coral-mid);
  transition: color .17s;
}

.doc-section a:hover {
  color: var(--coral-dk);
}

/* Pull quote / highlight box */
.pull-quote {
  background: linear-gradient(135deg, var(--coral-lt), #fde8f0);
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  font-style: italic;
}

.pull-quote::before {
  content: '\201C';
  color: var(--coral);
  font-size: 1.4em;
  margin-right: 3px;
}

.pull-quote::after {
  content: '\201D';
  color: var(--coral);
  font-size: 1.4em;
  margin-left: 3px;
}

/* Info card */
.info-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 20px 0;
}

.info-card-title {
  font-family: var(--ff-sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 10px;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.value-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color .17s, transform .17s, box-shadow .17s;
}

.value-card:hover {
  border-color: var(--coral);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.value-card h4 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.value-card p {
  font-family: var(--ff-sans);
  font-size: .83rem;
  color: var(--ink-mid);
  line-height: 1.6;
  margin: 0;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0;
}

.team-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: border-color .17s, transform .17s, box-shadow .17s;
}

.team-card:hover {
  border-color: var(--coral);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.team-name {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.team-role {
  font-family: var(--ff-sans);
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-light);
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.team-bio {
  font-family: var(--ff-sans);
  font-size: .8rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* Stat strip for about page */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--coral) 0%, #d47040 50%, #c06060 100%);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: 0 8px 28px rgba(200,86,62,.28);
}

.stat-box {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
}

.stat-box:last-child {
  border-right: none;
}

.stat-n {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-l {
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* CTA box for about page */
.cta-box {
  background: linear-gradient(135deg, #1c1714 0%, #2e2018 100%);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  margin-top: 40px;
}

.cta-box h3 {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #f0ece8;
  margin-bottom: 8px;
}

.cta-box p {
  font-family: var(--ff-sans);
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px;
  line-height: 1.65;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: .9rem;
  background: var(--coral);
  color: #fff;
  padding: 13px 28px;
  border-radius: 100px;
  transition: all .18s;
  box-shadow: 0 5px 18px rgba(200,86,62,.38);
}

.cta-btn:hover {
  background: var(--coral-dk);
  transform: translateY(-2px);
  box-shadow: 0 9px 26px rgba(200,86,62,.44);
}

/* Notice/Warning boxes */
.notice-box {
  background: var(--miss-lt);
  border: 1.5px solid var(--miss-mid);
  border-left: 4px solid var(--miss);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-family: var(--ff-sans);
  font-size: .9rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.notice-box strong {
  color: var(--miss);
}

.warning-box {
  background: #fdf4e0;
  border: 1.5px solid #f0d080;
  border-left: 4px solid #b87818;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-family: var(--ff-sans);
  font-size: .9rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.warning-box strong {
  color: #b87818;
}

.trust-box {
  background: var(--trust-lt);
  border: 1.5px solid var(--trust-mid);
  border-left: 4px solid var(--trust);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-family: var(--ff-sans);
  font-size: .9rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.trust-box strong {
  color: var(--trust);
}

.alert-box {
  background: #fceaea;
  border: 1.5px solid #e8a8a8;
  border-left: 4px solid #b84040;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-family: var(--ff-sans);
  font-size: .9rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.alert-box strong {
  color: #b84040;
}

/* Contact page sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.con-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: box-shadow .18s;
}

.con-card-head {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.con-card-icon {
  font-size: .95rem;
}

.con-card-title {
  font-family: var(--ff-sans);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.con-card-body {
  padding: 16px 18px;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  transition: all .18s;
  cursor: pointer;
}

.channel-item:hover {
  border-color: var(--coral);
  background: var(--coral-lt);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .2s;
}

.channel-item:hover .channel-icon {
  transform: scale(1.1) rotate(-5deg);
}

.channel-label {
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1px;
}

.channel-value {
  font-family: var(--ff-sans);
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}

.ci-email .channel-icon {
  background: var(--coral-lt);
  color: var(--coral);
}

.ci-edit .channel-icon {
  background: var(--miss-lt);
  color: var(--miss);
}

.ci-collab .channel-icon {
  background: var(--trust-lt);
  color: var(--trust);
}

.ci-priv .channel-icon {
  background: var(--peace-lt);
  color: var(--peace);
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  font-family: var(--ff-sans);
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color .17s;
}

.faq-q:hover {
  color: var(--coral);
}

.faq-arrow {
  font-size: .85rem;
  transition: transform .25s;
  flex-shrink: 0;
  color: var(--ink-light);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--coral);
}

.faq-item.open .faq-q {
  color: var(--coral);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s cubic-bezier(.16,1,.3,1);
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a-inner {
  padding: 0 0 14px;
  font-family: var(--ff-sans);
  font-size: .84rem;
  color: var(--ink-mid);
  line-height: 1.7;
}

.faq-a-inner a {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-color: var(--coral-mid);
}

/* Quote banner */
.quote-banner {
  background: linear-gradient(135deg, #1c1714 0%, #2e1e18 50%, #1a1820 100%);
  padding: 56px 20px;
  position: relative;
  overflow: hidden;
}

.qb-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.qbb1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,86,62,.1) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  animation: glow-pulse 7s ease-in-out infinite;
}

.qbb2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(117,88,168,.08) 0%, transparent 70%);
  bottom: -60px;
  left: -40px;
  animation: glow-pulse 9s ease-in-out infinite 2s;
}

.qb-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.qb-quote {
  max-width: 580px;
}

.qb-text {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.45;
  color: #f0ece8;
  margin-bottom: 12px;
}

.qb-text::before {
  content: '\201C';
  color: var(--coral);
  font-size: 1.2em;
  margin-right: 3px;
}

.qb-text::after {
  content: '\201D';
  color: var(--coral);
  font-size: 1.2em;
  margin-left: 3px;
}

.qb-author {
  font-family: var(--ff-sans);
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 7px;
}

.qb-author::before {
  content: '—';
  color: var(--coral);
}

.qb-action {
  flex-shrink: 0;
}

.qb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-size: .9rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--coral), #d96b42);
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  transition: opacity .18s, transform .15s, box-shadow .18s;
  box-shadow: 0 5px 20px rgba(200,86,62,.38);
}

.qb-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 9px 28px rgba(200,86,62,.44);
}

/* ═══════════════════════════════════════════
   RESPONSIVE STYLES
   ═══════════════════════════════════════════ */
@media (max-width: 1160px) {
  .wrap {
    padding: 0 20px;
  }
}

@media (max-width: 1000px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: 1/-1;
  }
  
  .doc-grid {
    grid-template-columns: 1fr;
  }
  
  .toc {
    position: static;
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .emotion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-box:nth-child(2) {
    border-right: none;
  }
  
  .stat-box:nth-child(3) {
    border-top: 1px solid rgba(255,255,255,.2);
  }
}

@media (max-width: 820px) {
  .hero {
    padding: 64px 20px 60px;
  }
  
  .qotd-card {
    padding: 36px 28px;
  }
  
  .quote-card-big {
    padding: 32px 28px;
  }
  
  section {
    padding: 56px 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: 1/-1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .stats-strip {
    flex-direction: column;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .cat-hero {
    padding: 36px 16px 34px;
  }
  
  .ch-subnav {
    gap: 7px;
  }
  
  .subnav-pill {
    font-size: .74rem;
    padding: 7px 12px;
  }
  
  .page-body {
    padding: 28px 0 52px;
  }
  
  .page-grid {
    padding: 0 14px;
    gap: 24px;
  }
  
  .fc-image {
    height: 220px;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .sidebar {
    grid-template-columns: 1fr;
  }
  
  .related-section .wrap {
    padding-right: 0;
  }
  
  .related-grid {
    grid-template-columns: repeat(3, 240px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  
  .related-grid::-webkit-scrollbar {
    display: none;
  }
  
  .rel-card {
    scroll-snap-align: start;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .breadcrumb {
    display: none;
  }
  
  .art-hero-img {
    height: 300px;
  }
  
  .art-hero-content {
    padding: 24px 0 28px;
  }
  
  .art-hero-content h1 {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }
  
  .hero-share {
    flex-wrap: wrap;
  }
  
  .article-grid {
    padding: 0 14px;
    gap: 24px;
  }
  
  .quote-card {
    padding: 18px 18px 14px;
  }
  
  .quote-card blockquote {
    font-size: 1rem;
  }
  
  .interstitial-btns {
    flex-direction: column;
    align-items: stretch;
  }
  
  .int-btn {
    justify-content: center;
  }
  
  .article-subnav {
    gap: 6px;
  }
  
  .asnav-pill {
    font-size: .73rem;
    padding: 6px 11px;
  }
  
  .page-hero {
    padding: 36px 16px 34px;
  }
  
  .doc-grid {
    padding: 0 14px;
    gap: 28px;
  }
  
  .values-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    padding: 0 14px;
    gap: 28px;
  }
  
  .contact-sidebar {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-card-body {
    padding: 22px 20px 20px;
  }
  
  .inquiry-tabs {
    gap: 7px;
  }
  
  .itab {
    font-size: .77rem;
    padding: 8px 13px;
  }
  
  .qb-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .qb-author {
    justify-content: center;
  }
  
  .success-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .success-btn {
    justify-content: center;
  }
  
  .ph-cards {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .ph-card {
    flex: 1;
    min-width: 160px;
  }
}

@media (max-width: 560px) {
  .emotion-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .mood-picker {
    gap: 7px;
  }
  
  .mood-btn {
    font-size: .78rem;
    padding: 8px 14px;
  }
}

@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .art-hero-img {
    height: 240px;
  }
  
  .meta-sep, .meta-item:nth-child(3), .meta-item:nth-child(4) {
    display: none;
  }
  
  .ph-card {
    min-width: 100%;
  }
  
  .stars-row .star {
    font-size: 1.3rem;
  }
  
  .cta-form {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .subnav-pill {
    font-size: .7rem;
    padding: 6px 10px;
  }
  
  .art-row-thumb {
    width: 68px;
  }
  
  .fc-image {
    height: 190px;
  }
}
/* ============================================
   RESPONSIVE NAVBAR STYLES
   ============================================ */

/* Mobile menu toggle button */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
    z-index: 201;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink, #1c1714);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile menu panel */
.mob-menu {
    position: fixed;
    inset: 0;
    background: rgba(28,23,20,.62);
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    backdrop-filter: blur(4px);
}

.mob-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mob-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    height: 100%;
    background: var(--surface, #ffffff);
    padding: 22px 18px;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.16,1,.3,1);
    overflow-y: auto;
}

.mob-menu.open .mob-panel {
    transform: none;
}

.mob-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg, #faf7f4);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-mid, #4a4540);
}

.mob-logo {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.mob-logo .l1 {
    color: var(--coral, #c8563e);
}

.mob-logo .l2 {
    color: var(--ink, #1c1714);
}

.mob-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 0;
}

.mob-nav li {
    margin: 0;
    padding: 0;
}

.mob-nav a {
    display: block;
    padding: 12px 13px;
    border-radius: 8px;
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink-mid, #4a4540);
    transition: background .17s, color .17s;
    text-decoration: none;
}

.mob-nav a:hover,
.mob-nav a.active {
    background: var(--coral-lt, #fdeee9);
    color: var(--coral, #c8563e);
}

.mob-social {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border, #ede8e2);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mob-social-link {
    display: block;
    padding: 10px 13px;
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: .88rem;
    font-weight: 500;
    color: var(--ink-light, #8a8480);
    text-decoration: none;
    transition: color .17s;
}

.mob-social-link:hover {
    color: var(--coral, #c8563e);
}

/* Desktop navigation - visible on large screens */
.nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: .83rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--ink-mid, #4a4540);
    padding: 6px 12px;
    border-radius: 100px;
    transition: background .17s, color .17s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--coral, #c8563e);
    background: var(--coral-lt, #fdeee9);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet and Mobile (below 720px) */
@media (max-width: 720px) {
    /* Hide desktop navigation on mobile */
    .nav-links {
        display: none !important;
    }
    
    /* Show hamburger menu button */
    .nav-toggle {
        display: flex !important;
    }
    
    /* Adjust nav-inner spacing */
    .nav-inner {
        padding: 10px 16px;
    }
    
    /* Smaller logo on mobile */
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
        font-size: .65rem;
    }
}

/* Desktop (above 721px) */
@media (min-width: 721px) {
    /* Ensure desktop navigation is visible */
    .nav-links {
        display: flex !important;
    }
    
    /* Hide mobile menu button on desktop */
    .nav-toggle {
        display: none !important;
    }
    
    /* Ensure mobile menu is closed on desktop */
    .mob-menu {
        display: none;
    }
}

/* Small mobile devices (below 480px) */
@media (max-width: 480px) {
    .mob-panel {
        width: 85%;
    }
    
    .mob-nav a {
        padding: 10px 12px;
        font-size: .88rem;
    }
}

/* Newsletter Widget Complete Styles */
.nl-widget {
    background: linear-gradient(145deg, #fceaea, #fdeee9);
    border-color: #e8a8a8;
    border-radius: 14px;
    overflow: hidden;
}

.nl-widget .sw-head {
    border-bottom: 1px solid #e8a8a8;
    background: rgba(184,64,64,.06);
    padding: 12px 16px;
}

.nl-widget .sw-head-icon {
    font-size: 1rem;
}

.nl-widget .sw-head-title {
    color: #b84040;
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nl-desc {
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 0.82rem;
    color: #4a4540;
    margin-bottom: 14px;
    line-height: 1.62;
}

.nl-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid #e8a8a8;
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
    background: #ffffff;
    color: #1c1714;
    outline: none;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.nl-input:focus {
    border-color: #b84040;
    box-shadow: 0 0 0 3px rgba(184,64,64,0.1);
}

.nl-input::placeholder {
    color: #8a8480;
}

/* This is the button style you need */
.nl-btn {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    background: #b84040!important;
    color: #ffffff;
    border: none;
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
}

.nl-btn:hover {
    background: #8e2828;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184,64,64,0.3);
}

.nl-btn:active {
    transform: translateY(0);
}

.nl-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#subscribeMessage {
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

#subscribeMessage.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

#subscribeMessage.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Body styles for the widget container */
.sw-body {
    padding: 14px 16px;
}

.sw {
    background: #ffffff;
    border-radius: 14px;
    border: 1.5px solid #ede8e2;
    overflow: hidden;
}

.sw-head {
    padding: 12px 16px;
    border-bottom: 1px solid #ede8e2;
    display: flex;
    align-items: center;
    gap: 7px;
}


/* reCAPTCHA Styles */
.g-recaptcha {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

#recaptcha-err {
    text-align: center;
    margin-top: 5px;
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* style for social icons */
/* Social Links - FOLLOW US Card */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #ede8e2;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #ffffff;
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link .social-icon {
    width: 40px;
    height: 40px;
    background: #fdeee9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.social-link .social-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1c1714;
}

.social-link .social-arrow {
    font-size: 1rem;
    color: #8a8480;
    transition: all 0.2s ease;
}

.social-link:hover .social-arrow {
    transform: translateX(4px);
}

/* Brand colors on hover */
.social-link.facebook:hover {
    border-color: #1877f2;
    background: #eef3ff;
}
.social-link.facebook:hover .social-icon {
    background: #1877f2;
    color: #fff;
}

.social-link.twitter:hover {
    border-color: #000000;
    background: #f5f5f5;
}
.social-link.twitter:hover .social-icon {
    background: #000000;
    color: #fff;
}

.social-link.instagram:hover {
    border-color: #e4405f;
    background: #fef0f3;
}
.social-link.instagram:hover .social-icon {
    background: #e4405f;
    color: #fff;
}

.social-link.pinterest:hover {
    border-color: #bd081c;
    background: #fff1f2;
}
.social-link.pinterest:hover .social-icon {
    background: #bd081c;
    color: #fff;
}

.social-link.youtube:hover {
    border-color: #ff0000;
    background: #ffe6e6;
}
.social-link.youtube:hover .social-icon {
    background: #ff0000;
    color: #fff;
}

.social-link.linkedin:hover {
    border-color: #0077b5;
    background: #eef4fa;
}
.social-link.linkedin:hover .social-icon {
    background: #0077b5;
    color: #fff;
}

/* ============================================
   TABLE OF CONTENTS STYLES
   ============================================ */
.article-toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 30px;
    overflow: hidden;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--ac-lt, #fceef2);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.toc-icon {
    font-size: 1.2rem;
}

.toc-title {
    font-family: var(--ff-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ac, #b83860);
    flex: 1;
}

.toc-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink-mid);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.toc-toggle.collapsed {
    transform: rotate(180deg);
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 500px;
    overflow-y: auto;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.toc-list.collapsed {
    max-height: 0;
    padding: 0;
}

.toc-item {
    border-bottom: 1px solid var(--border);
}

.toc-item:last-child {
    border-bottom: none;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.toc-link:hover {
    background: var(--bg);
    padding-left: 25px;
}

.toc-number {
    font-family: var(--ff-sans);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ac, #b83860);
    background: var(--ac-lt, #fceef2);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.toc-text {
    font-family: var(--ff-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    flex: 1;
}

.toc-link:hover .toc-text {
    color: var(--ac, #b83860);
}

/* Active section highlighting */
.toc-link.active {
    background: var(--ac-lt, #fceef2);
    border-left: 3px solid var(--ac, #b83860);
}

.toc-link.active .toc-number {
    background: var(--ac, #b83860);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .toc-link {
        padding: 10px 15px;
    }
    
    .toc-number {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
    
    .toc-text {
        font-size: 0.8rem;
    }
}

