/* Crafts Software UI 4: new layouts. Loads after ui3.css (which holds the colours).
   Header on dark glass with mega menus, centred hero with a product window, tabbed services, industry mosaic,
   numbered timelines, emirate grid, split FAQ, contact-rich call to action and footer,
   and a rich bottom bar on every page (phone tab bar with quick-contact sheet, desktop dock). */

/* ---------- Header: dark glass that blends into the page heroes ---------- */
.topbar { background: var(--mid-2); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-header { background: rgba(var(--mid-rgb), .96); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.site-header.scrolled { background: rgba(var(--mid-rgb), .94); box-shadow: 0 16px 40px -24px rgba(0, 0, 0, .8); }
.site-header .brand { color: #fff; }
.site-header .brand-mark rect { fill: var(--gold-deep); }
.site-header .search-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.site-header .search-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.site-header .menu-btn { background: var(--gold-deep); border-color: transparent; }
@media (min-width: 1041px) {
  .site-header .nav-links > a, .site-header .has-menu > a { color: #cdd3dc; position: relative; }
  .site-header .nav-links > a:hover, .site-header .has-menu > a:hover, .site-header .has-menu:hover > a { color: #fff; background: rgba(255, 255, 255, .07); }
  .site-header .nav-links > a[aria-current="page"], .site-header .has-menu > a[aria-current="page"] { color: #fff; background: rgba(var(--acc-rgb), .22); }
  /* Mega menu */
  .site-header .has-menu { position: relative; }
  .site-header .has-menu:hover .menu-panel, .site-header .has-menu:focus-within .menu-panel {
    display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); min-width: 560px; gap: 4px 8px; padding: 14px;
    top: calc(100% + 10px); left: 50%; transform: translateX(-50%); border-radius: 20px;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(6, 12, 22, .55);
  }
  .site-header .has-menu .menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .site-header .menu-panel a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--ink) !important; font-weight: 550; font-size: .93rem; }
  .site-header .menu-panel a:not(.menu-all)::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(var(--acc-rgb), .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1530' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat; transition: background-color var(--fast); }
  .site-header .menu-panel a:hover { background: var(--pearl); }
  .site-header .menu-panel a:hover::before { background-color: rgba(var(--acc-rgb), .18); }
  .site-header .menu-panel .menu-all { grid-column: 1 / -1; justify-content: center; margin-top: 6px; padding: 12px; border: 0; border-radius: 12px; background: var(--ink); color: #fff !important; }
  .site-header .menu-panel .menu-all:hover { background: var(--gold-deep); }
}

/* ---------- Shared bits ---------- */
.x-num { font: 700 .78rem var(--font); letter-spacing: .08em; color: var(--gold-text); }
.x-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(var(--acc-rgb), .1); color: var(--gold-deep); }
.x-ico.wa { background: rgba(31, 180, 85, .12); color: #12924a; }
.x-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.x-head h2 { margin: 6px 0 0; max-width: 20ch; }
.x-head > p { margin: 0; }
.x-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.x-head.center h2 { max-width: 24ch; margin-inline: auto; }
.x-head.center .lead { max-width: 60ch; }
.x-more { margin: 32px 0 0; }
@media (max-width: 860px) { .x-head { grid-template-columns: 1fr; } }

/* ---------- Home hero: centred, stats row and a product window ---------- */
.x-hero { padding: clamp(56px, 8vw, 104px) 0 0 !important; text-align: center; }
.x-hero-glow { position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--acc-rgb), .55), transparent 70%); pointer-events: none; z-index: -1; }
.x-hero-in { display: flex; flex-direction: column; align-items: center; }
.x-hero h1 { max-width: 15ch !important; margin: 18px auto 18px; font-size: clamp(2.6rem, 7vw, 5.4rem) !important; }
.x-hero .lead { max-width: 60ch !important; margin: 0 auto; font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.x-hero .cta-row { justify-content: center; margin-top: 30px; }
.x-hero .hero-note { justify-content: center; margin-top: 22px; }
.x-stats { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.x-stats li { margin: 0; padding: 20px 18px; text-align: left; border-left: 1px solid rgba(255, 255, 255, .08); color: #aab3c2; font-size: .86rem; line-height: 1.4; }
.x-stats li:first-child { border-left: 0; }
.x-stats strong { display: block; margin-bottom: 4px; font: 700 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--display); letter-spacing: -.02em; color: #fff; }
.x-stats li:first-child strong { color: var(--gold); }

.x-stage { position: relative; width: min(100%, 980px); margin: clamp(40px, 6vw, 64px) auto 0; padding: 0 0 0; text-align: left; }
.x-window { position: relative; z-index: 2; border-radius: 20px 20px 0 0; background: #fff; border: 1px solid rgba(255, 255, 255, .6); border-bottom: 0; box-shadow: 0 -20px 80px -20px rgba(var(--acc-rgb), .55); overflow: hidden; }
.x-window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--pearl); }
.x-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dadee5; }
.x-window-bar i:nth-child(1) { background: var(--warm); } .x-window-bar i:nth-child(2) { background: #ffc145; } .x-window-bar i:nth-child(3) { background: #35d27a; }
.x-window-bar span { margin-left: 10px; font-size: .8rem; font-weight: 650; color: var(--body); }
.x-window-bar .live { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 700; color: #0f8a4b; background: rgba(53, 210, 122, .14); border-radius: 99px; padding: 3px 10px; }
.x-window-body { display: grid; grid-template-columns: 170px 1fr; min-height: 330px; }
.x-side { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; border-right: 1px solid var(--line); background: #fbfcfd; }
.x-side b { display: block; width: 70%; height: 10px; border-radius: 5px; background: var(--ink); margin-bottom: 10px; }
.x-side span { display: block; height: 30px; border-radius: 9px; background: var(--pearl); }
.x-side span.on { background: rgba(var(--acc-rgb), .14); box-shadow: inset 3px 0 0 var(--gold-deep); }
.x-main { padding: 18px 20px 22px; }
.x-main .st-bars { height: 120px; }
.x-crm { position: absolute !important; z-index: 3; left: -70px; top: 190px; width: 300px; animation: none !important; }
.x-web { position: absolute !important; z-index: 3; right: -60px; top: 200px; width: 250px; animation: none !important; }
.st-chip.x-c1 { position: absolute; z-index: 4; left: -40px; top: 130px; animation: none; }
.st-chip.x-c2 { position: absolute; z-index: 4; right: -20px; top: 140px; background: #fff; color: var(--ink); border: 1px solid var(--line); animation: none; }
.st-chip.x-c2 svg { color: #12924a; }
.x-stage .st-caption { position: absolute; right: 0; bottom: auto; top: -26px; left: auto; color: #7f8a9c; }
@media (max-width: 1100px) { .x-crm { left: -20px; } .x-web { right: -16px; } .st-chip.x-c1 { left: 0; } .st-chip.x-c2 { right: 0; } }
@media (max-width: 860px) {
  .x-stats { grid-template-columns: repeat(2, 1fr); }
  .x-stats li:nth-child(odd) { border-left: 0; }
  .x-stats li { border-top: 1px solid rgba(255, 255, 255, .08); }
  .x-stats li:nth-child(-n+2) { border-top: 0; }
  .x-stats li:last-child { grid-column: 1 / -1; }
  .x-window-body { grid-template-columns: 1fr; }
  .x-side { display: none; }
  .x-crm, .x-web, .st-chip.x-c2 { display: none !important; }
  .st-chip.x-c1 { left: 12px; top: auto; bottom: 18px; }
  .x-stage .st-caption { position: static; text-align: center; margin: 10px 0 0; order: -1; }
}

/* Marquee: big outlined words on white */
.x-marquee { background: #fff !important; padding: 18px 0 !important; border-bottom: 1px solid var(--line); }
.x-marquee span { background: none !important; border: 0 !important; padding: 0 18px !important; font: 700 clamp(1.3rem, 2.6vw, 2rem) var(--display) !important; letter-spacing: -.02em; color: transparent !important; -webkit-text-stroke: 1px rgba(13, 23, 38, .35); }
.x-marquee span:nth-child(3n) { color: var(--gold-deep) !important; -webkit-text-stroke: 0; }
.x-marquee span::after { content: "\2726"; margin-left: 36px; -webkit-text-stroke: 0; color: var(--warm); font-size: .6em; vertical-align: middle; }

/* ---------- Services: tabs on the left, a rich panel on the right ---------- */
.x-tabs { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: stretch; }
.x-tablist { display: flex; flex-direction: column; gap: 8px; }
.x-tablist [role="tab"] { display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color var(--fast), background var(--fast), box-shadow var(--std), transform var(--std) var(--ease); }
.x-tablist [role="tab"]:hover { border-color: rgba(var(--acc-rgb), .35); }
.x-tablist [role="tab"][aria-selected="true"] { background: var(--ink); border-color: transparent; box-shadow: 0 20px 40px -24px rgba(13, 23, 38, .7); transform: translateX(6px); }
.x-tablist [role="tab"][aria-selected="true"] .x-num { color: var(--gold); }
.x-tab-txt strong { display: block; font: 650 1.05rem/1.25 var(--display); color: var(--ink); letter-spacing: -.01em; }
.x-tab-txt small { display: block; margin-top: 2px; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.x-tablist [role="tab"][aria-selected="true"] strong { color: #fff; }
.x-tablist [role="tab"][aria-selected="true"] small { color: #aab3c2; }
.x-tab-arrow { color: var(--muted); transition: transform var(--fast); }
.x-tablist [role="tab"][aria-selected="true"] .x-tab-arrow { color: #fff; transform: translateX(3px); }
.x-panels { position: relative; }
.x-panel { height: 100%; padding: clamp(28px, 3.4vw, 44px); border-radius: 24px; color: #fff; background: var(--grad-brand); background-image: radial-gradient(420px 280px at 100% 0%, rgba(255, 255, 255, .2), transparent 60%), radial-gradient(360px 260px at 0% 110%, rgba(var(--warm-rgb), .35), transparent 60%), var(--grad-brand); box-shadow: 0 40px 80px -40px rgba(var(--acc-rgb), .8); }
.x-panel[hidden] { display: none; }
.x-panel .glyph { width: 56px; height: 56px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .25); border-radius: 16px; }
.x-panel .glyph svg { width: 28px; height: 28px; }
.x-panel h3 { margin: 22px 0 6px; font-size: clamp(1.5rem, 2.4vw, 2rem); color: #fff; }
.x-panel-tag { font-size: 1.08rem; color: #fff !important; opacity: .92; margin-bottom: 14px; }
.x-panel p { color: #dde3ec; }
.x-checks { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.x-checks li { position: relative; margin: 0; padding-left: 28px; color: #fff; font-size: .95rem; line-height: 1.4; }
.x-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.x-panel .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .5); }
.x-panel .btn-primary:hover { background: var(--ink); color: #fff; }
@media (max-width: 960px) {
  .x-tabs { grid-template-columns: 1fr; }
  .x-tablist { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
  .x-tablist::-webkit-scrollbar { display: none; }
  .x-tablist [role="tab"] { flex: 0 0 78%; scroll-snap-align: start; grid-template-columns: 34px 1fr; }
  .x-tablist [role="tab"][aria-selected="true"] { transform: none; }
  .x-tab-arrow { display: none; }
  .x-checks { grid-template-columns: 1fr; }
}

/* ---------- Industries: mosaic ---------- */
.x-ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.x-ind { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; min-height: 190px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden; transition: transform var(--std) var(--ease), box-shadow var(--std), border-color var(--fast); }
.x-ind:hover { transform: translateY(-4px); border-color: rgba(var(--acc-rgb), .45); box-shadow: var(--sh-lift); }
.x-ind-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(var(--acc-rgb), .08); color: var(--gold-deep); margin-bottom: 10px; }
.x-ind-ico svg { width: 26px; height: 26px; }
.x-ind strong { font: 650 1.12rem var(--display); color: var(--ink); letter-spacing: -.01em; }
.x-ind-txt { font-size: .9rem; color: var(--muted); line-height: 1.45; flex: 1; }
.x-ind em { font-style: normal; font-weight: 650; font-size: .88rem; color: var(--gold-text); margin-top: 8px; }
.x-ind.big { grid-column: span 2; min-height: 230px; padding: 28px; background: var(--midnight); border-color: transparent; background-image: radial-gradient(360px 240px at 100% 0%, rgba(var(--acc-rgb), .55), transparent 65%); }
.x-ind.big:nth-child(2) { background-image: radial-gradient(360px 240px at 100% 0%, rgba(var(--warm-rgb), .38), transparent 65%), radial-gradient(300px 220px at 0% 120%, rgba(var(--acc-rgb), .4), transparent 65%); }
.x-ind.big strong { color: #fff; font-size: 1.5rem; }
.x-ind.big .x-ind-txt { color: #b6becb; font-size: 1rem; max-width: 34ch; }
.x-ind.big em { color: #fff; }
.x-ind.big .x-ind-ico { background: rgba(255, 255, 255, .1); color: #fff; width: 56px; height: 56px; }
.x-ind::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; border: 1px solid rgba(var(--acc-rgb), .12); box-shadow: 0 0 0 22px rgba(var(--acc-rgb), .03); pointer-events: none; }
@media (max-width: 1040px) { .x-ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .x-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .x-ind { min-height: 0; padding: 16px; }
  .x-ind.big { grid-column: 1 / -1; min-height: 0; padding: 22px; }
  .x-ind-txt { font-size: .84rem; }
  .x-ind:not(.big) .x-ind-txt { display: none; }
  .x-ind strong { font-size: 1rem; }
}

/* ---------- Solutions: chips first, then a grid led by a wide card ---------- */
.x-chips { margin: 0 0 24px !important; }
.x-sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.x-sol-grid > .card:first-child { grid-column: span 2; grid-row: span 2; }
.x-sol-grid > .card:first-child .shot { aspect-ratio: 16 / 9; }
.x-sol-grid > .card:first-child h3 { font-size: 1.5rem; }
.x-sol-grid .card .tag.cat { justify-self: start; }
@media (max-width: 960px) { .x-sol-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .x-sol-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .x-sol-grid > .card { flex: 0 0 82%; scroll-snap-align: start; }
  .x-sol-grid > .card:first-child { display: block; }
}

/* ---------- Case studies ---------- */
.x-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: case; }
.x-case-grid > .card { counter-increment: case; position: relative; }
.x-case-grid > .card::before { content: "0" counter(case); position: absolute; z-index: 2; top: 30px; left: 32px; font: 700 .8rem var(--font); letter-spacing: .1em; color: #fff; background: rgba(13, 23, 38, .5); padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(6px); }
@media (max-width: 960px) { .x-case-grid { grid-template-columns: 1fr; } }

/* ---------- Why: sticky intro and numbered tiles ---------- */
.x-why { background: var(--pearl); }
.x-why-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.x-why-lead { position: sticky; top: 110px; }
.x-why-lead h2 { max-width: 14ch; }
.x-why-lead .btn { margin-top: 10px; }
.x-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x-why-item { position: relative; padding: 28px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card); }
.x-why-item:nth-child(even) { transform: translateY(32px); }
.x-why-item .x-num { position: absolute; top: 24px; right: 24px; font-size: 2.2rem; font-family: var(--display); color: rgba(var(--acc-rgb), .14); letter-spacing: -.02em; }
.x-why-item .glyph { display: grid; place-items: center; width: 50px; height: 50px; background: var(--ink); color: #fff; border: 0; border-radius: 14px; margin-bottom: 18px; }
.x-why-item .glyph svg { width: 24px; height: 24px; }
.x-why-item h3 { font-size: 1.15rem; }
.x-why-item p { margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .x-why-in { grid-template-columns: 1fr; } .x-why-lead { position: static; } .x-why-item:nth-child(even) { transform: none; } }
@media (max-width: 560px) { .x-why-grid { grid-template-columns: 1fr; } }
.x-why { padding-bottom: clamp(80px, 9vw, 128px); }

/* ---------- Delivery: a line of glowing nodes ---------- */
.x-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.x-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--gold-deep), var(--warm)); opacity: .5; }
.x-steps li { position: relative; margin: 0; text-align: center; padding: 0 6px; }
.x-node { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--gold-deep); color: var(--gold-text); font: 700 1rem var(--display); box-shadow: 0 0 0 8px rgba(var(--acc-rgb), .08), 0 14px 28px -14px rgba(var(--acc-rgb), .8); }
.x-steps li:last-child .x-node { background: var(--gold-deep); color: #fff; }
.x-steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.x-steps p { font-size: .92rem; margin: 0; }
@media (max-width: 860px) {
  .x-steps { grid-template-columns: 1fr; gap: 0; }
  .x-steps::before { left: 28px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold-deep), var(--warm)); }
  .x-steps li { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; text-align: left; padding: 0 0 26px; }
  .x-node { grid-row: 1 / span 2; margin: 0; }
  .x-steps h3 { margin: 14px 0 4px; }
}

/* ---------- UAE coverage: emirate grid ---------- */
.x-uae-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 28px; color: #fff; position: relative; overflow: hidden;
  background: var(--midnight) url("/assets/img/skyline.svg") right bottom / auto 70% no-repeat; }
.x-uae-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 380px at 100% 0%, rgba(var(--acc-rgb), .5), transparent 65%), radial-gradient(420px 300px at 0% 120%, rgba(var(--warm-rgb), .2), transparent 65%), linear-gradient(90deg, var(--midnight) 30%, rgba(var(--mid-rgb), .6)); pointer-events: none; }
.x-uae-panel > * { position: relative; }
.x-uae-copy h2 { color: #fff; }
.x-uae-copy .eyebrow { color: var(--gold); }
.x-uae-copy .lead { color: #c4cbd6; }
.x-emirates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.x-emirates a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; backdrop-filter: blur(6px); transition: background var(--fast), transform var(--std) var(--ease), border-color var(--fast); }
.x-emirates a:first-child { grid-column: 1 / -1; background: var(--gold-deep); border-color: transparent; }
.x-emirates a:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.x-emirates a:hover .x-num { color: var(--gold-text); }
.x-emirates .x-num { color: var(--gold); }
.x-emirates a:first-child .x-num { color: #fff; }
.x-emirates strong { flex: 1; font: 600 1.02rem var(--display); }
.x-go { opacity: .7; }
@media (max-width: 860px) { .x-uae-panel { grid-template-columns: 1fr; border-radius: 22px; } }

/* ---------- FAQ: split ---------- */
.x-faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.x-faq-lead { position: sticky; top: 110px; }
.x-faq-lead h2 { max-width: 14ch; }
.x-faq-list details { margin-bottom: 10px; }
@media (max-width: 860px) { .x-faq-in { grid-template-columns: 1fr; } .x-faq-lead { position: static; } }

/* ---------- Call to action on every page: headline plus contact tiles ---------- */
.x-cta { background: #fff !important; padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 96px) !important; }
.x-cta .wrap { all: unset; display: block; width: min(100% - 32px, var(--max)); margin-inline: auto; }
.x-cta-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 30px; position: relative; overflow: hidden;
  background: var(--grad-brand); background-image: radial-gradient(520px 320px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), radial-gradient(420px 300px at 0% 120%, rgba(var(--warm-rgb), .4), transparent 60%), var(--grad-brand); box-shadow: 0 40px 80px -40px rgba(var(--acc-rgb), .8); }
.x-cta-main h2 { color: #fff; max-width: 18ch; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.x-cta-main .lead { color: #e1e6ee !important; max-width: 50ch; }
.x-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.x-cta .btn-primary { background: #fff !important; color: var(--ink) !important; }
.x-cta .btn-primary:hover { background: var(--ink) !important; color: #fff !important; }
.x-cta .btn-ghost { border-color: rgba(255, 255, 255, .45) !important; color: #fff !important; background: transparent !important; }
.x-cta-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.x-cta-tiles li { margin: 0; }
.x-cta-tiles a, .x-cta-tiles li > div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; backdrop-filter: blur(8px); transition: background var(--fast), transform var(--std) var(--ease); }
.x-cta-tiles a:hover { background: #fff; color: var(--ink); transform: translateX(4px); }
.x-cta-tiles a:hover small { color: var(--muted); }
.x-cta-tiles .x-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.x-cta-tiles a:hover .x-ico { background: rgba(var(--acc-rgb), .1); color: var(--gold-deep); }
.x-cta-tiles a:hover .x-ico.wa { background: rgba(31, 180, 85, .12); color: #12924a; }
.x-cta-tiles small { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #c9d1dd; }
.x-cta-tiles strong { display: block; font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.x-cta-tiles .x-go { margin-left: auto; }
@media (max-width: 860px) { .x-cta-card { grid-template-columns: 1fr; border-radius: 22px; } }
@media (max-width: 560px) { .x-cta-btns { display: grid; } .x-cta-btns .btn { justify-content: center; } }

/* ---------- Footer: contact tiles ---------- */
.site-footer .foot-tiles { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.site-footer .foot-tiles li { margin: 0; }
.foot-tiles li.wide { grid-column: span 2; }
.site-footer .foot-tiles li a, .site-footer .foot-tiles li > div { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); color: #fff; text-decoration: none; transition: background var(--fast), border-color var(--fast); }
.foot-tiles a:hover { background: rgba(var(--acc-rgb), .18); border-color: rgba(var(--acc-rgb), .5); }
.foot-tiles .x-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(var(--acc-light-rgb), .12); color: var(--gold); }
.foot-tiles .x-ico.wa { background: rgba(53, 210, 122, .14); color: #35d27a; }
.foot-tiles small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #7f8a9c; margin-bottom: 2px; }
.foot-tiles strong { display: block; font-weight: 550; font-size: .9rem; line-height: 1.45; color: #e8ebf0; overflow-wrap: anywhere; }
.site-footer .foot-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.foot-top { padding-bottom: 36px !important; margin-bottom: 36px !important; }
.foot-tiles + .foot-grid { padding-top: 8px; }
@media (max-width: 1040px) { .site-footer .foot-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 760px) {
  .site-footer .foot-tiles { grid-template-columns: minmax(0, 1fr); margin-bottom: 18px; }
  .site-footer .foot-tiles li.wide { grid-column: auto; }
  .site-footer .foot-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ---------- Phone bottom bar: raised centre button and a quick-contact sheet ---------- */
.x-tabbar button { font: inherit; border: 0; background: none; cursor: pointer; }
.x-sheet[hidden], .x-dock { display: none; }
@media (max-width: 760px) {
  .x-tabbar { display: grid !important; grid-template-columns: repeat(5, 1fr); align-items: end; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px 6px 7px; border-radius: 24px !important; overflow: visible; background: rgba(var(--mid-rgb), .92) !important; border: 1px solid rgba(255, 255, 255, .1) !important; box-shadow: 0 24px 48px -16px rgba(6, 12, 22, .7) !important; }
  .x-tabbar > a, .x-tabbar > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 16px; color: #aab3c2 !important; font-size: .66rem; font-weight: 600; text-decoration: none; background: none !important; box-shadow: none !important; }
  .x-tabbar > a[aria-current="page"] { color: #fff !important; }
  .x-tabbar > a[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--warm); margin-top: 1px; }
  .x-tabbar > a.wa { color: #35d27a !important; }
  .x-tabbar svg { width: 22px; height: 22px; }
  .x-fab { position: relative; color: #fff !important; }
  .x-fab-ring { display: grid; place-items: center; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%; background: var(--grad-brand); border: 4px solid var(--ink); box-shadow: 0 14px 30px -10px rgba(var(--acc-rgb), .9); transition: transform var(--std) var(--ease); }
  .x-fab[aria-expanded="true"] .x-fab-ring { transform: rotate(45deg); }
  .x-fab-ring svg { width: 26px !important; height: 26px !important; }
  body.sheet-open { overflow: hidden; }
  .x-sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; }
  .x-sheet-scrim { position: absolute; inset: 0; background: rgba(6, 12, 22, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: xfade .2s ease; }
  .x-sheet-card { position: relative; width: 100%; padding: 10px 18px calc(24px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 -30px 60px -20px rgba(6, 12, 22, .5); animation: xup .28s var(--ease); }
  .x-sheet-grip { width: 44px; height: 5px; border-radius: 3px; background: #dadee5; margin: 0 auto 12px; }
  .x-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .x-sheet-head p { margin: 0; font: 650 1.12rem var(--display); color: var(--ink); }
  .x-sheet-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--pearl); color: var(--ink); cursor: pointer; }
  .x-sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .x-act { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: 18px; background: var(--pearl); border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-width: 0; }
  .x-act .x-ico { width: 40px; height: 40px; margin-bottom: 6px; background: #fff; }
  .x-act strong { font-size: .98rem; }
  .x-act small { font-size: .76rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .x-act.primary { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; background: var(--grad-brand); color: #fff; border-color: transparent; }
  .x-act.primary .x-ico { margin: 0; background: rgba(255, 255, 255, .16); color: #fff; }
  .x-act.primary small { color: #dde3ec; margin-left: auto; }
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .wa-float { display: none !important; }
}
@keyframes xup { from { transform: translateY(100%); } to { transform: none; } }
@keyframes xfade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Desktop dock: floating quick actions after the first screen ---------- */
@media (min-width: 761px) {
  .x-dock { display: flex; align-items: center; gap: 4px; position: fixed; left: 50%; bottom: 22px; z-index: 45; padding: 6px; border-radius: 22px; background: rgba(var(--mid-rgb), .9); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -20px rgba(6, 12, 22, .7); transform: translate(-50%, 140%); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
  .x-dock.show { transform: translate(-50%, 0); opacity: 1; }
  .x-dock a, .x-dock button { display: inline-flex; align-items: center; gap: 8px; height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; border-radius: 16px; border: 0; background: none; color: #c4cbd6; text-decoration: none; font: 600 .9rem var(--font); cursor: pointer; transition: background var(--fast), color var(--fast); }
  .x-dock a:hover, .x-dock button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .x-dock a[aria-current="page"] { color: #fff; background: rgba(var(--acc-rgb), .25); }
  .x-dock a.wa { color: #35d27a; }
  .x-dock-sep { width: 1px; height: 26px; background: rgba(255, 255, 255, .14); margin: 0 4px; }
  .x-dock .x-dock-cta { padding: 0 18px; background: var(--gold-deep); color: #fff; }
  .x-dock .x-dock-cta:hover { background: #fff; color: var(--ink); }
  .wa-float { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .x-dock, .x-sheet-card, .x-sheet-scrim { transition: none; animation: none; } }

/* The call to action band: the card carries the colour, not the wrapper */
.section.dark.x-cta:last-of-type .wrap, .section.dark.x-cta .wrap { background: none !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; }
.section.dark.x-cta .wrap::before { display: none !important; }
@media (max-width: 760px) { .x-hero .cta-row { width: 100%; justify-items: stretch; } .x-hero .hero-note { flex-wrap: wrap; gap: 6px 14px; } }
