/* =====================================================
   PAGE 04 — /wordpress-website-design-dubai
   Concept: "Friendly CMS dashboard" (peach / cream / light blue)
   Every class is prefixed .ti-p04-  · loads AFTER uae-pages.css
   ===================================================== */
:root {
  --p4-peach: #fff1e4;
  --p4-peach-2: #ffe1c8;
  --p4-cream: #fffaf3;
  --p4-sky: #e8f4fa;
  --p4-sky-2: #d3e8f3;
  --p4-ink: #17394a;
}

/* global p is 19px on this site — reset inside this page's sections */
:where(section[class*="ti-p04-"]) p { font-size: 15.5px; line-height: 1.72; color: var(--ti-text); margin: 0 0 12px; }
:where(section[class*="ti-p04-"]) h3 { font-family: Ubuntu, Arial, sans-serif; color: var(--p4-ink); font-weight: 700; }
.ti-p04-h2 { font-size: 36px; }
section[class*="ti-p04-"] a:not(.ti-uae-btn) { color: var(--ti-primary); font-weight: 500; }
section[class*="ti-p04-"] a:not(.ti-uae-btn):hover { color: var(--ti-accent-dark); }
.ti-p04-cream { background: var(--p4-cream); }

/* ---------------- HERO ---------------- */
.ti-p04-hero {
  position: relative; padding: 58px 0 250px;
  background: linear-gradient(180deg, #ffe9d6 0%, #fff4e8 45%, #fff0e0 100%);
}
.ti-p04-creek { position: absolute; left: 0; right: 0; bottom: 0; height: 468px; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%); }
.ti-p04-creek img { display: block; width: 100%; height: calc(100% + 56px); margin-top: -28px; object-fit: cover; object-position: center bottom;
  transform: translateY(clamp(-26px, calc(var(--py, 0px) * -0.25), 26px)); will-change: transform; }
.ti-p04-hero .container { position: relative; z-index: 2; }
.ti-p04-proof { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.85); border: 1px solid #f6d3b3;
  color: var(--p4-ink); font-weight: 500; font-size: 13px; padding: 7px 15px; border-radius: 30px; margin-bottom: 18px; }
