/* =====================================================
   Summit Consulting Partners — Stylesheet v4
   1:1 ByteDance palette and structure:
   - PURE WHITE hero (not black)
   - Alternating white / light-gray sections
   - Mission carousel 1/2/3/4
   - Culture carousel
   - Milestones: dark card on top + row of colorful circular product nodes below
   - DM Sans, monochrome base, bilingual EN/AR RTL
   ===================================================== */

:root {
    --white:   #ffffff;
    --paper:   #f7f7f8;   /* светло-серый фон секций (как у ByteDance) */
    --paper-2: #efeff1;
    --ink:     #16181d;   /* основной тёмный текст */
    --ink-2:   #2b2d33;
    --gray-9:  #33353c;   /* primary text */
    --gray-7:  #5a5d66;
    --gray-5:  #868a96;
    --gray-4:  #b4b8c2;
    --gray-3:  #d0d3da;
    --gray-2:  #e6e7eb;
    --gray-1:  #f2f3f5;
    --black:   #000000;

    /* акценты продуктов (как цветные логотипы ByteDance) */
    --p-lume:      #2563eb;   /* синий — Lume (data) */
    --p-anthropos: #db2777;   /* розовый — Anthropos-hr (people) */
    --p-advisory:  #059669;   /* зелёный — Advisory */
    --p-ops:       #d97706;   /* янтарь — Operations */
    --p-strategy:  #7c3aed;   /* фиолетовый — Strategy */
    --p-design:    #0891b2;   /* голубой — Org Design */
    --p-research:  #dc2626;   /* красный — Research */
    --p-academy:   #ca8a04;   /* золото — Academy */

    --container: 1200px;
    --header-h: 64px;
    --ease: cubic-bezier(.4, 0, .2, 1);

    --f-en: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --f-ar: 'Tajawal', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html[lang="en"] body, html[lang="en"] button, html[lang="en"] input, html[lang="en"] textarea { font-family: var(--f-en); }
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] textarea { font-family: var(--f-ar); }
body { color: var(--gray-9); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: var(--ink); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--white); display: flex; align-items: center; justify-content: center; transition: opacity .4s, visibility .4s; }
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader__mark { width: 36px; height: 36px; border: 2.5px solid var(--gray-2); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header (minimal, transparent over white hero) ---------- */
.header { position: fixed; top: 0; inset-inline: 0; z-index: 1000; height: var(--header-h); display: flex; align-items: center; background: transparent; transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--gray-2); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; }
html[lang="ar"] .brand { letter-spacing: 0; }
.brand__mark { width: 28px; height: 28px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: .82rem; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { font-size: .92rem; font-weight: 500; color: var(--gray-7); padding: 8px 14px; transition: color .2s; }
.nav__link:hover, .nav__link.active { color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; font-size: .85rem; font-weight: 600; color: var(--gray-5); }
.lang-switch button { padding: 4px 5px; color: inherit; transition: color .2s; }
.lang-switch button.active { color: var(--ink); }
.lang-switch span { opacity: .4; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO (PURE WHITE — ByteDance style) ---------- */
.hero { min-height: 100vh; background: var(--white); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.hero__label { font-size: .9rem; color: var(--gray-5); margin-bottom: 24px; font-weight: 500; }
html[lang="ar"] .hero__label { letter-spacing: 0; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; color: var(--gray-9); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 32px; max-width: 900px; }
html[lang="ar"] .hero__title { letter-spacing: 0; line-height: 1.15; }
.hero__title .light { font-weight: 500; color: var(--gray-9); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--gray-7); max-width: 600px; margin-bottom: 48px; line-height: 1.55; }
html[lang="ar"] .hero__sub { line-height: 1.85; }

/* numbered carousel dots (1/2/3/4) */
.hero__dots { display: flex; gap: 28px; align-items: center; }
.hero__dot { font-size: 1.05rem; font-weight: 600; color: var(--gray-4); padding: 6px 2px; position: relative; transition: color .25s; }
.hero__dot.active { color: var(--ink); }
.hero__dot::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: start; transition: transform .35s var(--ease); }
.hero__dot.active::after { transform: scaleX(1); }

/* mission slides */
.mission-slides { margin-top: 56px; position: relative; min-height: 200px; }
.mission-slide { display: none; }
.mission-slide.active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mission-slide__title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; color: var(--ink); margin-bottom: 16px; letter-spacing: -.02em; }
html[lang="ar"] .mission-slide__title { letter-spacing: 0; }
.mission-slide__text { font-size: 1.1rem; color: var(--gray-7); max-width: 640px; line-height: 1.55; }
html[lang="ar"] .mission-slide__text { line-height: 1.85; }

