/* ============================================
   liposuction.us — Design System
   Mobile-first, distinct from faceliftturkey.us
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors — ocean teal-blue + amber (distinct from facelift navy/gold) */
  --c-primary: #1E4D6B;
  --c-primary-light: #2A6F97;
  --c-primary-dark: #0F2E42;
  --c-accent: #B45309;
  --c-accent-light: #D4782F;
  --c-teal: #0F766E;
  --c-teal-light: #E6F5F3;
  --c-bg: #FFFFFF;
  --c-bg-alt: #F4F6F9;
  --c-bg-warm: #FAFBF8;
  --c-text: #1A1A2E;
  --c-text-light: #4A4A5A;
  --c-text-muted: #5B6470;
  --c-border: #DFE2E7;
  --c-border-light: #EDEEF1;
  --c-success: #16A34A;
  --c-warning: #D97706;
  --c-danger: #DC2626;

  /* Typography */
  --font-sans: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Palatino Linotype", Palatino, serif;

  /* Spacing scale */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;

  /* Sizes */
  --max-w: 1200px;
  --max-w-content: 780px;
  --max-w-wide: 1000px;
  --header-h: 64px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Shadows — softer, more diffused */
  --shadow-sm: 0 1px 4px rgba(15,46,66,0.06);
  --shadow-md: 0 4px 16px rgba(15,46,66,0.08);
  --shadow-lg: 0 8px 32px rgba(15,46,66,0.12);
  --shadow-nav: 0 4px 20px rgba(15,46,66,0.1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-accent); }

/* Inline prose links: underline so they don't rely on color alone (WCAG 1.4.1) */
main p a,
main li a,
.ai-summary a,
.takeaways a,
.key-facts a,
.sources a,
.answer-summary a,
.article-body a,
.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
/* Exclude hub cards from article link styling */
.hub-card-img,
.hub-card-img a,
.hub-card-img a * {
  text-decoration: none !important;
}
/* Exclude UI elements that already have visual affordance */
.btn,
.btn:hover,
main p a.btn,
main li a.btn,
.card a,
.toc-widget a,
.sidebar-related a,
.sidebar-consult a,
.footer-col a,
.main-nav a,
.mobile-nav a,
.logo {
  text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--c-primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); margin-bottom: var(--sp-lg); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-top: var(--sp-2xl); margin-bottom: var(--sp-md); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
h4 { font-size: 1.05rem; margin-top: var(--sp-lg); margin-bottom: var(--sp-sm); font-family: var(--font-sans); }

p { margin-bottom: var(--sp-md); max-width: 70ch; }
ul, ol { margin-bottom: var(--sp-md); padding-left: var(--sp-xl); }
li { margin-bottom: var(--sp-xs); }
strong { font-weight: 600; }
hr { border: none; border-top: 1px solid var(--c-border); margin: var(--sp-2xl) 0; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-lg); }
.container--narrow { max-width: var(--max-w-content); }
.container--wide { max-width: var(--max-w-wide); }

/* --- Header — dark style (different from facelift white header) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-primary-dark);
  border-bottom: none;
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo--img img {
  display: block;
  height: auto;
  width: 260px;
  object-fit: contain;
}

/* Desktop nav */
.main-nav { display: none; }

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

.main-nav > li { position: relative; }

.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--sp-sm) 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}
.main-nav > li > a:hover,
.main-nav > li > a[aria-expanded="true"] {
  color: #fff;
}
.main-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--c-accent-light);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.main-nav > li:hover > a::after,
.main-nav > li:focus-within > a::after {
  transform: scaleX(1);
}

.nav-arrow {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s;
  opacity: 0.6;
}
li:hover .nav-arrow,
li:focus-within .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* Dropdown — accent top border style */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-nav);
  padding: var(--sp-sm) 0;
  z-index: 200;
  list-style: none;
}
/* Köprü: nav item ile dropdown arasındaki boşluğu kapatır */
.main-nav > li > a::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.main-nav > li:hover > .dropdown,
.main-nav > li:focus-within > .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 0.55rem var(--sp-lg);
  font-size: 0.84rem;
  color: var(--c-text);
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.dropdown a:hover {
  background: var(--c-bg-alt);
  color: var(--c-primary);
  padding-left: 1.75rem;
}

/* Header CTA — pill shape on dark header */
.header-cta {
  display: none;
  padding: 0.5rem 1.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-primary-dark);
  background: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--c-accent-light); color: #fff; }

@media (min-width: 1024px) {
  .header-cta { display: inline-block; }
}

/* Mobile menu toggle — on dark header */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  cursor: pointer;
  color: #fff;
}
.menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  z-index: 99;
  background: var(--c-bg);
  overflow-y: auto;
  padding: var(--sp-lg);
}
.mobile-nav.is-open { display: block; }

.mobile-nav-list {
  list-style: none;
  padding: 0;
}
.mobile-nav-list > li { border-bottom: 1px solid var(--c-border-light); }
.mobile-nav-list > li > a,
.mobile-nav-list > li > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--sp-md) 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
}
.mobile-nav-list > li > button .nav-arrow { width: 14px; height: 14px; }
.mobile-nav-list > li > button[aria-expanded="true"] .nav-arrow { transform: rotate(180deg); }

.mobile-dropdown {
  display: none;
  list-style: none;
  padding: 0 0 var(--sp-sm) var(--sp-md);
}
.mobile-dropdown.is-open { display: block; }
.mobile-dropdown a {
  display: block;
  padding: var(--sp-sm) 0;
  font-size: 0.9rem;
  color: var(--c-text-light);
}

.mobile-nav .header-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: var(--sp-lg);
  padding: var(--sp-md);
  font-size: 1rem;
}

/* --- Hero Section --- */
.hero {
  padding: var(--sp-3xl) 0 var(--sp-4xl);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: 700px;
  margin: 0 auto var(--sp-lg);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--c-text-light);
  max-width: 600px;
  margin: 0 auto var(--sp-xl);
  line-height: 1.6;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--c-teal-light);
  color: var(--c-teal);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  margin-bottom: var(--sp-xl);
}

/* --- Pillar Cards Grid --- */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin: var(--sp-xl) 0;
}

@media (min-width: 640px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .pillar-grid--3col { grid-template-columns: repeat(3, 1fr); }
}

