/* istoselida.cy: main stylesheet, v0.1
   Sister design system of FXaeo: same type scale, spacing, hairline grids
   and mono labels, rebuilt white-first with the istoselida.cy palette.

   Colour rules (2026-09-28, Jaymes):
   - H1, H2: Midnight Purple #4d0982
   - H3: Lavender Purple #9456d0. Lavender text only ever sits on WHITE
     (4.67:1). On tinted surfaces it fails AA, so cards stay white.
   - Body text: #262626
   - Never use #6b7280 or any low-contrast grey for text (FXaeo rule). */

/* ---- Fonts: Geist for Latin, Inter for Greek, joined by unicode-range --- */
@font-face {
  font-family: "Isto Sans";
  src: url("/assets/fonts/geist-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Isto Sans";
  src: url("/assets/fonts/inter-greek-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Isto Mono";
  src: url("/assets/fonts/geist-mono-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Isto Mono";
  src: url("/assets/fonts/jetbrains-mono-greek-var.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --midnight: #4d0982;
  --midnight-hover: #3d0768;
  --lavender: #9456d0;
  --tint: #f3edf9;

  --bg: #ffffff;
  --alt: #f7f5fa;
  --fg: #262626;
  --fg-2: #4f4a57;          /* secondary text, 8.6:1 on white */
  --border: #e7e3ed;        /* hairlines */
  --field-border: #8f8799;  /* inputs and ghost buttons, 3.5:1 */
  --on-dark: #ffffff;
  --on-dark-2: #eae2f4;

  --radius: 0px;            /* FXaeo sharp corners. Set to 6px for soft. */
  --shadow-raise: 0 1px 2px rgba(77, 9, 130, .06), 0 10px 28px rgba(77, 9, 130, .10);

  --font-sans: "Isto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Isto Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max: 1240px;            /* FXaeo 1120px, widened so header, nav and content share one edge */
  --header-h: 68px;
  --utility-h: 48px;
}

/* ---- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }   /* components like .btn set display, which would otherwise override [hidden] */

:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }

.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;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--midnight); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

/* ---- Type (FXaeo scale) -------------------------------------------------- */
h1, h2, h3 { font-weight: 600; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.5vw + 1rem, 4.2rem); letter-spacing: -0.05em; line-height: 1.05; color: var(--midnight); }
h2 { font-size: clamp(1.7rem, 2.6vw + 1rem, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; color: var(--midnight); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; color: var(--lavender); }
p { margin: 0 0 12px; }

/* Inter's Greek is wider-set than Geist; FXaeo's tight tracking makes Greek
   letters touch at display sizes, so Greek headings are tracked less. */
:lang(el) h1 { letter-spacing: -0.03em; }
:lang(el) h2 { letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); flex-shrink: 0; }
.lead { font-size: 1.12rem; max-width: 600px; }
.section-lead { font-size: 1.05rem; max-width: 660px; }

.ico { width: 18px; height: 18px; flex-shrink: 0; }
.ico-brand { width: 20px; height: 20px; }

/* ---- Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn .ico { width: 16px; height: 16px; }
.btn-lg { padding: 16px 26px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.btn-primary:hover { background: var(--midnight-hover); border-color: var(--midnight-hover); }
.btn-ghost { border-color: var(--field-border); color: var(--midnight); }
.btn-ghost:hover { background: var(--tint); }
.btn-light { background: #fff; border-color: #fff; color: var(--midnight); }
.btn-light:hover { background: var(--tint); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--midnight); font-weight: 600;
  border-bottom: 1px solid var(--lavender); padding-bottom: 2px;
}
.text-link .ico { width: 16px; height: 16px; transition: transform .15s ease; }
.text-link:hover .ico { transform: translateX(3px); }
.more-link { margin: 28px 0 0; }

.chip-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); font-weight: 600; font-size: 0.92rem; color: var(--fg);
}
.chip-link:hover { border-color: var(--field-border); }
.chip-link .ico-brand { width: 18px; height: 18px; }

/* ---- Header -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(77, 9, 130, .06); }

.utility { display: none; border-bottom: 1px solid var(--border); }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--utility-h); }
.utility-note { display: none; margin: 0; font-size: 0.86rem; color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-boxes { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.box {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--midnight);
  font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  transition: border-color .15s ease, background .15s ease;
}
.box:hover { border-color: var(--field-border); background: var(--tint); }
.box-phone .num { font-variant-numeric: tabular-nums; }
.box-phone .ico { width: 16px; height: 16px; }
.box-icon { width: 36px; padding: 0; }
.lang-switch { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; color: var(--fg); padding: 0 10px; }
.flag { width: 20px; height: auto; border: 1px solid rgba(0,0,0,.08); }

.mainbar-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { flex-shrink: 0; }
.brand img { height: 36px; width: auto; }
.mainbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-cta { display: none; }
.mainbar .box-icon { width: 42px; height: 42px; }
.mainbar .m-lang { width: auto; padding: 0 10px; }

.nav-toggle { cursor: pointer; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* Navigation: drawer below 1260px, inline above */
.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-raise);
  padding: 8px 24px 24px;
}
.nav-list > li { border-bottom: 1px solid var(--border); }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  width: 100%; padding: 16px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.05rem; font-weight: 500; color: var(--fg);
}
.nav-link:hover { color: var(--midnight); }
.ico-chev { width: 16px; height: 16px; color: var(--fg-2); transition: transform .15s ease; }
.sub-toggle[aria-expanded="true"] .ico-chev { transform: rotate(180deg); }
.sub { display: none; padding: 0 0 16px 14px; }
.sub-toggle[aria-expanded="true"] + .sub { display: block; }
.sub a { display: block; padding: 9px 0; color: var(--fg); }
.sub a:hover { color: var(--midnight); }
.sub .sub-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--midnight); }
.sub .sub-all .ico { width: 16px; height: 16px; }
.nav-mobile-extra { display: grid; gap: 14px; padding-top: 20px; }
.menu-contact { display: inline-flex; align-items: center; gap: 10px; color: var(--midnight); font-weight: 600; }

