/* =========================================================
   RonGuard — 2026 site styles
   Hebrew RTL, dark-first, accessible (WCAG 2.2 AA / IS 5568)
   ========================================================= */

@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-hebrew.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-latin.woff2") format("woff2");
  font-weight: 300 900;
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07080c;
  --bg-2: #0d0f16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f3f4f7;
  --muted: #a7acb9;
  --brand: #ff7a1a;
  --brand-2: #ffb347;
  --brand-ink: #1a0d02;
  --accent: #6c8cff;
  --focus: #ffd166;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --font-scale: 1;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* Accessibility modes (toggled from the a11y panel) */
html.a11y-light {
  --bg: #fbfaf7;
  --bg-2: #f1efe9;
  --surface: rgba(0, 0, 0, 0.03);
  --surface-2: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.12);
  --text: #15161a;
  --muted: #4a4f5c;
  --brand: #c4520a;
  --brand-2: #b25a00;
  --brand-ink: #ffffff;
  --accent: #2f4fd8;
  --focus: #1d4ed8;
  color-scheme: light;
}
html.a11y-contrast {
  --bg: #000;
  --bg-2: #000;
  --surface: #000;
  --surface-2: #111;
  --border: #fff;
  --text: #fff;
  --muted: #fff;
  --brand: #ffd400;
  --brand-2: #ffd400;
  --brand-ink: #000;
  --accent: #00e5ff;
  --focus: #00e5ff;
}
html.a11y-contrast .glow,
html.a11y-contrast .grid-bg,
html.a11y-contrast .hero-orb { display: none !important; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-readable body { font-family: Arial, "Segoe UI", sans-serif; letter-spacing: 0.02em; word-spacing: 0.08em; line-height: 1.9; }
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--font-scale)); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Heebo", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.0625rem;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { padding-inline-start: 1.2em; }

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

.sr-only { 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; inset-inline-start: 1rem; top: -100px; z-index: 1000;
  background: var(--brand); color: var(--brand-ink); padding: 0.75rem 1.25rem; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; color: var(--brand-2);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  padding: 0.3rem 0.85rem; border-radius: 999px; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.text-grad {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.a11y-contrast .text-grad { background: none; color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit; min-height: 44px;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--brand-ink); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn svg { width: 1.2em; height: 1.2em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 800; font-size: 1.35rem; text-decoration: none !important; direction: ltr; }
.brand svg { width: 38px; height: 38px; }
.brand span b { color: var(--brand); font-weight: 800; }
.nav-links { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); padding: 0.55rem 0.9rem; border-radius: 10px; font-weight: 500; display: block; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 0.5rem; }
.menu-toggle { display: none; background: var(--surface); border: 1px solid var(--border); color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute; top: 72px; inset-inline: 0; flex-direction: column; padding: 1rem;
    background: var(--bg-2); border-bottom: 1px solid var(--border); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.9rem 1rem; font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; isolation: isolate; }
.grid-bg {
  position: absolute; inset: 0; z-index: -2; opacity: 0.35;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-orb {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.hero-orb.o1 { width: 520px; height: 520px; background: radial-gradient(circle, var(--brand), transparent 65%); top: -160px; inset-inline-start: -120px; }
.hero-orb.o2 { width: 460px; height: 460px; background: radial-gradient(circle, var(--accent), transparent 65%); bottom: -200px; inset-inline-end: -120px; opacity: 0.35; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; letter-spacing: -0.02em; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 2rem; font-weight: 900; color: var(--text); line-height: 1.1; }
.hero-stats span { color: var(--muted); font-size: 0.95rem; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 440px; margin-inline: auto; width: 100%; }
.hero-visual .shield { width: 100%; height: 100%; filter: drop-shadow(0 30px 60px color-mix(in srgb, var(--brand) 35%, transparent)); }
.ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--brand) 45%, transparent); animation: spin 40s linear infinite; }
.ring.r2 { inset: -4%; border-style: solid; border-color: var(--border); animation-duration: 70s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
  position: absolute; display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border-radius: 14px;
  background: color-mix(in srgb, var(--bg-2) 80%, transparent); border: 1px solid var(--border); backdrop-filter: blur(10px);
  font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap;
}
.chip i { width: 10px; height: 10px; border-radius: 50%; background: #2bd576; box-shadow: 0 0 12px #2bd576; }
.chip.c1 { top: 8%; inset-inline-start: -4%; }
.chip.c2 { bottom: 18%; inset-inline-end: -6%; }
.chip.c3 { bottom: 0; inset-inline-start: 10%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 230px; order: -1; }
  .chip { font-size: 0.8rem; }
  .chip.c1 { inset-inline-start: 0; }
  .chip.c2 { inset-inline-end: 0; }
}

