/* Podem Group Bulgaria 2026 — design system
   Industrial-modern: dark steel + safety yellow. RTL-ready via logical properties. */

:root {
  --c-steel-950: #10151b;
  --c-steel-900: #161d26;
  --c-steel-800: #1f2937;
  --c-steel-700: #334155;
  --c-steel-500: #64748b;
  --c-steel-300: #cbd5e1;
  --c-steel-100: #eef2f6;
  --c-steel-50:  #f8fafc;
  --c-yellow:    #f6b80d;
  --c-yellow-600:#d99e00;
  --c-ink:       #1c2530;
  --c-paper:     #ffffff;
  --c-danger:    #b91c1c;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --shadow-1: 0 1px 2px rgb(16 21 27 / .08), 0 4px 16px rgb(16 21 27 / .08);
  --shadow-2: 0 8px 40px rgb(16 21 27 / .18);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Tahoma, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[dir="rtl"] { direction: rtl; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-steel-50);
  -webkit-font-smoothing: antialiased;
}

img { max-inline-size: 100%; block-size: auto; }
a { color: #0b5cab; text-decoration-color: rgb(11 92 171 / .35); text-underline-offset: 3px; }

h1, h2, h3 { line-height: 1.18; font-weight: 750; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }

.wrap { max-inline-size: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.skip-link {
  position: absolute; inset-inline-start: -9999px; inset-block-start: 0;
  background: var(--c-yellow); color: #000; padding: 10px 18px; z-index: 200; font-weight: 700;
}
.skip-link:focus { inset-inline-start: 8px; inset-block-start: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 100;
  background: color-mix(in srgb, var(--c-steel-950) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block-end: 1px solid rgb(255 255 255 / .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-inline-end: auto; }
.brand img { block-size: 46px; inline-size: auto; }
.brand .brand-sub { display: block; font-size: .72rem; color: var(--c-steel-300); letter-spacing: .14em; text-transform: uppercase; }

.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block; color: var(--c-steel-100); text-decoration: none; font-weight: 600;
  padding: 10px 14px; border-radius: var(--radius-sm); font-size: .98rem; white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus-visible { background: rgb(255 255 255 / .1); color: #fff; }
.main-nav a[aria-current="page"] { background: var(--c-yellow); color: #151515; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgb(255 255 255 / .25); border-radius: var(--radius-sm);
  color: #fff; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer;
}

.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none; cursor: pointer; color: var(--c-steel-100); border: 1px solid rgb(255 255 255 / .25);
  padding: 8px 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: .85rem; user-select: none;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch[open] > summary { background: rgb(255 255 255 / .12); }
.lang-switch ul {
  position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 6px); margin: 0; padding: 6px;
  list-style: none; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-2); min-inline-size: 150px;
}
.lang-switch ul a { display: block; padding: 8px 12px; color: var(--c-ink); text-decoration: none; border-radius: 6px; font-size: .9rem; }
.lang-switch ul a:hover, .lang-switch ul a:focus-visible { background: var(--c-steel-100); }
.lang-switch ul a.active { font-weight: 800; color: #000; background: #fff4cf; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: clip;
  background: var(--c-steel-950);
}
.hero img.hero-bg {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover;
  opacity: .42;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(16 21 27 / .92), rgb(16 21 27 / .25) 55%, rgb(16 21 27 / .5));
}
html[dir="ltr"] .hero::after { background: linear-gradient(115deg, rgb(16 21 27 / .95) 20%, rgb(16 21 27 / .45) 60%, rgb(16 21 27 / .2)); }
html[dir="rtl"] .hero::after { background: linear-gradient(245deg, rgb(16 21 27 / .95) 20%, rgb(16 21 27 / .45) 60%, rgb(16 21 27 / .2)); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 12vw, 132px); }
.hero .kicker {
  display: inline-block; background: var(--c-yellow); color: #151515; font-weight: 800; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-block-end: 20px;
}
.hero h1 { margin: 0 0 16px; max-inline-size: 18ch; }
.hero p { max-inline-size: 60ch; color: var(--c-steel-300); font-size: clamp(1.02rem, 1.6vw, 1.2rem); margin: 0 0 28px; }

.btn {
  display: inline-block; background: var(--c-yellow); color: #151515; font-weight: 800;
  padding: 13px 26px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; font: inherit;
  box-shadow: 0 6px 20px rgb(246 184 13 / .35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--c-yellow-600); transform: translateY(-2px); box-shadow: 0 10px 26px rgb(246 184 13 / .45); }
.btn.ghost { background: transparent; color: #fff; box-shadow: none; border: 2px solid rgb(255 255 255 / .5); }
.btn.ghost:hover, .btn.ghost:focus-visible { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Stats strip ---------- */
.stats { background: var(--c-yellow); color: #151515; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 26px; }
.stat .v { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 850; letter-spacing: -.02em; }
.stat .l { font-size: .85rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 8vw, 88px); }
.section.tint { background: #fff; }
.section-head { margin-block-end: 36px; max-inline-size: 70ch; }
.section-head h2 { margin: 0 0 10px; }
.section-head p { margin: 0; color: var(--c-steel-500); }
.eyebrow { color: var(--c-yellow-600); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgb(16 21 27 / .06);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-steel-100); }
.card figure img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover figure img { transform: scale(1.05); }
.card .card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card .more { color: var(--c-yellow-600); font-weight: 750; font-size: .92rem; margin-block-start: auto; }

/* numbered services */
ol.services { counter-reset: svc; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 14px; }
ol.services li {
  counter-increment: svc; background: #fff; border: 1px solid rgb(16 21 27 / .07); border-radius: var(--radius-sm);
  padding: 16px 18px 16px 60px; position: relative; box-shadow: var(--shadow-1);
}
html[dir="rtl"] ol.services li { padding: 16px 60px 16px 18px; }
ol.services li::before {
  content: counter(svc, decimal-leading-zero); position: absolute; inset-inline-start: 16px; inset-block-start: 14px;
  font-weight: 850; color: var(--c-yellow-600); font-size: 1.05rem;
}

/* spec tables on product pages */
.spec-section {
  display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start;
  padding-block: 26px; border-block-end: 1px dashed var(--c-steel-300);
}
.spec-section:last-of-type { border-block-end: 0; }
.spec-section figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.spec-section h3 { margin-block-start: 0; }
ul.specs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
ul.specs li {
  background: #fff; border-inline-start: 4px solid var(--c-yellow); border-radius: 6px;
  padding: 10px 14px; box-shadow: var(--shadow-1); font-weight: 600;
}
ul.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
ul.checks li { position: relative; padding-inline-start: 30px; }
ul.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .4em; inline-size: 1em; block-size: 1em;
  background: var(--c-yellow);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

/* gallery grid */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-block-start: 18px; }
.gallery button {
  padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4 / 3; display: block; inline-size: 100%;
}
.gallery img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.06); }