.pillar-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-xl);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  border-bottom: 3px solid transparent;
}
.pillar-card:hover {
  border-bottom-color: var(--c-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pillar-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  margin-bottom: var(--sp-md);
  color: var(--c-primary);
  font-size: 1.3rem;
}

.pillar-card h3 {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  margin: 0 0 var(--sp-sm);
}
.pillar-card h3 a { color: var(--c-primary-dark); }
.pillar-card h3 a:hover { color: var(--c-accent); }

.pillar-card p {
  font-size: 0.9rem;
  color: var(--c-text-light);
  margin: 0;
  flex: 1;
}

.pillar-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--sp-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-primary);
}
.pillar-card-link:hover { color: var(--c-accent); }
.pillar-card-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* --- Section --- */
.section { padding: var(--sp-3xl) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--warm { background: var(--c-bg-warm); }

.section-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}
.section-header h2 { margin-top: 0; }
.section-header p {
  color: var(--c-text-light);
  max-width: 600px;
  margin: var(--sp-sm) auto 0;
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-xl);
  padding: var(--sp-xl) 0;
  border-top: 1px solid var(--c-border-light);
  border-bottom: 1px solid var(--c-border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.85rem;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--c-teal);
  flex-shrink: 0;
}

/* --- Content Article Layout --- */
.article-header {
  padding: var(--sp-2xl) 0 var(--sp-lg);
  border-left: 3px solid var(--c-teal);
  padding-left: var(--sp-md);
  margin-left: 0;
}

/* Mobile: reorder article header children so TOC appears right after title+meta */
@media (max-width: 1059px) {
  .article-header {
    display: flex;
    flex-direction: column;
  }
  .article-header h1          { order: 1; }
  .article-header .article-meta { order: 2; }
  .article-header .toc-mobile { order: 3; }
  .article-header .ai-summary { order: 4; }
  .article-header .answer-summary { order: 5; }
  .article-header .placeholder-img { order: 6; }
  .article-header .key-facts  { order: 7; }
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  align-items: center;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-lg);
}
.article-meta > span,
.article-meta > .reviewer {
  background: var(--c-bg-alt);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-meta .reviewer {
  color: var(--c-teal);
  font-weight: 600;
  background: rgba(0,128,128,0.07);
  border: 1px solid rgba(0,128,128,0.15);
}

.article-body h2 {
  border-bottom: 1px solid var(--c-border-light);
  border-left: 3px solid var(--c-accent);
  padding-bottom: var(--sp-sm);
  padding-left: var(--sp-md);
  margin-left: calc(-1 * var(--sp-md));
}

.article-body blockquote {
  border-left: 3px solid var(--c-accent);
  padding: var(--sp-md) var(--sp-lg);
  margin: var(--sp-lg) 0;
  background: var(--c-bg-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-text-light);
  font-style: italic;
}

/* Key Facts Box */
.key-facts {
  background: linear-gradient(135deg, var(--c-teal-light) 0%, #eef6fb 100%);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-xl);
  margin: var(--sp-lg) 0;
  box-shadow: 0 2px 12px rgba(0,128,128,0.06);
  border-top: 3px solid var(--c-teal);
}
.key-facts h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--sp-sm);
}
.key-facts ul { margin: 0; padding-left: var(--sp-lg); }
.key-facts li { font-size: 0.9rem; color: var(--c-text); margin-bottom: var(--sp-xs); }

/* Answer-first summary */
.answer-summary {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-text);
  border-left: 3px solid var(--c-accent);
  background: var(--c-bg-warm);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: var(--sp-xl);
}

/* FAQ Section */
.faq-list { list-style: none; padding: 0; }
.faq-item { border-bottom: 1px solid var(--c-border-light); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--sp-md) 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  line-height: 1.4;
}
.faq-question:hover { color: var(--c-primary); }
.faq-question svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s;
  margin-left: var(--sp-md);
}
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 0 var(--sp-md);
  font-size: 0.95rem;
  color: var(--c-text-light);
  line-height: 1.7;
}
.faq-item.is-open .faq-answer { display: block; }

/* Comparison Table */
.table-wrap { overflow-x: auto; margin: var(--sp-lg) 0; -webkit-overflow-scrolling: touch; }
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 500px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-wrap caption {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-text-muted);
  text-align: left;
  padding-bottom: var(--sp-sm);
  font-family: var(--font-sans);
}
.table-wrap th {
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
  padding: var(--sp-md);
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid var(--c-accent);
}
.table-wrap th:first-child { border-left: 3px solid var(--c-accent); }
.table-wrap td {
  padding: var(--sp-md);
  border-bottom: 1px solid var(--c-border-light);
  vertical-align: top;
}
.table-wrap tr:nth-child(even) td { background: var(--c-bg-alt); }
.table-wrap tr:hover td { background: var(--c-teal-light); transition: background 0.15s; }
.table-wrap td:first-child { font-weight: 500; color: var(--c-text); }

/* Sources */
.sources {
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: 8px;
  padding: var(--sp-lg) var(--sp-xl);
}
.sources h3 {
  font-size: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sources h3::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E") center / contain no-repeat;
  flex-shrink: 0;
}
.sources ol {
  font-size: 0.84rem;
  color: var(--c-text-light);
  line-height: 1.7;
  padding-left: 0;
  list-style: none;
  counter-reset: src;
}
.sources ol li {
  counter-increment: src;
  margin-bottom: var(--sp-sm);
  display: flex;
  gap: 0.4em;
  scroll-margin-top: 100px;
}
.sources ol li::before {
  content: counter(src) ".";
  flex-shrink: 0;
  min-width: 1.4em;
  font-weight: 600;
  color: var(--c-accent);
}
.sources li:target {
  background: rgba(212, 175, 55, 0.12);
  border-radius: 6px;
  padding: 4px 8px;
  margin-left: -8px;
}
.sources a {
  color: var(--c-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.sources a:hover { border-bottom-color: var(--c-primary); }

/* Inline citation marker — academic superscript style */
.cite {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
  font-weight: 600;
}
.cite a {
  color: var(--c-teal);
  text-decoration: none;
  padding: 0 2px;
}
.cite a:hover { text-decoration: underline; }

/* Key Takeaways */
.takeaways {
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-teal);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--sp-lg) var(--sp-xl);
  margin: var(--sp-2xl) 0;
}
.takeaways h3 {
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--c-teal);
  margin-bottom: var(--sp-md);
}
.takeaways ul { margin: 0; }
.takeaways li { margin-bottom: var(--sp-sm); font-size: 0.95rem; }

/* --- Read More Link --- */
.read-more {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--c-teal-light);
  border-left: 3px solid var(--c-teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-sm) var(--sp-lg);
  margin: var(--sp-xl) 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-teal);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.read-more::before {
  content: "→";
  font-size: 1rem;
  flex-shrink: 0;
}
.read-more:hover {
  background: #d4eeea;
  color: var(--c-primary-dark);
}