/* ---------- Logos / marquee ---------- */
.tech-strip { border-block: 1px solid var(--border); padding: 1.4rem 0; overflow: hidden; }
.tech-strip p { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.9rem; }
.marquee { display: flex; gap: 3rem; width: max-content; animation: marquee 35s linear infinite; direction: ltr; }
.marquee span { font-weight: 700; font-size: 1.15rem; color: var(--muted); opacity: 0.85; white-space: nowrap; }
.tech-strip:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; margin-top: 3rem; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; overflow: hidden; transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--brand) 16%, transparent), transparent 45%);
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.card .icon svg { width: 26px; height: 26px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; direction: ltr; justify-content: flex-end; }
.card .tags span { font-size: 0.78rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.card a.more { display: inline-flex; margin-top: 1rem; font-weight: 700; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: 1 / -1; }
.card.wide { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; }
.card.wide .icon { margin: 0; }
@media (max-width: 560px) { .card.wide { grid-template-columns: 1fr; } }
.card.feature { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 16%, var(--bg-2)), var(--bg-2) 60%); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .span-2, .span-3, .span-4 { grid-column: auto; } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 0.8rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 0.25rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.xp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.xp-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding: 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.xp-list .num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
.xp-list strong { display: block; }
.xp-list span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 3rem; counter-reset: step; }
.step { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 2.6rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1px var(--brand); display: block; margin-bottom: 0.5rem; line-height: 1; }
html.a11y-contrast .step::before { color: var(--brand); -webkit-text-stroke: 0; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: calc(var(--radius) + 8px); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden;
  background: radial-gradient(600px circle at 15% 0%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 60%), var(--bg-2);
  border: 1px solid var(--border); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center;
}
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 1rem; align-content: start; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.2rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.contact-card:hover { background: var(--surface-2); text-decoration: none; }
.contact-card .icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--muted); }
.contact-card strong { direction: ltr; unicode-bidi: isolate; }

