/* ==========================================================================
   HLW SIGN — static site stylesheet
   --------------------------------------------------------------------------
   HOW TO REBRAND
   1. Change the colour values in :root (below). Everything follows from them.
   2. Change --container to control the max page width.
   3. No external fonts and no frameworks = no third-party requests, fast loads.
   ========================================================================== */

:root {
  /* Brand — taken from the HLW SIGN logo (blue #2666C7) */
  --brand: #2666c7;
  --brand-hover: #1b4fa0;
  --brand-dark: #123b78;
  --brand-deep: #0d2a57;
  --brand-mid: #1e56ac;
  --brand-soft: #e9f0fb;
  --accent: #b8460f;
  --accent-bright: #e8622a;
  --accent-soft: #fbeadf;

  /* Neutrals */
  --ink: #121a26;
  --ink-soft: #4a5766;
  --ink-faint: #78838f;
  --line: #e2e6ec;
  --paper: #ffffff;
  --paper-warm: #f7f9fc;
  --paper-2: #eff3f8;

  /* Shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1180px;
  --shadow-sm: 0 1px 2px rgba(18, 26, 38, .06), 0 2px 8px rgba(18, 26, 38, .05);
  --shadow-md: 0 12px 32px rgba(18, 26, 38, .10);

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
picture { max-width: 100%; display: block; }

img { height: auto; }

a {
  color: var(--brand-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

::selection { background: var(--accent-soft); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: .7rem 1.1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.25rem) 0; }
.section--warm { background: var(--paper-warm); }
.section--sand { background: var(--paper-2); }
.section--dark { background: var(--brand-deep); color: #dbe6f7; }
.section--dark h2,
.section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0; }
.section--dark .section-head p { color: #a8bcd8; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}

.lede { font-size: 1.12rem; color: var(--ink-soft); }

.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
    border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }

.btn--dark { background: var(--brand-deep); color: #fff; }
.btn--dark:hover { background: #081d3d; color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.section--dark .btn--ghost,
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.section--dark .btn--ghost:hover,
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }

.btn--sm { padding: .6rem 1.05rem; font-size: .88rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.link-arrow {
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.link-arrow::after {
  content: "\2192";
  transition: transform .18s ease;
}
.link-arrow:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.announce {
  background: var(--brand-deep);
  color: #cfe0f5;
  font-size: .82rem;
  text-align: center;
  padding: .5rem 1rem;
}
.announce strong { color: #fff; }

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1.25rem;
  flex-wrap: wrap;
  text-align: left;
}

.lang-switch {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0;
  padding: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.lang-switch li { margin: 0; }
.lang-switch a,
.lang-switch span {
  color: #a9c3e2;
  text-decoration: none;
  padding-bottom: 1px;
}
.lang-switch a:hover { color: #fff; }
.lang-switch [aria-current="true"] {
  color: #fff;
  border-bottom: 2px solid #e8b060;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -.02em;
}
.brand svg { width: 34px; height: 34px; }
.brand img { display: block; width: auto; height: 50px; }
@media (max-width: 520px) { .brand img { height: 42px; } }
.brand span small {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 550;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--accent); color: var(--ink); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--accent); }

.nav-actions { display: none; align-items: center; gap: .75rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (min-width: 1000px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.drawer[data-open="true"] { display: block; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 16, .5);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 86vw);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__close {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.drawer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.drawer__links li { margin: 0; }
.drawer__links a {
  display: block;
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.drawer__meta {
  margin-top: auto;
  font-size: .88rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.crumbs {
  font-size: .84rem;
  color: var(--ink-faint);
  padding: 1rem 0 0;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: 0;
}
.crumbs li { margin: 0; display: flex; gap: .45rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent-dark); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background: linear-gradient(180deg, var(--paper-warm) 0%, #fff 100%);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
}
.hero h1 { margin-bottom: .5rem; }
.hero__lede { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--ink-soft); }
.hero__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--brand-soft);
}
.hero__stats { margin-top: 2rem; }

.trust-row {
  list-style: none;
  display: grid;
  gap: .9rem 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.trust-row li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: 0;
  font-size: .92rem;
  color: var(--ink-soft);
}
.trust-row svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--brand); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }

.card--flat { box-shadow: none; }
.card--flat:hover { box-shadow: none; transform: none; border-color: var(--brand-soft); }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.icon-badge svg { width: 24px; height: 24px; }

/* Product cards */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card__media {
  display: block;
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.product-card__title { font-size: 1.08rem; margin: 0; }
.product-card__title a { color: var(--ink); text-decoration: none; }
.product-card__title a:hover { color: var(--accent-dark); }
.product-card__desc { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.product-card__foot {
  margin-top: auto;
  padding-top: .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.price { font-weight: 750; }
.price small { display: block; font-weight: 500; font-size: .78rem; color: var(--ink-faint); }

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: .3rem .65rem;
}
.tag--accent { color: var(--accent-dark); background: var(--accent-soft); }

/* --------------------------------------------------------------------------
   Product detail page
   -------------------------------------------------------------------------- */

.pdp {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr .95fr; } }

.gallery__main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs {
  display: flex;
  gap: .6rem;
  margin: .7rem 0 0;
  list-style: none;
  padding: 0;
}
.gallery__thumbs li { margin: 0; }
.gallery__thumbs button {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  padding: 0;
  width: 78px;
  height: 62px;
  overflow: hidden;
  cursor: pointer;
}
.gallery__thumbs button[aria-current="true"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp__price { font-size: 1.6rem; font-weight: 750; margin: .35rem 0 .9rem; }
.pdp__price span { font-size: .88rem; font-weight: 500; color: var(--ink-faint); }

.bullet-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.bullet-list li { position: relative; padding-left: 1.6rem; font-size: .97rem; }
.bullet-list li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.buy-box {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.buy-box .btn-row { margin-top: .25rem; }
.buy-box__note { font-size: .85rem; color: var(--ink-soft); margin: .85rem 0 0; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th,
.spec-table td {
  text-align: left;
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th { width: 38%; color: var(--ink-soft); font-weight: 600; }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

/* --------------------------------------------------------------------------
   FAQ — native <details>, no JavaScript required
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: .35rem 0; }
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: .95rem 2rem .95rem 0;
  position: relative;
  list-style: none;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .35rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-bright);
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-soft); margin-top: 0; max-width: 72ch; }

/* --------------------------------------------------------------------------
   Quotes
   -------------------------------------------------------------------------- */

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-bright);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.4rem;
  margin: 0;
}
.quote blockquote { margin: 0 0 .8rem; font-size: 1rem; }
.quote figcaption { font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.quote figcaption span { display: block; font-weight: 500; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.stats li { margin: 0; }
.stats b {
  display: block;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.stats span { font-size: .9rem; color: var(--ink-soft); }
.section--dark .stats span { color: #a8bcd8; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 650; }
.field .hint { font-size: .8rem; color: var(--ink-faint); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  font-family: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .75rem .85rem;
  width: 100%;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--brand-mid);
  outline-offset: 0;
  border-color: var(--brand-mid);
}

.form__consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .87rem;
  color: var(--ink-soft);
}
.form__consent input { margin-top: .3rem; }

.form__status {
  font-size: .92rem;
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  display: none;
}
.form__status[data-state="ok"] {
  display: block;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.form__status[data-state="error"] {
  display: block;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   Prose — blog posts and legal pages
   -------------------------------------------------------------------------- */

.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.7rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose blockquote {
  margin: 1.6rem 0;
  padding: .4rem 0 .4rem 1.2rem;
  border-left: 4px solid var(--brand-soft);
  color: var(--ink-soft);
}
.prose .callout {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin: 1.6rem 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose table { font-size: .95rem; }

.article-head { max-width: 74ch; }
.article-meta {
  font-size: .88rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.post-card { display: flex; flex-direction: column; }
.post-card__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-size: 1.15rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-dark); }

.toc {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin: 0 0 2rem;
}
.toc h2 { font-size: 1rem; margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: .94rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--brand);
  color: #dbe6f7;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 820px) { .cta-band { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { margin: 0; color: #c9d8f2; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 820px) { .cta-band .btn-row { justify-content: flex-end; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--brand-deep);
  color: #a8bcd8;
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  font-size: .93rem;
}
.site-footer h2 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #8ba3c6; }
.footer-brand p { margin-top: 1rem; color: #9db2d0; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
/* Used both inside the dark footer and inside light content cards, so the
   default colour has to work on white; the footer overrides it below. */
.footer-links a { color: var(--brand-mid); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

.site-footer .footer-links a { color: #cfdcf2; }
.site-footer .footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  font-size: .85rem;
  color: #8ba3c6;
}
.footer-bottom a { color: #cfdcf2; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-social { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.footer-social li { margin: 0; }

.contact-line { display: block; margin-bottom: .5rem; color: #cfdcf2; text-decoration: none; }
.contact-line:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.divider-note { font-size: .82rem; color: var(--ink-faint); }

.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.img-frame img { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}

/* ==========================================================================
   Site-specific components
   ========================================================================== */

/* Text logo used in the header — the supplied logo file is built for dark
   backgrounds, so the light header uses a matching typographic mark.        */
.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: .32rem;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -.03em;
  line-height: 1;
}
.brand-mark__hlw { color: var(--brand); }
.brand-mark__sign {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .02em;
}
.brand-mark__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  display: inline-block;
  margin-left: .1rem;
}

/* ------------------------------------------------------------- hero ----- */

.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.promise-row {
  list-style: none;
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
  margin: 1.5rem 0 0;
  padding: 0;
}
@media (min-width: 760px) { .promise-row { grid-template-columns: repeat(3, 1fr); } }
.promise-row li {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem .95rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.promise-row svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--brand); }

/* ------------------------------------- contact chips (WhatsApp + email) --- */

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: 1.35rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem .7rem;
  max-width: 100%;
  margin: 0;
  padding: .45rem .5rem .45rem .95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: .96rem;
}
.contact-chip--stack { margin-top: .9rem; }
.contact-chip--flat { box-shadow: none; }
.contact-chip svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--brand); }
.contact-chip--whatsapp svg { color: #1eae54; }
.contact-chip a {
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  word-break: break-all;
}
.contact-chip a:hover { color: var(--brand); text-decoration: underline; }
.contact-chip--whatsapp a:hover { color: #128c3e; }
.contact-chip__hint { font-size: .82rem; color: var(--ink-faint); }
.contact-chip__copy {
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1;
  padding: .45rem .8rem;
  cursor: pointer;
  transition: background-color .18s ease;
}
.contact-chip__copy:hover { background: var(--brand-hover); }
.contact-chip__copy.is-copied { background: #1a7f4b; }

/* WhatsApp in the top bar: same number as the phone line, so the button opens
   a WhatsApp chat with the message pre-filled. */
.nav-wa { white-space: nowrap; }
.nav-wa svg { color: #1eae54; }
.drawer .contact-chips { margin-top: 1rem; }

/* --------------------------------------------------- category tiles ----- */

.cat-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-tile__media { position: relative; background: var(--paper-2); aspect-ratio: 4 / 3; }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__body { padding: .95rem 1.05rem 1.1rem; }
.cat-tile__body h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.cat-tile__body p { font-size: .86rem; color: var(--ink-soft); margin: 0; }
.cat-tile__count {
  position: absolute;
  left: .7rem;
  top: .7rem;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--brand);
  padding: .28rem .6rem;
}

/* --------------------------------------------------------- steps ------- */

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.1rem; } }
.steps li {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.15rem;
}
.steps b {
  display: block;
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.steps h3 { font-size: 1rem; margin-bottom: .35rem; }
.steps p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ------------------------------------------------------- timeline ----- */

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; margin: 0 0 1.6rem; padding-left: .35rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: .45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--brand-soft);
}
.timeline b {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: .2rem;
}
.timeline h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.timeline p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------- team and certs ----- */

.team-card { text-align: center; }
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.team-card h3 { font-size: 1rem; margin: .8rem 0 .15rem; }
.team-card p { font-size: .85rem; color: var(--ink-soft); margin: 0; }

.cert-row {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 0;
  margin: 0;
}
.cert-row li {
  margin: 0;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem .8rem;
  background: #fff;
}
.cert-row img { height: 52px; width: auto; margin: 0 auto .6rem; object-fit: contain; }
.cert-row b { display: block; font-size: .95rem; }
.cert-row span { font-size: .8rem; color: var(--ink-faint); }

/* ------------------------------------------------------- swatches ----- */

.swatch-grid {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  padding: 0;
  margin: 0;
}
.swatch-grid li { margin: 0; }
.swatch-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.swatch-grid b { display: block; font-size: .88rem; margin-top: .5rem; }

/* ---------------------------------------------------- key specs ------- */

.key-specs {
  display: grid;
  gap: .5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.key-specs li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: .75rem;
  font-size: .92rem;
  margin: 0;
  padding-bottom: .5rem;
  border-bottom: 1px dashed var(--line);
}
.key-specs dt, .key-specs b { color: var(--ink-soft); font-weight: 600; }
.key-specs span { color: var(--ink); }

/* ------------------------------------------------ figures / maps ------- */

.figure-row {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.figure-row figure { margin: 0; }
.figure-row img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
}
.figure-row figcaption { font-size: .85rem; color: var(--ink-faint); margin-top: .5rem; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  min-height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ------------------------------------------------- contact details ----- */

.contact-cards {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 0;
  margin: 0;
}
.contact-cards li {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.contact-cards h3 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .5rem; }
.contact-cards p, .contact-cards a { font-size: 1rem; }
.contact-cards a { font-weight: 600; }

/* --------------------------------------------- category pill nav ------- */

.pill-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 0 0 2rem;
}
.pill-nav li { margin: 0; }
.pill-nav a {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
}
.pill-nav a:hover { border-color: var(--brand); color: var(--brand); }
.pill-nav a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ------------------------------------------------ product listings ----- */

.cat-block + .cat-block { margin-top: 3.25rem; }
.cat-block__head {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.cat-block__head h2 { margin: 0; }
.cat-block__head p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .95rem; max-width: 62ch; }

/* ------------------------------------------------------ prose tweaks --- */

.prose h4 { margin-top: 1.25rem; font-size: .98rem; letter-spacing: 0; }
.prose p { max-width: 78ch; }
.prose ul.tick-list { list-style: none; padding-left: 0; }
.prose ul.tick-list li { position: relative; padding-left: 1.7rem; font-weight: 650; }
.prose ul.tick-list li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .42rem;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ==========================================================================
   Blog
   ========================================================================== */

.post-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  margin: 0 0 2rem;
  aspect-ratio: 16 / 9;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: center;
  font-size: .88rem;
  color: var(--ink-faint);
  margin-bottom: 1.5rem;
}
.post-meta b { color: var(--brand); font-weight: 700; }

.post-card__meta {
  display: flex;
  gap: .5rem 1rem;
  font-size: .82rem;
  color: var(--ink-faint);
  margin-bottom: .5rem;
}
.post-card p { font-size: .94rem; color: var(--ink-soft); }

.post-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  margin: 0;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 720px) { .post-list li { grid-template-columns: 260px 1fr; } }
.post-list img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}
.post-list h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.post-list__title { font-size: 1.2rem; margin-bottom: .4rem; }
.post-list__title a { color: var(--ink); text-decoration: none; }
.post-list__title a:hover { color: var(--brand); }

.post-group {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem 0 0;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--brand-soft);
  font-size: 1.35rem;
}
.post-group:first-of-type { margin-top: 0; }
.post-group span {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-faint);
}

