/* =====================================================================
   Omari Systems — site stylesheet
   One design system for every page. Uses logical properties
   (margin-inline-start, inset-inline-end, text-align:start …) so the
   same rules work for Arabic (RTL) and English (LTR).
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Infra"; src: url("../Fonts/InfraRegular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Infra"; src: url("../Fonts/InfraMedium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Infra"; src: url("../Fonts/InfraSemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Infra"; src: url("../Fonts/InfraBold.otf") format("opentype"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Bukra"; src: url("../Fonts/29LTBUKRA-REGULAR.TTF") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bukra"; src: url("../Fonts/29LT%20BukraMd.ttf") format("truetype"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Bukra"; src: url("../Fonts/29LTBukra-Bold.ttf") format("truetype"); font-weight: 700 800; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
    /* brand */
    --navy-950: #05033a;
    --navy-900: #090656;
    --navy-800: #121078;
    --blue-700: #1c2eac;
    --blue-600: #2a44d6;
    --sky-500: #00a7f3;
    --mint-500: #01dbc5;
    --mint-600: #00bfac;
    --mint-50: #e6fbf8;
    --purple-500: #685da7;
    --orange-500: #ff8c42;

    /* neutrals */
    --ink: #121a4a;          /* headings */
    --text: #45507a;         /* body copy */
    --muted: #7b85a8;
    --line: #e4e8f2;
    --surface: #f5f7fc;
    --white: #ffffff;

    /* type */
    --font-latin: "Infra", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --font-arabic: "Bukra", "Segoe UI", Tahoma, "Noto Kufi Arabic", system-ui, sans-serif;
    --font: var(--font-latin);

    /* layout */
    --header-h: 76px;
    --gutter: clamp(16px, 4vw, 32px);
    --container: 1200px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(9, 6, 86, .06), 0 2px 8px rgba(9, 6, 86, .04);
    --shadow: 0 10px 30px -10px rgba(9, 6, 86, .18);
    --shadow-lg: 0 24px 60px -20px rgba(9, 6, 86, .35);
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* legacy names still used by the survey page */
    --mint: var(--mint-500);
    --color-mint: var(--mint-500);
    --color-text: var(--blue-700);
    --font-en: var(--font-latin);
    --font-en-bold: var(--font-latin);
    --font-ar: var(--font-arabic);
    --font-ar-bold: var(--font-arabic);
    --header-height: 0px;
}

[dir="rtl"], .site[dir="rtl"] { --font: var(--font-arabic); }
[dir="ltr"], .site[dir="ltr"] { --font: var(--font-latin); }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.site { font-family: var(--font); min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.45; }
p { margin: 0 0 1em; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--mint-600); }
ul { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--mint-500); outline-offset: 3px; border-radius: 6px; }
h1:focus { outline: none; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--text); }
.flip-rtl { transition: transform .25s var(--ease); }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.skip-link {
    position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000;
    background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* text accents */
.text-accent { color: var(--mint-500); }
.text-accent-dark { color: var(--mint-600); }

/* eyebrow / kicker */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--blue-700);
    background: var(--mint-50); border: 1px solid rgba(1, 219, 197, .35);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.eyebrow--light { color: #d9fffb; background: rgba(1, 219, 197, .12); border-color: rgba(1, 219, 197, .35); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-500); box-shadow: 0 0 0 4px rgba(1, 219, 197, .25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(1, 219, 197, 0); } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
    font-family: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
    cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .flip-rtl { translate: 3px 0; }
[dir="rtl"] .btn:hover .flip-rtl { translate: -3px 0; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }
.btn--sm { padding: 9px 16px; font-size: .88rem; border-radius: 10px; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--mint-500); color: var(--navy-900); box-shadow: 0 8px 24px -8px rgba(1, 219, 197, .7); }
.btn--primary:hover { background: #12e8d2; color: var(--navy-900); box-shadow: 0 12px 28px -8px rgba(1, 219, 197, .8); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--blue-700); color: #fff; box-shadow: var(--shadow); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-700); color: var(--blue-700); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-700); }
.link-arrow--muted { color: var(--muted); }
a:hover .link-arrow, .link-arrow:hover { color: var(--mint-600); }
a:hover .link-arrow .flip-rtl, .link-arrow:hover .flip-rtl { translate: 3px 0; }
[dir="rtl"] a:hover .link-arrow .flip-rtl, [dir="rtl"] .link-arrow:hover .flip-rtl { translate: -3px 0; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s;
}
.is-scrolled .site-header { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(9, 6, 86, .18); }

.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.site-nav__link {
    position: relative; display: block; padding: 8px 14px; border-radius: 10px;
    font-size: .95rem; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.site-nav__link:hover { color: var(--blue-700); background: var(--surface); }
.site-nav__link.active { color: var(--blue-700); }
.site-nav__link.active::after {
    content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--mint-500), var(--sky-500));
}
.site-nav__mobile-actions { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line);
    color: var(--ink); font-weight: 600; font-size: .9rem; background: #fff;
}
.lang-toggle:hover { border-color: var(--mint-500); color: var(--blue-700); }
.lang-toggle span:lang(ar), .lang-toggle[lang="ar"] span { font-family: var(--font-arabic); }
.lang-toggle[lang="en"] span { font-family: var(--font-latin); }

.menu-toggle {
    display: none; margin-inline-start: auto;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 1060px) {
    .site-nav__link { padding: 8px 10px; font-size: .9rem; }
    .site-header__actions .btn { display: none; }
}