/* --- Breadcrumb --- */
.breadcrumb-nav {
  background: var(--c-bg-alt);
  border-bottom: 2px solid var(--c-teal);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 0.84rem;
  color: var(--c-text-muted);
  padding-top: var(--sp-lg);
  padding-bottom: var(--sp-lg);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li::after { content: "›"; color: var(--c-teal); font-weight: 700; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li:last-child span {
  background: var(--c-teal-light, #E1F5EE);
  border: 1px solid var(--c-teal);
  border-radius: 20px;
  padding: 3px 12px;
  color: var(--c-teal-dark, #0F6E56);
  font-weight: 500;
}
.breadcrumb a {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 3px 12px;
  color: var(--c-text-muted);
  text-decoration: none;
  display: inline-block;
}
.breadcrumb a:hover { border-color: var(--c-teal); color: var(--c-teal); }

/* --- Guides Category Page --- */
.guides-category { margin-bottom: var(--sp-3xl); }
.guides-category__header {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-md);
  border-bottom: 2px solid var(--c-primary);
}
.guides-category__title {
  font-size: 1.2rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--c-primary-dark);
  margin: 0;
}
.guides-category__count {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  background: var(--c-bg-alt);
  padding: 2px 8px;
  border-radius: 20px;
}

.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}
@media (min-width: 560px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .guides-grid { grid-template-columns: repeat(3, 1fr); }
}

.guide-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  border-color: var(--c-primary-light);
  box-shadow: 0 4px 20px rgba(30,77,107,0.1);
  transform: translateY(-2px);
}

/* Card thumbnail image area */
.guide-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.guide-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.guide-card__thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  text-align: center;
  padding: 1rem;
}
.guide-card__thumb-placeholder svg { opacity: 0.4; }

/* Tag badge overlaid on thumb */
.guide-card__tag-wrap {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
}

.guide-card__body {
  padding: var(--sp-md) var(--sp-lg) var(--sp-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.guide-card__title {
  font-size: 0.975rem;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 var(--sp-sm);
  color: var(--c-text);
}
.guide-card__title a {
  color: inherit;
  text-decoration: none;
}
.guide-card__title a:hover { color: var(--c-primary); }
.guide-card__desc {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.guide-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: var(--sp-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
}
.guide-card__read:hover { color: var(--c-primary-light); }
.guide-card__read svg { transition: transform 0.15s; }
.guide-card__read:hover svg { transform: translateX(3px); }

/* tag colours */
.guide-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-primary);
  background: var(--c-bg-alt);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: var(--sp-sm);
}
.guide-card h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  margin: 0 0 var(--sp-sm);
}
.guide-card p { font-size: 0.85rem; color: var(--c-text-light); margin: 0; }

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: var(--sp-2xl) var(--sp-lg);
  background: var(--c-primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: var(--sp-2xl) 0;
}
.cta-banner h2 { color: #fff; margin-top: 0; }
.cta-banner p { color: rgba(255,255,255,0.8); margin: 0 auto var(--sp-lg); }
.cta-banner .btn { background: var(--c-accent); color: #fff; }
.cta-banner .btn:hover { background: var(--c-accent-light); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-light); color: #fff; }
.btn--outline { background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }

/* --- Footer --- */
.site-footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 0;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--c-teal) 0%, var(--c-primary-light) 50%, var(--c-accent) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  padding: var(--sp-2xl) 0;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

.footer-col h3 {
  color: rgba(120, 220, 200, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-md);
  font-family: var(--font-sans);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.82rem; transition: color 0.2s, padding-left 0.15s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-lg);
  background: rgba(0,0,0,0.15);
}

.footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md) var(--sp-xl);
  margin-bottom: var(--sp-lg);
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(120, 220, 200, 0.9);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-badge svg { opacity: 0.8; }

.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: none;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}
.footer-legal-links {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.footer-legal a { color: rgba(255,255,255,0.75); }
.footer-legal a:hover { color: #fff; }

/* --- Table of Contents (Sticky, for pillar pages) --- */
.toc {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-lg));
  max-height: calc(100vh - var(--header-h) - var(--sp-2xl));
  overflow-y: auto;
  padding: var(--sp-lg);
  background: var(--c-bg-alt);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
}
.toc h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
  font-family: var(--font-sans);
}
.toc ul { list-style: none; padding: 0; }
.toc li { margin-bottom: var(--sp-sm); }
.toc a { color: var(--c-text-light); transition: color 0.15s; }
.toc a:hover { color: var(--c-primary); }

.content-with-toc {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
}
@media (min-width: 960px) {
  .content-with-toc { grid-template-columns: 1fr 240px; }
}

/* --- Placeholder images --- */
.placeholder-img {
  background: var(--c-bg-alt);
  border: 2px dashed var(--c-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  font-size: 0.85rem;
  min-height: 200px;
  gap: var(--sp-sm);
  padding: var(--sp-lg);
  text-align: center;
}
.placeholder-img svg { opacity: 0.35; }
.placeholder-img span { opacity: 0.6; font-size: 0.8rem; }

figure.featured-image {
  margin: var(--sp-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
figure.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
figure.featured-image figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: var(--sp-xs) var(--sp-sm) 0;
}

figure.inline-image {
  margin: var(--sp-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
figure.inline-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
figure.inline-image figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: var(--sp-xs) var(--sp-sm) 0;
}

figure.article-image {
  margin: var(--sp-lg) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
figure.article-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
figure.article-image figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: var(--sp-xs) var(--sp-sm) 0;
}

.placeholder-img--hero {
  min-height: 340px;
  border-radius: var(--radius-lg);
  margin: var(--sp-xl) 0;
}
@media (min-width: 640px) { .placeholder-img--hero { min-height: 420px; } }

.placeholder-img--banner {
  min-height: 220px;
  border-radius: 0;
  border-left: none;
  border-right: none;
  margin: 0;
}

.placeholder-img--card {
  min-height: 160px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: none;
  margin: 0;
}

.placeholder-img--inline {
  min-height: 260px;
  margin: var(--sp-lg) 0;
}

.placeholder-img--small {
  min-height: 140px;
  margin: var(--sp-md) 0;
}

.placeholder-img--square {
  aspect-ratio: 1;
  min-height: unset;
  width: 100%;
}

/* Full-width image band between sections */
.img-band {
  width: 100%;
  overflow: hidden;
}
.img-band .placeholder-img {
  border-radius: 0;
  border-left: none;
  border-right: none;
  min-height: 240px;
}
@media (min-width: 640px) { .img-band .placeholder-img { min-height: 320px; } }

/* Two-column image + text layout */
.img-text-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
  margin: var(--sp-2xl) 0;
}
@media (min-width: 768px) {
  .img-text-row { grid-template-columns: 1fr 1fr; }
  .img-text-row--reverse .img-text-row__img { order: 2; }
  .img-text-row--reverse .img-text-row__text { order: 1; }
}
.img-text-row__img .placeholder-img { min-height: 280px; margin: 0; }
.img-text-row__text h2 { margin-top: 0; }

/* Pillar card with image */
.pillar-card--has-img { padding: 0; overflow: hidden; }
.pillar-card--has-img .pillar-card__body { padding: var(--sp-lg) var(--sp-xl) var(--sp-xl); }
.pillar-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.pillar-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pillar-card:hover .pillar-card__thumb img { transform: scale(1.04); }
.pillar-card__cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.img-text-row__img img,
.img-band img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
.img-band img { border-radius: 0; max-height: 400px; object-fit: cover; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* --- Article with Sidebar Layout --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  padding-top: 0;
  align-items: start;
}
@media (min-width: 1060px) {
  .article-layout {
    grid-template-columns: minmax(0, 700px) 300px;
  }
}

.article-main { min-width: 0; }

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-2xl);
}
@media (min-width: 1060px) {
  .article-sidebar {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-lg));
    align-self: start;
  }
}

