/* =========================================================================
   ELECRO — Design System  ·  "Trust & Authority" greentech
   Self-hosted, zero third-party. Light-first, accessible (WCAG AA+).
   ========================================================================= */

/* ---- Fonts (self-hosted; graceful fallback to system stack) ------------- */
@font-face {
  font-family: 'Lexend'; font-style: normal; font-weight: 300 700;
  font-display: swap; src: url('/assets/fonts/lexend.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3'; font-style: normal; font-weight: 300 700;
  font-display: swap; src: url('/assets/fonts/source-sans-3.woff2') format('woff2');
}

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Brand (derived from logo) */
  --green-700: #15803d;   /* primary CTA — AA on white */
  --green-600: #1b8a47;
  --green-500: #2e9d5b;
  --green-400: #4a9160;   /* logo green */
  --green-50:  #ecf7f0;
  --teal-600:  #2b8294;
  --teal-500:  #449cab;   /* logo teal */
  --teal-50:   #e8f4f6;
  --spark:     #c9d70f;   /* lightning accent — use sparingly, never as text on white */

  /* Ink / neutrals */
  --ink-900: #0b191b;     /* logo near-black, headings */
  --ink-800: #11252a;
  --ink-700: #1f3a40;
  --slate-600: #475b61;
  --slate-500: #64777d;
  --slate-400: #93a3a8;
  --line: #e2e8e9;
  --line-strong: #cdd9da;
  --surface: #ffffff;
  --surface-2: #f5f9f8;
  --surface-3: #eef4f3;
  --bg: #f8fbfa;

  /* Semantic */
  --color-primary: var(--green-700);
  --color-primary-hover: #126a33;
  --color-accent: var(--teal-600);
  --color-fg: var(--ink-900);
  --color-fg-muted: var(--slate-600);
  --color-on-primary: #ffffff;
  --danger: #dc2626;
  --success: #15803d;

  /* Type scale (1.250 major third) */
  --fs-xs: 0.8125rem;  --fs-sm: 0.9375rem; --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;  --fs-lg: 1.5rem;    --fs-xl: 2rem;
  --fs-2xl: 2.6rem;    --fs-3xl: 3.4rem;
  --font-head: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Spacing (8pt) */
  --sp-1: 0.5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2rem;
  --sp-5: 3rem;   --sp-6: 4rem; --sp-7: 6rem;   --sp-8: 8rem;

  --radius: 14px; --radius-sm: 10px; --radius-lg: 22px; --radius-pill: 999px;
  --container: 1200px;

  --shadow-sm: 0 1px 2px rgba(11,25,27,.06), 0 1px 3px rgba(11,25,27,.08);
  --shadow-md: 0 4px 12px rgba(11,25,27,.07), 0 12px 28px rgba(11,25,27,.06);
  --shadow-lg: 0 18px 50px rgba(11,25,27,.12);
  --ring: 0 0 0 3px rgba(21,128,61,.35);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 220ms;
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
/* inline icons always have an intrinsic size so they never balloon to container
   width on mobile; context rules (.card-icon svg, .btn .icon, …) override this */
svg.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; color: var(--ink-900); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }
p { color: var(--color-fg-muted); }
ul { padding-left: 1.2em; }
strong { color: var(--ink-800); font-weight: 600; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--ink-900); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 8px; color: #fff; }