@media (max-width: 900px) {
    .menu-toggle { display: inline-flex; }
    .site-header__actions { display: none; }
    .site-nav {
        position: fixed; inset-inline: 0; top: var(--header-h);
        flex-direction: column; justify-content: flex-start; gap: 16px;
        padding: 16px var(--gutter) 24px;
        background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -20px rgba(9, 6, 86, .3);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
        max-height: calc(100vh - var(--header-h)); overflow: auto;
    }
    .site-header.is-open .site-nav { transform: none; opacity: 1; visibility: visible; }
    .site-header.is-open { background: #fff; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .site-nav__link { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--surface); border-radius: 8px; }
    .site-nav__link.active { background: var(--mint-50); }
    .site-nav__link.active::after { display: none; }
    .site-nav__mobile-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
    .site-nav__mobile-actions .lang-toggle { justify-content: center; padding: 12px 16px; }
    .brand img { height: 40px; }
}

/* =====================================================================
   HERO — home
   ===================================================================== */
.hero-home {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--navy-950); color: #fff;
    min-height: min(calc(100svh - var(--header-h)), 860px);
    display: flex; align-items: center;
    padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px);
}
.hero-home__bg {
    position: absolute; inset: 0; z-index: -1;
    background-image: url("../images/web/home-hero.webp");
    background-size: cover; background-position: left center;
}
/* LTR: mirror the artwork so it sits on the right, away from the text */
.site[dir="ltr"] .hero-home__bg { transform: scaleX(-1); }
.hero-home::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(270deg, rgba(5, 3, 58, .97) 0%, rgba(5, 3, 58, .9) 40%, rgba(5, 3, 58, .45) 62%, rgba(5, 3, 58, .05) 85%),
        linear-gradient(0deg, rgba(5, 3, 58, .85) 0%, rgba(5, 3, 58, 0) 35%);
}
.site[dir="ltr"] .hero-home::before {
    background:
        linear-gradient(90deg, rgba(5, 3, 58, .97) 0%, rgba(5, 3, 58, .9) 40%, rgba(5, 3, 58, .45) 62%, rgba(5, 3, 58, .05) 85%),
        linear-gradient(0deg, rgba(5, 3, 58, .85) 0%, rgba(5, 3, 58, 0) 35%);
}
.hero-home__inner { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.hero-home__text { max-width: 640px; animation: rise .8s var(--ease) both; }
.hero-home h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.9rem); margin-bottom: 20px; }
[dir="rtl"] .hero-home h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem); }
.hero-home__lead { font-size: clamp(1rem, .95rem + .35vw, 1.2rem); color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 32px; }
.hero-home__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; }
.stats__item { display: flex; flex-direction: column; padding: 6px 24px; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.stats__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stats dd { order: -1; margin: 0; font-family: var(--font-latin); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.1; }
.stats dt { font-size: .92rem; margin-top: 6px; }

.stats--hero {
    max-width: 760px; padding: 22px 28px; border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    animation: rise .8s .15s var(--ease) both;
}
.stats--hero dd { color: #fff; }
.stats--hero dt { color: rgba(255, 255, 255, .7); }

.stats--light { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.stats--light .stats__item { border-color: var(--line); }
.stats--light dd { color: var(--blue-700); }
.stats--light dt { color: var(--muted); }

/* =====================================================================
   HERO — inner pages
   ===================================================================== */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--navy-950); color: #fff;
    padding-block: clamp(48px, 7vw, 96px);
}
.page-hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(0, 167, 243, .35), transparent 60%),
        radial-gradient(500px 380px at 10% 100%, rgba(1, 219, 197, .22), transparent 60%),
        radial-gradient(700px 500px at 50% 50%, rgba(28, 46, 172, .45), transparent 70%),
        var(--navy-950);
}
.page-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.page-hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5vw, 64px); }
.page-hero__text { animation: rise .8s var(--ease) both; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); margin-bottom: 18px; }
[dir="rtl"] .page-hero h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); }
.page-hero__lead { color: rgba(255, 255, 255, .78); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 560px; margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero__media {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 11; background: var(--navy-800);
    animation: rise .9s .1s var(--ease) both;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--product .page-hero__media { background: #eef6fb; }
.page-hero--product .page-hero__media img { object-position: 22% center; }

@media (max-width: 900px) {
    .page-hero__inner { grid-template-columns: 1fr; }
    .page-hero__media { aspect-ratio: 16 / 9; }
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--alt { background: var(--surface); }
.section--tight-top { padding-top: clamp(40px, 5vw, 64px); }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }
[dir="rtl"] .section-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); }
.section-head .lead { margin: 0; color: var(--muted); }
.section-head--start { margin-inline: 0; text-align: start; }

/* grids */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--pillars { grid-template-columns: repeat(6, 1fr); }
.grid--pillars > * { grid-column: span 2; }
.grid--pillars > :nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 1000px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--pillars { grid-template-columns: repeat(2, 1fr); }
    .grid--pillars > *, .grid--pillars > :nth-child(4) { grid-column: auto; }
}
@media (max-width: 680px) {
    .grid--2, .grid--3, .grid--pillars { grid-template-columns: 1fr; }
}