/* ---------- Sections (alternating white / light gray) ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--gray { background: var(--paper); }   /* светло-серая, как ByteDance */
.section--dark { background: var(--ink); color: var(--gray-3); }  /* тёмная для History */
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section__label { font-size: .9rem; color: var(--gray-5); margin-bottom: 20px; font-weight: 500; }
html[lang="ar"] .section__label { letter-spacing: 0; }
.section--dark .section__label { color: var(--gray-4); }
.section__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; max-width: 900px; line-height: 1.05; }
html[lang="ar"] .section__title { letter-spacing: 0; }
.section--dark .section__title { color: var(--white); }
.section__head { margin-bottom: 64px; }

/* arrow link (ByteDance CTA) */
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 500; color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--ink); transition: gap .25s var(--ease); }
.arrow-link:hover { gap: 14px; }
html[lang="ar"] .arrow-link svg { transform: scaleX(-1); }

/* ---------- Culture carousel ---------- */
.culture-carousel { position: relative; }
.culture-stage { min-height: 440px; }
.culture-slide { display: none; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.culture-slide.active { display: grid; animation: fadeUp .5s var(--ease); }
.culture-slide__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--ink); margin-bottom: 28px; letter-spacing: -.02em; }
html[lang="ar"] .culture-slide__title { letter-spacing: 0; }
.culture-slide__list { display: grid; gap: 18px; }
.culture-slide__list li { display: flex; gap: 14px; font-size: 1.05rem; color: var(--gray-7); line-height: 1.55; }
html[lang="ar"] .culture-slide__list li { line-height: 1.85; }
.culture-slide__list li::before { content: '—'; color: var(--gray-4); flex-shrink: 0; }
.culture-slide__img { width: 100%; height: 420px; object-fit: cover; filter: grayscale(.5) contrast(1.05); }

.culture-nav { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.culture-nav button { font-size: .92rem; font-weight: 500; color: var(--gray-7); padding: 10px 0; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.culture-nav button:hover { color: var(--ink); }
html[lang="ar"] .culture-nav button svg { transform: scaleX(-1); }

/* ---------- Board Members ---------- */
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--gray-2); }
.board-card { padding: 48px 36px; border-inline-end: 1px solid var(--gray-2); transition: background .3s; }
.board-card:hover { background: var(--paper); }
.board-card:nth-child(4n) { border-inline-end: none; }
.board-card__ava { width: 84px; height: 84px; border-radius: 50%; background: var(--gray-2); background-size: cover; background-position: center; margin-bottom: 24px; filter: grayscale(.3); }
.board-card__name { font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
html[lang="ar"] .board-card__name { letter-spacing: 0; }
.board-card__role { font-size: .92rem; color: var(--gray-5); }

/* ---------- Investors grid ---------- */
.investors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-2); border: 1px solid var(--gray-2); }
.investor { background: var(--white); padding: 48px 32px; display: flex; align-items: center; justify-content: center; min-height: 130px; color: var(--gray-4); transition: color .3s; text-align: center; }
.investor:hover { color: var(--gray-9); } 
.investor svg text { transition: fill .3s; }

/* ---------- History narrative (dark section) ---------- */
.history { max-width: 900px; }
.history p { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--gray-3); line-height: 1.6; margin-bottom: 28px; }
html[lang="ar"] .history p { line-height: 1.9; }
.history .accent { font-weight: 700; color: var(--white); }

/* ---------- Code of Conduct ---------- */
.conduct-link { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: gap .25s var(--ease); margin-top: 24px; }
.conduct-link:hover { gap: 14px; }
html[lang="ar"] .conduct-link svg { transform: scaleX(-1); }

/* ---------- MILESTONES (карусель карточек, как slick slider у ByteDance) ---------- */
/* Drag-to-scroll контейнер */
.ms-scroller { overflow-x: auto; scrollbar-width: none; cursor: grab; padding: 16px 0 24px; -webkit-overflow-scrolling: touch; }
.ms-scroller::-webkit-scrollbar { display: none; }
.ms-scroller.dragging { cursor: grabbing; }
.ms-scroller.dragging .ms-slide { pointer-events: none; }
.ms-track { display: flex; gap: 20px; width: max-content; padding-inline: 4px; }

