/* ============================================
   SOFA COMFORT & LIVING GUIDE - Master Stylesheet
   Colors: Beige + Cream + Soft Brown
   Style: Cozy / Interior / Warm
   ============================================ */

/* === GOOGLE FONTS IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* === CSS VARIABLES === */
:root {
  --cream:        #FAF7F2;
  --cream-dark:   #F2EDE4;
  --beige:        #E8DFD0;
  --beige-mid:    #D9CCBA;
  --beige-dark:   #C4B49E;
  --brown-light:  #A68B6E;
  --brown-mid:    #8B6F52;
  --brown:        #6B4F35;
  --brown-dark:   #4A3525;
  --warm-white:   #FFFDF9;
  --text-dark:    #2C1F14;
  --text-mid:     #5A4235;
  --text-light:   #8B7355;
  --text-muted:   #A89880;
  --accent:       #C4956A;
  --accent-light: #D4A87A;
  --accent-dark:  #A07850;
  --border:       #E0D5C5;
  --shadow:       rgba(107, 79, 53, 0.12);
  --shadow-md:    rgba(107, 79, 53, 0.18);
  --shadow-lg:    rgba(74, 53, 37, 0.22);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --max-width:  1200px;
  --section-pad: 90px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: all 0.3s ease; }
ul, ol { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h5 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em; }

p { margin-bottom: 1.2rem; color: var(--text-mid); font-size: 1.02rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-family: var(--font-accent);
  color: var(--text-mid);
  line-height: 1.85;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: block;
}

blockquote {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--brown-mid);
  border-left: 4px solid var(--accent);
  padding: 1rem 0 1rem 2rem;
  margin: 2rem 0;
  line-height: 1.7;
}

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 110px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; color: var(--text-light); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* === NAVIGATION === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px var(--shadow); }

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brown);
  background: var(--cream-dark);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '▾';
  font-size: 0.7rem;
  margin-left: 5px;
  opacity: 0.6;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px var(--shadow-md);
  min-width: 220px;
  padding: 10px;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
}
.dropdown-menu a:hover { background: var(--cream-dark); color: var(--brown); }

.nav-cta {
  background: var(--brown) !important;
  color: var(--cream) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--brown-dark) !important; color: var(--warm-white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 4px 18px rgba(107, 79, 53, 0.3);
}
.btn-primary:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(107, 79, 53, 0.38);
  color: var(--warm-white);
}
.btn-secondary {
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--brown-light);
}
.btn-secondary:hover {
  background: var(--beige);
  border-color: var(--brown);
  color: var(--brown-dark);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: var(--warm-white);
  box-shadow: 0 4px 18px rgba(196, 149, 106, 0.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 149, 106, 0.45);
  color: var(--warm-white);
}
.btn-light {
  background: var(--cream);
  color: var(--brown);
  border: 1.5px solid var(--beige-mid);
}
.btn-light:hover {
  background: var(--warm-white);
  border-color: var(--brown-light);
  transform: translateY(-2px);
  color: var(--brown-dark);
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1rem; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--beige) 50%, var(--beige-mid) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(250,247,242,0.92) 45%, rgba(232,223,208,0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero h1 {
  margin-bottom: 1.4rem;
  color: var(--brown-dark);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero .lead { margin-bottom: 2.4rem; max-width: 560px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown);
  display: block;
}
.hero-stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream-dark) 60%, var(--beige-mid) 100%);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--beige-mid) 0%, transparent 70%);
  opacity: 0.5;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--beige-dark) 0%, transparent 70%);
  opacity: 0.4;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--brown-dark); margin-bottom: 1rem; }
.page-hero .lead { max-width: 620px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  justify-content: center;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brown); }
.breadcrumb span { color: var(--text-light); }

/* === CARDS === */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px var(--shadow-lg);
  border-color: var(--beige-dark);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.04); }
.card-img-wrap { overflow: hidden; }
.card-body { padding: 28px; }
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(196, 149, 106, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.card h3, .card h4 { margin-bottom: 0.7rem; color: var(--brown-dark); }
.card p { font-size: 0.95rem; margin-bottom: 1.2rem; }
.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brown);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}
.card-link::after { content: '→'; transition: transform 0.2s; }
.card-link:hover::after { transform: translateX(4px); }
.card-link:hover { color: var(--accent); }