/* TOC in sidebar */
.toc-widget {
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
}
.toc-widget__title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-teal);
  margin-bottom: var(--sp-lg);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.toc-widget__title::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--c-teal);
  flex-shrink: 0;
}
.toc-widget ul {
  list-style: none;
  padding: 0 0 0 9px;
  margin: 0;
  border-left: 2px solid var(--c-border);
  position: relative;
}
.toc-widget li {
  margin-bottom: 0;
  position: relative;
}
.toc-widget li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-border);
  border: 2px solid var(--c-bg);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 1;
}
.toc-widget li:hover::before {
  background: var(--c-primary-light);
  transform: translateY(-50%) scale(1.2);
}
.toc-widget li.toc-active::before {
  background: var(--c-teal);
  transform: translateY(-50%) scale(1.4);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.15);
}
.toc-widget a {
  display: block;
  padding: 8px 0 8px 12px;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.4;
  transition: color 0.15s, padding-left 0.15s;
  border: none;
  border-radius: 0;
}
.toc-widget a:hover {
  color: var(--c-primary);
  padding-left: 16px;
  background: none;
}
.toc-widget a.toc-active {
  color: var(--c-teal);
  font-weight: 600;
  padding-left: 16px;
  background: none;
  border-left: none;
}
.toc-widget a .toc-num {
  display: none;
}

/* Mobile TOC accordion */
.toc-mobile {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-lg);
  overflow: hidden;
}
.toc-mobile__toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--sp-md) var(--sp-lg);
  background: var(--c-bg-alt);
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  gap: var(--sp-md);
}
.toc-mobile__toggle svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none; stroke-width: 2;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.toc-mobile.is-open .toc-mobile__toggle svg { transform: rotate(180deg); }
.toc-mobile__body {
  display: none;
  padding: var(--sp-md) var(--sp-lg);
  background: var(--c-bg);
}
.toc-mobile.is-open .toc-mobile__body { display: block; }
.toc-mobile__body ol { margin: 0; padding-left: var(--sp-lg); }
.toc-mobile__body li { margin-bottom: var(--sp-xs); }
.toc-mobile__body a { font-size: 0.875rem; color: var(--c-primary); }
/* toc-mobile__list variant (used in newer pages) */
.toc-mobile__list {
  display: none;
  margin: 0;
  padding: var(--sp-md) var(--sp-lg);
  background: var(--c-bg);
  list-style: decimal;
}
.toc-mobile.is-open .toc-mobile__list { display: block; }
.toc-mobile__list li { margin-bottom: var(--sp-xs); }
.toc-mobile__list a { font-size: 0.875rem; color: var(--c-primary); }
@media (min-width: 1060px) {
  .toc-mobile { display: none; }
}

/* AI Summary Box */
.ai-summary {
  background: linear-gradient(135deg, #f0faf8 0%, #f5f8fc 100%);
  border: none;
  border-left: 4px solid var(--c-teal);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--sp-lg) var(--sp-xl);
  margin: var(--sp-xl) 0;
  box-shadow: 0 1px 8px rgba(0,128,128,0.05);
}
.ai-summary__header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-teal);
  margin-bottom: var(--sp-md);
  font-family: var(--font-sans);
}
.ai-summary__header svg {
  width: 16px; height: 16px;
  color: var(--c-teal);
  flex-shrink: 0;
}
.ai-summary ul {
  margin: 0;
  padding-left: var(--sp-xl);
}
.ai-summary li {
  font-size: 0.9rem;
  color: var(--c-text);
  margin-bottom: 6px;
  line-height: 1.5;
}
.ai-summary li:last-child { margin-bottom: 0; }

/* Sidebar consultation widget */
.sidebar-consult {
  background: linear-gradient(135deg, #0F766E 0%, #1E4D6B 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-lg);
  color: rgba(255,255,255,0.9);
  text-align: center;
  border: 1px solid rgba(15,118,110,0.3);
  box-shadow: 0 4px 20px rgba(15,118,110,0.15);
}
.sidebar-consult__icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  backdrop-filter: blur(4px);
}
.sidebar-consult__icon svg {
  width: 22px; height: 22px;
  stroke: white; fill: none; stroke-width: 1.5;
}
.sidebar-consult h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 var(--sp-sm);
  font-family: var(--font-sans);
}
.sidebar-consult p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 var(--sp-md);
  max-width: 100%;
  line-height: 1.5;
}
.sidebar-consult ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-lg);
  text-align: left;
}
.sidebar-consult li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.sidebar-consult li svg {
  width: 14px; height: 14px;
  stroke: var(--c-accent-light); fill: none; stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 2px;
}
.sidebar-consult .btn--consult {
  display: block;
  width: 100%;
  padding: 0.7rem;
  background: var(--c-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--font-sans);
  transition: background 0.2s;
}
.sidebar-consult .btn--consult:hover {
  background: var(--c-accent-light);
  color: #fff;
}
.sidebar-consult .btn--outline-white {
  display: block;
  width: 100%;
  padding: 0.55rem;
  margin-top: var(--sp-sm);
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  text-align: center;
  font-family: var(--font-sans);
  transition: border-color 0.2s, color 0.2s;
}
.sidebar-consult .btn--outline-white:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* Sidebar related widget */
.sidebar-related {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-related__title,
.sidebar-related h4 {
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-sm) var(--sp-lg);
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-text-muted);
  font-family: var(--font-sans);
}
.sidebar-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-related li {
  border-bottom: 1px solid var(--c-border-light);
  margin: 0;
}
.sidebar-related li:last-child { border-bottom: none; }
.sidebar-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-sm) var(--sp-lg);
  font-size: 0.82rem;
  color: var(--c-text);
  gap: var(--sp-sm);
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.sidebar-related a:hover {
  background: var(--c-bg-alt);
  color: var(--c-primary);
}
/* Arrow added via CSS — no need for inline SVGs */
.sidebar-related a::after {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--c-text-muted);
  border-top: 1.5px solid var(--c-text-muted);
  transform: rotate(45deg);
  margin-left: auto;
  transition: border-color 0.15s;
}
.sidebar-related a:hover::after {
  border-color: var(--c-primary);
}
.sidebar-related a svg { display: none; }