.post-figure { margin: 1.75rem 0; }
.post-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.post-figure figcaption {
  font-size: .85rem;
  color: var(--ink-faint);
  margin-top: .5rem;
}
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--brand); }
.post-list p { font-size: .95rem; color: var(--ink-soft); margin-bottom: .5rem; }

.key-takeaways {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.3rem;
  margin: 0 0 2rem;
}
.key-takeaways h2 { font-size: 1rem; margin-bottom: .5rem; }
.key-takeaways ul { margin: 0; padding-left: 1.1rem; font-size: .95rem; }
.key-takeaways li:last-child { margin-bottom: 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .93rem;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: .6rem .75rem;
  text-align: left;
  vertical-align: top;
}
.prose thead th { background: var(--paper-2); font-weight: 700; }
.prose tbody tr:nth-child(even) td { background: var(--paper-warm); }

.post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: .95rem;
}

.toc--sticky { position: static; }
@media (min-width: 1000px) {
  .post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
  .toc--sticky { position: sticky; top: 100px; margin-bottom: 0; }
}

/* In-content links */
.reading-links {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  margin: 1.75rem 0;
  font-size: .95rem;
  line-height: 1.9;
}
.reading-links b { color: var(--ink); }
.reading-links a { font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(38, 102, 199, .35); }
.reading-links a:hover { border-bottom-color: var(--brand); }

.prose a {
  color: var(--brand-mid);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.prose a:hover { color: var(--accent); }

.sources {
  margin-top: 2.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-warm);
}
.sources h2 { font-size: 1.05rem; margin-bottom: .75rem; }
.sources ul { margin: 0 0 .75rem; padding-left: 1.1rem; font-size: .93rem; }
.sources li { margin-bottom: .5rem; }
.sources__note { color: var(--ink-soft); }