@media (min-width: 760px) {
  .utility { display: block; }
  .header-cta { display: inline-flex; }
  .mainbar .m-lang { display: none; }
  .site-nav.is-open { max-height: calc(100vh - var(--header-h) - var(--utility-h)); }
}
@media (min-width: 1100px) {
  .utility-note { display: block; }
}
@media (min-width: 1260px) {
  .nav-toggle { display: none; }
  .nav-mobile-extra { display: none; }
  .site-nav, .site-nav.is-open {
    display: block; position: static; max-height: none; overflow: visible;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .nav-list { display: flex; align-items: center; gap: 4px; }
  .nav-list > li { border: 0; position: relative; }
  .nav-link { width: auto; padding: 10px 12px; font-size: 0.95rem; white-space: nowrap; }
  .sub {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 10;
    min-width: 540px; padding: 18px 20px 16px;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-raise);
  }
  .sub-narrow { min-width: 300px; }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* hover bridge */
  .sub-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .sub { padding-left: 20px; }
  .sub a { padding: 8px 0; font-size: 0.95rem; }
  .sub .sub-all { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; display: flex; }
  @media (hover: hover) {
    .has-sub:hover > .sub { display: block; }
    .has-sub:hover .ico-chev { transform: rotate(180deg); }
  }
  .mainbar-inner { gap: 28px; }
  .site-nav { margin-left: auto; }
  .mainbar-actions { margin-left: 0; }
}

/* ---- Hero ------------------------------------------------------------------------ */
.hero {
  border-bottom: 1px solid var(--border);
  background: radial-gradient(900px 440px at 90% 0%, var(--tint), transparent 70%), var(--bg);
}
.hero-grid { display: grid; gap: 40px; padding-block: 56px 64px; }
.hero-copy .lead { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-message { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 20px 0 0; font-size: 0.95rem; color: var(--fg-2); }
.hero-price {
  display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 0 0 20px; padding: 8px 14px; background: var(--tint); border-radius: var(--radius);
  color: var(--fg); font-size: 0.95rem;
}
.hero-price strong { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; color: var(--midnight); line-height: 1; }
@media (max-width: 559px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-message > span:first-child { flex-basis: 100%; }
}
.hero-trust { margin: 18px 0 0; font-size: 0.95rem; color: var(--fg-2); max-width: 520px; }

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-raise);
}
.price {
  font-size: clamp(3.4rem, 6vw, 4.8rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1;
  color: var(--midnight); font-variant-numeric: tabular-nums; margin: 2px 0 12px;
}
.price-lead { font-size: 1rem; }
.ticks { margin: 18px 0 0; border-top: 1px solid var(--border); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 0.97rem; }
.ticks .ico { color: var(--lavender); width: 18px; height: 18px; margin-top: 3px; }
.hosting-note { margin: 16px 0 18px; font-size: 0.93rem; color: var(--fg-2); }
.hosting-note strong { color: var(--fg); }

@media (min-width: 960px) {
  .hero-price { display: none; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 64px; padding-block: 88px 96px; }
}

/* ---- Sections ------------------------------------------------------------------- */
.section { padding-block: 88px; border-bottom: 1px solid var(--border); scroll-margin-top: 130px; }
.section-alt { background: var(--alt); }
@media (max-width: 759px) { .section { padding-block: 64px; } }

.grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin-top: 40px;
}
.cell { background: var(--bg); padding: 28px; }
.cell p:last-child { margin: 0; color: var(--fg-2); font-size: 0.97rem; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.cell-icon { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; background: var(--tint); color: var(--midnight); border-radius: 50%; margin-bottom: 14px; }
.cell-icon .ico { width: 16px; height: 16px; }
.step-num { display: block; font-family: var(--font-mono); font-size: 0.85rem; color: var(--fg-2); margin-bottom: 10px; }
.steps { counter-reset: none; }

.cell-link { position: relative; display: block; padding-bottom: 56px; transition: background .15s ease; }
.cell-link:hover { background: #fcfbfe; }
.cell-link:hover h3 { color: var(--midnight); }
.cell-arrow { position: absolute; left: 28px; bottom: 24px; color: var(--midnight); }
.cell-arrow .ico { transition: transform .15s ease; }
.cell-link:hover .cell-arrow .ico { transform: translateX(4px); }

.cell-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 32px; }
.cell-feature p:last-of-type { margin-bottom: 18px !important; }
.cell-feature .btn { margin-top: auto; }

.section-actions { margin-top: 32px; }

.service-chips { margin-top: 36px; }
.chips-label { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-2); margin-bottom: 12px; }
.service-chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.service-chips a {
  display: inline-block; padding: 9px 14px;
  border: 1px solid var(--field-border); border-radius: var(--radius);
  font-weight: 500; color: var(--midnight); background: var(--bg);
}
.service-chips a:hover { background: var(--tint); }