/* --- Print --- */
@media print {
  .site-header, .site-footer, .menu-toggle, .header-cta, .toc, .article-sidebar { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ============================================
   About Page
   ============================================ */

/* Hero */
.about-hero {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 60%, var(--c-primary-light) 100%);
  color: #fff;
  padding: var(--sp-3xl) 0;
  position: relative;
  overflow: hidden;
}
.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.about-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
@media (min-width: 860px) {
  .about-hero__inner { grid-template-columns: 1fr 1fr; }
}
.about-hero__tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: var(--sp-md);
}
.about-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: var(--sp-lg);
  line-height: 1.2;
}
.about-hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
}
.about-hero__badges { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }
.about-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}
.about-hero__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  text-align: center;
  flex-direction: column;
  gap: 0.5rem;
}
.about-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stats row */
.about-stats {
  background: var(--c-bg-alt);
  padding: var(--sp-2xl) 0;
  border-bottom: 1px solid var(--c-border);
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}
@media (min-width: 640px) { .about-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.about-stat {
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
}
.about-stat__num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  font-family: var(--font-sans);
  margin-bottom: 0.4rem;
}
.about-stat__label { font-size: 0.8rem; color: var(--c-text-muted); }

/* Mission section */
.about-mission { padding: var(--sp-3xl) 0; }
.about-mission__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
@media (min-width: 860px) {
  .about-mission__grid { grid-template-columns: 1fr 1fr; }
}
.about-mission__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--c-teal-light) 0%, #e8f0f8 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted);
  font-size: 0.75rem;
  text-align: center;
}
.about-mission__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-mission__text h2 { margin-bottom: var(--sp-lg); }
.about-mission__text p { color: var(--c-text-light); line-height: 1.8; margin-bottom: var(--sp-md); }

/* Principles */
.about-principles {
  background: var(--c-bg-alt);
  padding: var(--sp-3xl) 0;
}
.about-principles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}
@media (min-width: 560px) { .about-principles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .about-principles__grid { grid-template-columns: repeat(3, 1fr); } }
.about-principle {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  border: 1px solid var(--c-border);
}
.about-principle__icon {
  width: 44px; height: 44px;
  background: var(--c-teal-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-md);
  color: var(--c-teal);
}
.about-principle h3 { font-size: 0.95rem; margin-bottom: var(--sp-sm); }
.about-principle p { font-size: 0.85rem; color: var(--c-text-muted); line-height: 1.6; margin: 0; }

/* Team / Reviewer cards */
.about-team { padding: var(--sp-3xl) 0; }
.about-team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}
@media (min-width: 560px) { .about-team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .about-team__grid { grid-template-columns: repeat(3, 1fr); } }
.about-person {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg);
  transition: box-shadow 0.2s;
}
.about-person:hover { box-shadow: var(--shadow-sm); }
.about-person__photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8f0f8 0%, var(--c-teal-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted);
  font-size: 0.7rem; text-align: center;
  flex-direction: column; gap: 0.5rem;
}
.about-person__body { padding: var(--sp-lg); }
.about-person__name { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.about-person__title { font-size: 0.8rem; color: var(--c-teal); font-weight: 600; margin-bottom: var(--sp-sm); }
.about-person__bio { font-size: 0.82rem; color: var(--c-text-muted); line-height: 1.6; margin: 0; }
.about-person__certs {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: var(--sp-md);
}
.about-person__cert {
  font-size: 0.7rem; font-weight: 600;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  color: var(--c-primary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Transparency / How we make money */
.about-transparency {
  background: linear-gradient(180deg, var(--c-primary-light) 0%, var(--c-primary) 100%);
  color: #fff;
  padding: var(--sp-3xl) 0;
  border-top: 3px solid var(--c-accent);
  position: relative;
}
.about-transparency::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.about-transparency h2 { color: #fff; margin-bottom: var(--sp-lg); }
.about-transparency p { color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: var(--sp-md); }
.about-transparency a { color: var(--c-accent-light); }
.about-transparency__links {
  display: flex; flex-wrap: wrap; gap: var(--sp-md);
  margin-top: var(--sp-xl);
}
.about-transparency__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.about-transparency__link:hover { background: rgba(255,255,255,0.18); }

/* ============================================
   Floating WhatsApp / CTA Buttons
   Desktop: floating pill on right
   Mobile: fixed bar at bottom
   ============================================ */

/* Desktop — only WhatsApp pill, right side */
.float-wa {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.float-wa__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
}
.float-wa__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.28);
}
.float-wa__whatsapp {
  background: #0F7A35;
  color: #fff;
}
.float-wa__whatsapp svg { flex-shrink: 0; }

/* Hide call button on desktop */
.float-wa__call { display: none; }

/* Mobile — full-width bar at bottom */
@media (max-width: 767px) {
  .float-wa {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: #0B1E2E;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
  }
  .float-wa__btn {
    flex: 1;
    justify-content: center;
    border-radius: 10px;
    padding: 0.85rem 0.5rem;
    font-size: 0.95rem;
    box-shadow: none;
  }
  .float-wa__btn:hover { transform: none; box-shadow: none; }
  .float-wa__call {
    display: inline-flex;
    background: #1A3A52;
    color: #fff;
    margin-right: 0.5rem;
  }
  /* Add bottom padding to body so content isn't hidden behind bar */
  body { padding-bottom: 72px; }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 1.5rem;
  bottom: 2rem;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-primary);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(15, 46, 66, 0.15);
  padding: 1.15rem 1.25rem 1.1rem;
  z-index: 999;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--c-text-light);
  animation: cookieSlideUp 0.4s ease-out;
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__title {
  display: block;
  color: var(--c-primary);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.cookie-banner__text p {
  margin: 0;
  color: var(--c-text-light);
}
.cookie-banner__text a {
  color: var(--c-primary);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-banner__text a:hover { color: var(--c-accent); }
.cookie-banner__actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.95rem;
  justify-content: flex-end;
}
.cookie-banner__btn {
  padding: 0.55rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.cookie-banner__btn:active { transform: translateY(1px); }
.cookie-banner__btn--reject {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-text-light);
}
.cookie-banner__btn--reject:hover {
  background: var(--c-bg-alt);
  color: var(--c-text);
}
.cookie-banner__btn--accept {
  background: var(--c-primary);
  color: #fff;
}
.cookie-banner__btn--accept:hover {
  background: var(--c-primary-dark);
}

@media (max-width: 767px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(80px + env(safe-area-inset-bottom));
    max-width: none;
    padding: 1rem 1rem 0.95rem;
  }
  .cookie-banner__actions {
    margin-top: 0.8rem;
    gap: 0.5rem;
  }
  .cookie-banner__btn { flex: 1; }
}

/* ============================================
   Lead Capture — scroll modal + left tab
   ============================================ */

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lead-modal[hidden] { display: none; }

.lead-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 48, 0.62);
  backdrop-filter: blur(3px);
}