.ti-p04-proof i { color: var(--ti-primary); font-size: 16px; }
.ti-p04-h1 { font-family: Ubuntu, Arial, sans-serif; font-weight: 700; font-size: 45px; line-height: 1.16; color: var(--p4-ink); margin: 0 0 16px; }
.ti-p04-h1 span { color: var(--ti-accent); }
.ti-p04-sub { font-size: 18px !important; line-height: 1.65 !important; color: #3d5866 !important; max-width: 520px; margin: 0 0 24px !important; }
.ti-p04-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ti-p04-micro { margin: 14px 0 0 !important; font-size: 13.5px !important; color: #5d7482 !important; }
.ti-p04-micro i { color: var(--ti-accent); margin-right: 7px; }

/* dashboard mock */
.ti-p04-dash { position: relative; max-width: 540px; margin: 0 0 0 auto; background: #fff; border-radius: 18px;
  box-shadow: 0 34px 60px -22px rgba(120,60,20,.42), 0 0 0 1px rgba(23,57,74,.06);  }
@keyframes p4float { 0%,100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.ti-p04-dash-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f3f7fa; border-radius: 18px 18px 0 0; border-bottom: 1px solid #e4edf2; }
.ti-p04-dash-top i { width: 10px; height: 10px; border-radius: 50%; background: #f5b48a; }
.ti-p04-dash-top i:nth-child(2) { background: #f7d58a; } .ti-p04-dash-top i:nth-child(3) { background: #9fd6b4; }
.ti-p04-dash-top span { margin-left: 10px; flex: 1; background: #fff; border-radius: 20px; padding: 3px 12px; font-size: 11.5px; color: #7b909c; border: 1px solid #e4edf2; white-space: nowrap; overflow: hidden; }
.ti-p04-dash-body { display: flex; }
.ti-p04-side { list-style: none; margin: 0; padding: 14px 10px; width: 132px; flex: 0 0 132px; background: var(--p4-sky); border-radius: 0 0 0 18px; }
.ti-p04-side li { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: #46697b; padding: 8px 10px; border-radius: 9px; margin-bottom: 3px; }
.ti-p04-side li i { width: 15px; text-align: center; font-size: 14px; }
.ti-p04-side li.on { background: #fff; color: var(--ti-primary); font-weight: 700; box-shadow: 0 3px 8px rgba(37,112,146,.12); }
.ti-p04-main { flex: 1; padding: 14px 16px 18px; min-width: 0; }
.ti-p04-rows > div { display: flex; justify-content: space-between; align-items: center; padding: 9px 11px; border-radius: 9px; font-size: 13px; color: var(--p4-ink); border-bottom: 1px solid #edf3f6; }
.ti-p04-rows b { font-weight: 600; }
.ti-p04-rows em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 12px; }
.ti-p04-rows .ok { background: #e2f6ea; color: #1b8a4a; } .ti-p04-rows .dr { background: var(--p4-peach-2); color: #b85f0d; }
.ti-p04-rows .hl { background: var(--p4-cream); border: 1px dashed #f0b98a; }
.ti-p04-edit { margin-top: 13px; padding: 13px 14px 14px; border: 1.5px solid #cfe3ee; border-radius: 12px; background: #fbfdfe; }
.ti-p04-edit .lbl { font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: #8aa0ac; font-weight: 700; }
.ti-p04-edit .hd { font-family: Ubuntu, Arial, sans-serif; font-weight: 700; font-size: 21px; color: var(--p4-ink); margin: 3px 0 10px; }
.ti-p04-edit .caret { display: inline-block; width: 2px; height: 22px; background: var(--ti-accent); margin-left: 3px; vertical-align: -4px; animation: p4blink 1s steps(1) infinite; }
@keyframes p4blink { 50% { opacity: 0; } }
.ti-p04-dash .ln, .ti-p04-live .ln { display: block; height: 7px; border-radius: 6px; background: #e3edf2; margin-bottom: 7px; }
.ti-p04-dash .ln.w1, .ti-p04-live .ln.w1 { width: 92%; } .ti-p04-dash .ln.w2, .ti-p04-live .ln.w2 { width: 64%; }
.ti-p04-pub { text-align: right; margin-top: 12px; }
.ti-p04-pub span { display: inline-block; background: var(--ti-accent); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 20px; border-radius: 8px; animation: p4pulse 2.2s ease-out infinite; }
@keyframes p4pulse { 0% { box-shadow: 0 0 0 0 rgba(238,127,28,.5); } 70%,100% { box-shadow: 0 0 0 13px rgba(238,127,28,0); } }
.ti-p04-tag { position: absolute; background: #fff; border-radius: 30px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; color: var(--p4-ink); box-shadow: 0 12px 26px -8px rgba(23,57,74,.3); display: flex; align-items: center; gap: 7px; animation: p4bob 5s ease-in-out infinite; }
.ti-p04-tag i { color: #1b9a52; font-size: 15px; }
.ti-p04-tag.t1 { right: -16px; top: 60px; } .ti-p04-tag.t2 { left: -22px; bottom: 34px; animation-delay: -2.5s; } .ti-p04-tag.t2 i { color: var(--ti-primary); }
@keyframes p4bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------------- WHY + DEMO ---------------- */
.ti-p04-why { background: var(--p4-cream); }
.ti-p04-copy p { max-width: 540px; }
.ti-p04-demo { background: #fff; border: 2px solid var(--p4-peach-2); border-radius: 22px; padding: 18px; box-shadow: 0 24px 50px -24px rgba(200,110,40,.4); }
.ti-p04-demo-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ti-p04-demo-t { font-weight: 700; font-size: 15px; color: var(--p4-ink); } .ti-p04-demo-t i { color: var(--ti-accent); margin-right: 8px; }
.ti-p04-demo-n { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: #8aa0ac; font-weight: 700; }
.ti-p04-demo-grid { display: grid; gap: 14px; }
.ti-p04-editor label { display: block; font-size: 12px; font-weight: 700; color: #6b8391; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 6px; }
.ti-p04-editor input { width: 100%; border: 2px solid var(--p4-sky-2); border-radius: 10px; padding: 10px 13px; font-size: 15px; color: var(--p4-ink); font-family: Ubuntu, Arial, sans-serif; background: #fbfdfe; outline: none; transition: border-color .25s; }
.ti-p04-editor input:focus { border-color: var(--ti-primary); }
.ti-p04-sugg { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 12px; }
.ti-p04-sugg button { border: 1px solid #f1cba6; background: var(--p4-peach); color: #a4530a; font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 20px; cursor: pointer; transition: all .25s; font-family: inherit; }
.ti-p04-sugg button:hover { background: var(--ti-accent); color: #fff; border-color: var(--ti-accent); }
.ti-p04-actions { display: flex; gap: 10px; align-items: center; }
.ti-p04-publish { border: 0; background: var(--ti-accent); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 22px; border-radius: 9px; cursor: pointer; font-family: inherit; animation: p4pulse 2.2s ease-out infinite; transition: transform .25s; }
.ti-p04-publish:hover { transform: translateY(-2px); } .ti-p04-publish i { margin-right: 8px; }
.ti-p04-reset { border: 0; background: none; color: var(--ti-primary); font-weight: 500; font-size: 13.5px; cursor: pointer; text-decoration: underline; font-family: inherit; }
.ti-p04-live { border: 1.5px solid #dbe8ef; border-radius: 13px; overflow: hidden; background: #fff; }
.ti-p04-live-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: #f3f7fa; }
.ti-p04-live-bar i { width: 8px; height: 8px; border-radius: 50%; background: #f5b48a; } .ti-p04-live-bar i:nth-child(2) { background: #f7d58a; } .ti-p04-live-bar i:nth-child(3) { background: #9fd6b4; }
.ti-p04-live-bar span { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 12px; background: #e9eef2; color: #6b8391; transition: all .3s; }
.ti-p04-demo.published .ti-p04-live-bar span { background: #e2f6ea; color: #1b8a4a; }
.ti-p04-live-page { padding: 14px 18px 18px; background: linear-gradient(180deg, #fff, var(--p4-cream)); }
.ti-p04-live-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.ti-p04-live-nav b { width: 46px; height: 12px; border-radius: 4px; background: var(--ti-primary); margin-right: auto; }
.ti-p04-live-nav s { width: 26px; height: 6px; border-radius: 4px; background: #d6e4ec; }
.ti-p04-live-page h3 { font-size: 22px; line-height: 1.25; margin: 0 0 10px; min-height: 28px; word-wrap: break-word; }
.ti-p04-live-btn { display: inline-block; margin-top: 4px; background: var(--ti-primary); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 15px; border-radius: 7px; }
.ti-p04-demo.flash .ti-p04-live-page h3 { animation: p4swap .7s ease; }
@keyframes p4swap { 0% { opacity: 0; transform: translateY(10px); background: #fff0c8; } 100% { opacity: 1; transform: none; background: transparent; } }
.ti-p04-demo-f { margin: 12px 2px 0 !important; font-size: 13px !important; color: #6b8391 !important; }

/* ---------------- COMPARISON ---------------- */
.ti-p04-cmp-sec { background: #fff; padding-top: 30px; padding-bottom: 44px; }
.ti-p04-cmp { max-width: 940px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: 0 26px 56px -26px rgba(23,57,74,.35); border: 1px solid #e3edf2; overflow: hidden; }
.ti-p04-cmp-h, .ti-p04-cmp-r { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; align-items: stretch; }
.ti-p04-cmp-h b { padding: 18px 22px; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 9px; font-family: Ubuntu, Arial, sans-serif; }
.ti-p04-cmp-h .wp { background: var(--p4-sky); color: var(--ti-primary); } .ti-p04-cmp-h .wp i { font-size: 20px; }
.ti-p04-cmp-h .cu { background: #f4f1ee; color: #6a5a4d; }
.ti-p04-cmp-r > span { padding: 17px 22px; font-size: 15px; line-height: 1.5; border-top: 1px solid #edf3f6; display: flex; align-items: flex-start; gap: 10px; color: var(--ti-text); }
.ti-p04-cmp-r .q { font-weight: 700; color: var(--p4-ink); background: var(--p4-cream); }
.ti-p04-cmp-r .a { background: rgba(232,244,250,.45); color: var(--p4-ink); font-weight: 500; }
.ti-p04-cmp-r .a i { color: #1b9a52; margin-top: 3px; font-size: 17px; } .ti-p04-cmp-r .b i { color: #c0a89a; margin-top: 3px; font-size: 17px; }
.ti-p04-cmp-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: var(--p4-peach); border-top: 2px dashed #f0b98a; }
.ti-p04-cmp-note > i { color: var(--ti-accent); font-size: 24px; margin-top: 2px; }
.ti-p04-cmp-note p { margin: 0 !important; color: #6b4a2e !important; }

/* ---------------- DECISIONS (sticky notes) ---------------- */
.ti-p04-dec { background: #fff; }
.ti-p04-dec-side { position: sticky; top: 110px; }
.ti-p04-dec-side p { font-size: 16px; }
.ti-p04-notes { display: grid; gap: 22px; }
.ti-p04-note { position: relative; padding: 26px 26px 22px 92px; border-radius: 18px; box-shadow: 0 16px 30px -18px rgba(23,57,74,.3); transition: transform .35s ease, box-shadow .35s ease; }
.ti-p04-note:hover { transform: translateY(-5px) rotate(0deg) !important; box-shadow: 0 22px 36px -16px rgba(23,57,74,.35); }
.ti-p04-note.n1 { background: var(--p4-peach); } .ti-p04-note.n2 { background: var(--p4-sky); } .ti-p04-note.n3 { background: #fff8de; }
.ti-p04-note .ic { position: absolute; left: 24px; top: 24px; width: 50px; height: 50px; border-radius: 14px; background: #fff; color: var(--ti-accent); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 6px 14px -6px rgba(23,57,74,.3); }
.ti-p04-note.n2 .ic { color: var(--ti-primary); }
.ti-p04-note h3 { font-size: 20px; margin: 0 0 8px; }
.ti-p04-note p { margin: 0 !important; }

/* ---------------- WHAT WE BUILD ---------------- */
.ti-p04-build { background: var(--p4-sky); }
.ti-p04-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ti-p04-tile { display: flex; gap: 16px; background: #fff; border-radius: 16px; padding: 22px 20px; box-shadow: 0 12px 26px -18px rgba(23,57,74,.35); transition: transform .3s ease, box-shadow .3s ease; }
.ti-p04-tile:hover { transform: translateY(-6px); box-shadow: 0 20px 32px -16px rgba(23,57,74,.4); }
.ti-p04-tile .ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: var(--p4-peach); color: var(--ti-accent); display: flex; align-items: center; justify-content: center; font-size: 21px; -webkit-text-stroke: .4px currentColor; }
.ti-p04-tile h3 { font-size: 17.5px; margin: 0 0 6px; line-height: 1.3; }
.ti-p04-tile p { margin: 0 !important; font-size: 14.5px !important; line-height: 1.62 !important; }
.ti-p04-xlinks { max-width: 860px; margin: 28px auto 0 !important; text-align: center; font-size: 15px !important; }

/* ---------------- CMS + DRIFT ---------------- */
.ti-p04-cms { background: #fff; padding-bottom: 52px; }
.ti-p04-cms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ti-p04-cms-list li { display: flex; align-items: flex-start; gap: 15px; background: var(--p4-cream); border: 1px solid #f6e2cc; border-radius: 14px; padding: 15px 18px; font-size: 15px; line-height: 1.6; color: var(--ti-text); }
.ti-p04-cms-list li i { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ti-primary); display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 5px 12px -5px rgba(23,57,74,.3); -webkit-text-stroke: .4px currentColor; }
.ti-p04-cms-list b { color: var(--p4-ink); }
.ti-p04-drift { margin-top: 44px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ti-p04-drift-track { display: flex; width: max-content; animation: p4drift 42s linear infinite; }
.ti-p04-drift:hover .ti-p04-drift-track { animation-play-state: paused; }
.ti-p04-drift ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 7px; }
.ti-p04-drift li { white-space: nowrap; display: flex; align-items: center; gap: 10px; background: var(--p4-peach); border: 1.5px solid #f6d3b3; color: var(--p4-ink); font-weight: 500; font-size: 15.5px; padding: 12px 22px; border-radius: 40px; }
.ti-p04-drift li:nth-child(even) { background: var(--p4-sky); border-color: #c8e0ed; }
.ti-p04-drift li i { color: var(--ti-accent); font-size: 17px; width: 18px; text-align: center; -webkit-text-stroke: .4px currentColor; } .ti-p04-drift li:nth-child(even) i { color: var(--ti-primary); }
@keyframes p4drift { to { transform: translateX(-50%); } }

/* ---------------- SPEED + SECURITY ---------------- */
.ti-p04-ss { background: #fff; }
.ti-p04-card { height: 100%; display: flex; flex-direction: column; border-radius: 22px; padding: 32px 30px 26px; }
.ti-p04-speed { background: linear-gradient(160deg, var(--p4-peach) 0%, #fff8ef 100%); border: 1px solid #f7dcc2; }
.ti-p04-sec { background: linear-gradient(160deg, var(--p4-sky) 0%, #f5fafd 100%); border: 1px solid #cfe4ef; }
.ti-p04-card .ti-section-title { font-size: 28px; }
.ti-p04-card p.lead { font-size: 16px; color: var(--p4-ink); font-weight: 500; }
.ti-p04-card h3 { font-size: 16px; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: 1px; color: var(--ti-accent-dark); }
.ti-p04-card ul { list-style: none; margin: 0; padding: 0; }
.ti-p04-card li { position: relative; padding: 0 0 0 30px; margin-bottom: 10px; font-size: 15px; line-height: 1.6; color: var(--ti-text); }
.ti-p04-card li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; line-height: 21px; text-align: center; border-radius: 50%; background: #fff; color: #1b9a52; font-size: 11px; box-shadow: 0 3px 8px -3px rgba(23,57,74,.35); }
.ti-p04-lcp { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 16px; padding: 14px 16px; margin: 6px 0 4px; box-shadow: 0 8px 20px -14px rgba(23,57,74,.4); }
.ti-p04-lcp p { margin: 0 !important; font-size: 14.5px !important; }
.ti-p04-lcp .ring { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; background: conic-gradient(#1b9a52 0 300deg, #e7eef2 300deg 360deg); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.ti-p04-lcp .ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.ti-p04-lcp .ring b, .ti-p04-lcp .ring small { position: relative; line-height: 1.1; }
.ti-p04-lcp .ring b { font-size: 17px; color: var(--p4-ink); } .ti-p04-lcp .ring small { font-size: 10.5px; letter-spacing: 1px; color: #6b8391; font-weight: 700; }

/* ---------------- LEAD GEN ---------------- */
.ti-p04-lead { background: var(--p4-cream); }
.ti-p04-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ti-p04-lg { background: #fff; border-radius: 16px; padding: 22px 18px 12px; text-align: center; border-bottom: 4px solid var(--ti-accent); box-shadow: 0 14px 26px -18px rgba(23,57,74,.35); transition: transform .3s; }
.ti-p04-lg:nth-child(even) { border-bottom-color: var(--ti-primary); }
.ti-p04-lg:hover { transform: translateY(-6px); }
.ti-p04-lg i { display: flex; width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 50%; background: var(--p4-peach); color: var(--ti-accent); font-size: 22px; align-items: center; justify-content: center; -webkit-text-stroke: .4px currentColor; }
.ti-p04-lg:nth-child(even) i { background: var(--p4-sky); color: var(--ti-primary); }
.ti-p04-lg p { font-size: 14px !important; line-height: 1.6 !important; }

/* ---------------- ARABIC ---------------- */
.ti-p04-ar { background: var(--p4-sky); }
.ti-p04-ar-side { position: sticky; top: 110px; }
.ti-p04-rtl { display: inline-flex; align-items: center; gap: 14px; background: #fff; border-radius: 40px; padding: 10px 24px; box-shadow: 0 10px 22px -12px rgba(23,57,74,.4); margin-top: 6px; }
.ti-p04-rtl span { font-size: 24px; font-weight: 700; color: var(--p4-ink); font-family: Ubuntu, Arial, sans-serif; } .ti-p04-rtl i { color: var(--ti-accent); font-size: 18px; }
.ti-p04-h3s { font-size: 20px; margin: 0 0 14px; }
.ti-p04-ar-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 11px; }
.ti-p04-ar-list li { display: flex; align-items: flex-start; gap: 14px; background: #fff; border-radius: 14px; padding: 13px 16px; font-size: 14.5px; line-height: 1.6; color: var(--ti-text); box-shadow: 0 8px 18px -14px rgba(23,57,74,.4); }
.ti-p04-ar-list li i { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--p4-peach); color: var(--ti-accent); display: flex; align-items: center; justify-content: center; font-size: 16px; -webkit-text-stroke: .4px currentColor; }
.ti-p04-ar-list code { background: var(--p4-peach); color: #a4530a; padding: 1px 6px; border-radius: 5px; font-size: 13px; }
.ti-p04-not { background: var(--p4-peach); border: 2px dashed #f0b98a; border-radius: 16px; padding: 18px 22px 8px; }
.ti-p04-not h3 { font-size: 17px; margin: 0 0 8px; } .ti-p04-not h3 i { color: var(--ti-accent); margin-right: 8px; }
.ti-p04-not p { color: #6b4a2e !important; font-size: 14.5px !important; }

/* ---------------- WORK (fan) ---------------- */
.ti-p04-work { background: #fff; }
.ti-p04-fan { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / .82; }
.ti-p04-fan figure { position: absolute; margin: 0; width: 60%; background: #fff; border-radius: 18px; padding: 8px 8px 0; box-shadow: 0 26px 44px -20px rgba(23,57,74,.5), 0 0 0 1px #e5edf2; transition: transform .55s cubic-bezier(.2,.7,.2,1), z-index 0s .15s; }
.ti-p04-fan figure img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; border-radius: 12px; background: #eef4f8; }
.ti-p04-fan figcaption { text-align: center; font-weight: 700; font-size: 13.5px; color: var(--p4-ink); padding: 8px 0 9px; }
.ti-p04-fan .c1 { left: 3%; top: 6%; transform: rotate(-6deg); z-index: 1; }
.ti-p04-fan .c2 { right: 3%; top: 0; transform: rotate(5deg); z-index: 2; }
.ti-p04-fan:hover .c1 { transform: translateX(-4%) rotate(-9deg); }
.ti-p04-fan:hover .c2 { transform: translateX(4%) rotate(8deg); }
.ti-p04-fan:hover figure:hover { z-index: 5; transform: translateY(-10px) rotate(0deg) scale(1.04); transition-delay: 0s; }
.ti-p04-proj { background: var(--p4-cream); border-left: 5px solid var(--ti-accent); border-radius: 14px; padding: 16px 20px 6px; margin-top: 16px; }
.ti-p04-proj:nth-of-type(2) { border-left-color: var(--ti-primary); background: var(--p4-sky); }
.ti-p04-proj .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--ti-accent-dark); margin-bottom: 4px; }
.ti-p04-proj h3 { font-size: 18px; margin: 0 0 6px; line-height: 1.35; }
.ti-p04-proj p { font-size: 14.5px !important; }

/* ---------------- PROCESS (snake path) ---------------- */
.ti-p04-proc { background: var(--p4-cream); }
.ti-p04-path { list-style: none; margin: 0 auto; padding: 0 52px; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 0; row-gap: 34px; counter-reset: none; max-width: 1080px; }
.ti-p04-path li { position: relative; padding: 0 16px; text-align: center; }
.ti-p04-path li::before { content: ""; position: absolute; top: 25px; left: 0; right: 0; border-top: 3px dashed #f0b98a; }
.ti-p04-path li:nth-child(1)::before { left: 50%; } .ti-p04-path li:nth-child(9)::before { right: 50%; }
.ti-p04-path li:nth-child(4) { grid-column: 3; grid-row: 2; } .ti-p04-path li:nth-child(5) { grid-column: 2; grid-row: 2; } .ti-p04-path li:nth-child(6) { grid-column: 1; grid-row: 2; }
.ti-p04-path li:nth-child(3)::after, .ti-p04-path li:nth-child(6)::after { content: ""; position: absolute; top: 25px; height: calc(100% + 34px); width: 52px; border: 3px dashed #f0b98a; }
.ti-p04-path li:nth-child(3)::after { right: -52px; border-left: 0; border-radius: 0 40px 40px 0; }
.ti-p04-path li:nth-child(6)::after { left: -52px; border-right: 0; border-radius: 40px 0 0 40px; }
.ti-p04-path .dot { position: relative; z-index: 1; display: inline-flex; width: 50px; height: 50px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; border: 3px solid var(--ti-accent); color: var(--ti-accent-dark); font-weight: 700; font-size: 18px; box-shadow: 0 0 0 7px var(--p4-cream); transition: transform .35s, background .35s, color .35s; }
.ti-p04-path li:nth-child(even) .dot { border-color: var(--ti-primary); color: var(--ti-primary); }
.ti-p04-path li:hover .dot { transform: scale(1.14); background: var(--ti-accent); color: #fff; }
.ti-p04-path li:nth-child(even):hover .dot { background: var(--ti-primary); }
.ti-p04-path li:nth-child(9) .dot { background: var(--ti-accent); color: #fff; }
.ti-p04-path h3 { font-size: 17.5px; margin: 12px 0 5px; }
.ti-p04-path p { font-size: 14.5px !important; line-height: 1.6 !important; margin: 0 !important; }

/* ---------------- FAQ (tabs left / answer right on desktop) ---------------- */
.ti-p04-faq { background: #fff; }
@media (min-width: 992px) {
  .ti-p04-faq-list { display: grid; grid-template-columns: 5fr 7fr; column-gap: 32px; grid-auto-rows: min-content; align-items: start; }
  .ti-p04-faq-list .accordion-item { display: contents; }
  .ti-p04-faq-list .accordion-header { grid-column: 1; margin: 0 0 8px; }
  .ti-p04-faq-list .accordion-button { border-radius: 12px !important; border: 2px solid var(--ti-border); background: #fff; padding: 15px 20px 15px 18px; font-size: 15.5px; line-height: 1.4; box-shadow: 0 3px 10px rgba(23,57,74,.05) !important; }
  .ti-p04-faq-list .accordion-button::before { display: none; }
  .ti-p04-faq-list .accordion-button::after { display: none !important; }
  .ti-p04-faq-list .accordion-button:not(.collapsed) { background: var(--p4-peach); color: var(--p4-ink); border-color: var(--ti-accent); position: relative; }
  .ti-p04-faq-list .accordion-button:not(.collapsed)::before { display: block; content: "\f105"; font-family: FontAwesome; background: var(--ti-accent); color: #fff; width: 26px; height: 26px; line-height: 26px; right: -13px; transform: translateY(-50%); font-size: 17px; z-index: 2; }
  .ti-p04-faq-list .accordion-collapse { grid-column: 2; grid-row: 1 / span 8; display: none; position: sticky; top: 110px; align-self: start; }
  .ti-p04-faq-list .accordion-collapse.show { display: block; }
  .ti-p04-faq-list .accordion-body { background: linear-gradient(160deg, var(--p4-peach), var(--p4-cream)); border: 2px solid #f6d3b3; border-radius: 20px; padding: 32px 34px; box-shadow: 0 22px 40px -24px rgba(200,110,40,.45); }
  .ti-p04-faq-list .accordion-body p { font-size: 17px !important; line-height: 1.75 !important; color: var(--p4-ink); }
  .ti-p04-faq-list .accordion-body::before { content: "\f10d"; font-family: FontAwesome; display: block; color: var(--ti-accent); font-size: 26px; margin-bottom: 8px; }
}

/* ---------------- FINAL CTA ---------------- */
.ti-p04-final { background: #fff; padding-top: 30px; padding-bottom: 60px; }
.ti-p04-final-card { position: relative; overflow: hidden; border-radius: 30px; background: linear-gradient(135deg, #ffe4cc 0%, #fff1e2 50%, #dcedf7 100%); padding: 56px 40px 230px; text-align: center; box-shadow: 0 30px 60px -30px rgba(200,110,40,.5); }
.ti-p04-final-card .in { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.ti-p04-final-card h2 { font-family: Ubuntu, Arial, sans-serif; font-weight: 700; font-size: 36px; line-height: 1.25; color: var(--p4-ink); margin: 0 0 14px; }
.ti-p04-final-card p { font-size: 17px; color: #4a6472; margin: 0 0 24px; }
.ti-p04-final-card .ti-p04-cta { justify-content: center; }
.ti-p04-final-card > img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 210px; object-fit: cover; object-position: center 82%; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 42%); mask-image: linear-gradient(to bottom, transparent 0, #000 42%); }

/* ---------------- RESPONSIVE ---------------- */
@media (min-width: 576px) and (max-width: 991px), (min-width: 1200px) {
  .ti-p04-demo-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 1199px) and (min-width: 992px) {
  .ti-p04-h1 { font-size: 40px; }
  .ti-p04-strip { gap: 12px; } .ti-p04-lg { padding: 18px 12px 8px; }
  .ti-p04-tag.t1 { right: -6px; } .ti-p04-tag.t2 { left: -10px; }
}
@media (max-width: 991px) {
  .ti-p04-h2 { font-size: 29px; }
  .ti-p04-hero { padding: 44px 0 190px; }
  .ti-p04-creek { height: 340px; }
  .ti-p04-h1 { font-size: 36px; }
  .ti-p04-sub { max-width: 640px; }
  .ti-p04-dash { margin: 44px auto 0; }
  .ti-p04-tag.t1 { right: -8px; } .ti-p04-tag.t2 { left: -8px; }
  .ti-p04-copy { text-align: center; margin-bottom: 26px; } .ti-p04-copy p { margin-left: auto; margin-right: auto; }
  .ti-p04-dec-side, .ti-p04-ar-side { position: static; text-align: center; margin-bottom: 24px; }
  .ti-p04-notes { gap: 16px; }
  .ti-p04-tiles { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ti-p04-strip { grid-template-columns: repeat(6, 1fr); }
  .ti-p04-lg { grid-column: span 2; } .ti-p04-lg:nth-child(4) { grid-column: 2 / span 2; } .ti-p04-lg:nth-child(5) { grid-column: 4 / span 2; }
  .ti-p04-card { padding: 26px 24px 20px; }
  .ti-p04-fan { margin-bottom: 34px; }
  .ti-p04-work .ti-p04-copy { margin-bottom: 8px; }
  /* path becomes a single winding line */
  .ti-p04-path { display: block; padding: 0 0 0 4px; max-width: 640px; }
  .ti-p04-path li { display: flex; text-align: left; gap: 16px; padding: 0 0 22px; }
  .ti-p04-path li::before { top: 0; bottom: 0; left: 24px !important; right: auto !important; border-top: 0; border-left: 3px dashed #f0b98a; }
  .ti-p04-path li:nth-child(1)::before { top: 25px; } .ti-p04-path li:nth-child(9)::before { bottom: auto; height: 25px; }
  .ti-p04-path li::after { display: none !important; }
  .ti-p04-path .dot { flex: 0 0 50px; box-shadow: 0 0 0 5px var(--p4-cream); }
  .ti-p04-path h3 { margin-top: 3px; }
  .ti-p04-faq-list .accordion-item { margin-bottom: 12px; }
  .ti-p04-final-card { padding: 44px 26px 200px; border-radius: 24px; }
  .ti-p04-final-card h2 { font-size: 29px; }
}
@media (max-width: 767px) {
  section[class*="ti-p04-"] p { font-size: 13.5px; line-height: 1.65; margin-bottom: 10px; }
  .ti-p04-copy, .ti-p04-dec-side, .ti-p04-ar-side { text-align: left; } .ti-p04-copy p { margin-left: 0; margin-right: 0; }
  .ti-p04-h2 { font-size: 22px; }
  .ti-p04-hero { padding: 26px 0 120px; }
  .ti-p04-creek { height: 250px; }
  .ti-p04-proof { font-size: 11px; padding: 6px 12px; margin-bottom: 12px; }
  .ti-p04-h1 { font-size: 25px; margin-bottom: 10px; }
  .ti-p04-sub { font-size: 14px !important; margin-bottom: 16px !important; }
  .ti-p04-cta { flex-direction: column; gap: 9px; }
  .ti-p04-cta .ti-uae-btn { width: 100%; }
  .ti-p04-micro { font-size: 12px !important; margin-top: 10px !important; }
  .ti-p04-dash { margin-top: 30px; border-radius: 14px; }
  .ti-p04-dash-top { padding: 8px 10px; border-radius: 14px 14px 0 0; } .ti-p04-dash-top span { font-size: 10px; }
  .ti-p04-side { width: 84px; flex-basis: 84px; padding: 10px 6px; border-radius: 0 0 0 14px; }
  .ti-p04-side li { font-size: 11px; padding: 6px 6px; gap: 5px; } .ti-p04-side li i { width: 12px; font-size: 11px; }
  .ti-p04-main { padding: 10px 10px 12px; }
  .ti-p04-rows > div { padding: 6px 7px; font-size: 11.5px; } .ti-p04-rows em { font-size: 9.5px; padding: 2px 6px; }
  .ti-p04-edit { margin-top: 9px; padding: 9px 10px 10px; } .ti-p04-edit .hd { font-size: 16px; margin-bottom: 7px; } .ti-p04-edit .caret { height: 16px; vertical-align: -2px; }
  .ti-p04-pub { margin-top: 8px; } .ti-p04-pub span { font-size: 11.5px; padding: 6px 15px; }
  .ti-p04-tag { font-size: 10.5px; padding: 5px 10px; } .ti-p04-tag.t1 { right: -4px; top: 44px; } .ti-p04-tag.t2 { left: -4px; bottom: 16px; }
  .ti-p04-copy { margin-bottom: 18px; }
  .ti-p04-demo { padding: 14px; border-radius: 16px; }
  .ti-p04-demo-t { font-size: 13.5px; } .ti-p04-editor input { font-size: 14px; padding: 9px 11px; }
  .ti-p04-sugg { margin: 8px 0 10px; gap: 6px; } .ti-p04-sugg button { font-size: 12px; padding: 4px 10px; }
  .ti-p04-live-page { padding: 11px 14px 13px; } .ti-p04-live-page h3 { font-size: 18px; }
  .ti-p04-demo-f { font-size: 12px !important; }
  .ti-p04-cmp { border-radius: 16px; }
  .ti-p04-cmp-h, .ti-p04-cmp-r { grid-template-columns: 1fr 1fr; }
  .ti-p04-cmp-h span { display: none; }
  .ti-p04-cmp-h b { padding: 11px 12px; font-size: 13px; gap: 6px; } .ti-p04-cmp-h .wp i { font-size: 16px; }
  .ti-p04-cmp-r .q { grid-column: 1 / -1; padding: 9px 12px; font-size: 13px; border-top: 1px solid #f1e3d4; }
  .ti-p04-cmp-r > span { padding: 11px 12px; font-size: 12.5px; line-height: 1.45; gap: 7px; border-top: 0; }
  .ti-p04-cmp-r .a i, .ti-p04-cmp-r .b i { font-size: 14px; margin-top: 1px; }
  .ti-p04-cmp-note { padding: 13px 14px; gap: 10px; } .ti-p04-cmp-note > i { font-size: 19px; }
  .ti-p04-cmp-sec { padding-top: 18px; }
  .ti-p04-dec-side p { font-size: 13.5px; }
  .ti-p04-note { padding: 14px 16px 12px 16px; border-radius: 14px; }
  .ti-p04-note .ic { position: static; width: 38px; height: 38px; font-size: 17px; border-radius: 11px; margin-bottom: 8px; }
  .ti-p04-note h3 { font-size: 16.5px; margin-bottom: 6px; }
  .ti-p04-tiles { grid-template-columns: 1fr; gap: 10px; }
  .ti-p04-tile { padding: 13px 14px; gap: 12px; border-radius: 13px; }
  .ti-p04-tile:hover { transform: none; }
  .ti-p04-tile .ic { flex-basis: 40px; width: 40px; height: 40px; font-size: 17px; border-radius: 11px; }
  .ti-p04-tile h3 { font-size: 15.5px; margin-bottom: 3px; } .ti-p04-tile p { font-size: 13px !important; line-height: 1.55 !important; }
  .ti-p04-xlinks { font-size: 13px !important; margin-top: 18px !important; text-align: left; }
  .ti-p04-cms { padding-bottom: 34px; }
  .ti-p04-cms-list { gap: 10px; } .ti-p04-cms-list li { padding: 11px 13px; gap: 11px; font-size: 13px; border-radius: 12px; }
  .ti-p04-cms-list li i { flex-basis: 34px; width: 34px; height: 34px; font-size: 14px; }
  .ti-p04-drift { margin-top: 24px; } .ti-p04-drift ul { gap: 9px; } .ti-p04-drift li { font-size: 13px; padding: 9px 16px; gap: 8px; } .ti-p04-drift-track { animation-duration: 34s; }
  .ti-p04-card { padding: 20px 16px 12px; border-radius: 16px; }
  .ti-p04-card .ti-section-title { font-size: 21px; margin-bottom: 8px; }
  .ti-p04-card p.lead { font-size: 13.5px; }
  .ti-p04-card h3 { font-size: 13.5px; margin: 12px 0 6px; }
  .ti-p04-card li { font-size: 13px; padding-left: 26px; margin-bottom: 7px; line-height: 1.55; }
  .ti-p04-card li::before { width: 18px; height: 18px; line-height: 18px; font-size: 9.5px; }
  .ti-p04-lcp { padding: 10px 12px; gap: 12px; } .ti-p04-lcp .ring { flex-basis: 66px; width: 66px; height: 66px; } .ti-p04-lcp .ring::before { inset: 6px; } .ti-p04-lcp .ring b { font-size: 13px; } .ti-p04-lcp .ring small { font-size: 9px; } .ti-p04-lcp p { font-size: 12.5px !important; }
  .ti-p04-strip { display: flex; overflow-x: auto; gap: 12px; margin: 0 -15px; padding: 4px 15px 16px; scroll-padding: 0 15px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .ti-p04-lg { flex: 0 0 210px; scroll-snap-align: start; padding: 16px 14px 6px; text-align: left; } .ti-p04-lg i { margin: 0 0 9px; width: 40px; height: 40px; font-size: 17px; }
  .ti-p04-lg p { font-size: 12.5px !important; }
  .ti-p04-h3s { font-size: 17px; margin-bottom: 10px; }
  .ti-p04-rtl { padding: 6px 18px; } .ti-p04-rtl span { font-size: 20px; }
  .ti-p04-ar-list { gap: 8px; margin-bottom: 14px; } .ti-p04-ar-list li { padding: 10px 12px; gap: 11px; font-size: 13px; border-radius: 12px; }
  .ti-p04-ar-list li i { flex-basis: 30px; width: 30px; height: 30px; font-size: 13px; border-radius: 9px; }
  .ti-p04-not { padding: 13px 15px 4px; border-radius: 13px; } .ti-p04-not h3 { font-size: 15.5px; } .ti-p04-not p { font-size: 13px !important; }
  .ti-p04-fan { margin-bottom: 20px; } .ti-p04-fan figure { border-radius: 12px; padding: 5px 5px 0; } .ti-p04-fan figure img { border-radius: 8px; } .ti-p04-fan figcaption { font-size: 11.5px; padding: 5px 0 6px; }
  .ti-p04-proj { padding: 12px 14px 3px; margin-top: 10px; border-left-width: 4px; }
  .ti-p04-proj h3 { font-size: 15.5px; } .ti-p04-proj p { font-size: 13px !important; } .ti-p04-proj .tag { font-size: 10.5px; }
  .ti-p04-path li { gap: 12px; padding-bottom: 14px; }
  .ti-p04-path li::before { left: 19px !important; }
  .ti-p04-path li:nth-child(1)::before { top: 19px; } .ti-p04-path li:nth-child(9)::before { height: 19px; }
  .ti-p04-path .dot { flex-basis: 38px; width: 38px; height: 38px; font-size: 14.5px; border-width: 2px; box-shadow: 0 0 0 4px var(--p4-cream); }
  .ti-p04-path h3 { font-size: 15.5px; margin: 1px 0 2px; } .ti-p04-path p { font-size: 13px !important; }
  .ti-p04-faq-list .accordion-item { margin-bottom: 9px; }
  .ti-p04-faq-list .accordion-button { font-size: 14px; padding: 12px 50px 12px 14px; line-height: 1.4; }
  .ti-p04-faq-list .accordion-button::before { right: 12px; width: 26px; height: 26px; line-height: 26px; font-size: 17px; }
  .ti-p04-faq-list .accordion-body { padding: 0 14px 12px; } .ti-p04-faq-list .accordion-body p { font-size: 13.5px !important; line-height: 1.65 !important; }
  .ti-p04-final { padding-top: 10px; }
  .ti-p04-final-card { padding: 28px 16px 130px; border-radius: 18px; }
  .ti-p04-final-card h2 { font-size: 22px; margin-bottom: 9px; } .ti-p04-final-card p { font-size: 13.5px; margin-bottom: 16px; }
  .ti-p04-final-card > img { height: 120px; }
}
@media (max-width: 991px) { .ti-p04-tiles + .ti-p04-xlinks { margin-top: 22px !important; } }

/* reduced motion: everything static, chips wrap instead of drifting */
@media (prefers-reduced-motion: reduce) {
  .ti-p04-dash, .ti-p04-tag, .ti-p04-pub span, .ti-p04-publish, .ti-p04-edit .caret, .ti-p04-drift-track { animation: none !important; }
  .ti-p04-creek img { transform: none; }
  .ti-p04-drift { -webkit-mask-image: none; mask-image: none; }
  .ti-p04-drift-track { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .ti-p04-drift ul { flex-wrap: wrap; justify-content: center; }
  .ti-p04-drift ul[aria-hidden="true"] { display: none; }
}

/* security visual (decorative) */
.ti-p04-lock { margin-top: auto; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 40px; padding: 10px 18px; box-shadow: 0 8px 20px -14px rgba(23,57,74,.5); font-size: 14px; color: var(--p4-ink); font-weight: 500; }
.ti-p04-lock i { color: #1b9a52; font-size: 18px; -webkit-text-stroke: .4px currentColor; }
.ti-p04-lock em { font-style: normal; margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 1px; background: #e2f6ea; color: #1b8a4a; padding: 3px 10px; border-radius: 12px; }
@media (max-width: 767px) { .ti-p04-lock { font-size: 12px; padding: 8px 13px; margin-bottom: 8px; } }
@media (min-width: 992px) { .ti-p04-card ul { margin-bottom: 18px; } }
@media (max-width: 991px) and (min-width: 768px) { .ti-p04-dash { margin-top: 44px; } }


/* ===== v2: even layout, real imagery ===== */
.ti-p04-dash { margin-top: 0 !important; transform: none !important; animation: none !important; }
.ti-p04-notes, .ti-p04-tiles, .ti-p04-strip { align-items: stretch; }
.ti-p04-tile, .ti-p04-lg { height: 100%; }
.ti-p04-note { transform: none !important; margin-top: 0 !important; }
.ti-p04-ill { margin: 0 0 24px; }
.ti-p04-ill img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 22px 44px -22px rgba(23,57,74,.4); }
.ti-p04-splitrow { margin-bottom: 30px; }
.ti-p04-splitrow .ti-p04-copy p { max-width: none; }
.ti-p04-cards { align-items: stretch; }
.ti-p04-cards > [class*="col-"] { display: flex; }
.ti-p04-cards .ti-p04-card { width: 100%; }
.ti-p04-cms .ti-p04-cms-list { margin-top: 8px; }
.ti-p04-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; max-width: 560px; margin: 0 auto; }
.ti-p04-pair figure { margin: 0; background: #fff; border-radius: 18px; padding: 8px 8px 0; box-shadow: 0 18px 34px -20px rgba(23,57,74,.45), 0 0 0 1px #e5edf2; display: flex; flex-direction: column; }
.ti-p04-pair figure img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; border-radius: 12px; background: #eef4f8; }
.ti-p04-pair figcaption { text-align: center; font-weight: 700; font-size: 13.5px; color: var(--p4-ink); padding: 8px 0 9px; margin-top: auto; }
/* process as a straight vertical list beside the image */
.ti-p04-procrow .ti-uae-head { text-align: left; margin-bottom: 18px; }
.ti-p04-procrow .ti-p04-path { display: block; padding: 0 0 0 4px; max-width: none; margin: 0; }
.ti-p04-procrow .ti-p04-path li { display: flex; text-align: left; gap: 16px; padding: 0 0 18px; }
.ti-p04-procrow .ti-p04-path li::before { top: 0; bottom: 0; left: 24px !important; right: auto !important; border-top: 0; border-left: 3px dashed #f0b98a; }
.ti-p04-procrow .ti-p04-path li:nth-child(1)::before { top: 25px; } .ti-p04-procrow .ti-p04-path li:nth-child(9)::before { bottom: auto; height: 25px; }
.ti-p04-procrow .ti-p04-path li::after { display: none !important; }
.ti-p04-procrow .ti-p04-path li:nth-child(n) { grid-column: auto; grid-row: auto; }
.ti-p04-procrow .ti-p04-path .dot { flex: 0 0 50px; box-shadow: 0 0 0 5px var(--p4-cream); }
.ti-p04-procrow .ti-p04-path h3 { margin-top: 3px; }
@media (max-width: 991px) { .ti-p04-ill { max-width: 560px; margin: 0 auto 20px; } .ti-p04-procrow .ti-uae-head { margin-top: 0; } }
@media (max-width: 767px) {
  .ti-p04-ill { margin-bottom: 14px; } .ti-p04-ill img { border-radius: 14px; }
  .ti-p04-pair { gap: 10px; } .ti-p04-pair figure { border-radius: 12px; padding: 5px 5px 0; } .ti-p04-pair figcaption { font-size: 11.5px; padding: 5px 0 6px; }
  .ti-p04-splitrow { margin-bottom: 14px; }
  .ti-p04-procrow .ti-p04-path li { gap: 12px; padding-bottom: 12px; }
  .ti-p04-procrow .ti-p04-path li::before { left: 19px !important; }
  .ti-p04-procrow .ti-p04-path li:nth-child(1)::before { top: 19px; } .ti-p04-procrow .ti-p04-path li:nth-child(9)::before { height: 19px; }
  .ti-p04-procrow .ti-p04-path .dot { flex-basis: 38px; width: 38px; height: 38px; font-size: 14.5px; border-width: 2px; box-shadow: 0 0 0 4px var(--p4-cream); }
}

.ti-p04-hero{overflow-x:clip}

/* ===== hero photo ===== */
.ti-p04-hero { padding: 58px 0 64px; }
.ti-p04-herophoto { position: relative; margin: 0 0 0 auto; max-width: 600px; width: 100%; }
.ti-p04-herophoto img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 56px -24px rgba(120,60,20,.45), 0 0 0 1px rgba(23,57,74,.06); }
.ti-p04-herophoto .ti-p04-tag { animation: none; right: 14px; top: 14px; left: auto; bottom: auto; }
@media (max-width: 991px) { .ti-p04-hero { padding: 40px 0 44px; } .ti-p04-herophoto { margin: 28px auto 0; max-width: 640px; } .ti-p04-herophoto img { border-radius: 20px; } }
@media (max-width: 767px) { .ti-p04-hero { padding: 26px 0 30px; } .ti-p04-herophoto { margin-top: 20px; } .ti-p04-herophoto img { border-radius: 18px; } .ti-p04-herophoto .ti-p04-tag { right: 10px; top: 10px; } }
