/* ==========================================================================
   HIMBA DISEÑOS, S.L. — hoja de estilos principal
   ========================================================================== */

:root {
  --ink: #101b26;
  --ink-soft: #27384a;
  --body: #4a5b6c;
  --muted: #7b8a98;
  --line: #e2e7ec;
  --line-soft: #eef1f4;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --bg-deep: #0e1922;
  --brand: #17496f;
  --brand-dark: #0f3250;
  --accent: #c9802f;
  --accent-soft: #f6ecdf;
  --ok: #1f7a4d;
  --err: #b3261e;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 27, 38, .06), 0 2px 8px rgba(16, 27, 38, .05);
  --shadow-md: 0 10px 30px rgba(16, 27, 38, .10);
  --wrap: 1140px;
  --gap: 24px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.15rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.03rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { color: var(--ink-soft); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

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

/* ------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(48px, 7vw, 86px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.section--tight { padding: clamp(36px, 5vw, 60px) 0; }

.lead { font-size: 1.12rem; color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 46px); }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 680px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 680px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .grid--sidebar { grid-template-columns: 1.65fr 1fr; gap: 46px; } }
@media (min-width: 900px)  { .grid--split { grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; } }

/* ------------------------------------------------------------ botones -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: .97rem; line-height: 1;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(201,128,47,.28); }
.btn--primary:hover { background: #b4701f; color: #fff; }
.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------ cabecera -- */
.topbar {
  background: var(--bg-deep); color: #c3cfd9; font-size: .84rem;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; padding-block: 9px; }
.topbar a { color: #e4ecf2; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.topbar li { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; flex: none; opacity: .75; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { display: block; font-weight: 750; font-size: 1.07rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.brand__tag  { display: block; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 13px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 17px; height: 11px; }
.nav-toggle__bars span,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 4.5px; }
.nav-toggle__bars::after { bottom: 0; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav__list li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-size: .95rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { background: var(--bg-alt); color: var(--brand); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav__cta { margin-left: 8px; }

/* submenú */
.has-sub > .nav__link svg { width: 11px; height: 11px; transition: transform .2s ease; }
.subnav {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 286px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover > .nav__link svg { transform: rotate(180deg); }
.subnav a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: .92rem; font-weight: 550; color: var(--ink-soft); text-decoration: none;
}
.subnav a:hover { background: var(--accent-soft); color: var(--ink); text-decoration: none; }
.subnav a small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }

@media (max-width: 1023px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: #fff; border-left: 1px solid var(--line);
    padding: 82px 20px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; z-index: 70;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 13px 12px; font-size: 1rem; justify-content: space-between; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { background: var(--accent-soft); }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0;
    margin: 2px 0 8px 12px; padding: 0 0 0 8px;
  }
  .subnav a small { display: none; }
  .nav__cta { margin: 14px 0 0; }
  .nav__cta .btn { width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(14,25,34,.5); z-index: 65;
    opacity: 0; visibility: hidden; transition: opacity .25s ease;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .nav-close {
    position: absolute; top: 18px; right: 18px;
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
    background: #fff; font-size: 1.3rem; line-height: 1; color: var(--ink); cursor: pointer;
  }
}
@media (min-width: 1024px) {
  .nav-toggle, .nav-backdrop, .nav-close { display: none !important; }
}

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0e1922 0%, #14354d 55%, #1b4a6b 100%);
  color: #e8eef3;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 54px);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(60px, 9vw, 116px); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero p { color: #c5d3de; font-size: 1.12rem; max-width: 58ch; }
.hero .eyebrow { color: #f0b269; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16);
  font-size: .9rem; color: #adc0ce;
}
.hero__meta b { color: #fff; font-weight: 650; }

.page-hero {
  background: var(--bg-deep); color: #dce5ec;
  padding-block: clamp(38px, 5vw, 64px);
  background-image: linear-gradient(120deg, #0e1922 0%, #163752 100%);
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: #b6c6d3; max-width: 62ch; margin-bottom: 0; font-size: 1.06rem; }

/* --------------------------------------------------------- breadcrumbs -- */
.breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 0; }
.breadcrumbs li { margin: 0; display: inline-flex; gap: 8px; align-items: center; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; color: var(--muted); }
.breadcrumbs a { color: var(--body); }

/* --------------------------------------------------------------- cards -- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--body); font-size: .97rem; }
.card p:last-of-type { margin-bottom: 0; }
.card__link { margin-top: auto; padding-top: 16px; font-weight: 650; font-size: .93rem; color: var(--brand); }
.card__link::after { content: " →"; }
a.card { text-decoration: none; }
a.card:hover, .card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfd8e0; text-decoration: none; }

.icon {
  width: 46px; height: 46px; border-radius: 11px; flex: none;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: #a3661f;
}
.icon svg { width: 23px; height: 23px; }

.feature { display: flex; gap: 16px; }
.feature .icon { margin-bottom: 0; width: 40px; height: 40px; border-radius: 10px; }
.feature .icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3em; }
.feature p { font-size: .95rem; margin-bottom: 0; }

/* ----------------------------------------------------------- listados -- */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3661f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 26px 58px; margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: .85rem; font-weight: 700;
}
.steps li::after {
  content: ""; position: absolute; left: 19.5px; top: 46px; bottom: 6px; width: 1px; background: var(--line);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.06rem; margin-bottom: .25em; }
.steps p { margin-bottom: 0; font-size: .96rem; }

.stats { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.stat b { display: block; font-size: 1.7rem; color: var(--ink); line-height: 1.1; letter-spacing: -.03em; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ----------------------------------------------------------- acordeón -- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 650; color: var(--ink); font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--accent); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------- contacto -- */
.contact-grid { display: grid; gap: 34px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.25fr .9fr; gap: 50px; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink-soft); margin-bottom: 7px; }
.field .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .97rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 146px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23,73,111,.12);
}
.field__hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: .89rem; color: var(--body); }
.check input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .93rem; margin-bottom: 20px; }
.alert--ok  { background: #e8f5ee; border: 1px solid #b9e0cb; color: #14603a; }
.alert--err { background: #fdecea; border: 1px solid #f3c6c2; color: #8c1d16; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info-list li:first-child { padding-top: 0; }
.info-list .icon { margin: 0; width: 38px; height: 38px; border-radius: 9px; }
.info-list .icon svg { width: 18px; height: 18px; }
.info-list b { display: block; color: var(--ink); font-size: .92rem; }
.info-list span, .info-list a { font-size: .95rem; }
.info-list address { font-style: normal; font-size: .95rem; }

.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.map-embed iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ------------------------------------------------------------- CTA band -- */
.cta-band {
  background: linear-gradient(120deg, #14354d 0%, #1d5178 100%);
  color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 46px);
  display: grid; gap: 22px; align-items: center;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.5fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #c3d4e1; margin-bottom: 0; }

/* ------------------------------------------------------------ artículo -- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.1em; font-size: 1.45rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.1rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 11px 13px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-alt); color: var(--ink); font-weight: 650; }
.doc-meta { font-size: .87rem; color: var(--muted); padding: 12px 16px; background: var(--bg-alt); border-radius: var(--radius-sm); margin-bottom: 2rem; }

.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 2.2rem; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.toc li { margin-bottom: .35em; }

.aside-box { background: var(--bg-alt); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 20px 22px; }
.aside-box h3 { font-size: 1rem; margin-bottom: .4em; }
.aside-box p:last-child, .aside-box ul:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--bg-deep); color: #9fb1bf; font-size: .93rem; padding-top: clamp(44px, 6vw, 70px); }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #cedae3; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6em; }
.footer-grid { display: grid; gap: 34px; padding-bottom: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; } }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: #93a6b4; font-size: .92rem; }
.footer-brand .brand__tag { color: #7c909f; }

.legal-block {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 26px 0;
  display: grid; gap: 18px;
}
@media (min-width: 880px) { .legal-block { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.legal-block dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .86rem; }
.legal-block dt { color: #7f93a2; }
.legal-block dd { margin: 0; color: #cedae3; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  font-size: .84rem; color: #7f93a2;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom li { margin: 0; }

/* -------------------------------------------------------- cookie banner -- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 20px 22px;
  display: none; gap: 18px; align-items: center; flex-wrap: wrap;
  max-width: 880px; margin-inline: auto;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p { margin: 0; font-size: .9rem; flex: 1 1 320px; }
.cookie-bar .btn { padding: 11px 20px; font-size: .9rem; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; }

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

@media print {
  .site-header, .topbar, .site-footer, .cookie-bar, .to-top, .breadcrumbs { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

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