/* Smart Era Business (/b2b) — additions on top of /assets/css/site.css. Uses the main site's tokens only. */

.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100; background: var(--teal); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 8px; }

/* Placeholder marker: anything unconfirmed shows in amber so it cannot go live unnoticed */
.ph { display: inline-block; background: var(--warn-bg); color: var(--warn); border: 1px dashed var(--warn); border-radius: 6px; padding: 0 6px; font-size: .85em; font-weight: 600; line-height: 1.6; }
.dark .ph, .night .ph { background: rgba(245,183,0,.14); color: var(--amber); border-color: var(--amber); }

.b2c-link { min-height: 40px; }
.b2b-h1 { max-width: 20ch; }
html[lang="ar"] .b2b-h1 { max-width: 24ch; }

/* Home hero: portal illustration */
.hero-panel { position: relative; display: flex; justify-content: center; padding-block: 24px 48px; }
.hp-card { width: min(100%, 440px); background: #0B1220; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.hp-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); }
.hp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hp-grid .tile b { font-size: 18px; font-family: var(--font-display); }
.hp-bars { background: #1A2438; border-radius: 16px; height: 110px; display: flex; align-items: flex-end; gap: 8px; padding: 14px; }
.hp-bars i { flex: 1; background: var(--teal); border-radius: 4px; }
.hero-panel .float-card.light { top: auto; bottom: 0; inset-inline-start: 0; }
@media (max-width: 760px) { .hero-panel .float-card { position: static; width: 100%; margin-top: 12px; } .hero-panel { flex-direction: column; align-items: stretch; padding-bottom: 0; } .hp-card { width: 100%; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: var(--radius); background: var(--mist); }
.band.mist .stat { background: var(--white); }
.stat b { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat > span { color: var(--slate); font-weight: 500; }

/* Solution and sector cards */
.sol-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.sol-card:hover { color: var(--ink); border-color: var(--teal); }
.sol-card .more { margin-top: auto; color: var(--link); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
html[dir="rtl"] .sol-card .more .ico, html[dir="rtl"] .btn .ico { transform: scaleX(-1); }
.sol-detail, .sector-detail { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 140px; }
.sol-detail .btn, .sector-detail .btn { align-self: flex-start; margin-top: auto; }
.sol-group { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 120px; }
.sol-group + .sol-group { margin-top: 24px; }
.group-title { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.group-title .ico { color: var(--link); }
.filter-tabs [data-filter] { font: inherit; font-size: 15px; font-weight: 600; color: var(--slate); background: transparent; border: 0; border-radius: 999px; padding: 9px 16px; min-height: 40px; cursor: pointer; }
.filter-tabs [data-filter][aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(10,27,61,.10); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

.card.ticks { padding: 24px; }
.chip-btn { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; min-height: 32px; border-radius: 999px; padding: 4px 12px; }
.chip-btn:hover { border-color: var(--teal); color: var(--ink); }

.sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.sector { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; min-height: 76px; }
.sector .ico { color: var(--link); flex: 0 0 auto; }
.sector:hover { border-color: var(--teal); color: var(--ink); transform: translateY(-3px); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.dark .steps .card { background: var(--navy-2); border-color: rgba(255,255,255,.1); color: var(--on-dark); }
.dark .steps .card .muted { color: var(--on-dark-2); }
.steps .step-no { font-size: 22px; }

/* CTA band */
.cta-b2b { align-items: center; }
.cta-actions { justify-content: flex-end; }
@media (max-width: 960px) { .cta-actions { justify-content: flex-start; } }

/* Notice card */
.notice-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--warn-bg); color: var(--warn); }
.notice-card p { margin: 0; }
.notice-card .ico { flex: 0 0 auto; }

/* FAQ */
.faq { padding: 0; }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 22px; line-height: 1; color: var(--link); flex: 0 0 auto; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 24px 22px; margin: 0; }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > span:first-child { width: 44px; height: 44px; border-radius: 12px; background: #E6F0FF; color: var(--link); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* Forms */
.chk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 2px 16px; }
fieldset.field, fieldset.wz { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.wz { display: flex; flex-direction: column; gap: 18px; }
fieldset.wz > legend { margin-bottom: 4px; padding: 0; }
.radio-card { border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px; margin-bottom: 8px; }
.radio-card:has(input:checked) { border-color: var(--navy); background: var(--mist); }
.wz-steps { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; counter-reset: wz; }
.wz-steps li { counter-increment: wz; font-size: 13px; font-weight: 600; color: var(--slate); border-top: 4px solid var(--line); padding-top: 8px; }
.wz-steps li::before { content: counter(wz) ". "; }
.wz-steps li.cur { color: var(--ink); border-top-color: var(--teal); }
.wz-steps li.done { border-top-color: var(--navy); }
.wz-nav { justify-content: space-between; }
.wz-nav [hidden] { display: none; }
.notice { background: var(--warn-bg); color: var(--warn); padding: 10px 14px; border-radius: 12px; font-size: 14px; }
@media (max-width: 520px) { .wz-steps li { font-size: 0; } .wz-steps li::before { font-size: 13px; } }