/* split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.split--reverse .split__media { order: 2; }
.split__media {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 11; background: #e9f1fb;
}
.split__media--dark { background: var(--navy-900); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
[dir="rtl"] .split__text h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); }
.split__text .lead { color: var(--text); margin-bottom: 24px; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
}

/* chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    font-weight: 600; font-size: .9rem; color: var(--ink);
    transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
[dir="rtl"] .chip { padding: 6px 6px 6px 14px; }
.chip img { width: 28px; height: 28px; object-fit: contain; border-radius: 8px; }
.chip:hover { border-color: var(--mint-500); color: var(--blue-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* checklist */
.checklist { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.checklist .ico {
    flex-shrink: 0; width: 26px; height: 26px; padding: 4px; margin-top: 1px;
    border-radius: 50%; color: var(--mint-600); background: var(--mint-50);
}
.checklist--sm { gap: 10px; margin: 0; }
.checklist--sm li { font-size: .92rem; font-weight: 400; color: var(--text); line-height: 1.6; }
.checklist--sm .ico { width: 22px; height: 22px; padding: 3px; }

/* =====================================================================
   CARDS
   ===================================================================== */
.card {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(22px, 2.4vw, 32px);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
    color: var(--text);
}
a.card:hover, .card--service:hover, .card--product:hover, .card--module:hover, .card--pillar:hover {
    transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(1, 219, 197, .55); color: var(--text);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { margin: 0; font-size: .95rem; }
.card__footer { margin-top: auto; padding-top: 20px; }

/* service */
.card--service .card__media {
    width: 88px; height: 88px; border-radius: 22px; margin-bottom: 22px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #eef3ff, var(--mint-50));
}
.card--service .card__media img { width: 68px; height: 68px; object-fit: contain; }
.card--service .card__media--sm img { width: 60px; height: 60px; }
.card--service .link-arrow { margin-top: auto; padding-top: 20px; }
.card--service p { margin-bottom: 0; }

/* product */
.product-group + .product-group { margin-top: clamp(48px, 6vw, 80px); }
.product-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.product-group__head h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.product-group__count {
    display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 10px; border-radius: 999px;
    background: var(--mint-50); color: var(--mint-600); font-weight: 700; font-family: var(--font-latin); font-size: .9rem;
}
.card--product__icon {
    width: 84px; height: 84px; margin-bottom: 20px; border-radius: 22px;
    background: var(--surface); display: grid; place-items: center;
}
.card--product__icon img { width: 66px; height: 66px; object-fit: contain; }
.card--featured { border-color: rgba(1, 219, 197, .5); background: linear-gradient(180deg, #fff 60%, var(--mint-50)); }
.card--featured::before {
    content: ""; position: absolute; inset-inline: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--mint-500), var(--sky-500));
}

/* feature (purpose / mission) */
.card--feature { flex-direction: row; align-items: center; gap: 24px; }
.card--feature__icon { flex-shrink: 0; width: 112px; height: 112px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(135deg, #eef3ff, var(--mint-50)); }
.card--feature__icon img { width: 84px; height: 84px; object-fit: contain; }
@media (max-width: 520px) { .card--feature { flex-direction: column; align-items: flex-start; } }

/* modules (Logic / Bookra) */
.card--module__icon {
    width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--blue-700), var(--sky-500));
    box-shadow: 0 8px 18px -8px rgba(28, 46, 172, .55);
}
.card--module-accent .card--module__icon { color: #fff; background: linear-gradient(135deg, var(--blue-700), var(--sky-500)); }

/* pillars */
.card--pillar__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card--pillar__top img { width: 60px; height: 60px; object-fit: contain; }
.card__index { font-family: var(--font-latin); font-weight: 700; font-size: 1.6rem; color: var(--line); }
.card--pillar:hover .card__index { color: var(--mint-500); }
.card--pillar h3 { margin-bottom: 16px; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: start; margin-top: calc(-1 * clamp(56px, 8vw, 110px)); position: relative; z-index: 2; }
.contact-form-card { box-shadow: var(--shadow-lg); border: 0; }
.contact-form-card h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 6px; }
.contact-form-card > .muted { margin-bottom: 26px; }

.contact-info {
    position: relative; overflow: hidden; color: rgba(255, 255, 255, .8);
    border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px);
    background: radial-gradient(400px 300px at 100% 0%, rgba(0, 167, 243, .4), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950));
    box-shadow: var(--shadow-lg);
}
.contact-info h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.contact-info__list { list-style: none; display: grid; gap: 22px; margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-info__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__list small { display: block; color: rgba(255, 255, 255, .55); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.contact-info__list a { display: block; color: #fff; font-family: var(--font-latin); font-weight: 600; text-align: start; unicode-bidi: plaintext; }
.contact-info__list a:hover { color: var(--mint-500); }
.contact-info__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--mint-500); background: rgba(1, 219, 197, .12); border: 1px solid rgba(1, 219, 197, .25); }

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; margin-top: 0; }
}