/* Feature card */
.feature-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.35s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 44px var(--shadow);
  border-color: var(--beige-dark);
}
.feature-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--beige), var(--cream-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.feature-card h4 { margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.95rem; }

/* Tip card */
.tip-card {
  background: linear-gradient(135deg, var(--cream-dark), var(--beige));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  border-left: 4px solid var(--accent);
}
.tip-card h5 { color: var(--brown); margin-bottom: 0.5rem; }
.tip-card p { font-size: 0.93rem; margin: 0; }

/* === BADGES & TAGS === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-warm {
  background: rgba(196, 149, 106, 0.15);
  color: var(--accent-dark);
  border: 1px solid rgba(196, 149, 106, 0.3);
}
.badge-cream {
  background: var(--cream-dark);
  color: var(--text-mid);
  border: 1px solid var(--border);
}

/* === SECTIONS & DECORATIVE === */
.section-beige { background: var(--beige); }
.section-cream { background: var(--cream-dark); }
.section-warm  { background: linear-gradient(160deg, var(--beige) 0%, var(--cream-dark) 100%); }
.section-dark  {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  color: var(--cream);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--cream); }
.section-dark p { color: var(--beige-mid); }
.section-dark .eyebrow { color: var(--accent-light); }

/* Divider */
.divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 20px auto;
}
.divider-left { margin-left: 0; }

/* Decorative circles */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

/* Pattern overlay */
.pattern-bg {
  position: relative;
}
.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--beige-dark) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  pointer-events: none;
}

/* === HIGHLIGHT BOX === */
.highlight-box {
  background: linear-gradient(135deg, var(--beige-mid), var(--beige));
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
}
.highlight-box.accent-left { border-left: 5px solid var(--accent); }

/* === INFO SECTIONS === */
.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.info-split.reverse { direction: rtl; }
.info-split.reverse > * { direction: ltr; }
.info-split img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px var(--shadow-lg);
}
.info-split-text h2 { margin-bottom: 1rem; }
.info-split-text .lead { margin-bottom: 1.6rem; }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 14px; margin: 1.6rem 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--text-mid);
}
.checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Numbered list */
.num-list { display: flex; flex-direction: column; gap: 20px; }
.num-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.num-badge {
  min-width: 40px;
  height: 40px;
  background: var(--brown);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}
.num-list-text h5 { margin-bottom: 0.3rem; }
.num-list-text p { font-size: 0.93rem; margin: 0; }

/* === TESTIMONIAL === */
.testimonial-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--beige-dark);
  position: absolute;
  top: 10px;
  left: 28px;
  line-height: 1;
}
.testimonial-text {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.4rem;
  padding-top: 1rem;
}
.testimonial-author { font-size: 0.88rem; font-weight: 700; color: var(--brown); }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* Stars */
.stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }

/* === BANNER / CTA SECTION === */
.cta-banner {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-banner h2 { color: var(--cream); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-banner p  { color: var(--beige-mid); font-size: 1.08rem; margin-bottom: 2rem; position: relative; z-index: 1; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* === BLOG === */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-article h2 { margin-top: 2.4rem; margin-bottom: 0.8rem; }
.blog-article h3 { margin-top: 2rem; margin-bottom: 0.6rem; }
.blog-article p  { margin-bottom: 1.3rem; }

/* Sidebar */
.sidebar { position: sticky; top: 100px; }
.sidebar-widget {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-widget h5 { margin-bottom: 16px; color: var(--brown-dark); border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.sidebar-links li { padding: 9px 0; border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a { font-size: 0.9rem; color: var(--text-mid); display: flex; align-items: center; gap: 8px; }
.sidebar-links a::before { content: '›'; color: var(--accent); font-size: 1.1rem; }
.sidebar-links a:hover { color: var(--brown); }

/* TOC */
.toc {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 2.5rem;
}
.toc h5 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.toc ol { counter-reset: toc; padding-left: 0; }
.toc ol li {
  counter-increment: toc;
  padding: 7px 0;
  border-bottom: 1px dashed var(--beige-mid);
  font-size: 0.91rem;
}
.toc ol li:last-child { border-bottom: none; }
.toc ol li a { color: var(--text-mid); }
.toc ol li a:hover { color: var(--brown); }

/* === FOOTER === */
.site-footer {
  background: linear-gradient(160deg, var(--brown-dark), var(--text-dark));
  color: var(--beige-mid);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-main { color: var(--cream); font-size: 1.35rem; }
.footer-brand .logo-sub  { color: var(--beige-dark); }
.footer-brand p {
  color: rgba(228, 215, 196, 0.7);
  font-size: 0.9rem;
  margin-top: 14px;
  line-height: 1.7;
}
.footer-contact { margin-top: 20px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(228,215,196,0.75);
  margin-bottom: 10px;
}
.footer-contact li span { font-size: 1rem; }
.footer-col h6 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige-dark);
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(228,215,196,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(228,215,196,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(228,215,196,0.5);
}
.footer-bottom-links a:hover { color: var(--cream); }

/* Newsletter */
.newsletter-form {
  display: flex;
  margin-top: 16px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(228,215,196,0.2);
}
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(228,215,196,0.4); }
.newsletter-form button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--accent-dark); }

/* === LEGAL PAGES === */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 { margin-top: 2.5rem; margin-bottom: 0.8rem; font-size: 1.5rem; }
.legal-content h3 { margin-top: 1.8rem; margin-bottom: 0.6rem; font-size: 1.2rem; }
.legal-content p  { margin-bottom: 1.1rem; font-size: 0.97rem; }
.legal-content ul { margin: 1rem 0 1.3rem 1.2rem; }
.legal-content ul li {
  list-style: disc;
  color: var(--text-mid);
  font-size: 0.97rem;
  margin-bottom: 0.5rem;
  padding-left: 4px;
}
.legal-content a { color: var(--accent-dark); text-decoration: underline; }
.legal-date { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* === PROGRESS BAR (reading) === */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brown-light));
  z-index: 2000;
  transition: width 0.1s;
  width: 0%;
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--brown);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--shadow-md);
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  border: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--brown-dark); transform: translateY(-3px); }

/* === ACCORDION === */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: var(--brown-dark);
  font-size: 0.97rem;
  transition: background 0.2s;
}
.accordion-header:hover { background: var(--cream-dark); }
.accordion-icon {
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.3s;
  font-weight: 300;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.accordion-item.open .accordion-body {
  max-height: 600px;
  padding: 0 24px 20px;
}
.accordion-body p { font-size: 0.94rem; color: var(--text-mid); }

/* === STYLE FILTER TABS === */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 9px 22px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--warm-white);
  color: var(--text-mid);
  transition: all 0.25s;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

/* === COMFORT METER === */
.comfort-meter {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 1.5rem 0;
}
.meter-row { display: flex; align-items: center; gap: 14px; }
.meter-label { font-size: 0.88rem; font-weight: 600; color: var(--text-mid); min-width: 110px; }
.meter-bar {
  flex: 1;
  height: 8px;
  background: var(--beige);
  border-radius: 4px;
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--brown-light));
  border-radius: 4px;
  transition: width 1s ease;
}
.meter-val { font-size: 0.82rem; font-weight: 700; color: var(--accent); min-width: 36px; text-align: right; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root { --section-pad: 70px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .info-split { gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .info-split { grid-template-columns: 1fr; gap: 32px; }
  .info-split.reverse { direction: ltr; }
  .hero { min-height: 75vh; }
  .hero-stats { gap: 24px; }
  .cta-banner { padding: 50px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .highlight-box { padding: 28px 24px; }
  .toc { padding: 20px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .filter-tabs { gap: 8px; }
  .scroll-top { bottom: 20px; right: 20px; }
}

/* === PRINT === */
@media print {
  .site-header, .site-footer, .scroll-top, #reading-progress, .cta-banner { display: none; }
  body { background: white; color: #222; }
  .section { padding: 30px 0; }
  a { color: #555; }
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-up   { animation: fadeUp 0.7s ease both; }
.animate-in   { animation: fadeIn 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Intersection Observer fallback */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }