/* =========================================================
   VELVERO LIFE — Design System
   Premium editorial commerce publication
   ========================================================= */

:root {
  --purple: #5525C7;
  --purple-deep: #32147A;
  --purple-bright: #6E3BE8;
  --lavender: #F2EEFF;
  --lavender-light: #F8F6FF;
  --white: #FFFFFF;
  --ink: #17151C;
  --gray: #68656F;
  --border: #E7E2F2;
  --bg-subtle: #FCFBFF;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Manrope', 'Inter', -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1220px;
  --shadow-sm: 0 1px 2px rgba(23, 21, 28, 0.04), 0 1px 8px rgba(23, 21, 28, 0.03);
  --shadow-md: 0 4px 16px rgba(50, 20, 122, 0.07), 0 1px 3px rgba(23, 21, 28, 0.04);
  --shadow-lg: 0 16px 48px rgba(50, 20, 122, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--purple); color: #fff; padding: 12px 20px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2.5px solid var(--purple);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink); }
.lede { font-size: 1.15rem; color: var(--gray); line-height: 1.7; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--purple-bright);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--gray); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; max-width: none;
}
@media (max-width: 700px) { .section-head.split { flex-direction: column; align-items: flex-start; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--purple); color: var(--purple); }
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-white {
  background: #fff;
  color: var(--purple-deep);
}
.btn-white:hover { background: var(--lavender); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn svg { width: 16px; height: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--purple); font-size: 0.94rem;
  border-bottom: 1.5px solid transparent;
  transition: gap 0.15s ease, border-color 0.15s ease;
}
.link-arrow:hover { gap: 10px; border-color: var(--purple); }

/* ============ HEADER ============ */
.topbar {
  background: var(--purple-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; padding-bottom: 8px;
  gap: 16px;
}
.topbar-left { font-weight: 500; }
.topbar-left strong { color: #fff; font-weight: 700; }
.topbar-right { display: flex; gap: 20px; }
.topbar-right a:hover { color: #fff; }
@media (max-width: 640px) {
  .topbar-left span.divider-text { display: none; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-weight: 600; font-size: 0.94rem; color: var(--ink);
  position: relative; padding: 6px 0;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--purple); }
.main-nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--purple); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  transition: all 0.15s ease;
}
.icon-btn:hover { border-color: var(--purple); color: var(--purple); background: var(--lavender-light); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

.subnav {
  border-top: 1px solid var(--border);
  overflow-x: auto;
}
.subnav .container { display: flex; gap: 26px; padding-top: 12px; padding-bottom: 12px; }
.subnav a { font-size: 0.86rem; font-weight: 600; color: var(--gray); white-space: nowrap; }
.subnav a:hover, .subnav a.active { color: var(--purple); }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: #fff; transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.nav-drawer-body { padding: 24px; }
.nav-drawer-body a {
  display: block; padding: 15px 0; font-size: 1.15rem; font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.nav-drawer-footer { padding: 24px; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .icon-btn.contact-only { display: none; }
}

/* ============ HERO ============ */
.hero { padding: 64px 0 88px; }
.hero .container {
  display: grid; grid-template-columns: 1fr 0.95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.hero-cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-collage { position: relative; height: 460px; }
.hero-collage img {
  position: absolute; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-collage .img-a { width: 72%; height: 78%; top: 0; right: 0; }
.hero-collage .img-b { width: 52%; height: 46%; bottom: 0; left: 0; border: 6px solid #fff; }
.hero-collage .badge {
  position: absolute; bottom: 24px; right: 24px;
  background: #fff; border-radius: var(--radius-sm);
  padding: 14px 18px; box-shadow: var(--shadow-md);
  font-size: 0.82rem; font-weight: 600; display: flex; gap: 10px; align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-collage { height: 320px; margin-top: 8px; }
}

/* ============ DISCOVERY BAR ============ */
.discovery-bar { background: var(--lavender-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; }
.discovery-bar .container { display: flex; gap: 12px; overflow-x: auto; }
.pill {
  display: inline-flex; align-items: center; padding: 10px 20px;
  border-radius: 999px; background: #fff; border: 1px solid var(--border);
  font-weight: 600; font-size: 0.88rem; white-space: nowrap;
  transition: all 0.15s ease;
}
.pill:hover, .pill.active { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ============ CARDS ============ */
.card-grid { display: grid; gap: 28px; }
.article-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex; flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-card .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--purple); margin-bottom: 10px;
}
.article-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.article-card p.desc { color: var(--gray); font-size: 0.92rem; flex: 1; margin-bottom: 14px; }
.card-meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--gray); border-top: 1px solid var(--border); padding-top: 12px; }

.article-card.featured { flex-direction: row; }
.article-card.featured .thumb { width: 52%; aspect-ratio: auto; }
.article-card.featured .body { width: 48%; justify-content: center; padding: 32px; }
.article-card.featured h3 { font-size: 1.5rem; }
@media (max-width: 760px) {
  .article-card.featured { flex-direction: column; }
  .article-card.featured .thumb, .article-card.featured .body { width: 100%; }
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.magazine-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.magazine-grid .article-card:first-child { grid-row: span 2; }
.magazine-grid .article-card:first-child .thumb { aspect-ratio: 4/3; }
@media (max-width: 900px) { .magazine-grid { grid-template-columns: 1fr 1fr; } .magazine-grid .article-card:first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 620px) { .magazine-grid { grid-template-columns: 1fr; } .magazine-grid .article-card:first-child { grid-column: auto; } }

/* Category / discovery image cards */
.cat-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/5; display: flex; align-items: flex-end;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,21,28,0) 40%, rgba(23,21,28,0.72) 100%);
}
.cat-card .label { position: relative; z-index: 2; padding: 22px; color: #fff; }
.cat-card .label span.tag { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }
.cat-card .label h3 { font-size: 1.2rem; margin: 6px 0 0; }

.wide-cat-card { aspect-ratio: 16/10; }

/* Visual story / full-bleed */
.full-bleed-story {
  position: relative; min-height: 480px; display: flex; align-items: center;
  border-radius: var(--radius-lg); overflow: hidden; margin: 0 24px;
}
.full-bleed-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.full-bleed-story .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,21,28,0.78) 0%, rgba(23,21,28,0.35) 55%, rgba(23,21,28,0.1) 100%); }
.full-bleed-story .content { position: relative; z-index: 2; color: #fff; max-width: 480px; padding: 60px; }
.full-bleed-story h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.full-bleed-story blockquote { font-style: italic; font-size: 1.1rem; opacity: 0.9; margin: 16px 0 28px; }
@media (max-width: 700px) { .full-bleed-story { margin: 0 16px; min-height: 400px; } .full-bleed-story .content { padding: 32px; } }

/* Guides list */
.guide-row {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.guide-row .num { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--border); width: 48px; flex-shrink: 0; }
.guide-row .txt { flex: 1; }
.guide-row h3 { font-size: 1.08rem; margin-bottom: 4px; }
.guide-row p { color: var(--gray); font-size: 0.9rem; margin: 0; }
.guide-row:hover .num { color: var(--purple); }

/* About / methodology steps */
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; background: var(--bg-subtle); }
.step-card .step-num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--purple);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 16px; font-size: 0.95rem;
}
.step-card h3 { font-size: 1.02rem; }
.step-card p { color: var(--gray); font-size: 0.9rem; margin: 0; }
@media (max-width: 900px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }

/* Transparency cards */
.trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card { padding: 32px; border-radius: var(--radius-md); background: var(--lavender-light); border: 1px solid var(--border); }
.trust-card svg { width: 30px; height: 30px; color: var(--purple); margin-bottom: 16px; }
.trust-card h3 { font-size: 1.1rem; }
.trust-card p { color: var(--gray); font-size: 0.92rem; margin: 0; }
@media (max-width: 860px) { .trust-cards { grid-template-columns: 1fr; } }

/* About split */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter-band {
  background: var(--purple-deep);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 56px;
  color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.newsletter-band h2 { font-size: 1.8rem; }
.newsletter-band p { color: rgba(255,255,255,0.75); }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form .row { display: flex; gap: 12px; }
.newsletter-form input[type="text"], .newsletter-form input[type="email"] {
  flex: 1; padding: 13px 16px; border-radius: 10px; border: none; font-size: 0.94rem;
}
.newsletter-form .consent { display: flex; gap: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.75); align-items: flex-start; }
.newsletter-form .consent input { margin-top: 3px; }
@media (max-width: 860px) { .newsletter-band { grid-template-columns: 1fr; padding: 34px; margin: 0 16px; } .newsletter-form .row { flex-direction: column; } }

/* Final CTA */
.final-cta { background: var(--purple); color: #fff; text-align: center; border-radius: var(--radius-lg); margin: 0 24px; padding: 72px 24px; }
.final-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.final-cta .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
@media (max-width: 700px) { .final-cta { margin: 0 16px; padding: 48px 20px; } }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.68); padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-trust {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap;
}
.footer-trust p { margin: 0; font-size: 0.9rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0 32px; font-size: 0.8rem; flex-wrap: wrap;
}
.footer-address { font-size: 0.8rem; line-height: 1.8; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ============ INNER PAGE HERO ============ */
.page-hero { padding: 56px 0 40px; background: var(--lavender-light); border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 780px; }
.page-hero p.lede { max-width: 700px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--gray); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--purple); }
.breadcrumbs .sep { opacity: 0.5; }