form.contact { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; }
.field .req { color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.85rem 1rem; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff5b5b; }
.field .error { color: #ff8a8a; font-size: 0.9rem; min-height: 0; }
html.a11y-light .field .error { color: #b00020; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 0.2rem; flex: 0 0 22px; accent-color: var(--brand); }
.privacy-note { font-size: 0.88rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0.9rem 1rem; margin: 0; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 0.9rem 1rem; border-radius: 12px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: color-mix(in srgb, #2bd576 15%, transparent); border: 1px solid #2bd576; }
.form-status.err { display: block; background: color-mix(in srgb, #ff5b5b 15%, transparent); border: 1px solid #ff5b5b; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.breadcrumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 0.5rem; opacity: 0.6; }
.breadcrumbs a { color: var(--muted); }

/* ---------- Prose (legal/articles) ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; padding-top: 0.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 85%, var(--muted)); }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.97rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.7rem 0.9rem; text-align: start; vertical-align: top; }
.prose th { background: var(--surface-2); }
.updated { display: inline-block; font-size: 0.9rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 0.3rem 0.9rem; }
.toc { position: sticky; top: 96px; }
.toc ol { padding-inline-start: 1.2em; margin: 0; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--muted); }
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; } }

/* service detail blocks */
.service-block { display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; padding: 2.2rem 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.service-block:last-child { border-bottom: 0; }
.service-block .icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.service-block .icon svg { width: 30px; height: 30px; }
.service-block h2 { font-size: 1.7rem; }
.service-block .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 2rem; padding: 0; list-style: none; margin: 1rem 0 0; }
.service-block .cols li { padding-inline-start: 1.2rem; position: relative; color: var(--muted); }
.service-block .cols li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.75em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
@media (max-width: 700px) { .service-block { grid-template-columns: 1fr; } .service-block .cols { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0.8rem; margin-top: 2rem; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 1.2rem; }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; background: var(--bg-2); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; color: var(--text); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer p { color: var(--muted); font-size: 0.95rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.9rem; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- Floating buttons ---------- */
.fab-wa {
  position: fixed; bottom: 1.2rem; inset-inline-end: 1.2rem; z-index: 90; width: 56px; height: 56px; border-radius: 16px;
  background: #25d366; color: #062b14; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
}
.fab-wa svg { width: 30px; height: 30px; }

/* ---------- Accessibility panel ---------- */
.a11y-btn {
  position: fixed; bottom: 1.2rem; inset-inline-start: 1.2rem; z-index: 95; width: 56px; height: 56px; border-radius: 16px;
  background: #1d4ed8; color: #fff; border: 2px solid #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
}
.a11y-btn svg { width: 30px; height: 30px; }
.a11y-panel {
  position: fixed; bottom: 5.5rem; inset-inline-start: 1.2rem; z-index: 96; width: min(340px, calc(100vw - 2.4rem));
  max-height: calc(100vh - 7rem); overflow: auto;
  background: var(--bg-2); color: var(--text); border: 1px solid var(--border); border-radius: 18px; padding: 1.2rem; box-shadow: var(--shadow);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; }
.a11y-panel .close { background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; width: 44px; height: 44px; line-height: 1; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.a11y-grid button {
  font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.8rem 0.5rem; cursor: pointer; min-height: 56px;
}
.a11y-grid button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.a11y-grid .full { grid-column: 1 / -1; }
.a11y-panel .a11y-foot { margin-top: 0.9rem; font-size: 0.9rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal, html.a11y-nomotion .reveal { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(5rem, 18vw, 10rem); font-weight: 900; line-height: 1; }

@media print {
  .site-header, .site-footer, .a11y-btn, .a11y-panel, .fab-wa, .hero-orb, .grid-bg { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Linked items: light-blue glow on hover / keyboard focus ---------- */
:root { --glow: #4fc8ff; }
html.a11y-light { --glow: #0a84ff; }
html.a11y-contrast { --glow: #00e5ff; }
.btn, .nav-links a, .contact-card, .fab-wa, .a11y-btn, .card, .more, .site-footer a, .brand {
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, text-shadow .2s ease, border-color .25s ease;
}
.btn:hover, .btn:focus-visible,
.contact-card:hover, .contact-card:focus-visible {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--glow);
  box-shadow: 0 0 0 2px var(--glow), 0 0 24px 4px color-mix(in srgb, var(--glow) 60%, transparent), 0 14px 34px -10px color-mix(in srgb, var(--glow) 55%, transparent);
}
.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--text); transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--glow), 0 0 16px 2px color-mix(in srgb, var(--glow) 50%, transparent);
}
.fab-wa:hover, .fab-wa:focus-visible, .a11y-btn:hover, .a11y-btn:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px var(--glow), 0 0 30px 6px color-mix(in srgb, var(--glow) 65%, transparent);
}
.card:has(a):hover {
  border-color: var(--glow);
  box-shadow: 0 0 0 1px var(--glow), 0 0 34px 2px color-mix(in srgb, var(--glow) 40%, transparent);
}
.more:hover, .more:focus-visible, .site-footer a:hover, .site-footer a:focus-visible, .brand:hover {
  color: var(--glow); text-shadow: 0 0 12px color-mix(in srgb, var(--glow) 80%, transparent);
}
.brand:hover svg { filter: drop-shadow(0 0 8px var(--glow)); }
