/* UK refinements on the shared USA/UAE country-page components. */
.ai-page .uk-page [hidden] { display: none !important; }
.ai-page .uk-page section[id] { scroll-margin-top: 110px; }
.ai-page .uk-page h2 > span { color: var(--signal); }
.ai-page .uk-section-nav { border-block: 1px solid #e1e9f5; background: #fff; }
.ai-page .uk-section-nav > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.ai-page .uk-section-nav-label { flex-shrink: 0; color: var(--muted); font-size: .72rem; font-weight: 600; }
.ai-page .uk-section-nav ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ai-page .uk-section-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 13px; border-radius: 8px; color: var(--ink); font-size: .78rem; font-weight: 600; text-decoration: none; }
.ai-page .uk-section-nav a:hover { background: #eef4ff; color: var(--signal); }
.ai-page .uk-page :is(a, button, summary):focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.ai-page .uk-page .uk-hero { padding: 62px 0 70px; background: linear-gradient(115deg, #fff 12%, #f4f8ff 62%, #edf4ff); }
.ai-page .uk-page .uk-hero::after { display: none; }
.ai-page .uk-page .uk-hero .hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ai-page .uk-hero-copy { min-width: 0; }
.ai-page .uk-hero-copy > .eyebrow { display: inline-flex; padding: 8px 12px; border: 1px solid #d7e5fb; border-radius: 6px; background: #edf4ff; color: #215fb9; margin-bottom: 22px; font-size: .68rem; }
.ai-page .uk-page .uk-hero h1 { margin: 0 0 22px; max-width: 14ch; font-size: clamp(2.2rem, 3.65vw, 3.6rem); line-height: 1.15; letter-spacing: -.045em; text-wrap: balance; }
.ai-page .uk-page .uk-hero h1 .accent { display: block; }
.ai-page .uk-hero .uk-hero-promise { margin: 0 0 14px; color: var(--ink); font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 600; line-height: 1.5; max-width: 34ch; }
.ai-page .uk-hero-promise span { color: var(--signal); }
.ai-page .uk-page .uk-hero .lede { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.85; max-width: 53ch; }
.ai-page .uk-hero-description p { margin: 14px 0 0; font-size: .92rem; line-height: 1.8; color: var(--muted); }
.ai-page .uk-hero .btn-row { margin-top: 25px; gap: 12px; }
.ai-page .uk-hero .btn { min-height: 50px; gap: 12px; font-size: .85rem; padding: 14px 18px; }
.ai-page .uk-hero .btn-primary { box-shadow: 0 8px 22px -10px #2563eb99; }
.ai-page .uk-hero .hero-meta { padding-top: 22px; margin-top: 24px; border-top: 1px solid #dce6f4; gap: 10px 18px; font-size: .73rem; }
.ai-page .uk-hero-visual { position: relative; min-width: 0; padding: 12px; border: 1px solid #d8e5f6; border-radius: 26px; background: #ffffffb3; box-shadow: 0 26px 65px -35px #234e8c70; }
.ai-page .uk-hero-image { overflow: hidden; border-radius: 18px; aspect-ratio: 6 / 5; background: #e6effa; }
.ai-page .uk-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ai-page .uk-hero-location { position: absolute; top: 30px; left: 30px; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #ffffffd9; border-radius: 50px; background: #fffffff0; color: #2a456d; font-size: .68rem; font-weight: 600; box-shadow: 0 3px 12px #203e6521; }
.ai-page .uk-hero-location > span { width: 6px; height: 6px; border-radius: 50%; background: #2563eb; }
.ai-page .uk-hero-caption { display: flex; align-items: center; gap: 13px; padding: 18px 8px 6px; }
.ai-page .uk-hero-caption strong { display: block; color: #162b4d; font-size: .88rem; line-height: 1.5; }
.ai-page .uk-hero-caption div > span { display: block; color: var(--muted); font-size: .72rem; margin-top: 3px; }
.ai-page .uk-hero-symbol { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 11px; background: #eaf1ff; color: var(--signal); font-size: 1.5rem; }
.ai-page .uk-hero-caption-arrow { margin-left: auto; color: #4d76b8; font-size: 1.4rem; }
.ai-page .uk-photo-note { display: block; margin: 10px 8px 2px; color: #65738a; font-size: .65rem; }
.ai-page .uk-in-action { background: #0c1c34; }
.ai-page .uk-action-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.ai-page .uk-action-visual { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #ffffff26; border-radius: 24px; aspect-ratio: 4 / 5; background: #23344a; }
.ai-page .uk-action-visual > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 35% center; transition: transform .5s ease; }
.ai-page .uk-action-visual:hover > img { transform: scale(1.025); }
.ai-page .uk-action-visual figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 8px; padding: 72px 28px 28px; background: linear-gradient(transparent, #061326ed); color: #fff; }
.ai-page .uk-action-visual figcaption > span { color: #c1d6fc; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 600; }
.ai-page .uk-action-visual figcaption > strong { font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.3; }
.ai-page .uk-action-visual figcaption > small { color: #c0cee0; font-size: .65rem; }
.ai-page .uk-action-copy { min-width: 0; }
.ai-page .uk-action-copy > .eyebrow { color: #9fc2ff; }
.ai-page .uk-action-copy h2 { color: #fff; margin: 0 0 20px; }
.ai-page .uk-action-copy h2 > span { color: #9fc2ff; }
.ai-page .uk-action-copy > p { margin: 0 0 26px; color: #b9c8dd; font-size: .94rem; line-height: 1.8; }
.ai-page .uk-action-tabs { display: flex; gap: 6px; padding: 5px; border: 1px solid #ffffff26; border-radius: 12px; background: #ffffff08; }
.ai-page .uk-action-tabs button { flex: 1; min-width: 0; min-height: 46px; padding: 10px 8px; border: 0; border-radius: 8px; color: #c5d3e7; background: transparent; font: 600 .78rem/1.5 var(--font-body); cursor: pointer; transition: background .2s ease, color .2s ease; }
.ai-page .uk-action-tabs button:hover { background: #ffffff12; color: #fff; }
.ai-page .uk-action-tabs button[aria-selected="true"] { background: #fff; color: #174b9a; box-shadow: 0 4px 14px #0002; }
.ai-page .uk-in-action :is(a, button, [tabindex]):focus-visible { outline-color: #a9cdff; }
.ai-page .uk-action-panel { padding: 26px 0; }
.ai-page .uk-action-kicker { color: #9fc2ff; font-size: .72rem; font-weight: 600; }
.ai-page .uk-action-panel h3 { margin: 10px 0 12px; color: #fff; font-size: 1.22rem; }
.ai-page .uk-action-panel p { margin: 0; color: #b9c8dd; font-size: .88rem; line-height: 1.8; }
.ai-page .uk-action-panel ul { display: grid; gap: 10px; padding: 0; margin: 20px 0 0; list-style: none; }
.ai-page .uk-action-panel li { position: relative; padding-left: 24px; color: #d5e1f2; font-size: .8rem; line-height: 1.6; }
.ai-page .uk-action-panel li::before { content: '\2713'; position: absolute; left: 0; color: #8fc7b2; }
@media (min-width: 901px) {
  .ai-page .uk-action-tabs:not([hidden]) ~ .uk-action-panel { min-height: 310px; }
}
@media (max-width: 900px) {
  .ai-page .uk-action-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ai-page .uk-action-visual { aspect-ratio: 3 / 2; max-height: 480px; }
}
@media (max-width: 480px) {
  .ai-page .uk-action-visual { aspect-ratio: 1; border-radius: 18px; }
  .ai-page .uk-action-visual figcaption { padding: 60px 20px 20px; }
  .ai-page .uk-action-tabs button { font-size: .7rem; padding-inline: 4px; }
  .ai-page .uk-action-copy > .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page .uk-action-visual > img, .ai-page .uk-action-tabs button { transition: none; }
  .ai-page .uk-action-visual:hover > img { transform: none; }
}
.ai-page .uk-reveal-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 100%; min-height: 48px; margin: 28px auto 0; padding: 10px 20px; border: 1px solid #d5e3f8; border-radius: 10px; background: #fff; color: var(--signal); font: 600 .84rem/1.5 var(--font-body); cursor: pointer; scroll-margin-top: 120px; }
.ai-page .uk-reveal-toggle:hover { background: #e7efff; border-color: #a8c4ef; }
.ai-page .uk-reveal-toggle:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.ai-page .uk-reveal-arrow { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dfeaff; transition: transform .2s ease; }
.ai-page .uk-reveal-toggle[aria-expanded="true"] .uk-reveal-arrow { transform: rotate(180deg); }
.ai-page .uk-hero-copy > .uk-reveal-toggle { margin: 10px 0 0; padding: 0; border: 0; background: transparent; font-size: .8rem; }
@media (max-width: 1024px) {
  .ai-page .uk-section-nav > .wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ai-page .uk-page .uk-hero .hero-in { gap: 32px; }
  .ai-page .uk-hero .btn-row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 800px) {
  .ai-page .uk-page .uk-hero { padding: 38px 0 44px; }
  .ai-page .uk-page .uk-hero .hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .ai-page .uk-page .uk-hero h1 { max-width: 19ch; font-size: clamp(2.15rem, 6vw, 3rem); }
  .ai-page .uk-hero .btn-row { flex-direction: row; }
  .ai-page .uk-hero-visual { width: 100%; max-width: 550px; justify-self: center; }
}
@media (max-width: 480px) {
  .ai-page .uk-hero .btn-row { flex-direction: column; }
  .ai-page .uk-hero-visual { padding: 8px; border-radius: 20px; }
  .ai-page .uk-hero-location { top: 22px; left: 22px; }
  .ai-page .uk-hero-caption { gap: 10px; padding: 14px 4px 6px; }
  .ai-page .uk-hero-caption strong { font-size: .78rem; }
  .ai-page .uk-hero-caption div > span { font-size: .66rem; }
  .ai-page .uk-hero-caption-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page .uk-reveal-arrow { transition: none; }
}
.ai-page .uk-page .uae-journey-steps { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.ai-page .uk-page .uae-journey-steps > li { grid-column: span 3; }
.ai-page .uk-page .uae-journey-steps > li:nth-child(n+5) { grid-column: span 4; }
.ai-page .uk-page .uae-journey-number { margin: 0 0 16px; border-radius: 12px; box-shadow: none; }
.ai-page .uk-page .uae-journey-steps > li > div { padding: 24px; }
.ai-page .uk-page .uae-journey-steps::before { display: none; }
.ai-page .uk-page .uae-journey-steps > li:nth-last-child(-n+2) { left: auto; }
.ai-page .uk-page .uae-about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 0; }
.ai-page .uk-page .uae-about-stats > div:nth-child(4) { border-left: 0; padding-left: 0; }
.ai-page .uk-page .uae-about-values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-page .uk-page .uk-client-quote { margin: 24px 0 0; padding: 16px 20px; border-left: 3px solid var(--signal); background: #f4f8ff; border-radius: 0 10px 10px 0; }
.ai-page .uk-page .uk-client-quote p { margin: 0; font-size: .88rem; line-height: 1.8; color: var(--muted); }
.ai-page .uk-page .client-story::after { display: none; }
.ai-page .uk-page .client-story video { object-fit: contain; }
.ai-page .uk-page .uae-engagement-card > .more { margin-top: auto; padding-top: 24px; }
/* Eight capabilities fill complete rows when the full collection is expanded. */
@media (min-width: 1101px) {
  .ai-page .uk-page .uae-expertise-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ai-page .uk-page .uae-expertise-card { grid-column: span 2; }
  .ai-page .uk-page .uae-expertise-card:nth-child(n+7) { grid-column: span 3; }
}
@media (max-width: 1100px) {
  .ai-page .uk-page .uae-expertise-card:last-child { grid-column: auto; width: auto; justify-self: stretch; }
}
@media (max-width: 1024px) {
  .ai-page .uk-page .uae-journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-page .uk-page .uae-journey-steps > li:nth-child(n) { grid-column: auto; }
  .ai-page .uk-page .uae-journey-steps > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .ai-page .uk-section-nav-label { padding-left: 10px; }
  .ai-page .uk-section-nav ul { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-page .uk-section-nav a { width: 100%; padding-inline: 10px; }
  .ai-page .uk-page .uae-journey-steps,
  .ai-page .uk-page .uae-about-values-grid { grid-template-columns: minmax(0, 1fr); }
  .ai-page .uk-page .uae-journey-steps > li:nth-child(n) { grid-column: 1; }
  .ai-page .uk-page .uae-journey-number { margin: 0; }
  .ai-page .uk-page .uae-journey-steps > li > div { padding: 20px; }
  .ai-page .uk-page .uae-about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .ai-page .uk-page .uae-about-stats > div { border: 0; padding: 0; }
}
