/* =========================================================================
   POMELO HOME — INDUSTRIES SECTION (services-page card aesthetic)
   Class system: .in-section / .in-* / .vis-*
   Each card has a bespoke CSS-animated mockup in the .in-card-vis area.
   ========================================================================= */

.in-section {
    --in-bg: #050507;
    --in-bg-soft: #0a0a0e;
    --in-bg-card: #0d0d12;
    --in-bg-vis: #060608;
    --in-ink: #fafafa;
    --in-ink-dim: rgba(250, 250, 250, .62);
    --in-ink-mute: rgba(250, 250, 250, .42);
    --in-line: rgba(255, 255, 255, .08);
    --in-line-strong: rgba(255, 255, 255, .14);
    --in-orange: #ff9201;
    --in-orange-soft: #ffb84d;
    --in-orange-deep: #ff7849;
    --in-cyan: #00b1e1;
    --in-grad: linear-gradient(135deg, #ff9201 0%, #ffb84d 50%, #ff7849 100%);

    position: relative;
    padding: 140px 6vw 160px;
    background: var(--in-bg);
    color: var(--in-ink);
    overflow: hidden;
    isolation: isolate;
}

body:not(.dark-mode) .in-section {
    --in-bg: #faf8f3;
    --in-bg-soft: #f3eee3;
    --in-bg-card: #fff;
    --in-bg-vis: #faf6ed;
    --in-ink: #14110d;
    --in-ink-dim: rgba(20, 17, 13, .65);
    --in-ink-mute: rgba(20, 17, 13, .42);
    --in-line: rgba(20, 17, 13, .08);
    --in-line-strong: rgba(20, 17, 13, .16);
}

/* --- AMBIENT LIGHT --------------------------------------------- */
.in-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.in-blob { position: absolute; border-radius: 50%; filter: blur(140px); opacity: .28; will-change: transform; }
.in-blob.b1 {
    width: 540px; height: 540px; left: -120px; top: 8%;
    background: radial-gradient(circle, var(--in-orange) 0%, transparent 65%);
    animation: inBlob1 34s ease-in-out infinite;
}
.in-blob.b2 {
    width: 480px; height: 480px; right: -100px; bottom: 6%;
    background: radial-gradient(circle, var(--in-cyan) 0%, transparent 65%);
    animation: inBlob2 38s ease-in-out infinite;
}
body:not(.dark-mode) .in-blob { opacity: .18; }
@keyframes inBlob1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, 40px) scale(1.08); } }
@keyframes inBlob2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, -50px) scale(1.1); } }

.in-grid-bg {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image: radial-gradient(circle, var(--in-line) 1px, transparent 1.2px);
    background-size: 32px 32px;
    opacity: .5;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
}

/* --- HEADER ---------------------------------------------------- */
.in-head {
    position: relative; z-index: 2;
    max-width: 1180px; margin: 0 auto 70px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.in-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 10px; border-radius: 100px;
    background: rgba(255, 146, 1, .08); border: 1px solid rgba(255, 146, 1, .25);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--in-orange); margin-bottom: 28px;
    opacity: 0; transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}
.in-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--in-orange); box-shadow: 0 0 10px var(--in-orange); animation: inPulse 2s ease-in-out infinite; }
@keyframes inPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.78); } }
.in-head.is-in .in-tag { opacity: 1; transform: translateY(0); }

.in-h {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900; font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: .9; letter-spacing: -.045em;
    margin: 0 0 30px; color: var(--in-ink);
}
.in-h .in-line { display: block; opacity: 0; transform: translateY(60px); transition: opacity .9s cubic-bezier(.2,.85,.25,1), transform .9s cubic-bezier(.2,.85,.25,1); }
.in-h .in-line.grad { background: var(--in-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.in-head.is-in .in-h .in-line { opacity: 1; transform: translateY(0); }
.in-head.is-in .in-h .in-line:nth-child(1) { transition-delay: .1s; }
.in-head.is-in .in-h .in-line:nth-child(2) { transition-delay: .25s; }
.in-head.is-in .in-h .in-line:nth-child(3) { transition-delay: .4s; }

.in-sub {
    font-family: 'Montserrat', sans-serif; font-weight: 400;
    font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.65;
    color: var(--in-ink-dim); max-width: 720px; margin: 0 auto;
    opacity: 0; transform: translateY(20px);
    transition: opacity .9s ease .55s, transform .9s ease .55s;
}
.in-head.is-in .in-sub { opacity: 1; transform: translateY(0); }

/* --- GRID ------------------------------------------------------ */
.in-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
    max-width: 1320px; margin: 0 auto;
}

/* --- CARD ------------------------------------------------------ */
.in-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 32px 30px 28px;
    background: var(--in-bg-card);
    border: 1px solid var(--in-line);
    border-radius: 20px;
    text-decoration: none; color: inherit;
    overflow: hidden; isolation: isolate;
    opacity: 0; transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.2,.85,.25,1),
                transform .8s cubic-bezier(.2,.85,.25,1),
                border-color .45s, box-shadow .45s, background .45s;
    will-change: transform;
}
.in-card.is-in { opacity: 1; transform: translateY(0); }
.in-card.is-in:nth-child(1) { transition-delay: .05s; }
.in-card.is-in:nth-child(2) { transition-delay: .15s; }
.in-card.is-in:nth-child(3) { transition-delay: .25s; }
.in-card.is-in:nth-child(4) { transition-delay: .35s; }
.in-card.is-in:nth-child(5) { transition-delay: .45s; }
.in-card.is-in:nth-child(6) { transition-delay: .55s; }