.lead-modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(15, 46, 66, 0.28);
  animation: leadModalIn 0.35s ease-out;
}
@keyframes leadModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lead-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  transition: background 0.15s;
}
.lead-modal__close:hover { background: rgba(255,255,255,0.25); }

.lead-modal__header {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  padding: 1.75rem 1.5rem 1.35rem;
  border-radius: 14px 14px 0 0;
}
.lead-modal__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(180, 83, 9, 0.25);
  color: var(--c-accent-light);
  border: 1px solid rgba(180, 83, 9, 0.45);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.65rem;
}
.lead-modal__title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.5rem;
  padding-right: 1.5rem;
}
.lead-modal__subtitle {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0;
}
.lead-modal__subtitle--short { display: none; }

.lead-modal__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.lead-form__field {
  margin-bottom: 0.85rem;
}
.lead-form__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.35rem;
}
.lead-form__optional {
  font-weight: 400;
  color: var(--c-text-muted);
}
.lead-form__field input,
.lead-form__field textarea,
.lead-form__field select {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--c-text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.lead-form__field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.5;
}
.lead-form__field input:focus,
.lead-form__field textarea:focus,
.lead-form__field select:focus {
  outline: none;
  border-color: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(42, 111, 151, 0.12);
}
.lead-form__field input.is-invalid,
.lead-form__field textarea.is-invalid {
  border-color: var(--c-danger);
}

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 540px) {
  .lead-form__row { grid-template-columns: 1fr; gap: 0; }
}

.lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lead-form__error {
  font-size: 0.8rem;
  color: var(--c-danger);
  margin: -0.25rem 0 0.65rem;
}

.lead-form__submit {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius);
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.lead-form__submit:hover { background: var(--c-primary-light); }
.lead-form__submit:active { transform: translateY(1px); }

.lead-form__privacy {
  margin: 0.9rem auto 0;
  max-width: 520px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--c-text-muted);
  text-align: center;
}
.lead-form__privacy a {
  color: var(--c-primary);
  text-decoration: underline;
}

.lead-modal__trust {
  list-style: none;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border-light);
}
.lead-modal__trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 0.4rem;
}
.lead-modal__trust li:last-child { margin-bottom: 0; }
.lead-modal__trust li svg {
  width: 14px;
  height: 14px;
  stroke: var(--c-teal);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.lead-modal__success {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}
.lead-modal__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--c-teal-light);
  color: var(--c-teal);
  margin-bottom: 0.85rem;
}
.lead-modal__success h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--c-primary);
  margin-bottom: 0.45rem;
}
.lead-modal__success p {
  font-size: 0.875rem;
  color: var(--c-text-light);
  line-height: 1.55;
  margin-bottom: 1rem;
}

body.lead-modal-open { overflow: hidden; }

/* Left-edge tab — opens modal; avoids right-side WhatsApp conflict */
.lead-tab {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.55rem;
  border: none;
  border-radius: 0 10px 10px 0;
  background: var(--c-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 4px 0 18px rgba(15, 46, 66, 0.22);
  transition: background 0.15s, transform 0.15s, padding-left 0.15s;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.lead-tab[hidden] { display: none; }
.lead-tab:hover {
  background: var(--c-primary-dark);
  padding-left: 0.7rem;
}
.lead-tab__icon {
  writing-mode: horizontal-tb;
  transform: rotate(-90deg);
  flex-shrink: 0;
}
.lead-tab__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .lead-modal {
    padding: 0.85rem;
    align-items: center;
  }
  .lead-modal__panel {
    max-width: 340px;
    max-height: calc(100dvh - 7rem);
    border-radius: 12px;
    animation-name: leadModalIn;
    box-shadow: 0 16px 48px rgba(15, 46, 66, 0.24);
  }
  .lead-modal__close {
    top: 0.65rem;
    right: 0.65rem;
    width: 1.75rem;
    height: 1.75rem;
  }
  .lead-modal__header {
    padding: 1.1rem 1rem 0.85rem;
  }
  .lead-modal__badge {
    font-size: 0.62rem;
    padding: 0.15rem 0.5rem;
    margin-bottom: 0.45rem;
  }
  .lead-modal__title {
    font-size: 1.1rem;
    padding-right: 1.25rem;
    margin-bottom: 0.35rem;
  }
  .lead-modal__subtitle--full { display: none; }
  .lead-modal__subtitle--short {
    display: block;
    font-size: 0.76rem;
    line-height: 1.45;
  }
  .lead-modal__subtitle {
    font-size: 0.76rem;
    line-height: 1.45;
  }
  .lead-modal__body {
    padding: 0.9rem 1rem 1rem;
  }
  .lead-form__field {
    margin-bottom: 0.6rem;
  }
  .lead-form__field label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }
  .lead-form__field input {
    padding: 0.58rem 0.7rem;
    font-size: 16px; /* prevents iOS zoom on focus */
  }
  .lead-form__submit {
    padding: 0.72rem 0.85rem;
    font-size: 0.875rem;
  }
  .lead-form__privacy {
    margin-top: 0.55rem;
    font-size: 0.65rem;
  }
  /* Trust bullets hidden on mobile — keeps card compact */
  .lead-modal__trust {
    display: none;
  }
  .lead-modal__success {
    padding: 0.25rem 0 0;
  }
  .lead-modal__success h3 {
    font-size: 1.05rem;
  }
  .lead-modal__success p {
    font-size: 0.8rem;
  }
  .lead-tab {
    top: auto;
    bottom: calc(88px + env(safe-area-inset-bottom));
    transform: none;
    writing-mode: horizontal-tb;
    flex-direction: row;
    border-radius: 0 10px 10px 0;
    padding: 0.55rem 0.75rem;
  }
  .lead-tab__icon { transform: none; }
  .lead-tab__label { font-size: 0.75rem; }
}

