/* Commode Chairs Kenya — shared styles
   Warm, calm, dignified. Zero JavaScript required.
   Budget target: under 130KB uncompressed. */

/* ========== Tokens ========== */
:root {
  --surface: #F7F4EF;
  --surface-elevated: #FFFcf8;
  --ink: #1F2A24;
  --ink-muted: #5C675F;
  --accent: #2F6F6A;
  --accent-hover: #255954;
  --accent-warm: #C48A3A;
  --border: #E4DDD3;
  --success: #2D6A4F;
  --whatsapp: #128C7E;
  --shadow-sm: 0 1px 2px rgba(31, 42, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 42, 36, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --max: 72rem;
  --measure: 40rem;
  --tap: 48px;
  --tap-lg: 52px;
  --sticky-h: 56px;
  --header-h: 72px;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", "Georgia", "Times New Roman", serif;
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@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;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 2px;
}
ul, ol { padding-left: 1.25em; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.85rem, 1.4rem + 2vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); font-family: var(--font-sans); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ========== Layout ========== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  z-index: 1000;
}
.skip-link:focus { left: var(--space-2); top: var(--space-2); }
.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 32px, var(--measure)); }
.section { padding: var(--space-5) 0; }
@media (min-width: 768px) { .section { padding: var(--space-6) 0; } }
.section--tint { background: #EFE9E0; }
.section--elevated { background: var(--surface-elevated); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-1);
}
.lead { font-size: 1.2rem; color: var(--ink-muted); max-width: 40rem; }
.muted { color: var(--ink-muted); }
.price, .price-table, table.specs, .tabular {
  font-variant-numeric: tabular-nums;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ========== Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 248, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--header-h);
}
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
  min-height: var(--tap);
  justify-content: center;
}
.logo strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}
.logo span {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 400;
}
.nav-toggle { display: none; }
.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.nav-toggle-label span { pointer-events: none; }
.primary-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2);
  box-shadow: var(--shadow-md);
}
.nav-toggle:checked ~ .primary-nav { display: block; }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.primary-nav a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 10px 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}
.primary-nav a:hover { background: var(--surface); color: var(--accent); }
.header-actions {
  display: none;
  align-items: center;
  gap: var(--space-2);
}
.header-phone {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  white-space: nowrap;
}
@media (min-width: 900px) {
  .nav-toggle-label { display: none; }
  .primary-nav {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    flex: 1;
  }
  .primary-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }
  .primary-nav a {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0.95rem;
  }
  .header-actions { display: flex; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn--whatsapp:hover {
  background: #0e7a6e;
  color: #fff;
}
.btn--block { width: 100%; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* ========== Cards / grids ========== */
.grid {
  display: grid;
  gap: var(--space-3);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1440px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 150ms ease;
}
.card:hover { box-shadow: var(--shadow-md); }
.card__media {
  aspect-ratio: 4 / 3;
  background: #EFE9E0;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card__body h3 {
  margin: 0;
  font-size: 1.15rem;
}
.card__body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.card__body h3 a:hover { color: var(--accent); }
.card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.card__price .was {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.card__actions { margin-top: auto; padding-top: 8px; }

/* Spec badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}
.badge--accent {
  border-color: rgba(47, 111, 106, 0.35);
  color: var(--accent);
  background: rgba(47, 111, 106, 0.08);
}
.badge--warm {
  border-color: rgba(196, 138, 58, 0.4);
  color: #8a5f1f;
  background: rgba(196, 138, 58, 0.12);
}

/* ========== Hero ========== */
.hero {
  padding: var(--space-5) 0 var(--space-6);
}
.hero__grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); }
}
.hero__media {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface-elevated);
  position: relative;
  padding-bottom: 8px;
}
/*
  Hero slider: 5 absolute slides, auto-advance.
  More reliable than a flex track (works when height is set via aspect-ratio).
*/
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #EFE9E0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.hero-slider figure {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  animation: hero-cycle 25s infinite;
  background: #EFE9E0;
}
.hero-slider figure:nth-child(1) { animation-delay: 0s; }
.hero-slider figure:nth-child(2) { animation-delay: 5s; }
.hero-slider figure:nth-child(3) { animation-delay: 10s; }
.hero-slider figure:nth-child(4) { animation-delay: 15s; }
.hero-slider figure:nth-child(5) { animation-delay: 20s; }
.hero-slider figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-slider__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(31, 42, 36, 0.85));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}
/* show ~4s, hide rest of 25s loop */
@keyframes hero-cycle {
  0% { opacity: 0; transform: translateX(12%); z-index: 1; }
  3% { opacity: 1; transform: translateX(0); z-index: 2; }
  17% { opacity: 1; transform: translateX(0); z-index: 2; }
  20% { opacity: 0; transform: translateX(-12%); z-index: 1; }
  100% { opacity: 0; transform: translateX(-12%); z-index: 0; }
}
/* Keep first slide visible before animation paints */
.hero-slider figure:first-child {
  opacity: 1;
  z-index: 1;
}
.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 8px 8px 0;
}
.hero-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #EFE9E0;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider figure {
    animation: none;
    opacity: 0;
  }
  .hero-slider figure:first-child {
    opacity: 1;
    transform: none;
  }
}
/*
  Category grids reuse shop product-card sizing:
  same .card / .card__media / .grid--3 rules as the shop page.
  .cat-grid is an alias of the shop product grid.
*/
.cat-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
/* cat-card mirrors .card exactly */
.cat-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 150ms ease;
  text-decoration: none;
  color: var(--ink);
  min-height: 100%;
}
.cat-card:hover {
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.cat-card__media {
  aspect-ratio: 4 / 3;
  background: #EFE9E0;
  overflow: hidden;
  display: block;
  width: 100%;
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cat-card__body strong {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-sans);
  line-height: 1.3;
  color: var(--ink);
}
.cat-card__body span {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.45;
}
/* Guide covers: small, not full-bleed huge */
.guide-cover {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #EFE9E0;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
  max-height: 180px;
  margin: 0 0 var(--space-3);
}
.guide-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Blog index thumbs match product-card proportion but slightly shorter */
.blog-card-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #EFE9E0;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Useful info strip */
.info-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.info-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  font-family: var(--font-sans);
}
.info-card p, .info-card li {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
}
.info-card ul {
  margin: 0;
  padding-left: 1.1em;
}
.info-card li { margin-bottom: 4px; }
/* Location list */
.loc-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .loc-grid { grid-template-columns: repeat(3, 1fr); }
}
.loc-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
  text-decoration: none;
  color: var(--ink);
}
.loc-card:hover { border-color: var(--accent); }
.loc-card strong { display: block; margin-bottom: 4px; }
.loc-card span { font-size: 0.9rem; color: var(--ink-muted); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: var(--space-3);
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-weight: 600;
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-row li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ========== Tables ========== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  background: #EFE9E0;
  font-weight: 600;
  font-size: 0.9rem;
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(47, 111, 106, 0.04); }
.price-updated {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: var(--space-2);
}