body:not(.dark-mode) .in-card { box-shadow: 0 12px 32px rgba(20, 17, 13, .04); }

/* Top gradient bar draws on hover */
.in-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    height: 2px; width: 0;
    background: var(--in-grad);
    transition: width .7s cubic-bezier(.6,0,.2,1);
    z-index: 3;
}
.in-card:hover::before { width: 100%; }
body.rtl .in-card::before { left: auto; right: 0; }

/* Soft hover glow */
.in-card::after {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(255, 146, 1, .14) 0%, transparent 70%);
    opacity: 0; transition: opacity .55s;
    border-radius: 50%; pointer-events: none; z-index: 0;
}
body.rtl .in-card::after { right: auto; left: -60px; }
.in-card:hover::after { opacity: 1; }

/* Card meta row (eyebrow + status pill) */
.in-card-meta {
    position: relative; z-index: 2;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
}
.in-card-eyebrow { color: var(--in-ink-mute); }
.in-card-pill {
    padding: 5px 11px;
    border-radius: 100px;
    border: 1px solid var(--in-line-strong);
    color: var(--in-ink-dim);
    font-size: 9px; letter-spacing: .22em;
}

/* Two-tone title */
.in-card-title {
    position: relative; z-index: 2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 1.9vw, 1.85rem);
    letter-spacing: -.022em; line-height: 1.05;
    margin: 0 0 14px;
    color: var(--in-ink);
}
.in-card-title .grad {
    background: var(--in-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

.in-card-desc {
    position: relative; z-index: 2;
    font-family: 'Montserrat', sans-serif; font-weight: 400;
    font-size: .92rem; line-height: 1.55;
    color: var(--in-ink-dim);
    margin: 0 0 22px;
    min-height: 4.5em;
}

/* Bespoke visual area */
.in-card-vis {
    position: relative; z-index: 2;
    flex: 1 1 auto;
    background: var(--in-bg-vis);
    border: 1px solid var(--in-line);
    border-radius: 14px;
    padding: 16px;
    height: 200px;
    overflow: hidden;
    display: flex; flex-direction: column; gap: 12px;
    transition: border-color .45s, background .45s;
}
.in-card:hover .in-card-vis { border-color: var(--in-line-strong); }

.in-card-enter {
    position: relative; z-index: 2;
    margin-top: 18px;
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
    color: var(--in-ink-dim);
    transition: color .35s;
    align-self: flex-start;
}
.in-card-enter::after {
    content: '→'; transition: transform .35s;
    display: inline-block;
}
body.rtl .in-card-enter::after { content: '←'; }
.in-card:hover .in-card-enter { color: var(--in-orange); }
.in-card:hover .in-card-enter::after { transform: translateX(4px); }
body.rtl .in-card:hover .in-card-enter::after { transform: translateX(-4px); }

.in-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 146, 1, .35);
    box-shadow: 0 28px 60px rgba(255, 146, 1, .15),
                0 0 0 1px rgba(255, 146, 1, .12);
}
body:not(.dark-mode) .in-card:hover {
    box-shadow: 0 24px 50px rgba(255, 146, 1, .14),
                0 0 0 1px rgba(255, 146, 1, .2);
}

/* ====================================================================
   BESPOKE PER-CARD VISUALS
   ==================================================================== */

.in-vis-head {
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--in-ink-mute);
}
.in-vis-head .live, .in-vis-head .delta {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--in-orange);
}
.in-vis-head .live i {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--in-orange);
    box-shadow: 0 0 8px var(--in-orange);
    animation: inPulse 1.4s ease-in-out infinite;
}