@media (min-width: 768px) {
  .lead-modal { padding: 2rem; }
}


/* =========================================================
   Contact Form
   ========================================================= */
.contact-form {
  margin-top: var(--sp-xl);
  max-width: 640px;
}
.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
@media (max-width: 600px) {
  .contact-form__row { grid-template-columns: 1fr; }
}
.contact-form__field {
  margin-bottom: var(--sp-md);
}
.contact-form__field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-primary-dark);
  margin-bottom: 0.35rem;
}
.contact-form__optional {
  font-weight: 400;
  color: var(--c-text-muted);
}
.contact-form__required {
  color: var(--c-accent);
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--c-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(30,77,107,0.1);
}
.contact-form__field textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form__error {
  color: #dc2626;
  font-size: 0.9rem;
  margin-bottom: var(--sp-sm);
}
.contact-form__success[hidden] { display: none; }
.contact-form__success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  color: #166534;
  font-weight: 500;
}


/* ============================================
   HOMEPAGE — unique components (not in facelift)
   ============================================ */

/* Section tag labels */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-sm);
}
.section-tag--light { color: var(--c-accent-light); }

.section-header--left { text-align: left; }
.section-header--left p { margin-left: 0; }

/* ── Home Hero — dark gradient, two-column ── */
.home-hero {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, #163D56 50%, var(--c-primary) 100%);
  color: #fff;
  padding: var(--sp-3xl) 0 var(--sp-4xl);
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
@media (min-width: 860px) {
  .home-hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}
.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--sp-lg);
}
.home-hero__badge svg { flex-shrink: 0; color: var(--c-teal); stroke: #4ADE80; }
.home-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: #fff;
  margin-bottom: var(--sp-lg);
  line-height: 1.15;
}
.home-hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: var(--sp-xl);
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.home-hero__img { display: flex; align-items: center; }
.home-hero__img img {
  border-radius: var(--radius-lg);
}
.home-hero__img .placeholder-img {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.4);
  min-height: 320px;
  border-radius: var(--radius-lg);
}

/* Hero buttons */
.btn--accent {
  background: var(--c-accent);
  color: #fff;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn--accent:hover { background: var(--c-accent-light); color: #fff; }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn--outline-on-dark {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--outline-on-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* Trust strip — compact inline badges */
.trust-strip {
  background: var(--c-primary-dark);
  padding: 14px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 6px;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.01em;
}
.trust-strip svg { color: var(--c-teal); flex-shrink: 0; }
.trust-strip__sep { color: rgba(255,255,255,0.3); font-size: 1rem; }

/* ── Feature Card (horizontal, for Lipo 360 flagship) ── */
.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-xl);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  background: var(--c-bg);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
@media (min-width: 768px) {
  .feature-card { grid-template-columns: 0.45fr 0.55fr; }
}
.feature-card__img .placeholder-img {
  min-height: 220px;
  margin: 0;
  border-radius: 0;
  border: none;
}
@media (min-width: 768px) {
  .feature-card__img .placeholder-img { min-height: 100%; }
}
.feature-card__body {
  padding: var(--sp-xl) var(--sp-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-sm);
}
.feature-card__body h3 {
  font-size: 1.25rem;
  margin: 0 0 var(--sp-sm);
  font-family: var(--font-serif);
  color: var(--c-primary-dark);
}
.feature-card__body p {
  font-size: 0.9rem;
  color: var(--c-text-light);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
}
.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-primary);
}
.feature-card:hover .feature-card__link { color: var(--c-accent); }

/* ── Area Cards (image-top vertical cards, different from pillar-card) ── */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}
@media (min-width: 560px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .area-grid { grid-template-columns: repeat(5, 1fr); } }

.area-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  background: var(--c-bg);
}
.area-card:hover {
  border-color: var(--c-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}
.area-card__img .placeholder-img {
  min-height: 140px;
  margin: 0;
  border: none;
  border-radius: 0;
}
.area-card__body {
  padding: var(--sp-md) var(--sp-lg) var(--sp-lg);
}
.area-card__body h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin: 0 0 var(--sp-xs);
  color: var(--c-primary-dark);
}
.area-card__body p {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin: 0 0 var(--sp-sm);
  line-height: 1.5;
}
.area-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-primary);
}
.area-card:hover .area-card__link { color: var(--c-accent); }

/* ── Cost Split (text + table side by side) ── */
.cost-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}
@media (min-width: 860px) {
  .cost-split { grid-template-columns: 1fr 1.1fr; }
}
.cost-split__text h2 { margin-top: 0; }
.cost-split__text p { color: var(--c-text-light); line-height: 1.7; margin-bottom: var(--sp-lg); }
.cost-split__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.cost-split__note {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-top: var(--sp-sm);
}

/* ── Turkey Banner — gradient background ── */
.turkey-banner {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  padding: var(--sp-3xl) 0;
  position: relative;
}
.turkey-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.turkey-banner__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
@media (min-width: 860px) {
  .turkey-banner__grid { grid-template-columns: 1fr 0.8fr; }
}
.turkey-banner__img img {
  border-radius: var(--radius-lg);
}
.turkey-banner__text h2 { color: #fff; margin-top: 0; }
.turkey-banner__text p { color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: var(--sp-lg); max-width: 100%; }
.turkey-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

/* ── Twin Features (Recovery + Safety side by side) ── */
.twin-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}
@media (min-width: 768px) {
  .twin-features { grid-template-columns: 1fr 1fr; }
}
.twin-feature {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
}
.twin-feature__icon {
  width: 48px;
  height: 48px;
  background: var(--c-teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-teal);
  margin-bottom: var(--sp-md);
}
.twin-feature h3 {
  font-size: 1.15rem;
  font-family: var(--font-sans);
  margin: 0 0 var(--sp-sm);
}
.twin-feature p {
  font-size: 0.88rem;
  color: var(--c-text-light);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
}
.twin-feature__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-md);
}
.twin-feature__list li {
  padding: var(--sp-xs) 0;
  border-bottom: 1px solid var(--c-border-light);
}
.twin-feature__list li:last-child { border-bottom: none; }
.twin-feature__list a {
  font-size: 0.85rem;
  color: var(--c-primary);
  font-weight: 500;
}
.twin-feature__list a:hover { color: var(--c-accent); }
.twin-feature__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-primary);
}

/* ── E-E-A-T Cards ── */
.eeat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}
@media (min-width: 560px) { .eeat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .eeat-grid { grid-template-columns: repeat(4, 1fr); } }

