/*
 * ITSC English-site integration fixes.
 * Scoped only to /en/ HTML pages by explicit stylesheet inclusion.
 * Does not modify Arabic pages or shared legacy stylesheets.
 */
body:has(> #itsc-shell-header) {
  padding-top: 0 !important;
}
body:has(> #itsc-shell-header) > #itsc-shell-header {
  order: -100 !important;
  z-index: 12000 !important;
  position: sticky !important;
  top: 0 !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
}
body:has(> #itsc-shell-header) > #itsc-shell-footer {
  order: 1000 !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* Retire competing legacy mobile navigations on English pages only. */
body:has(> #itsc-shell-header) > nav.bottom-nav,
body:has(> #itsc-shell-header) > nav.dock,
body:has(> #itsc-shell-header) > nav.home-mobile-dock,
body:has(> #itsc-shell-header) > .home-mobile-dock,
body:has(> #itsc-shell-header) > .mobile-dock,
body:has(> #itsc-shell-header) > nav.mobile-dock,
body:has(> #itsc-shell-header) > .bottom-nav {
  display: none !important;
}
body:has(> #itsc-shell-header) main,
body:has(> #itsc-shell-header) > section,
body:has(> #itsc-shell-header) #main {
  min-width: 0;
}
#itsc-shell-header .itsc-shell-brand {
  flex-shrink: 0;
}
#itsc-shell-header .itsc-shell-submenu {
  scrollbar-width: thin;
}
#itsc-shell-header .itsc-shell-nav a,
#itsc-shell-header .itsc-shell-mobile-links a {
  text-wrap: balance;
}
#itsc-shell-header .itsc-shell-mobile-links a[aria-current="page"] {
  border: 1px solid rgba(125,211,252,.33);
  background: rgba(59,130,246,.17);
}
#itsc-shell-quote [data-itsc-quote-fallback][hidden] {
  display: none !important;
}
#itsc-shell-quote input:focus-visible,
#itsc-shell-quote select:focus-visible,
#itsc-shell-quote textarea:focus-visible {
  border-color: #93c5fd;
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
#itsc-shell-quote input:invalid:not(:placeholder-shown),
#itsc-shell-quote textarea:invalid:not(:placeholder-shown) {
  border-color: #e9a1a1;
}
#itsc-shell-quote button:disabled {
  opacity: .6;
  cursor: wait;
}

/* Evidence-led, non-template layouts for English project and partner pages. */
.itsc-corp-main .itsc-hero-short {
  padding-top: clamp(52px, 7vw, 90px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.itsc-corp-main .itsc-corp-hero h1 {
  max-width: 960px;
  text-wrap: balance;
}
.itsc-corp-main .itsc-corp-section {
  scroll-margin-top: 98px;
}
.itsc-corp-main .itsc-corp-section > p {
  max-width: 860px;
}
.itsc-corp-main .itsc-corp-grid {
  align-items: stretch;
}
.itsc-corp-main .itsc-corp-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  border-color: rgba(124,157,194,.3);
  background: linear-gradient(148deg, #0f2744 0%, #08172c 100%);
}
.itsc-corp-main .itsc-corp-card .number {
  color: #92cefa;
  font-size: 12px;
}
.itsc-corp-main .itsc-corp-card h3 {
  margin-top: 12px;
}
.itsc-corp-main .itsc-evidence-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin: 20px 0 16px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 18px;
  background: linear-gradient(135deg,#0c2645 0%,#07182c 100%);
  border: 1px solid rgba(120,162,211,.35);
}
.itsc-corp-main .itsc-evidence-copy h2 {
  margin: 4px 0 14px;
  font-size: clamp(24px,3vw,37px);
  line-height: 1.3;
  color: #fff;
}
.itsc-corp-main .itsc-evidence-copy h3 {
  color: #fff;
  font-size: clamp(22px,2.6vw,29px);
  line-height: 1.35;
  margin: 12px 0;
}
.itsc-corp-main .itsc-evidence-copy p {
  color: #d3e4f4;
  font-size: 16px;
  line-height: 1.76;
}
.itsc-corp-main .itsc-real-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(132,180,232,.28);
  background: #05152a;
}
.itsc-corp-main .itsc-real-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.itsc-corp-main .itsc-real-photo figcaption {
  padding: 12px 16px 16px;
  font-size: 12px;
  line-height: 1.65;
  color: #c6d7ea;
}
.itsc-corp-main .itsc-evidence-status {
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  border: 1px solid #52749a;
  color: #e7f3ff;
  border-radius: 7px;
  padding: 7px 11px;
}
.itsc-corp-main .itsc-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 22px 0;
  gap: 12px 16px;
}
.itsc-corp-main .itsc-facts div {
  border-top: 1px solid rgba(150,191,228,.24);
  padding-top: 12px;
  min-width: 0;
}
.itsc-corp-main .itsc-facts dt {
  font-size: 11px;
  font-weight: 850;
  color: #96cdfb;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.itsc-corp-main .itsc-facts dd {
  margin: 4px 0 0;
  font-size: 14px;
  color: #e8f2ff;
  overflow-wrap: anywhere;
}
.itsc-evidence-link {
  color: #9addff !important;
  font-weight: 750;
  display: inline-flex;
  gap: 6px;
  margin-top: 13px;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.itsc-evidence-link:hover { color: #fff !important; }
.itsc-evidence-link:focus-visible { outline: 3px solid #9bd9ff; outline-offset: 3px; }
.itsc-corp-main .itsc-proof-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.itsc-corp-main .itsc-proof-grid > div {
  padding: 20px;
  border: 1px solid #355878;
  border-radius: 12px;
  background: #0b2440;
}
.itsc-corp-main .itsc-proof-grid strong {
  display: block;
  color: #fff;
  font-size: 16px;
}
.itsc-corp-main .itsc-proof-grid p {
  color: #bcd2e9;
  font-size: 14px;
  line-height: 1.65;
  margin: 8px 0 0;
}
.itsc-about-short {
  padding: 40px 0 44px;
}
.itsc-about-short .section-head {
  margin-bottom: 6px;
}
.itsc-about-short .section-head p {
  max-width: 740px;
}
.itsc-corp-main .itsc-corp-card a.itsc-evidence-link {
  margin-top: auto;
  padding-top: 18px;
}
@media(max-width:860px) {
  .itsc-corp-main .itsc-evidence-feature { grid-template-columns: 1fr; }
  .itsc-corp-main .itsc-real-photo img { aspect-ratio: 16 / 9; }
  .itsc-corp-main .itsc-proof-grid { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
  .itsc-corp-main .itsc-evidence-feature { padding: 18px; border-radius: 13px; }
  .itsc-corp-main .itsc-facts { grid-template-columns: 1fr; }
  .itsc-corp-main .itsc-real-photo img { aspect-ratio: 4 / 3; }
  .itsc-corp-main .itsc-corp-hero h1 { font-size: clamp(31px,8.5vw,44px); }
  .itsc-about-short { padding: 30px 0 34px; }
}
@media(prefers-reduced-motion:reduce) {
  .itsc-corp-main *,#itsc-shell-header * { scroll-behavior: auto !important; }
}
