/* ==========================================================================
   Tajseer theme — main stylesheet (RTL-first)
   ========================================================================== */

:root {
	--tj-blue: #1A18BC;
	--tj-neon: #2220FE;
	--tj-ink: #19182D;
	--tj-bg: #F7F7FB;
	--tj-surface: #FFFFFF;
	--tj-surface-2: #EEEEFF;
	--tj-line: #E4E3EF;
	--tj-line-2: #DCDBE8;
	--tj-text: var(--tj-ink);
	--tj-muted: #5C5B7A;
	--tj-grey: #8B8AAE;
	--tj-lav: #9F9EFF;
	--tj-dark: #19182D;
	--tj-dark-2: #22213B;
	--tj-dark-line: #34335A;
	--tj-ok-bg: #E9FBEF; --tj-ok-line: #BDEBCB; --tj-ok: #0F7B3A;
	--tj-shadow: 0 1px 2px rgba(25,24,45,.04), 0 12px 32px rgba(25,24,45,.06);
	--tj-shadow-lg: 0 30px 60px rgba(25,24,45,.18);
	--tj-radius: 20px;
	--tj-font-ar: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
	--tj-font-en: 'Outfit', 'Inter', system-ui, sans-serif;
	--tj-container: 1280px;
	--tj-gutter: 80px;
}

/* Dark mode (Customizer toggle) */
.tj-dark {
	--tj-bg: #19182D; --tj-surface: #22213B; --tj-surface-2: #2A2950;
	--tj-line: #2B2A48; --tj-line-2: #34335A; --tj-text: #FFFFFF;
	--tj-muted: #B4B3CC; --tj-grey: #8B8AAE;
	--tj-shadow: 0 1px 2px rgba(0,0,0,.2), 0 12px 32px rgba(0,0,0,.3);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tj-bg); color: var(--tj-text); font-family: var(--tj-font-ar); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--tj-blue); }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--tj-neon); outline-offset: 3px; border-radius: 6px; }