.in-vis-foot {
    display: flex; align-items: baseline; gap: 8px;
    margin-top: auto; padding-top: 8px;
    font-family: 'Montserrat', sans-serif;
}
.in-vis-foot b {
    font-weight: 900; font-size: 1.35rem;
    letter-spacing: -.02em; color: var(--in-ink);
}
.in-vis-foot span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--in-ink-mute);
}

/* --- 1. RESTAURANTS & F&B — reservation grid ----------------- */
.vis-fnb-slots {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    flex: 1 1 auto;
}
.vis-fnb-slots i {
    background: rgba(255, 255, 255, .04);
    border-radius: 4px;
    aspect-ratio: 1;
    animation: vfbFill 6s ease-in-out infinite;
}
body:not(.dark-mode) .vis-fnb-slots i { background: rgba(20, 17, 13, .05); }
.vis-fnb-slots i:nth-child(1) { animation-delay: 0s; }
.vis-fnb-slots i:nth-child(2) { animation-delay: .15s; }
.vis-fnb-slots i:nth-child(3) { animation-delay: .3s; }
.vis-fnb-slots i:nth-child(4) { animation-delay: .45s; }
.vis-fnb-slots i:nth-child(5) { animation-delay: .6s; }
.vis-fnb-slots i:nth-child(6) { animation-delay: .75s; }
.vis-fnb-slots i:nth-child(7) { animation-delay: .9s; }
.vis-fnb-slots i:nth-child(8) { animation-delay: 1.05s; }
.vis-fnb-slots i:nth-child(9) { animation-delay: 1.2s; }
.vis-fnb-slots i:nth-child(10) { animation-delay: 1.35s; }
.vis-fnb-slots i:nth-child(11) { animation-delay: 1.5s; }
.vis-fnb-slots i:nth-child(12) { animation-delay: 1.65s; }
.vis-fnb-slots i:nth-child(13) { animation-delay: 1.8s; }
.vis-fnb-slots i:nth-child(14) { animation-delay: 1.95s; }
.vis-fnb-slots i:nth-child(15) { animation-delay: 2.1s; }
.vis-fnb-slots i:nth-child(16) { animation-delay: 2.25s; }
.vis-fnb-slots i:nth-child(17) { animation-delay: 2.4s; }
.vis-fnb-slots i:nth-child(18) { animation-delay: 2.55s; }

@keyframes vfbFill {
    0%, 8% { background: rgba(255, 255, 255, .04); transform: scale(1); }
    18%, 88% { background: var(--in-orange); transform: scale(1.02); box-shadow: 0 0 12px rgba(255, 146, 1, .35); }
    100% { background: rgba(255, 255, 255, .04); transform: scale(1); box-shadow: none; }
}

/* --- 2. BEAUTY — shade library ------------------------------- */
.vis-beauty-row {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
    flex: 1 1 auto; align-items: center;
}
.vis-beauty-row i {
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--c, #d4798f);
    box-shadow: inset 0 4px 8px rgba(255, 255, 255, .15),
                inset 0 -4px 8px rgba(0, 0, 0, .25);
    position: relative;
    transition: transform .4s;
}
.vis-beauty-row i::after {
    content: '';
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--in-orange);
    opacity: 0;
    animation: vbyActive 5.4s ease-in-out infinite;
}
.vis-beauty-row i:nth-child(1)::after { animation-delay: 0s; }
.vis-beauty-row i:nth-child(2)::after { animation-delay: .9s; }
.vis-beauty-row i:nth-child(3)::after { animation-delay: 1.8s; }
.vis-beauty-row i:nth-child(4)::after { animation-delay: 2.7s; }
.vis-beauty-row i:nth-child(5)::after { animation-delay: 3.6s; }
.vis-beauty-row i:nth-child(6)::after { animation-delay: 4.5s; }
@keyframes vbyActive {
    0%, 2% { opacity: 0; transform: scale(.92); }
    8%, 14% { opacity: 1; transform: scale(1); }
    18%, 100% { opacity: 0; transform: scale(1.06); }
}