/* Hosting band */
.hosting-grid { display: grid; gap: 40px; align-items: center; }
.hosting-figure {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 32px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); box-shadow: var(--shadow-raise);
}
.hf-price { font-size: clamp(3.4rem, 6vw, 4.8rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--midnight); }
.hf-unit { font-size: 1.3rem; font-weight: 600; color: var(--fg); }
.hf-note { margin-top: 10px; font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; background: var(--midnight); padding: 5px 10px; border-radius: var(--radius); }
@media (min-width: 960px) { .hosting-grid { grid-template-columns: 1.6fr 1fr; gap: 64px; } }

/* Who */
.who { display: grid; gap: 28px; align-items: start; }
.who-mark { width: 72px; height: 72px; }
@media (min-width: 760px) { .who { grid-template-columns: 96px 1fr; gap: 40px; } .who-mark { width: 96px; height: 96px; } }

/* FAQ */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; } }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.08rem; color: var(--fg); }
.faq-item summary:hover h3 { color: var(--midnight); }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; color: var(--lavender); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 20px; color: var(--fg-2); max-width: 640px; }

/* Closing CTA */
.closing { background: var(--midnight); color: var(--on-dark); border-bottom: 0; }
.closing h2 { color: #fff; }
.closing .eyebrow { color: var(--on-dark-2); }
.closing .dot { background: #c9a6ee; }
.closing .section-lead { color: var(--on-dark-2); }
.closing-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing-inner .eyebrow { justify-content: center; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.closing-message { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 0; }
.closing :focus-visible { outline-color: #fff; }

/* ---- Footer ----------------------------------------------------------------------- */
.site-footer { background: #2e0550; color: var(--on-dark); padding-block: 64px 28px; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p, .footer-brand address { color: var(--on-dark-2); font-size: 0.92rem; max-width: 340px; }
.footer-brand address { margin-top: 14px; line-height: 1.6; }
.footer-heading { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: #d9c6f0; margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #fff; font-size: 0.95rem; }
.footer-links a:hover { color: #d9c6f0; text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: var(--radius);
}
.footer-social a:hover { background: var(--tint); }
.footer-social .ico-brand { width: 22px; height: 22px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 0.85rem; color: var(--on-dark-2);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ---- Mobile contact bar ---------------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--bg); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(77, 9, 130, .08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 60px; padding: 8px 4px; font-size: 0.8rem; font-weight: 600; color: var(--midnight);
}
.mobile-bar a + a { border-left: 1px solid var(--border); }
.mobile-bar .ico { width: 22px; height: 22px; }
.mobile-bar .mb-call { background: var(--midnight); color: #fff; }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 760px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---- Cookie consent (includes/tracking/consent.php) ------------------------ */
.link-button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.link-button:hover { color: #fff; text-decoration: underline; }
.cc {
  position: fixed; z-index: 150; left: 16px; right: 16px;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px)); /* clears the mobile contact bar */
  max-height: calc(100dvh - 120px); overflow-y: auto;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(46, 5, 80, .22);
}
.cc-inner { padding: 22px; }
.cc-title { font-weight: 600; font-size: 1.05rem; color: var(--midnight); margin: 0 0 8px; }
.cc-body { font-size: 0.92rem; color: var(--fg-2); margin: 0 0 16px; }
.cc-body a { color: var(--midnight); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-actions .btn { flex: 1 1 auto; padding: 11px 16px; font-size: 0.78rem; }
.cc-prefs { border-top: 1px solid var(--border); margin: 0 0 16px; }
.cc-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cc-row-title { font-weight: 600; margin: 0 0 2px; font-size: 0.95rem; }
.cc-row-desc { margin: 0; font-size: 0.85rem; color: var(--fg-2); }
.cc-always { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-2); white-space: nowrap; padding-top: 3px; }
.cc-switch {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; margin-top: 2px;
  width: 44px; height: 26px; border-radius: 13px; background: var(--field-border);
  position: relative; cursor: pointer; transition: background .15s ease;
}
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.cc-switch:checked { background: var(--midnight); }
.cc-switch:checked::after { transform: translateX(18px); }
@media (min-width: 760px) {
  .cc { left: auto; right: 24px; bottom: 24px; width: 440px; max-height: calc(100vh - 48px); }
}

/* ---- Motion ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