/* docs / certificates */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.docs-grid button { padding: 0; border: 1px solid var(--c-steel-300); border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #fff; box-shadow: var(--shadow-1); }
.docs-grid img { inline-size: 100%; block-size: 100%; object-fit: contain; background: #fff; }

/* video facades */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.video-facade {
  position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; border-radius: var(--radius);
  overflow: hidden; background: #000 center / cover no-repeat; inline-size: 100%; box-shadow: var(--shadow-1);
}
.video-facade::after {
  content: ""; position: absolute; inset: 0; margin: auto; inline-size: 68px; block-size: 48px;
  background: rgb(246 184 13 / .95); border-radius: 12px;
  -webkit-mask: none; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.video-facade::before {
  content: ""; position: absolute; z-index: 1; inset: 0; margin: auto; inline-size: 0; block-size: 0;
  border-block: 9px solid transparent; border-inline-start: 15px solid #151515; translate: 4px 0;
  z-index: 2;
}
.video-facade iframe { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; border: 0; }

/* partners strip */
.partners { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.partners img { block-size: 74px; inline-size: auto; border-radius: 8px; background: #fff; padding: 6px; box-shadow: var(--shadow-1); }

/* CTA band */
.cta {
  background:
    radial-gradient(1200px 300px at 80% -50%, rgb(246 184 13 / .25), transparent 60%),
    var(--c-steel-900);
  color: #fff;
}
.cta .wrap { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; padding-block: 46px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: var(--c-steel-300); }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.team-card, .addr-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 20px 22px; margin-block-end: 16px;
  border-inline-start: 5px solid var(--c-yellow);
}
.team-card h3, .addr-card h3 { margin: 0 0 4px; }
.team-card .role, .addr-card .role { color: var(--c-steel-500); font-size: .9rem; margin: 0 0 8px; }
.team-card p, .addr-card p { margin: 4px 0; }
.team-card a.tel { font-weight: 800; color: var(--c-ink); text-decoration: none; font-size: 1.1rem; }
.team-card a.tel:hover { color: var(--c-yellow-600); }

form.inquiry { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 26px; }
form.inquiry h2 { margin-block-start: 0; }
.field { margin-block-end: 14px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-block-end: 5px; }
.field label .req { color: var(--c-danger); }
.field input, .field textarea {
  inline-size: 100%; font: inherit; padding: 11px 14px; border: 1.5px solid var(--c-steel-300);
  border-radius: var(--radius-sm); background: var(--c-steel-50);
}
.field input:focus, .field textarea:focus { outline: 3px solid rgb(246 184 13 / .45); border-color: var(--c-yellow-600); }
.field textarea { min-block-size: 120px; resize: vertical; }
.hp { position: absolute; inset-inline-start: -9999px; block-size: 1px; inline-size: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--c-steel-500); }
.form-status { border-radius: var(--radius-sm); padding: 12px 16px; margin-block-end: 14px; display: none; }
.form-status.ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #34d399; }
.form-status.err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #f87171; }

/* footer */
.site-footer { background: var(--c-steel-950); color: var(--c-steel-300); margin-block-start: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-block: 48px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; margin-block: 0 12px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--c-steel-300); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--c-yellow); }
.site-footer .legal { border-block-start: 1px solid rgb(255 255 255 / .1); padding-block: 18px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.footer-brand img { block-size: 44px; inline-size: auto; margin-block-end: 12px; }

/* lightbox (v2 overlay — works everywhere, incl. old browsers without <dialog>) */
.lb-overlay {
  position: fixed; inset: 0; z-index: 400; display: none;
  align-items: center; justify-content: center;
  background: rgb(10 13 17 / .9); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  padding: 20px;
}
.lb-overlay.open { display: flex; }
.lb-figure { margin: 0; position: relative; max-inline-size: min(1100px, 96vw); }
.lb-figure img {
  max-inline-size: min(1100px, 92vw); max-block-size: 82vh; inline-size: auto; block-size: auto;
  border-radius: 10px; display: block; background: #0b0f14; box-shadow: var(--shadow-2);
}
.lb-figure figcaption { color: var(--c-steel-300); text-align: center; padding-block-start: 10px; font-size: .92rem; }
.lb-btn {
  position: fixed; inset-block-start: 50%; translate: 0 -50%; z-index: 401;
  background: rgb(255 255 255 / .12); color: #fff; border: 0; border-radius: 50%;
  inline-size: 52px; block-size: 52px; font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.lb-btn:hover, .lb-btn:focus-visible { background: var(--c-yellow); color: #000; }
.lb-prev { inset-inline-start: 18px; }
.lb-next { inset-inline-end: 18px; }
.lb-close {
  position: fixed; inset-block-start: 16px; inset-inline-end: 16px; z-index: 401;
  background: var(--c-yellow); color: #000; border: 0; border-radius: 50%;
  inline-size: 44px; block-size: 44px; font-size: 1.5rem; font-weight: 900; cursor: pointer;
}

/* breadcrumbs */
.breadcrumbs { font-size: .88rem; color: var(--c-steel-500); margin-block-end: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; color: var(--c-steel-300); }
.breadcrumbs a { color: var(--c-steel-500); }

article.prose { max-inline-size: 78ch; }
article.prose p.lead { font-size: 1.15rem; color: var(--c-steel-700); }

/* responsive */
@media (max-width: 940px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  html.js .main-nav.open { display: block; position: absolute; inset-block-start: 100%; inset-inline: 0; background: var(--c-steel-950); padding: 10px; border-block-end: 2px solid var(--c-yellow); }
  html.js .main-nav.open ul { flex-direction: column; align-items: stretch; }
  html:not(.js) .main-nav { display: block; }
  html:not(.js) .nav-toggle { display: none; }
  .spec-section { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  .lightbox .lb-prev { inset-inline-start: 6px; }
  .lightbox .lb-next { inset-inline-end: 6px; }
  .brand .brand-sub { display: none; }
}

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

/* ======================= v2 — 2026 industrial identity pack ======================= */

/* --- header compaction (fixes overlap on packed widths) --- */
.site-header .wrap { gap: 10px; padding-block: 8px; }
.brand .brand-sub { max-inline-size: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1520px) { .brand .brand-sub { display: none; } }
.main-nav a { padding: 9px 11px; font-size: .95rem; }
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  html:not(.js) .main-nav { display: block; }
  html:not(.js) .nav-toggle { display: none; }
}
@media (min-width: 1121px) {
  .nav-toggle { display: none; }
  .main-nav { display: block; }
}

/* --- hazard stripe (crane safety motif) --- */
.cta, .site-footer { position: relative; }
.cta::before, .site-footer::before {
  content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 8px;
  background: repeating-linear-gradient(-45deg, var(--c-yellow) 0 14px, #15181d 14px 28px);
  opacity: .95;
}
.site-footer::before { block-size: 5px; opacity: .7; }

/* --- blueprint grid on tinted sections (engineering drawing vibe) --- */
.section.tint {
  background-color: #fff;
  background-image:
    linear-gradient(rgb(15 23 42 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(15 23 42 / .045) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* --- hero crane line drawing --- */
.crane-svg {
  position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 0;
  inline-size: 100%; block-size: 46%; color: rgb(246 184 13 / .5); pointer-events: none;
}
.crane-svg .crane-trolley { animation: crane-trolley 30s ease-in-out infinite alternate; }
.crane-svg .crane-hook { animation: crane-hook 8s ease-in-out infinite alternate; }
@keyframes crane-trolley { from { transform: translateX(0); } to { transform: translateX(620px); } }
@keyframes crane-hook { from { transform: translateY(0); } to { transform: translateY(30px); } }

/* --- footer columns auto-fit (4-5 cols incl. bg city links) --- */
.site-footer .cols { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* --- crosslink chips (SEO internal linking) --- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 18px; }
.chips a {
  display: inline-block; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: #fff; color: var(--c-ink); text-decoration: none; border: 1.5px solid var(--c-steel-300);
  box-shadow: var(--shadow-1); transition: all .15s ease;
}
.chips a:hover, .chips a:focus-visible { background: var(--c-yellow); border-color: var(--c-yellow); color: #151515; }

/* --- virtual assistant ("the pendant") --- */
.assistant { position: fixed; inset-inline-end: 18px; inset-block-end: 18px; z-index: 350; }
.assistant-fab {
  inline-size: 60px; block-size: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-yellow); color: #161616; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgb(246 184 13 / .45); position: relative;
  transition: transform .18s ease;
}
.assistant-fab:hover, .assistant-fab:focus-visible { transform: translateY(-3px) scale(1.04); }
.assistant-fab svg { inline-size: 32px; block-size: 32px; }
.assistant-fab::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgb(246 184 13 / .55); animation: ping 2.6s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.8); opacity: .9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }

.assistant-panel {
  position: absolute; inset-inline-end: 0; inset-block-end: 74px; inline-size: min(320px, calc(100vw - 40px));
  background: var(--c-steel-900); color: #fff; border-radius: 16px; box-shadow: var(--shadow-2);
  border-block-start: 8px solid;
  border-image: repeating-linear-gradient(-45deg, var(--c-yellow) 0 12px, #15181d 12px 24px) 8;
  padding: 16px; transform-origin: bottom;
}
.assistant-panel[hidden] { display: none; }
.assistant-panel.open { animation: pop .18s ease-out; }
@keyframes pop { from { transform: scale(.85) translateY(8px); opacity: 0; } }
.assistant-head { display: flex; align-items: center; gap: 10px; margin-block-end: 12px; }
.assistant-head .assistant-hook {
  inline-size: 40px; block-size: 40px; border-radius: 10px; background: var(--c-yellow); color: #141414;
  display: grid; place-items: center; flex: 0 0 auto;
}
.assistant-head .assistant-hook svg { inline-size: 24px; block-size: 24px; }
.assistant-head strong { display: block; line-height: 1.25; }
.assistant-head span:not(.assistant-hook) { display: block; color: var(--c-steel-300); font-size: .82rem; }
.assistant-close {
  margin-inline-start: auto; align-self: flex-start; background: rgb(255 255 255 / .12); color: #fff;
  border: 0; border-radius: 8px; inline-size: 30px; block-size: 30px; font-size: 1.1rem; cursor: pointer;
}
.assistant-close:hover { background: var(--c-yellow); color: #000; }
.assistant-actions { display: grid; gap: 8px; }
.a-btn {
  display: block; text-align: center; padding: 11px 12px; border-radius: 10px; font-weight: 750; font-size: .95rem;
  background: var(--c-steel-800); color: var(--c-steel-100); text-decoration: none;
  border: 1px solid rgb(255 255 255 / .07);
}
.a-btn:hover, .a-btn:focus-visible { background: var(--c-steel-700); color: #fff; }
.a-btn.primary { background: var(--c-yellow); color: #151515; font-weight: 850; }
.a-btn.primary:hover { background: var(--c-yellow-600); }
.a-btn.wa { background: #128c4a; color: #fff; }
.a-btn.wa:hover { background: #0f7a41; }