/* form */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
    padding: 12px 14px; border-radius: 12px; border: 1px solid #d7deeb; background: #fbfcff;
    transition: border-color .2s, box-shadow .2s, background .2s;
    text-align: start;
}
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint-500); background: #fff; box-shadow: 0 0 0 4px rgba(1, 219, 197, .18); }
.field input.invalid, .field textarea.invalid { border-color: #e5484d; }
.validation-message { color: #d93036; font-size: .82rem; }
.form__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form__note { margin: 0; font-size: .78rem; color: var(--muted); flex: 1 1 220px; }
.form__alert { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: .92rem; }
.form__alert--error { background: #fff0f0; color: #b42318; border: 1px solid #ffd2d2; }
.form-success { text-align: center; padding: 40px 12px; }
.form-success__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--mint-600); background: var(--mint-50); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(9, 6, 86, .25); border-top-color: var(--navy-900); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { padding-block: 0 clamp(64px, 8vw, 112px); }
.section--alt + .cta-band { background: var(--surface); }
.cta-band__card {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: clamp(32px, 5vw, 64px); border-radius: 28px; color: rgba(255, 255, 255, .8);
    background: linear-gradient(120deg, var(--navy-950) 0%, var(--blue-700) 60%, var(--sky-500) 130%);
    box-shadow: var(--shadow-lg);
}
.cta-band__card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background: url("../images/web/cta-pattern.webp") center/cover no-repeat;
    mix-blend-mode: screen;
}
.cta-band__text { flex: 1 1 420px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .65); padding-top: clamp(56px, 7vw, 88px); font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { height: 52px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 320px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.site-footer__social a:hover { background: var(--mint-500); color: var(--navy-900); border-color: var(--mint-500); }
.site-footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer__col a { display: block; color: rgba(255, 255, 255, .65); padding: 5px 0; }
.site-footer__col a:hover { color: var(--mint-500); }
.site-footer__contact { display: flex !important; align-items: center; gap: 10px; }
.site-footer__contact .ico { color: var(--mint-500); flex-shrink: 0; }
.site-footer__contact span { font-family: var(--font-latin); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .45); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FLOATING BUTTONS
   ===================================================================== */
.fab { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab__btn {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    box-shadow: 0 10px 24px -8px rgba(9, 6, 86, .45);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.fab__btn:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.fab__btn--wa { background: #25d366; }
.fab__btn--mail { background: var(--blue-700); }
@media (max-width: 600px) { .fab { bottom: 14px; inset-inline-end: 14px; } .fab__btn { width: 48px; height: 48px; } .fab__btn--mail { display: none; } }

/* =====================================================================
   404
   ===================================================================== */
.not-found { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.not-found__code { display: block; font-family: var(--font-latin); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; background: linear-gradient(90deg, var(--blue-700), var(--mint-500)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.not-found h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.not-found .lead { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.not-found__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* survey page sits under the sticky header now */
.site-main .survey { padding-top: 48px; }

/* =====================================================================
   REVEAL ANIMATION (only when JS is running)
   ===================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js a.card[data-reveal].is-visible:hover, .js .card[data-reveal].is-visible:hover { transform: translateY(-6px); transition-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   Misc / third-party
   ===================================================================== */
.grecaptcha-badge { visibility: hidden !important; }
#components-reconnect-modal { display: none !important; }
#blazor-error-ui { display: none; }
.valid.modified:not([type=checkbox]) { outline: none; }

/* ---------- small screens: hero readability ---------- */
@media (max-width: 760px) {
    .hero-home { min-height: 0; }
    .hero-home__bg { background-position: 30% center; opacity: .55; }
    .hero-home::before,
    .site[dir="ltr"] .hero-home::before {
        background: linear-gradient(180deg, rgba(5, 3, 58, .55) 0%, rgba(5, 3, 58, .88) 55%, rgba(5, 3, 58, .97) 100%);
    }
    .hero-home__actions .btn { flex: 1 1 100%; }
    .page-hero__actions .btn { flex: 1 1 100%; }
    .stats--hero { padding: 16px 12px; }
    .stats__item { padding: 4px 12px; }
    .stats dd { font-size: 1.6rem; }
    .stats dt { font-size: .8rem; line-height: 1.4; }
}

/* ---------- Products hero: product icon showcase ---------- */
.page-hero__custom { position: relative; animation: rise .9s .1s var(--ease) both; }
.page-hero__custom::before {
    content: ""; position: absolute; inset: 8% 10%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(1, 219, 197, .28), rgba(0, 167, 243, .12) 60%, transparent);
    filter: blur(20px);
}
.product-showcase { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 16px); }
.product-showcase li { animation: tile-in .7s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
.product-showcase li:nth-child(even) { transform: translateY(18px); }
.product-showcase__tile {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: clamp(14px, 1.6vw, 20px) 8px clamp(12px, 1.4vw, 16px);
    border-radius: 20px; text-align: center;
    background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: #fff; font-weight: 600; font-size: .88rem; line-height: 1.3;
    transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.product-showcase__tile img {
    width: clamp(52px, 5vw, 72px); height: clamp(52px, 5vw, 72px); object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35));
    transition: transform .3s var(--ease);
}
.product-showcase__tile:hover {
    color: #fff; transform: translateY(-6px);
    border-color: rgba(1, 219, 197, .6);
    background: linear-gradient(160deg, rgba(1, 219, 197, .18), rgba(255, 255, 255, .04));
    box-shadow: 0 18px 40px -18px rgba(1, 219, 197, .6);
}
.product-showcase__tile:hover img { transform: scale(1.08) rotate(-3deg); }
@keyframes tile-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 900px) { .product-showcase li:nth-child(even) { transform: none; } }
@media (max-width: 480px) {
    .product-showcase { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .product-showcase__tile { padding: 10px 4px; border-radius: 14px; font-size: .72rem; gap: 6px; }
}

/* home: product icons panel */
.split__media--showcase {
    aspect-ratio: auto; display: grid; place-items: center;
    padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 36px) clamp(40px, 5vw, 60px);
    background:
        radial-gradient(360px 260px at 80% 0%, rgba(0, 167, 243, .45), transparent 65%),
        radial-gradient(320px 240px at 10% 100%, rgba(1, 219, 197, .3), transparent 65%),
        linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.split__media--showcase .product-showcase { width: 100%; }

/* ---------- Inner-page hero with full-width photo ---------- */
.page-hero--bleed {
    min-height: clamp(460px, 62vh, 640px);
    display: flex; align-items: center;
    padding-block: clamp(64px, 9vw, 120px);
}
.page-hero--bleed .page-hero__inner { grid-template-columns: minmax(0, 620px); }
.page-hero__photo {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center;
    animation: hero-zoom 14s ease-out both;
}
.site[dir="rtl"] .page-hero--flip-rtl .page-hero__photo { transform: scaleX(-1); }
@keyframes hero-zoom { from { scale: 1.08; } to { scale: 1; } }
/* readable text: darken the reading side, keep the artwork bright */
.page-hero--bleed::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 3, 58, .94) 0%, rgba(5, 3, 58, .78) 34%, rgba(5, 3, 58, .25) 62%, rgba(5, 3, 58, 0) 82%),
        linear-gradient(0deg, rgba(5, 3, 58, .6) 0%, rgba(5, 3, 58, 0) 30%);
}
.site[dir="rtl"] .page-hero--bleed::before {
    background:
        linear-gradient(270deg, rgba(5, 3, 58, .94) 0%, rgba(5, 3, 58, .78) 34%, rgba(5, 3, 58, .25) 62%, rgba(5, 3, 58, 0) 82%),
        linear-gradient(0deg, rgba(5, 3, 58, .6) 0%, rgba(5, 3, 58, 0) 30%);
}
.page-hero--bleed h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); }
[dir="rtl"] .page-hero--bleed h1 { font-size: clamp(1.8rem, 1.2rem + 2.3vw, 3rem); }
@media (max-width: 760px) {
    .page-hero--bleed { min-height: 520px; align-items: flex-end; padding-bottom: 40px; }
    .page-hero__photo { background-position: 65% center; }
    .page-hero--bleed::before, .site[dir="rtl"] .page-hero--bleed::before {
        background: linear-gradient(180deg, rgba(5, 3, 58, .1) 0%, rgba(5, 3, 58, .55) 45%, rgba(5, 3, 58, .92) 100%);
    }
}
/* contact page: form overlaps the photo hero a little more */
.page-hero--bleed + .section .contact-layout { margin-top: calc(-1 * clamp(56px, 7vw, 100px)); }
@media (max-width: 900px) { .page-hero--bleed + .section .contact-layout { margin-top: 0; } }

/* ---------- Survey invitation ---------- */
.section--flush-top { padding-top: 0; }
.survey-promo {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px);
    padding: clamp(26px, 4vw, 48px);
    border-radius: 28px; color: var(--text);
    background: linear-gradient(135deg, var(--mint-50), #eef4ff);
    border: 1px solid rgba(1, 219, 197, .35);
}
.survey-promo::after {
    content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; border-radius: 50%;
    inset-inline-end: -120px; top: -160px; background: radial-gradient(closest-side, rgba(1, 219, 197, .25), transparent);
}
.survey-promo__icon {
    width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
    color: var(--navy-900); background: var(--mint-500); box-shadow: 0 12px 28px -10px rgba(1, 219, 197, .8);
}
.survey-promo__kicker { display: block; font-weight: 600; color: var(--mint-600); margin-bottom: 4px; }
.survey-promo h2 { font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2rem); margin-bottom: 8px; }
.survey-promo p { margin: 0 0 18px; max-width: 620px; }
.survey-promo__steps { list-style: none; display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; }
.survey-promo__steps li {
    position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--font-latin); font-weight: 700; font-size: .8rem;
    background: #fff; color: var(--blue-700); border: 1px solid var(--line);
}
.survey-promo__steps li + li { margin-inline-start: 14px; }
.survey-promo__steps li + li::before {
    content: ""; position: absolute; inset-inline-end: 100%; top: 50%; width: 20px; height: 2px;
    background: rgba(1, 219, 197, .5);
}
.survey-promo__steps .survey-promo__done { background: var(--mint-500); border-color: var(--mint-500); color: var(--navy-900); }
.survey-promo__action { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.survey-promo__action small { color: var(--muted); font-size: .8rem; }

.survey-promo--compact { padding: 20px 26px; margin-bottom: clamp(40px, 5vw, 64px); grid-template-columns: auto 1fr auto; }
.survey-promo--compact .survey-promo__icon { width: 54px; height: 54px; border-radius: 16px; }
.survey-promo--compact h2 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); margin: 0; }