/* --- 3. AUTOMOTIVE — CPL drop chart (Chery campaign data) ---- */
.vis-cpl {
    flex: 1 1 auto;
    display: flex; flex-direction: column;
    gap: 6px;
}
.vis-cpl-bars {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    align-items: end;
    min-height: 0;
}
.vis-cpl-bars i {
    position: relative;
    height: 0;
    background: var(--in-grad);
    border-radius: 3px 3px 1px 1px;
    transition: height 1.5s cubic-bezier(.2, .85, .25, 1);
    box-shadow: 0 -8px 18px rgba(255, 146, 1, .25);
}
.in-card.is-in .vis-cpl-bars i { height: var(--h); }
.in-card.is-in .vis-cpl-bars i:nth-child(1) { transition-delay: .7s; }
.in-card.is-in .vis-cpl-bars i:nth-child(2) { transition-delay: .9s; }
.in-card.is-in .vis-cpl-bars i:nth-child(3) { transition-delay: 1.1s; }
.in-card.is-in .vis-cpl-bars i:nth-child(4) { transition-delay: 1.3s; }
.in-card.is-in .vis-cpl-bars i:nth-child(5) { transition-delay: 1.5s; }

/* Endpoint dollar tags floating above first + last bar */
.vis-cpl-bars i::after {
    content: attr(data-tag);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -2px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: .04em;
    color: var(--in-orange);
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .5s 2s;
}
.in-card.is-in .vis-cpl-bars i::after { opacity: 1; }

.vis-cpl-months {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    padding-top: 6px;
    border-top: 1px solid var(--in-line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--in-ink-mute);
    text-align: center;
}
/* Highlight first + last month labels */
.vis-cpl-months span:first-child,
.vis-cpl-months span:last-child {
    color: var(--in-orange);
    font-weight: 700;
}

/* --- 4. TV & MEDIA — equalizer bars -------------------------- */
.vis-tv-bars {
    flex: 1 1 auto;
    display: flex; align-items: flex-end; gap: 4px;
    padding: 4px 0;
}
.vis-tv-bars i {
    flex: 1;
    background: var(--in-grad);
    border-radius: 2px;
    min-height: 4px;
    animation: vtvBar 1.3s ease-in-out infinite;
    transform-origin: bottom;
}
.vis-tv-bars i:nth-child(1)  { animation-delay: 0s;    }
.vis-tv-bars i:nth-child(2)  { animation-delay: .07s;  }
.vis-tv-bars i:nth-child(3)  { animation-delay: .14s;  }
.vis-tv-bars i:nth-child(4)  { animation-delay: .21s;  }
.vis-tv-bars i:nth-child(5)  { animation-delay: .28s;  }
.vis-tv-bars i:nth-child(6)  { animation-delay: .35s;  }
.vis-tv-bars i:nth-child(7)  { animation-delay: .42s;  }
.vis-tv-bars i:nth-child(8)  { animation-delay: .49s;  }
.vis-tv-bars i:nth-child(9)  { animation-delay: .56s;  }
.vis-tv-bars i:nth-child(10) { animation-delay: .63s;  }
.vis-tv-bars i:nth-child(11) { animation-delay: .70s;  }
.vis-tv-bars i:nth-child(12) { animation-delay: .77s;  }
.vis-tv-bars i:nth-child(13) { animation-delay: .84s;  }
.vis-tv-bars i:nth-child(14) { animation-delay: .91s;  }
.vis-tv-bars i:nth-child(15) { animation-delay: .98s;  }
.vis-tv-bars i:nth-child(16) { animation-delay: 1.05s; }
@keyframes vtvBar {
    0%, 100% { transform: scaleY(.15); opacity: .55; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* --- 5. SMEs & RETAIL — daily dashboard ---------------------- */
.vis-sme-rows {
    flex: 1 1 auto;
    display: flex; flex-direction: column; justify-content: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
}
.vis-sme-row {
    display: grid; grid-template-columns: 1fr auto;
    align-items: center; gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--in-line);
}
.vis-sme-row:last-child { border-bottom: none; }
.vis-sme-row .vs-l {
    font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--in-ink-mute);
}
.vis-sme-row .vs-r {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; font-size: 1.05rem;
    letter-spacing: -.015em; color: var(--in-ink);
}
.vis-sme-bar {
    height: 4px; border-radius: 100px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden; position: relative;
    margin-top: 4px;
}
body:not(.dark-mode) .vis-sme-bar { background: rgba(20, 17, 13, .08); }
.vis-sme-bar i {
    display: block; height: 100%;
    background: var(--in-grad);
    border-radius: 100px;
    transform-origin: left;
    animation: vsBar 3.6s ease-in-out infinite;
}
body.rtl .vis-sme-bar i { transform-origin: right; }
@keyframes vsBar {
    0% { transform: scaleX(.1); }
    50% { transform: scaleX(.82); }
    100% { transform: scaleX(.1); }
}