/* ---- Layout helpers ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-6); }
.section--alt { background: var(--surface-2); }
.section--ink { background: var(--ink-900); color: #d7e2e1; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #9fb2b1; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.lede { font-size: var(--fs-md); color: var(--slate-600); max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--green-500); border-radius: 2px; }
.section-head { max-width: 64ch; margin-bottom: var(--sp-4); }
.section-head.center { margin-inline: auto; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm);
  padding: .85rem 1.5rem; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  min-height: 48px; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink-900); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--green-500); color: var(--color-primary); background: var(--green-50); }
.btn-on-ink { background: #fff; color: var(--ink-900); }
.btn-on-ink:hover { background: var(--green-50); color: var(--ink-900); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: var(--fs-base); }
.btn .icon { width: 18px; height: 18px; }

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  display: inline-block; padding: .55rem .8rem; border-radius: 10px;
  color: var(--ink-800); font-weight: 500; font-size: var(--fs-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-links a:hover { background: var(--surface-3); color: var(--color-primary); }
.nav-links a[aria-current="page"] { color: var(--color-primary); background: var(--green-50); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .75rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); color: var(--ink-800);
  background: #fff; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-switch:hover { border-color: var(--green-500); color: var(--color-primary); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1.5px solid var(--line-strong);
  border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink-900); }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--ink-900); color: #fff; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(68,156,171,.32), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(46,157,91,.30), transparent 55%),
    linear-gradient(180deg, rgba(11,25,27,.55), rgba(11,25,27,.82));
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-inner { position: relative; z-index: 2; padding-block: var(--sp-8) var(--sp-7); max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
.hero .lede { color: #c8d6d5; font-size: clamp(1.05rem, 2vw, 1.3rem); margin-bottom: 2rem; }
.hero .eyebrow { color: #7fe0c0; margin-bottom: 1.2rem; }
.hero .eyebrow::before { background: var(--spark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3.5rem; }
.hero-stats .stat-num { color: #fff; }
.hero-stats .stat-label { color: #9fb2b1; }

/* ---- Cards -------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-50), var(--teal-50)); margin-bottom: 1.1rem;
}
.card .card-icon svg { width: 26px; height: 26px; stroke: var(--green-700); }
.card h3 { font-size: var(--fs-md); margin-bottom: .5rem; }
.card p { font-size: var(--fs-sm); }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); }
.card-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.card-link:hover svg { transform: translateX(3px); }
.card--feature { border-left: 3px solid var(--green-500); }

/* tag / pill */
.tag { display: inline-block; padding: .3rem .7rem; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 600; font-family: var(--font-head); background: var(--green-50); color: var(--green-700); }
.tag--teal { background: var(--teal-50); color: var(--teal-600); }
.tag--todo { background: #fef3c7; color: #92400e; }

/* ---- Stats -------------------------------------------------------------- */
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-2xl); color: var(--green-700); line-height: 1; }
.stat-label { font-size: var(--fs-sm); color: var(--slate-600); margin-top: .4rem; }

/* ---- Process steps ------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { position: relative; padding-left: 3.5rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--green-700); background: var(--green-50); border: 1.5px solid var(--green-400);
}
.step h4 { font-size: var(--fs-base); margin-bottom: .25rem; }
.step p { font-size: var(--fs-sm); }

/* ---- Split / feature blocks --------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.split--reverse > :first-child { order: 2; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.media-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---- List checks -------------------------------------------------------- */
.checks { list-style: none; padding: 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--ink-800); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .35rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---- Forms -------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--ink-800); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: var(--fs-base); color: var(--ink-900);
  padding: .8rem 1rem; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-500); box-shadow: var(--ring); outline: none; }