/* ========== Product layout ========== */
.breadcrumb {
  padding: var(--space-2) 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--ink-muted);
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

.product-layout {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 900px) {
  .product-layout { grid-template-columns: 1fr 1fr; align-items: start; }
}
.gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #EFE9E0;
  padding: 0;
}
.gallery figure {
  margin: 0;
  min-width: 100%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-price-block {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin: var(--space-3) 0;
}
.product-price-block .amount {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.product-price-block .was {
  font-size: 1.1rem;
  color: var(--ink-muted);
  text-decoration: line-through;
  margin-left: 10px;
}
.stock-line {
  margin-top: 8px;
  font-weight: 600;
  color: var(--success);
  font-size: 0.95rem;
}
.panel {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin: var(--space-3) 0;
}
.panel h2 { margin-top: 0; }

/* FAQ details */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
details.faq {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
}
details.faq summary {
  min-height: var(--tap);
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}
details.faq[open] summary::after { content: "–"; }
details.faq .faq-a {
  padding: 0 16px 16px;
  color: var(--ink-muted);
}

/* ========== Prose / blog ========== */
.prose {
  max-width: var(--measure);
}
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { margin: 0 0 1em; }
.meta-dates {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: var(--space-3);
}
.byline {
  font-size: 0.95rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
  margin-top: var(--space-4);
}

/* ========== Forms ========== */
.form-grid {
  display: grid;
  gap: var(--space-2);
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
  font: inherit;
  color: var(--ink);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ========== Map ========== */
.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #EFE9E0;
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--ink);
  color: #D8E0DB;
  padding: var(--space-6) 0 var(--space-5);
  margin-top: var(--space-6);
}
.site-footer a { color: #E8F0EC; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.site-footer h2, .site-footer h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  margin: 0 0 12px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li { margin-bottom: 8px; }
.site-footer li a {
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
}
.footer-brand p { font-size: 0.95rem; line-height: 1.6; color: #B8C4BE; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  font-size: 0.9rem;
  color: #9AA8A1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.def-sentence {
  font-size: 0.95rem;
  color: #B8C4BE;
  margin-top: 12px;
}

/* ========== Sticky bar ========== */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--surface-elevated);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(31, 42, 36, 0.08);
}
.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-lg);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.sticky-bar .sticky-call {
  color: var(--accent);
  border-right: 1px solid var(--border);
}
.sticky-bar .sticky-wa {
  background: var(--whatsapp);
  color: #fff;
}
@media (min-width: 768px) {
  .sticky-bar { display: none; }
}

/* ========== Utilities ========== */
.stack > * + * { margin-top: var(--space-2); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.text-center { text-align: center; }
.cta-band {
  background: linear-gradient(135deg, #2F6F6A 0%, #245854 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 36rem; margin-inline: auto; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--accent);
}
.cta-band .btn--primary:hover {
  background: var(--surface);
  color: var(--accent-hover);
}
.cta-band .btn--secondary {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.cta-band .btn--secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pill-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.pill-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.note {
  background: rgba(196, 138, 58, 0.12);
  border-left: 4px solid var(--accent-warm);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  font-size: 1rem;
}
.related-grid { margin-top: var(--space-3); }

/* 404 */
.error-page {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-6) 0;
}

.btn--sm { min-height: 44px; padding: 8px 14px; font-size: 0.95rem; }