/* --- 6. E-COMMERCE — funnel ---------------------------------- */
.vis-ecom-rows {
    flex: 1 1 auto;
    display: flex; flex-direction: column; gap: 12px;
    justify-content: center;
}
.vis-ecom-row {
    display: grid; grid-template-columns: 70px 1fr 52px;
    align-items: center; gap: 10px;
}
body.rtl .vis-ecom-row { grid-template-columns: 52px 1fr 70px; }
.vis-ecom-row .ve-l {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--in-ink-mute);
}
.vis-ecom-row .ve-n {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; font-size: .9rem;
    letter-spacing: -.015em;
    color: var(--in-ink); text-align: right;
}
body.rtl .vis-ecom-row .ve-n { text-align: left; }
.vis-ecom-row .ve-bar {
    height: 14px; border-radius: 4px;
    background: rgba(255, 255, 255, .04); position: relative; overflow: hidden;
}
body:not(.dark-mode) .vis-ecom-row .ve-bar { background: rgba(20, 17, 13, .04); }
.vis-ecom-row .ve-bar i {
    display: block; height: 100%; width: 0;
    background: var(--c, var(--in-orange));
    border-radius: 4px;
    transition: width 1.3s cubic-bezier(.2,.85,.25,1);
}
.in-card.is-in .vis-ecom-row:nth-child(1) .ve-bar i { width: 100%; transition-delay: .8s; }
.in-card.is-in .vis-ecom-row:nth-child(2) .ve-bar i { width: 56%;  transition-delay: 1.0s; }
.in-card.is-in .vis-ecom-row:nth-child(3) .ve-bar i { width: 22%;  transition-delay: 1.2s; }

/* --- FOG: blur out illustrative numbers ---------------------- */
.in-fog {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

/* --- RESPONSIVE ----------------------------------------------- */
@media (max-width: 1180px) {
    .in-section { padding: 120px 5vw 130px; }
    .in-grid { gap: 18px; }
    .in-card { padding: 28px 26px 24px; }
    .in-card-vis { height: 180px; }
    .in-card-title { font-size: 1.5rem; }
}

@media (max-width: 980px) {
    .in-section { padding: 100px 5vw 110px; }
    .in-head { margin-bottom: 56px; }
    .in-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .in-card-title { font-size: 1.4rem; }
    .in-card-desc { min-height: 0; }
    .in-card-vis { height: 170px; }
}

@media (max-width: 640px) {
    .in-section { padding: 80px 5vw 90px; }
    .in-head { margin-bottom: 44px; }
    .in-tag { font-size: 9.5px; padding: 6px 12px 6px 9px; margin-bottom: 22px; }
    .in-h { font-size: clamp(2.6rem, 12vw, 4.4rem); line-height: .95; margin-bottom: 22px; }
    .in-sub { font-size: .95rem; line-height: 1.6; }
    .in-grid { grid-template-columns: 1fr; gap: 14px; }
    .in-card { padding: 26px 22px 22px; border-radius: 16px; }
    .in-card-meta { font-size: 9.5px; }
    .in-card-pill { font-size: 8.5px; }
    .in-card-title { font-size: 1.35rem; }
    .in-card-desc { font-size: .92rem; margin-bottom: 18px; }
    .in-card-vis { height: 180px; padding: 14px; }
}

@media (max-width: 420px) {
    .in-section { padding: 70px 18px 80px; }
    .in-h { font-size: clamp(2.4rem, 13vw, 3.6rem); }
    .in-card { padding: 24px 20px 20px; }
    .in-card-title { font-size: 1.25rem; }
    .in-card-vis { height: 160px; }
}

/* --- RTL ------------------------------------------------------ */
body.rtl .in-section { direction: rtl; }
body.rtl .in-h { font-family: 'Tajawal', 'Cairo', 'Montserrat', sans-serif; line-height: 1.1; letter-spacing: 0; padding-bottom: .06em; }
body.rtl .in-sub { font-family: 'Tajawal', 'Cairo', 'Montserrat', sans-serif; line-height: 1.85; }
body.rtl .in-card-title { font-family: 'Tajawal', 'Cairo', 'Montserrat', sans-serif; line-height: 1.3; }
body.rtl .in-card-desc { font-family: 'Tajawal', 'Cairo', 'Montserrat', sans-serif; line-height: 1.75; }
body.rtl .in-tag,
body.rtl .in-card-meta,
body.rtl .in-card-pill,
body.rtl .in-card-enter,
body.rtl .in-vis-head,
body.rtl .vis-sme-row .vs-l,
body.rtl .vis-ecom-row .ve-l { font-family: 'JetBrains Mono', monospace; }
body.rtl .vis-sme-row .vs-r,
body.rtl .vis-ecom-row .ve-n,
body.rtl .in-vis-foot b { font-family: 'Tajawal', 'Cairo', 'Montserrat', sans-serif; }