@media (max-width: 860px) {
    .survey-promo, .survey-promo--compact { grid-template-columns: 1fr; text-align: start; }
    .survey-promo__action { align-items: stretch; }
    .survey-promo__steps li + li { margin-inline-start: 8px; }
    .survey-promo__steps li + li::before { width: 10px; }
}
.site-footer__col a.site-footer__highlight { color: var(--mint-500); font-weight: 600; }

/* ---------- Brand name highlight ---------- */
.brand-name { color: var(--mint-500); font-weight: 600; }
.split__text .brand-name, .section .brand-name { color: var(--mint-600); }

/* ---------- Stats: color + count-up ---------- */
.stats--hero dd { color: var(--mint-500); text-shadow: 0 0 24px rgba(1, 219, 197, .35); font-variant-numeric: tabular-nums; }
.stats--hero dt { color: rgba(255, 255, 255, .85); }
.stats--hero .stats__item { position: relative; }
.stats--hero .stats__item::after {
    content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; margin-top: 10px;
    background: var(--mint-500); opacity: .7; order: 3;
    transition: width .6s var(--ease);
}
.stats--hero .stats__item:hover::after { width: 56px; }
.stats--light dd { color: var(--mint-600); font-variant-numeric: tabular-nums; }
.stats dd.is-counted { animation: stat-pop .45s var(--ease); }
@keyframes stat-pop { 50% { transform: scale(1.08); } }

/* =====================================================================
   DIGITAL MATURITY ASSESSMENT (/dt-assessment + DT page)
   --dim / --dim-l are set inline from Models/Assessment.cs
   ===================================================================== */

/* DT page: dimension cards pick up their dimension colour */
.card--dim::before {
    content: ""; position: absolute; inset-inline: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
    background: var(--dim);
}
.card--dim:hover .card__index { color: var(--dim); }

/* DT page: invitation card shows the five dimensions instead of numbered steps */
.assess-promo .survey-promo__steps { flex-wrap: wrap; row-gap: 10px; }
.assess-promo .survey-promo__steps li:not(.survey-promo__done) {
    width: auto; padding: 0 12px; border-radius: 999px;
    font-family: inherit; font-weight: 600; font-size: .78rem; white-space: nowrap;
    color: var(--dim); border-color: color-mix(in srgb, var(--dim) 35%, transparent);
}

/* page */
.assess-page { min-height: 72vh; background: var(--surface); padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.assess { max-width: 780px; }
.assess__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.assess__back-ico { rotate: 180deg; }
.assess__card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: clamp(22px, 4vw, 44px);
}
.assess__kicker { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.assess__link {
    display: block; margin: 22px auto 0; padding: 4px 8px; border: 0; background: none; cursor: pointer;
    color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px;
}
.assess__link:hover { color: var(--blue-700); }

/* intro */
.assess-intro h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); margin-bottom: 12px; }
[dir="rtl"] .assess-intro h1 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); }
.assess-intro .lead { color: var(--text); margin-bottom: 20px; }
.assess-pills, .assess-dims { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.assess-pills { margin-bottom: 18px; }
.assess-pills li { padding: 5px 14px; border-radius: 999px; background: var(--surface); color: var(--text); font-size: .88rem; }
.assess-dims { margin-bottom: 30px; }
.assess-dims li {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
    background: var(--dim-l); color: var(--dim); font-size: .85rem; font-weight: 600;
}
.assess-dims li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }

/* question */
.assess-q__top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.assess-q__tag { padding: 4px 12px; border-radius: 999px; background: var(--dim-l); color: var(--dim); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.assess-q__bar { flex: 1 1 140px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.assess-q__bar i { display: block; height: 100%; border-radius: inherit; background: var(--dim); transition: width .4s var(--ease); }
.assess-q__count { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.assess-q__text { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.5; min-height: 3em; margin-bottom: 24px; }
[dir="rtl"] .assess-q__text { line-height: 1.7; }
.assess-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 14px; }
.assess-scale__btn {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 16px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
    color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--ease);
}
.assess-scale__btn:hover { border-color: var(--mint-500); transform: translateY(-2px); }
.assess-scale__btn.is-on { border-color: var(--mint-500); background: var(--mint-50); box-shadow: 0 0 0 3px rgba(1, 219, 197, .2); }
.assess-scale__num { font-family: var(--font-latin); font-size: 1.25rem; font-weight: 700; line-height: 1; }
.assess-scale__lab { font-size: .76rem; color: var(--muted); line-height: 1.3; text-align: center; }
.assess-scale__btn.is-on .assess-scale__lab { color: var(--mint-600); font-weight: 600; }
.assess-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
@media (max-width: 520px) {
    .assess-scale { gap: 6px; }
    .assess-scale__btn { padding: 12px 2px; }
    .assess-scale__lab { font-size: .66rem; }
}

/* contact gate */
.assess-contact > h2 { text-align: center; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.assess-contact > .muted { text-align: center; max-width: 520px; margin: 0 auto 26px; }
.assess-contact .form-success__icon { margin-bottom: 14px; }

/* results */
.assess-res h3 { font-size: 1.05rem; margin: 30px 0 14px; }
.assess-res__top { display: flex; align-items: center; gap: clamp(16px, 4vw, 36px); flex-wrap: wrap; }
.assess-radar { width: 270px; max-width: 100%; height: auto; flex-shrink: 0; overflow: visible; }
.assess-radar__label { font-size: 12px; font-weight: 600; font-family: var(--font); }
.assess-res__score { flex: 1 1 240px; }
.assess-res__label { margin: 0 0 4px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.assess-res__num { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.assess-res__num > span:first-child { font-family: var(--font-latin); font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem); font-weight: 700; line-height: 1; color: var(--ink); }
.assess-res__badge { padding: 5px 14px; border-radius: 999px; font-size: .9rem; font-weight: 700; }
.assess-res__score p:last-child { margin: 0; color: var(--text); }
.assess-res__weak { font-weight: 700; }
.assess-bars { list-style: none; display: grid; gap: 10px; padding: 0; }
.assess-bars li { display: grid; grid-template-columns: minmax(120px, 230px) 1fr 44px; align-items: center; gap: 12px; }
.assess-bars__label { font-size: .88rem; color: var(--text); line-height: 1.35; }
.assess-bars__track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.assess-bars__track i { display: block; height: 100%; border-radius: inherit; background: var(--dim); }
.assess-bars__pct { font-family: var(--font-latin); font-size: .88rem; font-weight: 600; color: var(--ink); text-align: end; }
@media (max-width: 520px) {
    .assess-bars li { grid-template-columns: 1fr 44px; row-gap: 4px; }
    .assess-bars__label { grid-column: 1 / -1; }
}
.assess-recs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.assess-recs__card { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.assess-recs__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: var(--dim-l); color: var(--dim); }
.assess-recs__card h4 { font-size: 1rem; margin-bottom: 4px; }
.assess-recs__card p { margin: 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .assess-recs { grid-template-columns: 1fr; } }
.assess-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
    margin-top: 28px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--mint-50), #eef4ff); border: 1px solid rgba(1, 219, 197, .35);
}
.assess-cta > div { flex: 1 1 280px; }
.assess-cta h3 { margin: 0 0 6px; }
.assess-cta p { margin: 0; }
@media (max-width: 560px) { .assess-cta .btn { width: 100%; } }

/* =====================================================================
   PRODUCT PAGES — Bookra (/bookra) and the Logic hero mock (/logic)
   Ported from the Bookra product site (bookra.cloud) so both read the same.
   ===================================================================== */

/* hero visual: coded app mock + floating chips */
.bk-visual { position: relative; min-width: 0; padding-bottom: 34px; }
.page-hero--bookra .page-hero__inner, .page-hero--logic .page-hero__inner { grid-template-columns: 1fr 1.05fr; }
.bk-stats { margin-top: 36px; max-width: 620px; }
.app-mock {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    background: #fff; color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .04);
    font-size: 12px; line-height: 1.4; min-width: 0;
}
.app-mock__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.app-mock__dots { display: flex; gap: 5px; }
.app-mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d6dbea; }
.app-mock__title { font-weight: 700; color: var(--navy-900); margin-inline-start: 6px; }
.app-mock__tabs { margin-inline-start: auto; display: flex; gap: 4px; }
.app-mock__tabs span { padding: 3px 9px; border-radius: 7px; color: var(--muted); font-weight: 600; font-size: 11px; }
.app-mock__tabs span.on { background: var(--navy-900); color: #fff; }
.app-mock__body { display: grid; grid-template-columns: 44px repeat(4, 1fr); }
.app-mock__head { display: contents; }
.app-mock__head > div { padding: 8px 6px; text-align: center; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); background: #fff; }
.app-mock__head > div small { display: block; color: var(--muted); font-weight: 500; font-size: 10px; font-family: var(--font-latin); }
.app-mock__head > div.today { color: var(--blue-700); }
.app-mock__times { grid-column: 1; display: grid; grid-template-rows: repeat(6, 46px); }
.app-mock__times span { color: var(--muted); font-size: 10px; text-align: center; padding-top: 2px; border-top: 1px solid var(--line); font-family: var(--font-latin); }
.app-mock__col { position: relative; display: grid; grid-template-rows: repeat(6, 46px); border-inline-start: 1px solid var(--line); }
.app-mock__col > i { border-top: 1px solid var(--line); }
.appt {
    position: absolute; inset-inline: 4px; border-radius: 8px; padding: 5px 7px; font-size: 10.5px; font-weight: 600; overflow: hidden;
    border-inline-start: 3px solid currentColor; background: color-mix(in srgb, currentColor 12%, white);
}
.appt b { color: var(--ink); font-weight: 700; display: block; }
.appt small { display: block; font-weight: 500; opacity: .8; font-size: 9.5px; color: var(--text); font-family: var(--font-latin); }
.appt--blue { color: var(--blue-600); }
.appt--mint { color: var(--mint-600); }
.appt--orange { color: var(--orange-500); }
.appt--purple { color: var(--purple-500); }
.appt--sky { color: var(--sky-500); }

.float-chip {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--ink);
    box-shadow: var(--shadow-lg); font-size: 12.5px; font-weight: 600; line-height: 1.3;
    animation: floaty 6s ease-in-out infinite;
}
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.float-chip__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-chip--wa { inset-inline-start: -18px; bottom: 0; }
.float-chip--wa .float-chip__ico { background: #e7f9ee; color: #1fa855; }
.float-chip--pay { inset-inline-end: -14px; bottom: 0; animation-delay: -3s; }
.float-chip--pay .float-chip__ico { background: var(--mint-50); color: var(--mint-600); }
.float-chip--org .float-chip__ico { background: #fff1e8; color: #c55a12; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* industries strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__inner { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; justify-content: center; padding-block: 22px; }
.strip__label { color: var(--muted); font-size: .9rem; font-weight: 500; }
.strip__item { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.strip__item .ico { color: var(--blue-600); }

/* card bullet list */
.card__list { list-style: none; margin-top: 16px; display: grid; gap: 6px; font-size: .9rem; }
.card__list li { display: flex; gap: 8px; align-items: flex-start; }
.card__list li::before { content: ""; width: 6px; height: 6px; margin-top: .65em; border-radius: 50%; background: var(--mint-500); flex-shrink: 0; }

/* specialty rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 104px); }
.feature-row--flip .feature-row__media { order: -1; }
.feature-row__text { min-width: 0; }
.feature-row__text h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.feature-row__text > p { color: var(--text); font-size: 1.02rem; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 22px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink); font-weight: 500; }
.checks .ico { color: var(--mint-600); margin-top: .25em; flex-shrink: 0; }
.feature-row__media {
    min-width: 0; position: relative; border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 32px);
    background: linear-gradient(135deg, #eef3ff, var(--mint-50)); border: 1px solid var(--line);
}
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; font-size: 13px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.panel__head small { color: var(--muted); font-weight: 500; }
.panel__body { padding: 14px 16px; }

.rx { width: 100%; border-collapse: collapse; font-family: var(--font-latin); direction: ltr; }
.rx th, .rx td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.rx th { color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.rx td:first-child { font-weight: 700; color: var(--navy-900); text-align: start; }
.rx tr:last-child td { border-bottom: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--ink); }
.tag--mint { background: var(--mint-50); border-color: rgba(1, 219, 197, .4); color: #037a6e; }

.teeth { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; direction: ltr; }
.teeth + .teeth { margin-top: 6px; }
.tooth {
    aspect-ratio: 1 / 1.15; border-radius: 9px 9px 12px 12px; border: 1.5px solid var(--line); background: #fff;
    display: grid; place-items: center; font-family: var(--font-latin); font-weight: 700; font-size: 11px; color: var(--muted);
}
.tooth--caries { background: #fff1e8; border-color: var(--orange-500); color: #c55a12; }
.tooth--filled { background: #eaf0ff; border-color: var(--blue-600); color: var(--blue-700); }
.tooth--crown { background: #f1eefb; border-color: var(--purple-500); color: var(--purple-500); }
.tooth--missing { background: repeating-linear-gradient(45deg, #f5f7fc, #f5f7fc 4px, #e9ecf5 4px, #e9ecf5 8px); color: #b2b9d1; border-style: dashed; }
.tooth--sel { box-shadow: 0 0 0 3px rgba(1, 219, 197, .35); border-color: var(--mint-500); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 11.5px; color: var(--text); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid; }
.legend__caries { border-color: var(--orange-500) !important; background: #fff1e8; }
.legend__filled { border-color: var(--blue-600) !important; background: #eaf0ff; }
.legend__crown { border-color: var(--purple-500) !important; background: #f1eefb; }
.legend__missing { border-color: #b2b9d1 !important; border-style: dashed !important; }
.plan { margin-top: 14px; display: grid; gap: 8px; }
.plan__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--surface); font-weight: 600; color: var(--ink); font-size: 12.5px; }
.status { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status--prog { background: #fff1e8; color: #c55a12; }
.status--plan { background: #eaf0ff; color: var(--blue-700); }
.status--done { background: var(--mint-50); color: #037a6e; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 12px; background: var(--surface); min-width: 0; }
.kpi small { color: var(--muted); font-size: 11px; display: block; }
.kpi b { font-family: var(--font-latin); font-size: 1.25rem; color: var(--navy-900); display: block; line-height: 1.3; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--mint-600); font-family: var(--font-latin); }
.kpi em.kpi__down { color: var(--orange-500); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 16px; padding-top: 6px; border-bottom: 1px solid var(--line); direction: ltr; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--sky-500), var(--blue-600)); opacity: .85; }
.bars i.hi { background: linear-gradient(180deg, var(--mint-500), var(--mint-600)); opacity: 1; }
.bars-x { display: flex; gap: 8px; direction: ltr; margin-top: 6px; margin-bottom: 14px; }
.bars-x span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); font-family: var(--font-latin); }
.wait { display: grid; gap: 8px; }
.wait__row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink); font-weight: 600; }
.wait__row small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.wait__av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; font-family: var(--font-latin); }
.wait__av--blue { background: var(--blue-600); }
.wait__av--mint { background: var(--mint-600); }
.wait__min { margin-inline-start: auto; font-weight: 700; color: var(--orange-500); white-space: nowrap; }

/* workflow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.flow::before { content: ""; position: absolute; top: 28px; inset-inline: 10%; height: 2px; background: linear-gradient(90deg, var(--mint-500), var(--sky-500), var(--blue-600)); opacity: .35; }
.flow__step { position: relative; text-align: center; padding: 0 6px; }
.flow__num {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 2px solid var(--mint-500); color: var(--navy-900); font-family: var(--font-latin); font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 0 0 6px #fff;
}
.flow__step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow__step p { font-size: .9rem; margin: 0; color: var(--muted); }

/* dark highlights band */
.band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, .75); }
.band .section-head h2 { color: #fff; }
.band .section-head .lead { color: rgba(255, 255, 255, .65); }
.band__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 380px at 15% 0%, rgba(1, 219, 197, .18), transparent 60%), radial-gradient(700px 420px at 90% 100%, rgba(0, 167, 243, .22), transparent 60%); }
.hl { padding: 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.hl:hover { background: rgba(255, 255, 255, .08); border-color: rgba(1, 219, 197, .45); transform: translateY(-4px); }
.hl__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(1, 219, 197, .12); color: var(--mint-500); margin-bottom: 16px; }
.hl h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.hl p { margin: 0; font-size: .92rem; }
.cta-band--spaced { padding-top: clamp(64px, 8vw, 112px); }