/* Одна карточка = логотип + дата + текст (как stone-contents у ByteDance) */
.ms-slide { display: flex; flex: 0 0 auto; width: 638px; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 4px 5px rgba(0,0,0,.15); transition: transform .3s var(--ease), box-shadow .3s; }
.ms-slide:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.ms-slide__logo { flex: 0 0 314px; min-height: 232px; display: grid; place-items: center; position: relative; overflow: hidden; }
.ms-slide__logo svg { width: 90px; height: 90px; fill: var(--white); opacity: .96; }
.ms-slide__logo .ms-prod { position: absolute; bottom: 18px; inset-inline: 0; text-align: center; color: var(--white); font-size: .82rem; font-weight: 700; opacity: .92; letter-spacing: .02em; }
html[lang="ar"] .ms-slide__logo .ms-prod { letter-spacing: 0; }
.ms-slide__body { flex: 1; padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.ms-slide__date { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: -.02em; line-height: 1.1; }
html[lang="ar"] .ms-slide__date { letter-spacing: 0; }
.ms-slide__text { font-size: .98rem; color: var(--gray-7); line-height: 1.5; }
html[lang="ar"] .ms-slide__text { line-height: 1.8; }

/* Точки-индикаторы внизу (как пагинация slick) */
.ms-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.ms-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--gray-3); cursor: pointer; transition: background .3s, width .3s; padding: 0; }
.ms-dot.active { background: var(--ink); width: 24px; border-radius: 4px; }

@media (max-width: 860px) {
    .ms-slide { width: 85vw; max-width: 380px; }
    .ms-slide__logo { flex: 0 0 130px; }
    .ms-slide__logo svg { width: 64px; height: 64px; }
    .ms-slide__body { padding: 22px; }
}

/* ---------- Platforms (two products) ---------- */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-block: 1px solid var(--gray-2); }
.platform { padding: clamp(44px, 5vw, 68px); border-inline-end: 1px solid var(--gray-2); transition: background .3s; }
.platform:last-child { border-inline-end: none; }
.platform:hover { background: var(--paper); }
.platform__tag { font-size: .8rem; color: var(--gray-5); margin-bottom: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
html[lang="ar"] .platform__tag { letter-spacing: .02em; }
.platform__name { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--ink); margin-bottom: 16px; letter-spacing: -.03em; }
html[lang="ar"] .platform__name { letter-spacing: 0; }
.platform__desc { font-size: 1.08rem; color: var(--gray-7); max-width: 420px; margin-bottom: 28px; line-height: 1.55; }
html[lang="ar"] .platform__desc { line-height: 1.85; }

/* ---------- Contact (3 columns) ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--gray-2); }
.contact-col { padding: 48px 36px; border-inline-end: 1px solid var(--gray-2); }
.contact-col:last-child { border-inline-end: none; }
.contact-col__label { font-size: .82rem; color: var(--gray-5); margin-bottom: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .contact-col__label { letter-spacing: 0; }
.contact-col a { font-size: 1.08rem; color: var(--ink); font-weight: 500; display: inline-block; padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-col a:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--white); padding: clamp(64px, 8vw, 96px) 0 32px; border-top: 1px solid var(--gray-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 52px; border-bottom: 1px solid var(--gray-2); }
.footer__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 16px; }
html[lang="ar"] .footer__brand { letter-spacing: 0; }
.footer__brand .brand__mark { background: var(--ink); color: var(--white); }
.footer__tagline { font-size: .94rem; color: var(--gray-7); max-width: 320px; line-height: 1.6; margin-bottom: 24px; }
html[lang="ar"] .footer__tagline { line-height: 1.85; }
.footer__socials { display: flex; gap: 18px; }
.footer__socials a { font-size: .9rem; color: var(--gray-7); transition: color .2s; }
.footer__socials a:hover { color: var(--ink); }
.footer__col h4 { font-size: .8rem; color: var(--gray-5); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; font-weight: 600; }
html[lang="ar"] .footer__col h4 { letter-spacing: 0; }
.footer__col a { display: block; padding: 7px 0; font-size: .95rem; color: var(--gray-9); transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; flex-wrap: wrap; font-size: .86rem; color: var(--gray-5); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; bottom: 28px; inset-inline-end: 28px; z-index: 900; width: 46px; height: 46px; background: var(--ink); color: var(--white); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s, visibility .3s, transform .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
html[lang="ar"] .to-top svg { transform: scaleX(-1); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .board-grid, .investors-grid { grid-template-columns: repeat(2,1fr); }
    .board-card:nth-child(2n), .investor:nth-child(2n) { border-inline-end: none; }
    .culture-slide.active { grid-template-columns: 1fr; gap: 40px; }
    .culture-slide__img { height: 300px; }
    .platforms { grid-template-columns: 1fr; }
    .platform { border-inline-end: none; border-bottom: 1px solid var(--gray-2); }
    .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav { display: none; }
    .burger { display: flex; }
    .nav.open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); inset-inline: 0; background: var(--white); padding: 16px clamp(20px,5vw,64px); box-shadow: 0 1px 0 var(--gray-2); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .nav.open .nav__link { padding: 16px 0; border-bottom: 1px solid var(--gray-1); color: var(--gray-9); }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-col { border-inline-end: none; border-bottom: 1px solid var(--gray-2); }
}
@media (max-width: 560px) {
    .board-grid, .investors-grid, .footer__top { grid-template-columns: 1fr; }
    .board-card, .investor { border-inline-end: none; border-bottom: 1px solid var(--gray-2); }
    .hero__dots { gap: 18px; }
    .milestone-node__dot { width: 60px; height: 60px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================
   Inner product pages (Lume, Anthropos-hr, About, Contact)
   ===================================================== */

/* Page hero (white, large title like ByteDance) */
.page-hero { padding: calc(var(--header-h) + 80px) 0 80px; background: var(--white); }
.page-hero--gray { background: var(--paper); }
.page-hero--dark { background: var(--ink); color: var(--gray-3); }
.page-hero__label { font-size: .9rem; color: var(--gray-5); margin-bottom: 24px; font-weight: 500; }
html[lang="ar"] .page-hero__label { letter-spacing: 0; }
.page-hero--dark .page-hero__label { color: var(--gray-4); }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 500; color: var(--ink); letter-spacing: -.035em; line-height: 1; max-width: 1000px; margin-bottom: 32px; }
html[lang="ar"] .page-hero__title { letter-spacing: 0; line-height: 1.15; }
.page-hero--dark .page-hero__title { color: var(--white); }
.page.hero__title .light { font-weight: 500; color: var(--gray-9); }
.page-hero--dark .page-hero__title .light { color: var(--gray-4); }
.page-hero__lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--gray-7); max-width: 660px; line-height: 1.55; }
html[lang="ar"] .page-hero__lead { line-height: 1.85; }
.page-hero--dark .page-hero__lead { color: var(--gray-4); }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--gray-5); margin-top: 32px; font-weight: 500; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span:last-child { color: var(--ink); }

/* Feature grid (icon + title + text) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--gray-2); }
.feature { padding: clamp(40px, 5vw, 64px); border-inline-end: 1px solid var(--gray-2); border-bottom: 1px solid var(--gray-2); transition: background .3s; }
.feature:nth-child(3n) { border-inline-end: none; }
.feature:hover { background: var(--paper); }
.feature__icon { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 24px; color: var(--white); transition: transform .3s var(--ease); }
.feature:hover .feature__icon { transform: scale(1.08) rotate(-3deg); }
.feature__num { font-size: .78rem; color: var(--gray-5); margin-bottom: 14px; font-weight: 600; }
html[lang="ar"] .feature__num { letter-spacing: 0; }
.feature h3 { font-size: 1.45rem; margin-bottom: 12px; color: var(--ink); }
html[lang="ar"] .feature h3 { letter-spacing: 0; }
.feature p { font-size: 1rem; color: var(--gray-7); line-height: 1.55; }
html[lang="ar"] .feature p { line-height: 1.8; }

/* Showcase split (image + text) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.showcase--reverse .showcase__media { order: 2; }
[dir="rtl"] .showcase--reverse .showcase__media { order: -1; }
.showcase__media { position: relative; }
.showcase__media img { width: 100%; height: 460px; object-fit: cover; border-radius: 4px; }
.showcase__media .badge { position: absolute; top: 20px; inset-inline-start: 20px; background: var(--white); color: var(--ink); padding: 8px 16px; font-size: .82rem; font-weight: 700; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.showcase__body h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 20px; }
html[lang="ar"] .showcase__body h2 { letter-spacing: 0; }
.showcase__body p { font-size: 1.08rem; color: var(--gray-7); margin-bottom: 16px; line-height: 1.55; }
html[lang="ar"] .showcase__body p { line-height: 1.85; }
.showcase__list { margin: 24px 0 28px; display: grid; gap: 14px; }
.showcase__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--gray-7); }
.showcase__list .tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: .72rem; margin-top: 2px; }

/* Stats inline */
.stats-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--gray-2); }
.stats-inline__item { padding: 44px 32px; border-inline-end: 1px solid var(--gray-2); }
.stats-inline__item:last-child { border-inline-end: none; }
.stats-inline__num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
html[lang="ar"] .stats-inline__num { letter-spacing: 0; }
.stats-inline__label { font-size: .92rem; color: var(--gray-5); margin-top: 12px; }

/* Case / testimonial card */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: var(--white); border: 1px solid var(--gray-2); padding: 36px 32px; transition: transform .3s var(--ease), box-shadow .3s; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.case-card__tag { font-size: .76rem; color: var(--gray-5); margin-bottom: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .case-card__tag { letter-spacing: 0; }
.case-card__stat { font-size: 2.4rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.02em; line-height: 1; }
html[lang="ar"] .case-card__stat { letter-spacing: 0; }
.case-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.case-card p { font-size: .96rem; color: var(--gray-7); line-height: 1.55; }
html[lang="ar"] .case-card p { line-height: 1.8; }

/* Services list (numbered, like ByteDance narrative) */
.service-list { max-width: 900px; }
.service-item { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--gray-2); align-items: start; }
.service-item:last-child { border-bottom: 1px solid var(--gray-2); }
.section--dark .service-item { border-color: var(--ink-2); }
.section--dark .service-item:last-child { border-color: var(--ink-2); }
.service-item__num { font-size: 1.6rem; font-weight: 700; color: var(--gray-4); letter-spacing: -.01em; }
html[lang="ar"] .service-item__num { letter-spacing: 0; }
.service-item h3 { font-size: 1.5rem; margin-bottom: 10px; }
html[lang="ar"] .service-item h3 { letter-spacing: 0; }
.service-item p { font-size: 1.02rem; color: var(--gray-7); line-height: 1.55; }
html[lang="ar"] .service-item p { line-height: 1.8; }
.section--dark .service-item p { color: var(--gray-4); }

/* Contact form (ByteDance minimal — underline inputs) */
.contact-form { max-width: 560px; margin-top: 40px; }
.contact-form .field { margin-bottom: 28px; }
.contact-form .field label { display: block; font-size: .82rem; color: var(--gray-7); margin-bottom: 10px; font-weight: 500; }
html[lang="ar"] .contact-form .field label { letter-spacing: 0; }
.contact-form .field input, .contact-form .field textarea, .contact-form .field select { width: 100%; padding: 14px 0; border: none; border-bottom: 1px solid var(--gray-3); background: transparent; color: var(--ink); font-family: inherit; font-size: 1rem; transition: border-color .2s; resize: vertical; }
.contact-form .field input::placeholder, .contact-form .field textarea::placeholder { color: var(--gray-4); }
.contact-form .field input:focus, .contact-form .field textarea:focus, .contact-form .field select:focus { outline: none; border-bottom-color: var(--ink); }
.contact-form .field select option { color: var(--ink); }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-success { margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--ink); color: var(--ink); font-weight: 500; display: none; }
.form-success.show { display: block; animation: fadeUp .4s var(--ease); }
.submit-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 500; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--ink); transition: gap .25s var(--ease); margin-top: 8px; }
.submit-btn:hover { gap: 14px; }

/* Map embed */
.map-wrap { margin-top: 60px; border: 1px solid var(--gray-2); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.5); }

/* Inner-page responsive */
@media (max-width: 1024px) {
    .features { grid-template-columns: repeat(2,1fr); }
    .feature:nth-child(3n) { border-inline-end: 1px solid var(--gray-2); }
    .feature:nth-child(2n) { border-inline-end: none; }
    .showcase { grid-template-columns: 1fr; gap: 40px; }
    .showcase--reverse .showcase__media { order: 0; }
    .cases { grid-template-columns: 1fr; }
    .stats-inline { grid-template-columns: 1fr; }
    .stats-inline__item { border-inline-end: none; border-bottom: 1px solid var(--gray-2); }
}
@media (max-width: 560px) {
    .features { grid-template-columns: 1fr; }
    .feature { border-inline-end: none; }
    .contact-form .field-row { grid-template-columns: 1fr; }
    .service-item { grid-template-columns: 1fr; gap: 8px; }
}