.field .helper { font-size: var(--fs-xs); color: var(--slate-500); }
.field--error input, .field--error textarea, .field--error select { border-color: var(--danger); }
.field .error-msg { font-size: var(--fs-xs); color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-400); }
.form-status.err { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

/* ---- Contact info ------------------------------------------------------- */
.info-list { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .info-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); }
.info-item .info-icon svg { width: 22px; height: 22px; stroke: var(--green-700); }
.info-item h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); margin-bottom: .15rem; }
.info-item a, .info-item p { color: var(--ink-900); font-size: var(--fs-base); }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--ink-900), var(--ink-700)); border-radius: var(--radius-lg); padding: var(--sp-6); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 10%, rgba(68,156,171,.25), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; } .cta-band p { color: #b6c6c5; }

/* ---- Blog cards --------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .post-media { aspect-ratio: 16/9; overflow: hidden; }
.post-card .post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-card .post-body { padding: 1.4rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-meta { font-size: var(--fs-xs); color: var(--slate-500); font-family: var(--font-head); font-weight: 500; }
.post-card h3 { font-size: var(--fs-md); }

/* ---- Breadcrumb / page hero -------------------------------------------- */
.page-hero { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; padding-block: var(--sp-6); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% -20%, rgba(68,156,171,.28), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; }
.page-hero .lede { color: #c8d6d5; margin-top: 1rem; }
.page-hero .eyebrow { color: #7fe0c0; }
.page-hero .eyebrow::before { background: var(--spark); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink-900); color: #9fb2b1; padding-block: var(--sp-6) var(--sp-4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem; }
.site-footer a { color: #9fb2b1; font-size: var(--fs-sm); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; display: grid; gap: .7rem; }
.footer-brand img { height: 34px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { color: #8aa09f; font-size: var(--fs-sm); max-width: 34ch; }
.footer-contact { display: grid; gap: .6rem; font-size: var(--fs-sm); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 0; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); color: #7d9291; }
.footer-bottom a { font-size: var(--fs-xs); }
.todo-note { color: #b78b3a; font-size: var(--fs-xs); }

/* (cookie banner styles consolidated in the blog/cookie section below) */

/* ---- Reveal animation --------------------------------------------------- */
/* reveal is progressive enhancement: hidden only when JS is active (html.js),
   so non-JS / failed-observer / slow first paint never leaves content blank */
.reveal { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --fs-2xl: 2.1rem; --fs-3xl: 2.5rem; }
  .nav-links, .nav .lang-switch.desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open + .mobile-drawer { transform: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .section { padding-block: var(--sp-6); }
}

/* ---- Mobile drawer ------------------------------------------------------ */
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 130; background: #fff;
  box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform var(--dur) var(--ease);
  display: flex; flex-direction: column; padding: 1.5rem; gap: .25rem; overflow-y: auto;
}
.mobile-drawer.open { transform: none; }
.mobile-drawer .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-drawer a { padding: .85rem .5rem; border-radius: 10px; color: var(--ink-800); font-family: var(--font-head); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-drawer a[aria-current="page"] { color: var(--color-primary); }
.mobile-drawer .btn { margin-top: 1rem; }
.drawer-close { width: 44px; height: 44px; border: none; background: var(--surface-3); border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.scrim { position: fixed; inset: 0; background: rgba(11,25,27,.5); z-index: 120; opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease); }
.scrim.show { opacity: 1; visibility: visible; }

/* ---- Brand / partner logo marquee (continuous cinema-roll) -------------- */
.brand-marquee {
  position: relative; overflow: hidden; margin-top: 2.6rem; padding: .4rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  /* constrained to the same width as the header/footer container; logos fade
     in on the left and out on the right rather than hard-cutting at the edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.brand-track {
  display: flex; width: max-content; align-items: stretch;
  animation: brand-scroll 50s linear infinite;
  will-change: transform;
}
/* pause the whole roll on hover so any logo is easy to target + click */
.brand-marquee:hover .brand-track,
.brand-marquee:focus-within .brand-track { animation-play-state: paused; }
@keyframes brand-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.brand-logo {
  flex: 0 0 auto; width: clamp(180px, 20vw, 232px); min-height: 116px;
  display: flex; align-items: center; justify-content: center; padding: 1.4rem 2rem;
  border-right: 1px solid var(--line);
}
.brand-logo img {
  max-height: 50px; max-width: 100%; width: auto; height: auto; object-fit: contain;
  /* uniform dark silhouette at rest → white logos become visible, no boxes */
  filter: brightness(0) saturate(0); opacity: .42;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* solid-fill logos (e.g. Fronius oval) keep internal detail instead of blobbing */
.brand-logo--keep img { filter: grayscale(100%); opacity: .8; }
.brand-logo:hover img, .brand-logo:focus-visible img {
  filter: none; opacity: 1; transform: scale(1.07);
}
/* white-artwork logos (Aiko, Livoltek) vanish at full colour on a light bg →
   trace a thin dark outline around the SHAPE (the letterforms, not the canvas) */
.brand-logo--outline:hover img, .brand-logo--outline:focus-visible img {
  filter:
    drop-shadow(0.9px 0 0 #46566a) drop-shadow(-0.9px 0 0 #46566a)
    drop-shadow(0 0.9px 0 #46566a) drop-shadow(0 -0.9px 0 #46566a)
    drop-shadow(0.65px 0.65px 0 #46566a) drop-shadow(-0.65px -0.65px 0 #46566a)
    drop-shadow(0.65px -0.65px 0 #46566a) drop-shadow(-0.65px 0.65px 0 #46566a);
  opacity: 1; transform: scale(1.07);
}
.brand-note { text-align: center; color: var(--slate-500); font-size: var(--fs-sm); margin-top: 1.4rem; }

@media (max-width: 760px) {
  .brand-logo { width: clamp(150px, 46vw, 200px); min-height: 100px; padding: 1.1rem 1.4rem; }
  .brand-track { animation-duration: 38s; }
}
/* honour reduced-motion: freeze into a centered, wrapping static wall */
@media (prefers-reduced-motion: reduce) {
  .brand-marquee { -webkit-mask-image: none; mask-image: none; }
  .brand-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .brand-logo[aria-hidden="true"] { display: none; }
}

/* ---- Prose (legal pages) ------------------------------------------------ */
.prose { max-width: 76ch; }
.prose--center { max-width: 76ch; margin-inline: auto; }
.prose h2 { font-size: var(--fs-lg); margin-top: 2.5rem; margin-bottom: .8rem; scroll-margin-top: 100px; }
.prose h3 { font-size: var(--fs-md); margin-top: 1.8rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--slate-600); margin-bottom: .8rem; }
.prose ul { display: grid; gap: .4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 600; }
@media (max-width: 760px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }

/* legal pages: sticky contents sidebar + content, filling the full container */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.legal-layout .prose { max-width: 72ch; }
.legal-toc { position: sticky; top: 96px; align-self: start; }
.legal-toc-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: var(--slate-500); margin-bottom: .9rem; }
.legal-toc nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; border-left: 1px solid var(--line); }
.legal-toc li a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--slate-600); font-size: var(--fs-sm); line-height: 1.35; text-decoration: none; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.legal-toc li a:hover, .legal-toc li a.is-active { color: var(--brand-green, #4A9160); border-left-color: var(--brand-green, #4A9160); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .legal-layout .prose { max-width: none; }
  .legal-toc { position: static; top: auto; padding: 1.1rem 1.2rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
  .legal-toc nav ul { border-left: 0; grid-template-columns: 1fr 1fr; gap: .2rem .8rem; }
  .legal-toc li a { padding-left: 0; border-left: 0; }
}

/* ============================================================================
   Blog, article pages, cookie consent, toggles, share — site-wide additions
   ========================================================================== */

/* ---- Toggle switch (cookie categories + contact consent) ---------------- */
.toggle { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-track { flex: 0 0 auto; width: 42px; height: 24px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background var(--dur) var(--ease); margin-top: 1px; }
.toggle-thumb { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease); }
.toggle input:checked + .toggle-track { background: var(--color-primary); }
.toggle input:checked + .toggle-track .toggle-thumb { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-track { box-shadow: 0 0 0 3px var(--green-50), 0 0 0 5px var(--color-primary); }
.toggle input:disabled + .toggle-track { background: var(--color-primary); opacity: .55; }
.toggle.is-locked { cursor: default; }
.toggle-label { font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-800); }
.toggle-label a { color: var(--color-primary); text-decoration: underline; }

/* ---- Buttons: outline variant ------------------------------------------- */
.btn-outline { background: #fff; border: 1px solid var(--line-strong); color: var(--ink-800); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---- Back to top -------------------------------------------------------- */
.back-to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; display: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; place-items: center; box-shadow: var(--shadow-md); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.back-to-top:hover { color: var(--color-primary); transform: translateY(-2px); }
.back-to-top .icon { width: 20px; height: 20px; }

/* ---- Footer authorities + cookie link ----------------------------------- */
.footer-authorities { display: flex; flex-wrap: wrap; gap: .5rem .65rem; align-items: center; padding-block: 1.4rem; margin-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-sm); line-height: 1; color: rgba(255,255,255,.6); }
.footer-authorities a { color: rgba(255,255,255,.8); }
.footer-authorities a:hover { color: #fff; }
.footer-dot { opacity: .4; margin: 0 .15rem; }
.footer-linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.footer-linklike:hover { color: #fff; text-decoration: underline; }

/* ---- Cookie consent ----------------------------------------------------- */
.cookie-scrim { position: fixed; inset: 0; background: rgba(11,25,27,.45); z-index: 998; opacity: 0; transition: opacity var(--dur) var(--ease); }
.cookie-scrim.show { opacity: 1; }
.cookie-banner { position: fixed; left: 50%; top: 50%; z-index: 999; width: min(480px, calc(100vw - 2.4rem)); max-height: 90vh; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.6rem; transform: translate(-50%, -50%) translateY(12px); opacity: 0; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.cookie-banner.show { transform: translate(-50%, -50%); opacity: 1; }
.cookie-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.cookie-head h2 { font-size: var(--fs-md); margin: 0; }
.cookie-policy-link { font-size: var(--fs-xs); color: var(--color-primary); white-space: nowrap; }
.cookie-intro { font-size: var(--fs-sm); color: var(--slate-600); margin: .6rem 0 1rem; line-height: 1.5; }
.cookie-cats { display: grid; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cookie-cat-desc { font-size: var(--fs-xs); color: var(--slate-500); margin: .35rem 0 0; padding-left: calc(42px + .7rem); line-height: 1.45; }
.cookie-always { font-style: normal; font-size: var(--fs-xs); color: var(--color-primary); font-weight: 600; margin-left: .3rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.cookie-actions .btn { flex: 1 1 auto; padding-inline: .9rem; }
.cookie-fab { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 95; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-700); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.cookie-fab:hover { color: var(--color-primary); transform: translateY(-2px); }

/* ---- Blog index: filters + grid + pagination ---------------------------- */
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.blog-filters .chip { font: inherit; font-size: var(--fs-sm); font-weight: 500; padding: .5rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--ink-800); cursor: pointer; transition: all var(--dur) var(--ease); }
.blog-filters .chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.blog-filters .chip.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.3rem; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: var(--slate-500); }
.post-cat { color: var(--color-primary); font-weight: 600; }
.post-dot { opacity: .5; }
.post-card-body h3 { font-size: var(--fs-md); line-height: 1.3; margin: 0; }
.post-card-body h3 a { color: var(--ink-900); }
.post-card-body h3 a:hover { color: var(--color-primary); }
.post-card-body p { font-size: var(--fs-sm); color: var(--slate-600); margin: 0; flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-sm); font-weight: 600; color: var(--color-primary); margin-top: .3rem; }
.post-more .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.post-more:hover .icon { transform: translateX(4px); }
.blog-empty { text-align: center; color: var(--slate-500); padding: 2rem 0; }
.blog-pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.page-btn { min-width: 40px; height: 40px; padding: 0 .6rem; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); font: inherit; font-weight: 600; color: var(--ink-800); cursor: pointer; transition: all var(--dur) var(--ease); }
.page-btn:hover:not(:disabled):not(.is-active) { border-color: var(--color-primary); color: var(--color-primary); }
.page-btn.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: default; }

/* ---- Article page ------------------------------------------------------- */
.article-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; padding: 0; overflow: hidden; }
.article-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,25,27,.25) 0%, rgba(11,25,27,.55) 55%, rgba(11,25,27,.9) 100%); }
.article-hero-inner { position: relative; z-index: 1; color: #fff; padding-block: 2.6rem 2.8rem; max-width: 60rem; }
.breadcrumb { font-size: var(--fs-sm); color: rgba(255,255,255,.75); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,.85); } .breadcrumb a:hover { color: #fff; } .breadcrumb span { opacity: .6; }
.post-cat--solid { display: inline-block; background: var(--color-primary); color: #fff; font-size: var(--fs-xs); font-weight: 600; padding: .3rem .7rem; border-radius: var(--radius-pill); margin-bottom: .9rem; }
.article-hero-inner h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; margin: 0; max-width: 22ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-top: 1.3rem; font-size: var(--fs-sm); color: rgba(255,255,255,.85); }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta .icon { width: 16px; height: 16px; }
.article-section { padding-top: 3rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; align-items: start; }
.article-body { max-width: none; }
.article-body > .share-row { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.article-sidebar { display: grid; gap: 1.4rem; position: sticky; top: 96px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.sidebar-title { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500); margin: 0 0 1rem; }
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.recent-list a { display: flex; gap: .8rem; align-items: center; }
.recent-list img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.recent-title { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); line-height: 1.3; }
.recent-list a:hover .recent-title { color: var(--color-primary); }
.recent-date { display: block; font-size: var(--fs-xs); color: var(--slate-500); margin-top: .2rem; }
.sidebar-cta { background: var(--ink-900); color: #fff; }
.sidebar-cta h3 { color: #fff; font-size: var(--fs-md); margin: 0 0 .5rem; }
.sidebar-cta p { color: rgba(255,255,255,.8); font-size: var(--fs-sm); margin: 0 0 1rem; }
.sidebar-cta .btn { width: 100%; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.article-nav-link { display: flex; gap: .7rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color var(--dur) var(--ease); }
.article-nav-link:hover { border-color: var(--color-primary); }
.article-nav-link.next { text-align: right; justify-content: flex-end; }
.article-nav-link span { display: flex; flex-direction: column; font-weight: 600; color: var(--ink-900); font-size: var(--fs-sm); line-height: 1.3; }
.article-nav-link small { font-weight: 500; color: var(--slate-500); font-size: var(--fs-xs); margin-bottom: .15rem; }
.article-nav-link .icon { flex: none; width: 20px; height: 20px; color: var(--color-primary); }

/* ---- Share row ---------------------------------------------------------- */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.share-label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); margin-right: .2rem; }
.share-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-700); cursor: pointer; transition: all var(--dur) var(--ease); }
.share-btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: translateY(-2px); }
.share-btn .icon { width: 18px; height: 18px; }
.share-btn.is-copied { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ---- Consent field / error --------------------------------------------- */
.field--consent { margin-top: .3rem; }
.field--consent .toggle-label a { color: var(--color-primary); }
.field--error .toggle-track { outline: 2px solid var(--danger); outline-offset: 2px; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .article-sidebar { position: static; top: auto; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-hero { min-height: 360px; }
  .cookie-banner { width: calc(100vw - 1.6rem); padding: 1.3rem; }
}

/* ============================================================================
   Site-wide alignment + symmetry pass (2026-06-27 review) — overrides above
   ========================================================================== */
/* S1 — mobile: CTA lives in the drawer, so hide the inline one (no 2-line wrap) */
@media (max-width: 760px){ .nav-actions .btn-primary{ display: none; } }

/* S2 — equal-height cards keep the grid feel, but CTAs share one baseline and
   bodies start at the same y (titles reserve up to 2 lines) */
.card{ display: flex; flex-direction: column; }
.card h3{ min-height: 2.5em; }
.card-link{ margin-top: auto; }

/* S3 — balanced headings, never an orphan word on its own line */
h1, h2, h3, h4{ text-wrap: balance; }

/* S5 — two-column "steps + aside": center the short aside against the tall list
   so there is no dead gutter at the bottom-right */
.steps-grid{ align-items: center; }

/* S7 — even footer tracks; LEGAL column reaches the nav's right edge */
.footer-grid{ grid-template-columns: 1.6fr 1fr 1fr 1fr; }

/* Article — single prev/next link spans the full width, left-aligned */
.article-nav--single{ grid-template-columns: 1fr; }
.article-nav--single .article-nav-link.next{ justify-content: space-between; text-align: left; }
/* one Share widget on mobile: drop the sidebar copy, keep the inline body one */
@media (max-width: 980px){ .sidebar-share{ display: none; } }
/* body copy reads left-aligned (no justified rivers), hyphenate long RO words */
.article-body.prose{ text-align: left; }
.article-body.prose{ hyphens: auto; -webkit-hyphens: auto; }

/* Legal pages — prose fills its column instead of stopping ~245px short */
.legal-layout .prose{ max-width: none; }

/* ============================================================
   ELECRO SOLAR — residential additions (mini-config, FAQ,
   guarantees, trust strip, WhatsApp FAB). Same design tokens.
   ============================================================ */

/* hide desktop-only header items on small screens */
@media (max-width: 1023px){ .nav-actions .desktop { display: none; } }

/* WhatsApp floating button */
/* WhatsApp FAB sits ABOVE the back-to-top button (same width → centers aligned) */
.wa-fab{ position: fixed; right: 1.4rem; bottom: calc(1.4rem + 64px); z-index: 1000; width: 52px; height: 52px;
  display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #fff;
  box-shadow: 0 6px 18px rgba(37,211,102,.42); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.wa-fab:hover{ transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 24px rgba(37,211,102,.5); }
@media (max-width: 600px){ .back-to-top{ right: 1rem; bottom: 1rem; } .wa-fab{ right: 1rem; bottom: calc(1rem + 64px); } }

/* Trust strip directly under hero */
.trust-strip-wrap{ background: var(--ink-800); }
.trust-strip{ list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; justify-content: center;
  padding: 1rem 0; margin: 0; }
.trust-strip li{ display: inline-flex; align-items: center; gap: .55rem; color: #d7e2e1;
  font-family: var(--font-head); font-weight: 500; font-size: var(--fs-sm); }
.trust-strip svg{ flex-shrink: 0; }

/* Mini configurator */
.miniconf{ max-width: 820px; margin-inline: auto; text-align: center; padding: 2.4rem; border-radius: var(--radius-lg); }
.miniconf .eyebrow{ justify-content: center; }
.miniconf h2{ margin: .4rem 0 .3rem; }
.miniconf-sub{ color: var(--slate-600); font-size: var(--fs-sm); margin-bottom: 1.6rem; }
.miniconf-presets{ display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.4rem; }
.miniconf-presets button{ border: 1px solid var(--green-50); background: var(--green-50); color: var(--green-700);
  border-radius: var(--radius-pill); padding: .5rem 1rem; font-family: var(--font-head); font-weight: 600;
  font-size: var(--fs-sm); cursor: pointer; transition: border-color 180ms var(--ease), background 180ms var(--ease); }
.miniconf-presets button:hover{ border-color: var(--green-500); }
.miniconf-presets button.on{ border-color: var(--green-700); background: #fff; color: var(--green-700); }
.miniconf-slider{ margin: 0 auto 1.8rem; max-width: 560px; }
.miniconf-slider input[type=range]{ width: 100%; height: 5px; -webkit-appearance: none; appearance: none;
  background: var(--green-50); border-radius: 3px; outline: none; cursor: pointer; }
.miniconf-slider input[type=range]::-webkit-slider-thumb{ -webkit-appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--green-700); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(21,128,61,.4); cursor: pointer; }
.miniconf-slider input[type=range]::-moz-range-thumb{ width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-700); border: 3px solid #fff; cursor: pointer; }
.miniconf-slider output{ display: block; margin-top: .8rem; font-family: var(--font-head); font-weight: 700;
  color: var(--green-700); font-size: var(--fs-md); }
.miniconf-results{ display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.8rem; }
.miniconf-result{ background: var(--bg); border: 1px solid var(--green-50); border-radius: var(--radius); padding: 1.1rem .8rem; }
.mc-val{ font-family: var(--font-head); font-weight: 700; font-size: var(--fs-lg); color: var(--green-700); line-height: 1.1; }
.mc-label{ font-size: var(--fs-xs); color: var(--slate-600); margin-top: .3rem; }
.miniconf-cta{ width: 100%; justify-content: center; }
.miniconf-note{ font-size: var(--fs-xs); color: var(--slate-400); margin-top: 1.1rem; }
@media (max-width: 560px){ .miniconf-results{ grid-template-columns: 1fr; } .miniconf{ padding: 1.6rem; } }

/* Guarantee cards (same look as .card) */
.guarantee-card{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease); }
.guarantee-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.guarantee-card .card-icon{ width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center;
  background: linear-gradient(135deg, #ecf7f0, #e8f4f6); margin-bottom: 1.1rem; }
.guarantee-card .card-icon svg{ stroke: var(--green-700); }
.guarantee-card h3{ font-size: var(--fs-md); margin-bottom: .5rem; }
.guarantee-card p{ font-size: var(--fs-sm); color: var(--slate-600); }

/* FAQ accordion */
.faq{ max-width: 760px; margin-inline: auto; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{ width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; background: transparent; border: 0; cursor: pointer; padding: 1.25rem 0;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-md); color: var(--ink-900); }
.faq-chevron{ flex-shrink: 0; color: var(--green-700); transition: transform 220ms var(--ease); }
.faq-item.open .faq-chevron{ transform: rotate(180deg); }
.faq-a{ overflow: hidden; max-height: 0; opacity: 0; transition: max-height 320ms var(--ease), opacity 220ms var(--ease); }
.faq-item.open .faq-a{ max-height: 360px; opacity: 1; }
.faq-a p{ padding-bottom: 1.25rem; color: var(--slate-600); font-size: var(--fs-base); line-height: 1.6; }

/* Embedded calculators: keep them centered in the page column */
.calc-embed{ max-width: 820px; margin-inline: auto; }