/* Logic hero mock */
.lg-logo { width: 22px; height: 22px; object-fit: contain; border-radius: 6px; }
.lg-body { padding: 14px 16px 16px; }
.lg-period { font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.lg-chart .bars { height: 96px; margin-top: 12px; }
.lg-chart .bars i.hi { background: linear-gradient(180deg, #ffb36b, var(--orange-500)); }
.lg-tb { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lg-tb__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--surface); font-weight: 700; color: var(--ink); }
.lg-cur { display: flex; gap: 4px; }
.lg-cur b { padding: 2px 7px; border-radius: 6px; font-size: 10px; font-family: var(--font-latin); background: #fff; border: 1px solid var(--line); color: var(--muted); }
.lg-cur b:first-child { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.lg-tb__row { display: grid; grid-template-columns: 1fr 88px 88px; gap: 8px; padding: 7px 12px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.lg-tb__row span[dir="ltr"] { font-family: var(--font-latin); text-align: end; color: var(--text); font-weight: 500; }

@media (max-width: 1080px) {
    .float-chip--wa { inset-inline-start: 8px; }
    .float-chip--pay { inset-inline-end: 8px; }
}
@media (max-width: 960px) {
    .page-hero--bookra .page-hero__inner, .page-hero--logic .page-hero__inner { grid-template-columns: 1fr; }
    .feature-row { grid-template-columns: 1fr; }
    .feature-row--flip .feature-row__media { order: 0; }
    .flow { grid-template-columns: 1fr; gap: 20px; }
    .flow::before { inset-inline: auto; inset-inline-start: 27px; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--mint-500), var(--blue-600)); }
    .flow__step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: start; padding: 0; }
    .flow__num { grid-row: span 2; margin: 0; }
    .flow__step h3 { align-self: end; margin-bottom: 2px; }
}
@media (max-width: 640px) {
    .bk-visual { padding-bottom: 0; }
    .checks { grid-template-columns: 1fr; }
    .app-mock__body { grid-template-columns: 36px repeat(3, 1fr); }
    .app-mock__col:last-child, .app-mock__head > div:last-child { display: none; }
    .app-mock__tabs span:not(.on) { display: none; }
    .float-chip { display: none; }
    .kpis { grid-template-columns: 1fr 1fr; }
    .kpis .kpi:last-child { grid-column: span 2; }
    .lg-tb__row { grid-template-columns: 1fr 76px 76px; font-size: 11px; }
}
.lg-visual { padding-bottom: 50px; }
@media (max-width: 640px) { .lg-visual { padding-bottom: 0; } }
.section-head h2, .feature-row__text h2, .page-hero h1 { text-wrap: balance; }

/* Logic hero: 3D-tilted product icon */
.lg-icon3d { --ry: -20deg; position: relative; display: grid; place-items: center; perspective: 1100px; padding-block: 24px 40px; }
[dir="rtl"] .lg-icon3d { --ry: 20deg; }
.lg-icon3d::before {
    content: ""; position: absolute; inset: 8% 12%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 140, 40, .45), transparent 70%); filter: blur(30px);
}
.lg-icon3d::after {
    content: ""; position: absolute; bottom: 6px; width: 58%; height: 26px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(6px);
}
.lg-icon3d__img {
    width: min(100%, 470px); height: auto;
    transform: rotateY(var(--ry)) rotateX(12deg) rotateZ(-2deg);
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)) drop-shadow(0 0 1px rgba(255, 255, 255, .3));
}
@media (max-width: 960px) { .lg-icon3d__img { width: min(80%, 360px); } }

/* Softer variant for Logic Maintenance / Logic CRM: light tilt so the artwork stays sharp */
.lg-icon3d--soft { --ry: -9deg; padding-block: 8px 28px; }
[dir="rtl"] .lg-icon3d--soft { --ry: 9deg; }
.lg-icon3d--soft::before { inset: 14% 18%; background: radial-gradient(closest-side, rgba(255, 140, 40, .28), transparent 70%); filter: blur(40px); }
.lg-icon3d--soft::after { width: 52%; height: 20px; bottom: 10px; opacity: .7; }
.lg-icon3d--soft .lg-icon3d__img { width: min(100%, 440px); transform: rotateY(var(--ry)) rotateX(4deg); filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35)); backface-visibility: hidden; }
.page-hero__custom:has(.lg-icon3d--soft)::before { display: none; }
@media (max-width: 960px) { .lg-icon3d--soft .lg-icon3d__img { width: min(78%, 360px); } }