.eeat-card {
  background: var(--c-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  border-top: 3px solid var(--c-teal);
}
.eeat-card__num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
  font-family: var(--font-sans);
}
.eeat-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 var(--sp-sm);
  color: var(--c-primary-dark);
}
.eeat-card p {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA banner actions */
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: center;
}

/* ============================================
   Hub / Overview Pages (Types, Areas, Guides)
   Magazine-grid style — distinct from facelift
   ============================================ */

.hub-hero {
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  text-align: center;
}
.hub-hero h1 {
  margin-bottom: var(--sp-sm);
}
.hub-hero__subtitle {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 600px;
  margin: 0 auto var(--sp-lg);
  line-height: 1.6;
}
.hub-hero__meta {
  display: flex;
  justify-content: center;
  gap: var(--sp-lg);
  font-size: 0.82rem;
  color: var(--c-text-muted);
}
.hub-hero__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Category filter tabs */
.hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-2xl);
  justify-content: center;
}
.hub-filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}
.hub-filter-btn:hover {
  border-color: var(--c-primary-light);
  color: var(--c-primary);
}
.hub-filter-btn.active {
  background: var(--c-teal);
  border-color: var(--c-teal);
  color: white;
}

/* Magazine grid */
.hub-grid {
  display: grid;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-3xl);
}
.hub-grid--featured {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .hub-grid--featured {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
  }
  .hub-grid--featured .hub-card:first-child {
    grid-row: 1 / 3;
  }
}
.hub-grid--3col {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Hub cards */
.hub-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
}
.hub-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.hub-card__img {
  aspect-ratio: 16/9;
  background: var(--c-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hub-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hub-card__img--placeholder {
  color: var(--c-text-muted);
  font-size: 0.75rem;
}
.hub-card__img--placeholder svg {
  width: 32px;
  height: 32px;
  stroke: var(--c-border);
  margin-bottom: 6px;
}
.hub-card__body {
  padding: var(--sp-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hub-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-teal);
  margin-bottom: var(--sp-sm);
}
.hub-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--c-primary-dark);
  line-height: 1.3;
  margin-bottom: var(--sp-sm);
  font-weight: 700;
}
.hub-card:first-child .hub-card__title {
  font-size: 1.25rem;
}
.hub-card__excerpt {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin-bottom: var(--sp-md);
  flex: 1;
}
.hub-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-size: 0.75rem;
  color: var(--c-text-muted);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--c-border-light);
}
.hub-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-teal);
  margin-top: auto;
}
.hub-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s;
}
.hub-card:hover .hub-card__link svg {
  transform: translateX(3px);
}

/* Hub section headings */
.hub-section-title {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
  margin-top: var(--sp-2xl);
}
.hub-section-title h2 {
  margin: 0;
  font-size: 1.2rem;
}
.hub-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-border);
}
.hub-section-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-teal);
  background: var(--c-teal-light);
  padding: 2px 10px;
  border-radius: 10px;
}

/* Pillar hub intro cards (for /liposuction-types/, /areas/, etc.) */
.pillar-intro {
  background: linear-gradient(135deg, var(--c-teal-light) 0%, #f0f7ff 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
  border: 1px solid rgba(15,118,110,0.1);
}
.pillar-intro p {
  max-width: 65ch;
  color: var(--c-text-light);
}

/* Pillar sub-page links grid */
.pillar-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
}
.pillar-link-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pillar-link-card:hover {
  border-color: var(--c-teal);
  box-shadow: 0 2px 12px rgba(15,118,110,0.08);
}
.pillar-link-card__icon {
  width: 36px;
  height: 36px;
  background: var(--c-teal-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-link-card__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--c-teal);
  fill: none;
  stroke-width: 2;
}
.pillar-link-card__text h3 {
  font-size: 0.9rem;
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--c-primary-dark);
}
.pillar-link-card__text p {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   Hub Cards with Images (recovery, types, etc.)
   ============================================ */
.hub-cards-img {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin: var(--sp-lg) 0 var(--sp-2xl);
}
@media (min-width: 600px) {
  .hub-cards-img {
    grid-template-columns: repeat(2, 1fr);
  }
}
.hub-card-img {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  text-decoration: none;
}
.hub-card-img p,
.hub-card-img h3 {
  text-decoration: none;
}
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  background: var(--c-bg);
  text-decoration: none;
}
.hub-card-img:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.hub-card-img__visual {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.hub-card-img__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.hub-card-img:hover .hub-card-img__visual img {
  transform: scale(1.03);
}
.hub-card-img__visual--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  font-size: 0.72rem;
  background: linear-gradient(135deg, var(--c-bg-alt) 0%, var(--c-teal-light) 100%);
}
.hub-card-img__body {
  padding: var(--sp-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hub-card-img__body h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin: 0 0 var(--sp-sm);
}
.hub-card-img__body p {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin: 0 0 var(--sp-md);
  flex: 1;
}
.hub-card-img__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-teal);
  transition: color 0.15s;
  text-decoration: none;
}
.hub-card-img {
  text-decoration: none;
}
.hub-card-img:hover .hub-card-img__link {
  color: var(--c-primary);
}

/* ── 404 Error Page ── */
.error-page {
  text-align: center;
  padding: var(--sp-4xl) var(--sp-md);
  max-width: 720px;
  margin: 0 auto;
}
.error-page__code {
  font-size: clamp(5rem, 20vw, 9rem);
  font-weight: 800;
  color: var(--c-border);
  line-height: 1;
  font-family: var(--font-sans);
  letter-spacing: -4px;
  margin-bottom: var(--sp-md);
}
.error-page__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-md);
}
.error-page__message {
  font-size: 1.05rem;
  color: var(--c-text-light);
  max-width: 520px;
  margin: 0 auto var(--sp-xl);
  line-height: 1.7;
}
.error-page__links {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-3xl);
}
.error-page__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-xl);
  text-align: left;
  border-top: 1px solid var(--c-border-light);
  padding-top: var(--sp-xl);
}
.error-page__nav-group h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
}
.error-page__nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.error-page__nav-group li + li {
  margin-top: 6px;
}
.error-page__nav-group a {
  font-size: 0.9rem;
  color: var(--c-primary);
}
.error-page__nav-group a:hover {
  color: var(--c-accent);
}

/* Back to Guides hub — topical clustering link at end of every guide article */
.back-to-hub {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.95rem;
  color: var(--c-text-muted, #6b7280);
}
.back-to-hub a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: none;
}
.back-to-hub a:hover {
  color: var(--c-accent);
  text-decoration: underline;
}