.tj-skip { position: absolute; top: -100px; right: 16px; background: var(--tj-blue); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 1000; }
.tj-skip:focus { top: 16px; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

.tj-container { width: 100%; max-width: calc(var(--tj-container) + var(--tj-gutter) * 2); margin: 0 auto; padding: 0 var(--tj-gutter); }
.tj-container--narrow { max-width: 880px; }

/* ---------- Type ---------- */
.tj-h1 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.tj-h2 { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.25; font-weight: 800; }
.tj-h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; font-weight: 800; }
.tj-h4 { font-size: 19px; line-height: 1.4; font-weight: 700; }
.tj-lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.75; font-weight: 300; }
.tj-lead--sm { font-size: 17px; line-height: 1.8; font-weight: 300; }
.tj-muted { color: var(--tj-muted); }
.tj-hl { color: var(--tj-blue); }
.tj-en { font-family: var(--tj-font-en); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 500; }
.tj-en--blue { color: var(--tj-blue); }
.tj-en--light { color: #C9C8FF; }
.tj-en--lav { color: var(--tj-lav); }
.tj-en--grey { color: var(--tj-grey); font-size: 10px; }
.tj-en--plain { letter-spacing: .02em; text-transform: none; font-size: 15px; font-weight: 600; }
.tj-en--tag { font-size: 11px; color: var(--tj-grey); }

/* ---------- Buttons / chips / icons ---------- */
.tj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 12px; font-family: var(--tj-font-ar); font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.tj-btn .tj-svg { width: 18px; height: 18px; }
.tj-btn--primary { background: var(--tj-blue); color: #fff; box-shadow: 0 10px 24px rgba(26,24,188,.25); }
.tj-btn--primary:hover { background: var(--tj-neon); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(26,24,188,.32); }
.tj-btn--outline { background: var(--tj-surface); color: var(--tj-text); border-color: var(--tj-line-2); }
.tj-btn--outline:hover { border-color: var(--tj-blue); color: var(--tj-blue); }
.tj-btn--sm { height: 44px; padding: 0 22px; font-size: 14px; border-radius: 10px; box-shadow: none; }

.tj-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--tj-surface-2); border: 1px solid #D5D4F5; color: var(--tj-blue); font-size: 13px; font-weight: 600; white-space: nowrap; }
.tj-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tj-neon); }
.tj-chip--xs { height: 26px; padding: 0 10px; font-size: 11px; }
.tj-chip--ok { background: var(--tj-ok-bg); border-color: var(--tj-ok-line); color: var(--tj-ok); }
.tj-chip--grey { background: #F3F3F9; border-color: var(--tj-line); color: var(--tj-muted); }
.tj-chip--glass { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.tj-chip--white { background: #fff; border-color: #fff; color: var(--tj-blue); }

.tj-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--tj-blue); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 8px 18px rgba(26,24,188,.22); }
.tj-icon .tj-svg { width: 26px; height: 26px; stroke: #fff; }
.tj-icon--soft { background: var(--tj-surface-2); box-shadow: none; }
.tj-icon--soft .tj-svg { stroke: var(--tj-blue); }
.tj-icon--glass { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.14); box-shadow: none; }
.tj-icon--glass .tj-svg { width: 20px; height: 20px; }
.tj-icon--sm { width: 44px; height: 44px; border-radius: 12px; }
.tj-icon--sm .tj-svg { width: 22px; height: 22px; }
.tj-icon--xs { width: 40px; height: 40px; border-radius: 12px; }
.tj-icon--xs .tj-svg { width: 20px; height: 20px; }
.tj-svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.tj-card { background: var(--tj-surface); border: 1px solid var(--tj-line); border-radius: var(--tj-radius); box-shadow: var(--tj-shadow); }
.tj-mark { width: auto; height: 44px; opacity: .9; }

.tj-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--tj-blue); margin-top: auto; }
.tj-more .tj-svg { width: 16px; height: 16px; stroke-width: 2; transition: transform .2s; }
.tj-more:hover .tj-svg { transform: translateX(-4px); }

.tj-checks { display: flex; flex-direction: column; gap: 10px; }
.tj-checks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.tj-checks .tj-svg { width: 18px; height: 18px; stroke: var(--tj-blue); stroke-width: 2.2; flex-shrink: 0; }