/* Legal / policy content */
.legal-content { max-width: 820px; margin: 0 auto; padding: 56px 24px 88px; }
.legal-content h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal-content h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal-content p, .legal-content li { color: var(--gray); font-size: 0.98rem; line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1.2em; }
.legal-content ul li { margin-bottom: 6px; }
.legal-updated { font-size: 0.85rem; color: var(--gray); background: var(--lavender-light); padding: 12px 18px; border-radius: var(--radius-sm); display: inline-block; margin-bottom: 8px; }
.disclosure-callout {
  background: var(--lavender); border-left: 3px solid var(--purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 24px 0; font-size: 0.94rem; color: var(--ink);
}

/* Blog article */
.article-body { max-width: 740px; margin: 0 auto; padding: 48px 24px 80px; }
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; aspect-ratio: 16/9; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body h2 { font-size: 1.4rem; margin-top: 1.8em; }
.article-body p { font-size: 1.05rem; color: #2b2933; line-height: 1.85; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 1.2em; color: #2b2933; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-meta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--gray); font-size: 0.86rem; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.toc-box { background: var(--lavender-light); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 26px; margin: 28px 0; }
.toc-box h4 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.toc-box a { display: block; padding: 5px 0; font-size: 0.92rem; color: var(--purple-deep); font-weight: 600; }

/* FAQ accordion */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq-q svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s ease; color: var(--purple); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding-bottom: 22px; color: var(--gray); font-size: 0.96rem; line-height: 1.7; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--purple); outline: none;
}
.form-status { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; margin-bottom: 18px; }
.form-status.success { background: #EAF3DE; color: #27500A; display: block; }
.form-status.error { background: #FCEBEB; color: #791F1F; display: block; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Contact info card */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact-info-card { background: var(--lavender-light); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; height: fit-content; }
.contact-info-card .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-card .item svg { width: 20px; height: 20px; color: var(--purple); flex-shrink: 0; margin-top: 2px; }
.contact-info-card .item strong { display: block; margin-bottom: 3px; }
.contact-info-card .item span { color: var(--gray); font-size: 0.92rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Category / guide index hero listing */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }

/* Search page */
.search-box { display: flex; gap: 12px; max-width: 620px; margin: 0 auto 40px; }
.search-box input { flex: 1; padding: 16px 20px; border-radius: 999px; border: 1.5px solid var(--border); font-size: 1rem; }
.search-box input:focus { border-color: var(--purple); outline: none; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }

/* 404 */
.error-page { text-align: center; padding: 100px 24px; }
.error-page .code { font-family: var(--font-head); font-size: 5rem; font-weight: 800; color: var(--lavender); line-height: 1; }
.error-page h1 { font-size: 1.7rem; margin: 12px 0 20px; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--purple); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* Cookie consent */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(23,21,28,0.08);
  padding: 22px 24px; display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner .container { display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--gray); max-width: 560px; }
.cookie-banner p a { color: var(--purple); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-modal-backdrop {
  position: fixed; inset: 0; background: rgba(23,21,28,0.5); z-index: 310;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.cookie-modal-backdrop.visible { display: flex; }
.cookie-modal {
  background: #fff; border-radius: var(--radius-lg); max-width: 560px; width: 100%;
  max-height: 84vh; overflow-y: auto; padding: 32px;
}
.cookie-modal h3 { font-size: 1.3rem; }
.cookie-cat { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.cookie-cat strong { display: block; margin-bottom: 4px; }
.cookie-cat span { font-size: 0.86rem; color: var(--gray); }
.toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; }
.toggle .track { position: absolute; inset: 0; background: var(--border); border-radius: 999px; transition: background 0.15s ease; }
.toggle .thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform 0.15s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle input:checked + .track { background: var(--purple); }
.toggle input:checked + .track + .thumb { transform: translateX(20px); }
.toggle input:disabled + .track { background: var(--purple); opacity: 0.5; }
.cookie-modal-actions { display: flex; gap: 10px; margin-top: 24px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-purple { display: inline-block; background: var(--lavender); color: var(--purple-deep); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px; }
.bg-lavender { background: var(--lavender-light); }
.divider-line { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