.tj-pattern { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background-repeat: repeat-x; background-size: auto 100%; pointer-events: none; }
.tj-pattern--white { background-image: url(../img/pattern_white.png); opacity: .14; }
.tj-pattern--faint { opacity: .06; }
.tj-dots { background-image: radial-gradient(#D7D6EA 1px, transparent 1px); background-size: 22px 22px; }
.tj-dark .tj-dots { background-image: radial-gradient(#2B2A48 1px, transparent 1px); }
.tj-glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.tj-glow--1 { top: -220px; right: -160px; width: 720px; height: 720px; background: rgba(34,32,254,.10); }
.tj-glow--2 { bottom: -260px; left: -120px; width: 560px; height: 560px; background: rgba(26,24,188,.08); }

.tj-panel-blue { background: var(--tj-blue); color: #fff; border-radius: 24px; padding: 44px; position: relative; overflow: hidden; }
.tj-panel-blue > *:not(.tj-pattern) { position: relative; }
.tj-panel-blue p { color: #E6E5FF; font-weight: 300; line-height: 1.8; }

/* ---------- Header ---------- */
.tj-header { position: sticky; top: 0; z-index: 100; padding: 16px 0; transition: padding .25s; }
.tj-nav { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 28px; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--tj-line); border-radius: 18px; box-shadow: 0 10px 30px rgba(25,24,45,.08); }
.tj-dark .tj-nav { background: rgba(25,24,45,.86); }
.tj-header.is-scrolled { padding: 8px 0; }
.tj-logo img, .custom-logo { height: 40px; width: auto; }
.tj-menu { display: flex; align-items: center; gap: 4px; }
.tj-menu a { display: block; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--tj-muted); }
.tj-menu a:hover, .tj-menu .current-menu-item > a { color: var(--tj-blue); background: var(--tj-surface-2); }
.tj-nav__actions { display: flex; align-items: center; gap: 10px; }
.tj-burger { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--tj-surface); border: 1px solid var(--tj-line-2); align-items: center; justify-content: center; padding: 0; }
.tj-burger .tj-svg { width: 22px; height: 22px; stroke: var(--tj-text); stroke-width: 1.8; }
.tj-burger__close, .tj-burger[aria-expanded="true"] .tj-burger__open { display: none; }
.tj-burger[aria-expanded="true"] .tj-burger__close { display: block; }
.tj-mobile { display: none; margin: 8px var(--tj-gutter) 0; padding: 16px; background: var(--tj-surface); border: 1px solid var(--tj-line); border-radius: 18px; box-shadow: var(--tj-shadow); }
.tj-mobile:not([hidden]) { display: flex; flex-direction: column; gap: 8px; }
.tj-mobile__menu a { display: block; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.tj-mobile__menu a:hover { background: var(--tj-surface-2); }

/* ---------- Hero ---------- */
.tj-hero { position: relative; overflow: hidden; padding: 60px 0 100px; }
.tj-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.tj-hero__copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.tj-hero__title { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.tj-hero__copy .tj-lead { max-width: 600px; }
.tj-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.tj-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 12px; }
.tj-proof li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }

.tj-hero__visual { position: relative; min-height: 620px; }
.tj-hero__frame { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--tj-shadow-lg); }
.tj-hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.tj-hero__frame-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,24,45,.05), rgba(25,24,45,.55)); }
.tj-hero__frame .tj-pattern { height: 80px; opacity: .22; }
.tj-hero__frame-caption { position: absolute; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 4px; color: #fff; font-size: 16px; font-weight: 600; }
.tj-hero__frame-caption .tj-en { font-size: 10px; }
.tj-hero__frame--page { position: relative; inset: auto; aspect-ratio: 4/3; }

.tj-float { position: absolute; padding: 20px; border-radius: 18px; z-index: 2; }
.tj-float--ship { left: -36px; top: 44px; width: 300px; display: flex; flex-direction: column; gap: 14px; }
.tj-float--ai { left: 32px; bottom: -34px; width: 250px; display: flex; align-items: center; gap: 14px; padding: 18px; }
.tj-float--ai .tj-icon { width: 46px; height: 46px; border-radius: 14px; }
.tj-float--ai strong { display: block; font-size: 13px; }
.tj-float--ai span.tj-muted { font-size: 12px; }
.tj-float__head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.tj-float__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tj-route { display: flex; align-items: center; gap: 10px; }
.tj-route .tj-en { font-size: 11px; letter-spacing: .06em; color: var(--tj-muted); }
.tj-route__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--tj-surface-2); position: relative; overflow: hidden; }
.tj-route__fill { position: absolute; top: 0; right: 0; height: 100%; border-radius: 6px; background: var(--tj-blue); animation: tjRoute 2.4s ease-in-out infinite alternate; }
@keyframes tjRoute { from { width: 40%; } to { width: 72%; } }
.tj-hero__badge { position: absolute; top: -22px; right: 32px; width: 64px; height: 64px; border-radius: 18px; background: var(--tj-blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 24px rgba(26,24,188,.3); z-index: 3; }
.tj-hero__badge img { height: 34px; width: auto; }

/* ---------- Sections ---------- */
.tj-section { padding: 110px 0; }
.tj-section--tight { padding-top: 0; }
.tj-section__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.tj-section__head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
.tj-section__head--split > div { display: flex; flex-direction: column; gap: 14px; }
.tj-section__head--split > p { max-width: 560px; }
.tj-section__head--center { align-items: center; text-align: center; }
.tj-section__head--center p { max-width: 640px; }

/* Ecosystem bento */
.tj-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 300px 300px; gap: 24px; }
.tj-bento__main { grid-column: span 7; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.tj-panel-blue__top { display: flex; align-items: center; justify-content: space-between; }
.tj-bento__main .tj-h3 { font-size: 34px; }
.tj-bento__main p { max-width: 560px; }
.tj-chain { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tj-chain__arrow { width: 16px; height: 16px; stroke: #C9C8FF; stroke-width: 2; }
.tj-bento__photo { grid-column: span 5; border-radius: 24px; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.tj-bento__photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,24,45,0) 30%, rgba(25,24,45,.85)); }
.tj-bento__photo-caption { position: absolute; right: 28px; left: 28px; bottom: 26px; display: flex; flex-direction: column; gap: 6px; color: #fff; font-size: 20px; }
.tj-bento__photo-caption .tj-en { font-size: 10px; }
.tj-bento__digital { grid-column: span 5; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.tj-bento__digital-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; }
.tj-bento__digital > *:not(.tj-bento__digital-bg) { position: relative; }
.tj-bento__digital-top { display: flex; align-items: center; justify-content: space-between; }
.tj-bento__digital-top .tj-en { font-size: 10px; }
.tj-bento__digital .tj-h4 { display: block; font-size: 20px; margin-bottom: 8px; }
.tj-bento__digital p { font-size: 14px; }

/* Sectors bento */
.tj-sectors { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.tj-sector { grid-column: span 5; padding: 36px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.tj-sector:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(25,24,45,.04), 0 24px 48px rgba(25,24,45,.12); }
.tj-sector--wide { grid-column: span 7; display: grid; grid-template-columns: 1fr 240px; gap: 28px; }
.tj-sector__body { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.tj-sector__body p { font-size: 15px; line-height: 1.8; font-weight: 300; }
.tj-sector__media { border-radius: 18px; position: relative; overflow: hidden; background-size: cover; background-position: center; min-height: 260px; }
.tj-sector__media-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,24,45,0) 40%, rgba(25,24,45,.75)); }
.tj-sector__media .tj-en { position: absolute; right: 16px; bottom: 16px; font-size: 10px; color: #fff; }
.tj-sector__media--dark { background: var(--tj-dark); display: flex; align-items: center; justify-content: center; }
.tj-sector__media--dark img { height: 96px; width: auto; position: relative; }
.tj-sector__media--dark .tj-pattern { height: 90px; opacity: .25; }

/* Journey */
.tj-journey { background: var(--tj-dark); color: #fff; position: relative; overflow: hidden; }
.tj-journey .tj-container { position: relative; }
.tj-journey__lead { color: #B4B3CC; }
.tj-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.tj-steps__line { position: absolute; top: 28px; right: 12.5%; left: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, #3A3960 0 10px, transparent 10px 18px); }
.tj-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; position: relative; }
.tj-step__icon { box-shadow: 0 0 0 10px var(--tj-dark), 0 0 0 12px #3A3960; }
.tj-step--last .tj-step__icon { background: var(--tj-neon); box-shadow: 0 0 0 10px var(--tj-dark), 0 0 0 12px var(--tj-neon); }
.tj-step__card { width: 100%; padding: 24px; border-radius: 18px; background: var(--tj-dark-2); border: 1px solid var(--tj-dark-line); display: flex; flex-direction: column; gap: 10px; }
.tj-step__num { font-family: var(--tj-font-en); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--tj-lav); }
.tj-step__card p { font-size: 14px; line-height: 1.75; font-weight: 300; color: #B4B3CC; }

/* Industries */
.tj-industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tj-industry { padding: 28px; display: flex; flex-direction: column; gap: 16px; border-radius: 18px; transition: transform .25s, border-color .25s; }
.tj-industry:hover { transform: translateY(-3px); border-color: #C9C8FF; }
.tj-industry .tj-icon { width: 50px; height: 50px; border-radius: 14px; }
.tj-industry .tj-icon .tj-svg { width: 24px; height: 24px; }
.tj-industry strong { font-size: 18px; font-weight: 700; }

/* Contact */
.tj-contact { border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.tj-contact__info { border-radius: 0; padding: 56px; display: flex; flex-direction: column; gap: 24px; }
.tj-contact__info .tj-pattern { height: 140px; }
.tj-contact__list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.tj-contact__list li, .tj-contact__list a { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 15px; font-weight: 600; }
.tj-form { padding: 56px; display: flex; flex-direction: column; gap: 22px; background: var(--tj-surface); }
.tj-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tj-field { display: flex; flex-direction: column; gap: 8px; }
.tj-field label { font-size: 13px; font-weight: 600; color: var(--tj-muted); }
.tj-field input, .tj-field select, .tj-field textarea { height: 50px; border-radius: 12px; border: 1px solid var(--tj-line-2); background: var(--tj-surface); padding: 0 16px; font: inherit; font-size: 14px; color: var(--tj-text); width: 100%; transition: border-color .2s, box-shadow .2s; }
.tj-field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.tj-field input:focus, .tj-field select:focus, .tj-field textarea:focus { outline: none; border-color: var(--tj-blue); box-shadow: 0 0 0 4px rgba(26,24,188,.12); }
.tj-form .tj-btn { align-self: flex-start; }
.tj-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.tj-form__status { font-size: 14px; font-weight: 600; min-height: 1.5em; }
.tj-form__status.is-ok { color: var(--tj-ok); }
.tj-form__status.is-err { color: #B4232A; }

/* Footer */
.tj-footer { border-top: 1px solid var(--tj-line); background: var(--tj-surface); padding: 56px 0 40px; }
.tj-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.tj-footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.tj-footer__brand p { font-size: 14px; line-height: 1.8; max-width: 380px; font-weight: 300; }
.tj-footer__title { display: block; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.tj-footer__list { display: flex; flex-direction: column; gap: 12px; }
.tj-footer__list a, .tj-footer__list li { color: var(--tj-muted); font-size: 14px; }
.tj-footer__list a:hover { color: var(--tj-blue); }
.tj-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; margin-top: 40px; border-top: 1px solid var(--tj-line); font-size: 13px; }

.tj-whatsapp { position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(37,211,102,.35); z-index: 90; transition: transform .2s; }
.tj-whatsapp:hover { transform: scale(1.06); }
.tj-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* Inner pages */
.tj-page-hero { position: relative; overflow: hidden; padding: 60px 0 80px; }
.tj-page-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.tj-page-hero__grid > div:first-child { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.tj-page-hero--simple { padding: 48px 0 56px; }
.tj-page-hero--simple .tj-container { display: flex; flex-direction: column; gap: 12px; }
.tj-prose { font-size: 17px; line-height: 1.9; }
.tj-prose > * + * { margin-top: 1.2em; }
.tj-prose h2 { font-size: 30px; font-weight: 800; line-height: 1.3; margin-top: 1.6em; }
.tj-prose h3 { font-size: 22px; font-weight: 700; margin-top: 1.4em; }
.tj-prose p { font-weight: 300; }
.tj-prose ul, .tj-prose ol { padding-right: 1.4em; list-style: disc; }
.tj-prose ol { list-style: decimal; }
.tj-prose blockquote { margin: 0; padding: 28px 32px; border-radius: 18px; background: var(--tj-surface-2); border-right: 4px solid var(--tj-blue); font-size: 19px; font-weight: 500; }
.tj-prose img { border-radius: 18px; }
.tj-prose a { color: var(--tj-blue); text-decoration: underline; text-underline-offset: 3px; }
.tj-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tj-post { overflow: hidden; display: flex; flex-direction: column; }
.tj-post__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.tj-post__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tj-pagination { margin-top: 40px; display: flex; justify-content: center; }
.tj-pagination .nav-links { display: flex; gap: 6px; }
.tj-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--tj-line-2); background: var(--tj-surface); font-weight: 600; }
.tj-pagination .page-numbers.current { background: var(--tj-blue); color: #fff; border-color: var(--tj-blue); }
.tj-search { display: flex; gap: 8px; }
.tj-search input { flex: 1; height: 44px; border-radius: 10px; border: 1px solid var(--tj-line-2); padding: 0 14px; font: inherit; }

/* Reveal animations */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
	.tj-route__fill { animation: none; }
	html { scroll-behavior: auto; }
}

/* WP core compatibility */
.alignwide { max-width: 1280px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: none; margin-right: calc(50% - 50vw); }
.wp-block-image img, .wp-block-embed { border-radius: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	:root { --tj-gutter: 40px; }
	.tj-float--ship { left: -16px; }
	.tj-float--ai { left: 12px; }
}
@media (max-width: 1024px) {
	.tj-hero__grid { grid-template-columns: 1fr; gap: 48px; }
	.tj-hero__visual { min-height: 460px; margin: 0 0 24px; }
	.tj-bento { grid-template-rows: auto; }
	.tj-bento__main, .tj-bento__photo, .tj-bento__digital { grid-column: span 12; grid-row: auto; }
	.tj-bento__photo { min-height: 240px; }
	.tj-sector, .tj-sector--wide { grid-column: span 12; }
	.tj-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tj-steps__line { display: none; }
	.tj-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tj-contact { grid-template-columns: 1fr; }
	.tj-footer__grid { grid-template-columns: 1fr 1fr; }
	.tj-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tj-page-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.tj-nav__menu { display: none; }
	.tj-burger { display: inline-flex; }
	.tj-section__head--split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	:root { --tj-gutter: 20px; }
	.tj-header { padding: 10px 0; }
	.tj-nav { height: 64px; padding: 0 12px 0 16px; }
	.tj-nav .tj-btn--sm { height: 40px; padding: 0 14px; font-size: 13px; }
	.tj-logo img, .custom-logo { height: 34px; }
	.tj-hero { padding: 32px 0 60px; }
	.tj-section { padding: 64px 0; }
	.tj-actions { flex-direction: column; align-items: stretch; }
	.tj-btn { width: 100%; }
	.tj-btn--sm { width: auto; }
	.tj-hero__visual { min-height: 340px; }
	.tj-float--ship { width: 220px; left: 12px; top: 16px; padding: 14px; }
	.tj-float--ai { display: none; }
	.tj-hero__badge { display: none; }
	.tj-panel-blue { padding: 26px 22px; border-radius: 20px; }
	.tj-bento__main .tj-h3 { font-size: 24px; }
	.tj-sector { padding: 24px 20px; }
	.tj-sector--wide { grid-template-columns: 1fr; }
	.tj-sector__media { min-height: 170px; }
	.tj-steps { grid-template-columns: 1fr; }
	.tj-step { flex-direction: row; text-align: start; align-items: flex-start; }
	.tj-step__icon { width: 44px; height: 44px; box-shadow: none; margin-top: 18px; }
	.tj-step__icon .tj-svg { width: 20px; height: 20px; }
	.tj-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tj-industry { padding: 18px 16px; }
	.tj-industry strong { font-size: 14px; }
	.tj-contact__info, .tj-form { padding: 28px 22px; }
	.tj-form__grid { grid-template-columns: 1fr; }
	.tj-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.tj-footer__bottom { flex-direction: column; align-items: flex-start; }
	.tj-posts { grid-template-columns: 1fr; }
	.tj-whatsapp { bottom: 16px; left: 16px; width: 50px; height: 50px; }
}
