@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/IBMPlexSans-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --navy: #123b78;
  --blue: #166bff;
  --blue-text: #1559d2;
  --deep: #081b36;
  --ink: #102544;
  --muted: #4b617b;
  --ice: #eef5ff;
  --light-blue: #a9cbff;
  --rule: #d7e4f3;
  --white: #fff;
  --header-bg: #f7f9fc;
  --wrap: 1232px;
  --gutter: clamp(20px, 5vw, 72px);
  --header: 76px;
  --hero-anchor: 94%;
  --hero-fade-direction: 90deg;
  --hero-overlay-direction: 270deg;
  --reveal-inline: 24px;
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: white;
  font-synthesis: none;
}

:root[lang="en"] {
  font-family: "IBM Plex Sans", Arial, sans-serif;
  --hero-anchor: 6%;
  --hero-fade-direction: 270deg;
  --hero-overlay-direction: 90deg;
  --reveal-inline: -24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: calc(var(--header) + 12px); }
body { margin: 0; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
img, video { display: block; max-inline-size: 100%; }
figure, h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.22; }
h2 { font-size: clamp(29px, 3.7vw, 50px); }
h3 { font-size: clamp(21px, 2.3vw, 30px); }
em { font-style: normal; color: var(--blue-text); }
p { color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #4c92ff; outline-offset: 5px; }
.wrap { inline-size: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(68px, 8vw, 116px); }
.section-soft { background: #f3f7fd; }
.dark { background: var(--deep); color: white; }
.dark p { color: #ccdaeb; }
.dark em { color: var(--light-blue); }
.dark .eyebrow { color: #d5e5ff; }
.dark .eyebrow-dot { background: #74aaff; }

.skip-link { position: fixed; z-index: 10; inset-block-start: 8px; inset-inline-start: 8px; padding: 10px 16px; background: white; color: var(--deep); clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue-text); font-size: 15px; font-weight: 600; margin-block-end: 12px; }
.eyebrow-dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.lead { font-size: clamp(17px, 1.6vw, 20px); margin-block: 20px 15px; }
.number, .sector-index, .step-number { font-family: "IBM Plex Sans", Arial, sans-serif; font-weight: 600; color: var(--blue-text); direction: ltr; font-variant-numeric: tabular-nums; }

.masthead { position: sticky; inset-block-start: 0; z-index: 5; background: var(--header-bg); color: var(--ink); border-block-end: 1px solid var(--rule); }
.nav { display: flex; justify-content: space-between; align-items: center; min-block-size: var(--header); gap: clamp(10px, 1.7vw, 24px); }
.brand { display: block; flex: none; }
.brand img { inline-size: 235px; block-size: auto; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.language-switch { display: flex; gap: 2px; align-items: center; padding: 2px; border: 1px solid var(--rule); border-radius: 100px; font: 600 12px/1 "IBM Plex Sans", Arial, sans-serif; }
.language-switch > * { display: grid; place-items: center; min-inline-size: 31px; min-block-size: 29px; border-radius: 100px; }
.language-switch a { color: var(--navy); }
.language-switch a:hover { background: var(--ice); }
.language-switch [aria-current] { background: var(--navy); color: white; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(13px, 1.7vw, 26px); font-size: 15px; margin-inline-start: auto; }
.nav-links a { padding: 8px 0; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--navy); }
.nav-links a[aria-current] { box-shadow: 0 2px 0 var(--blue); }
.nav-contact { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 25px); }
.nav-links .profile-download { display: inline-flex; align-items: center; gap: 8px; color: white; background: var(--navy); border-radius: 100px; padding: 7px 13px; font-weight: 600; }
.nav-links .profile-download:hover { color: white; background: var(--blue-text); }
.menu-toggle { display: none; border: 1px solid var(--rule); border-radius: 100px; background: white; padding: 5px 10px; align-items: center; gap: 6px; font-size: 14px; }
.menu-toggle span { display: inline-block; width: 13px; height: 8px; border-block: 1px solid; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at var(--hero-anchor) 25%, #1c4d96, #0d2b57 44%, #081b36 78%); }
.hero-media { position: absolute; z-index: -2; inset-block: 0; inset-inline-end: 0; inline-size: 61%; overflow: hidden; background: url("assets/hero-poster.webp") 57% center / cover no-repeat; mask-image: linear-gradient(var(--hero-fade-direction), #000 61%, #000d 76%, transparent 100%); }
.hero-media video { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 57% center; pointer-events: none; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--hero-overlay-direction), #102f5fa3 0%, #0b214a24 46%, #081b3610 75%), linear-gradient(0deg, #081b36bf, transparent 46%); pointer-events: none; }
.hero-inner { display: grid; min-block-size: clamp(535px, 45vw, 665px); grid-template-columns: minmax(0, 54%) minmax(0, 1fr); align-items: center; position: relative; }
.hero-copy { padding-block: 60px 72px; }
.hero h1 { font-size: clamp(33px, 3.5vw, 54px); line-height: 1.18; }
.hero h1, .hero h1 em { color: var(--white); }
.hero h1 em { display: inline-block; margin-block-start: .13em; font-size: .94em; }
:root[lang="en"] .hero h1 { font-size: clamp(30px, 2.8vw, 42px); }
.ellipsis { display: inline-block; }
.hero-description { max-inline-size: 425px; font-size: clamp(17px, 1.75vw, 22px); margin-block-start: 22px; }
:root[lang="en"] .hero-description { max-inline-size: 490px; font-size: clamp(16px, 1.4vw, 20px); }
.hero-copy > * { animation: hero-in .78s cubic-bezier(.2,.65,.25,1) both; }
.hero-copy .hero-description { animation-delay: .12s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(19px); } to { opacity: 1; transform: translateY(0); } }

.clients { padding-block: clamp(52px, 5vw, 74px); }
.client-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 30px; margin-block-end: 25px; }
.client-heading :is(h1, h2) { font-size: clamp(27px, 3vw, 42px); }
.client-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.client-grid li { min-block-size: 84px; display: grid; place-items: center; padding: 13px; border: 1px solid var(--rule); border-radius: 13px; background: white; }
.client-grid img { inline-size: auto; max-inline-size: min(140px, 100%); max-block-size: 57px; }
.client-grid .mrsool { background: var(--navy); border-radius: 6px; padding: 9px; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7.5vw, 110px); }
.split > *, .service-card > *, .sector-card { min-inline-size: 0; }
.about-split > div > p:not(.lead) { font-size: 17px; }
.values-block { margin-block-start: clamp(25px, 4vw, 54px); }
.values-block > :is(h2, h3) { margin-block-end: 16px; font-size: clamp(22px, 2.3vw, 30px); }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.values-grid > div { padding: clamp(18px, 2vw, 26px); border: 1px solid var(--rule); border-radius: 15px; background: white; }
.values-grid :is(h3, h4) { margin: 0 0 6px; color: var(--navy); font-size: 21px; font-weight: 600; line-height: 1.3; }
.feature-photo { position: relative; overflow: hidden; border-radius: 24px; background: #dceaf7; aspect-ratio: 1.2; }
.feature-photo img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center 48%; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.disclosure-indicator {
  --disclosure-border: var(--rule);
  --disclosure-track: #f7faff;
  --disclosure-fill: var(--ice);
  --disclosure-active: var(--navy);
  --disclosure-ink: var(--navy);
  --disclosure-active-ink: white;
  position: relative;
  display: grid;
  place-items: center;
  inline-size: 38px;
  block-size: 30px;
  border: 1px solid var(--disclosure-border);
  border-radius: 100px;
  background: var(--disclosure-track);
  color: var(--disclosure-ink);
  transition: color .2s, border-color .2s;
}
.disclosure-indicator::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: var(--disclosure-fill);
  transition: background-color .2s;
}
.disclosure-indicator::after {
  content: "";
  position: relative;
  inline-size: 8px;
  block-size: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s ease;
}
.dark .disclosure-indicator {
  --disclosure-border: #d9e8ff7a;
  --disclosure-track: #0a254bd9;
  --disclosure-fill: #ffffff26;
  --disclosure-active: #f0f6ff;
  --disclosure-ink: white;
  --disclosure-active-ink: var(--navy);
}
:is(summary, button):hover > .disclosure-indicator { border-color: #79a9ed; }
:is(details[open] > summary, button[aria-expanded="true"]) > .disclosure-indicator { color: var(--disclosure-active-ink); }
:is(details[open] > summary, button[aria-expanded="true"]) > .disclosure-indicator::before { background: var(--disclosure-active); }
:is(details[open] > summary, button[aria-expanded="true"]) > .disclosure-indicator::after { transform: translateY(2px) rotate(225deg); }
.section-heading { margin-block-end: 34px; }
.section-heading > p:last-child:not(.eyebrow), .section-heading-wide > p { margin-block-start: 14px; max-inline-size: 440px; font-size: 18px; }
.section-heading-wide { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px 36px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card { display: grid; grid-template-columns: minmax(0, 1fr) 44%; min-block-size: 290px; border-radius: 20px; overflow: hidden; border: 1px solid var(--rule); background: #f7faff; }
.service-card img { order: 2; inline-size: 100%; block-size: 100%; max-block-size: 330px; object-fit: cover; object-position: center 35%; }
.service-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(20px, 3vw, 34px); }
.service-body p { margin-block: 11px 19px; }
.service-body .number { margin-block-end: 10px; }
.service-body h2 { font-size: clamp(21px, 2.3vw, 30px); }
.text-link { color: var(--blue-text); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-block-end: 1px solid transparent; }
.text-link:hover { border-color: currentColor; }

.sector-section { background: var(--navy); }
.sector-grid { display: flex; gap: 12px; min-block-size: 305px; }
.sector-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; flex: 1; min-inline-size: 0; border-radius: 13px; background: #123b78; transition: flex .48s cubic-bezier(.25,.7,.25,1); }
.sector-card[data-sector="telecom"] { --sector-photo: url("assets/collection.webp"); }
.sector-card[data-sector="finance"] { --sector-photo: url("assets/about.webp"); }
.sector-card[data-sector="insurance"] { --sector-photo: url("assets/training.webp"); }
.sector-card[data-sector="business"] { --sector-photo: url("assets/cover.webp"); }
.sector-card.is-active { flex: 2.45; }
.sector-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #061a38f2, #061a3810 74%), var(--sector-photo) center 38% / cover; }
.sector-card button { inline-size: 100%; border: 0; background: transparent; display: grid; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; text-align: start; padding: 18px 13px 12px; color: white; font-size: clamp(15px, 1.5vw, 21px); font-weight: 600; }
:root[lang="en"] .sector-card button { font-size: clamp(14px, 1.3vw, 18px); }
.sector-card button:focus-visible { outline-offset: -5px; }
.sector-index { color: #b8d5ff; font-size: 13px; }
.sector-card .disclosure-indicator { inline-size: 32px; block-size: 28px; }
.sector-card p { margin: 0 36px 16px; color: #e0ebfb; font-size: 14px; }
.js .sector-card:not(.is-active) p { display: none; }

.process-split { align-items: start; }
.steps { border-block-start: 1px solid var(--rule); }
.steps li { border-block-end: 1px solid var(--rule); }
.steps summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; min-block-size: 60px; font-size: 19px; font-weight: 600; }
.steps details p { padding-block-end: 16px; padding-inline-start: 48px; font-size: 16px; }
.step-number { font-size: 15px; border-radius: 7px; background: var(--ice); inline-size: 34px; block-size: 31px; display: grid; place-items: center; }

.contact-section { background: radial-gradient(ellipse at top right, #245597, var(--deep) 65%); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 27px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; padding: 12px 19px; min-block-size: 47px; border-radius: 100px; border: 1px solid transparent; font-weight: 600; transition: background .2s, color .2s; }
.button-light { color: var(--navy); background: white; }
.button-light:hover { background: #dceaff; }
.contact-info { font-style: normal; border: 1px solid #ffffff35; border-radius: 19px; background: #ffffff0a; padding: clamp(23px, 3vw, 32px); }
.contact-info div + div { margin-block-start: 18px; padding-block-start: 18px; border-block-start: 1px solid #ffffff30; }
.contact-info span { color: var(--light-blue); font-size: 14px; display: block; margin-block-end: 5px; }
.contact-info a { display: inline-block; font-family: "IBM Plex Sans", sans-serif; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; }
.contact-info .contact-email { max-inline-size: 100%; font-size: clamp(16px, 1.6vw, 20px); overflow-wrap: anywhere; }
.contact-info a:hover { text-decoration: underline; }

.home-flow {
  --section-blend: clamp(66px, 7.5vw, 112px);
  --hero-about-edge: #49678f;
  --about-services-edge: #f8fbff;
  --services-sectors-edge: #83a2cc;
  --sectors-process-edge: #89a4ca;
  --process-clients-edge: #f8fbff;
  --clients-contact-edge: #809bbf;
}
.home-flow > .hero {
  --blend-out: var(--hero-about-edge);
  --blend-out-size: clamp(28px, 4vw, 46px);
}
.home-flow > #about { --blend-in: var(--hero-about-edge); --blend-out: var(--about-services-edge); }
.home-flow > #services { --blend-in: var(--about-services-edge); --blend-out: var(--services-sectors-edge); }
.home-flow > #sectors { --blend-in: var(--services-sectors-edge); --blend-out: var(--sectors-process-edge); }
.home-flow > #process { --blend-in: var(--sectors-process-edge); --blend-out: var(--process-clients-edge); }
.home-flow > #clients {
  --blend-in: var(--process-clients-edge);
  --blend-out: var(--clients-contact-edge);
  background-color: #f3f7fd;
}
.home-flow > #contact { --blend-in: var(--clients-contact-edge); --blend-out: var(--deep); }
.home-flow > section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.home-flow > section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--blend-in, transparent), color-mix(in srgb, var(--blend-in, transparent) 35%, transparent) 55%, transparent) top / 100% var(--section-blend) no-repeat,
    linear-gradient(to top, var(--blend-out, transparent), color-mix(in srgb, var(--blend-out, transparent) 35%, transparent) 55%, transparent) bottom / 100% var(--blend-out-size, var(--section-blend)) no-repeat;
}

.site-footer { border-block-start: 1px solid #ffffff23; }
.footer-inner { min-block-size: 93px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 14px; }
.footer-inner .brand img { inline-size: 195px; }
.footer-inner p, .back-top { font-size: 13px; }
.back-top span { margin-inline-start: 4px; }

.section-page { min-block-size: calc(100vh - var(--header) - 93px); }
.section-page h1 { font-size: clamp(29px, 3.7vw, 50px); }
.section-page .client-heading h1 { font-size: clamp(27px, 3vw, 42px); }
.contact-section :is(h1, h2) { font-size: clamp(28px, 3.3vw, 43px); }
.page-trail { background: var(--ice); border-block-end: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
.page-trail .wrap { display: flex; align-items: center; gap: 11px; min-block-size: 46px; }
.page-trail a { color: var(--blue-text); }
.page-trail a:hover { text-decoration: underline; }

.subhero { padding-block: clamp(55px, 7vw, 100px); background: radial-gradient(ellipse at top right, #1d4889, var(--deep) 73%); }
.subhero .feature-photo { aspect-ratio: 1.4; }
.subhero h1 { font-size: clamp(34px, 4.5vw, 58px); }
.breadcrumb { margin-block-end: 18px; font-size: 14px; color: #d3e1f3; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.detail-list { border-block-start: 1px solid var(--rule); }
.detail-list > article { display: grid; grid-template-columns: minmax(180px, .75fr) 1.2fr; gap: 15px 35px; padding-block: 21px; border-block-end: 1px solid var(--rule); }
.detail-list h3 { font-size: 23px; color: var(--navy); }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.channel-grid > article { border: 1px solid var(--rule); border-radius: 14px; padding: 20px; background: white; }
.channel-grid h3 { font-size: 21px; color: var(--navy); margin-block-end: 7px; }
.subcontact .wrap { display: flex; justify-content: space-between; align-items: center; gap: 23px; flex-wrap: wrap; }

.js .reveal {
  --reveal-ease: cubic-bezier(.2,.7,.22,1);
  --reveal-opacity: opacity .55s ease var(--reveal-delay, 0ms);
  --reveal-transform: transform .72s var(--reveal-ease) var(--reveal-delay, 0ms);
  opacity: 0;
  transform: translate(var(--reveal-x, 0), var(--reveal-y, 20px)) scale(var(--reveal-scale, 1));
  transition: var(--reveal-opacity), var(--reveal-transform);
}
.js .reveal[data-reveal="copy"] { --reveal-x: var(--reveal-inline); --reveal-y: 12px; }
.js .reveal[data-reveal="media"] { --reveal-x: calc(-1 * var(--reveal-inline)); --reveal-y: 14px; --reveal-scale: .98; --reveal-delay: 110ms; }
.js .sector-card.reveal { transition: flex .48s cubic-bezier(.25,.7,.25,1), var(--reveal-opacity), var(--reveal-transform); }
.js .reveal:is(.is-visible, :focus-within) { opacity: 1; transform: none; }
.js .reveal:focus-within { transition-delay: 0ms; }
.js .reveal:not(.is-visible):not(:focus-within) { transition-duration: 0s; transition-delay: 0s; }
.js :is(.feature-photo[data-reveal="media"], .service-grid[data-stagger] .service-card) img { transform: scale(1.06); transition: transform 1s cubic-bezier(.2,.7,.22,1) var(--reveal-delay, 0ms); }
.js :is(.feature-photo[data-reveal="media"], .service-grid[data-stagger] .service-card):is(.is-visible, :focus-within) img { transform: scale(1); }
.js :is(.feature-photo[data-reveal="media"], .service-grid[data-stagger] .service-card):not(.is-visible):not(:focus-within) img { transition-duration: 0s; transition-delay: 0s; }

@media (max-width: 980px) {
  .nav-links { column-gap: 13px; font-size: 14px; }
  .brand img { inline-size: 202px; }
  .hero-media { inline-size: 65%; }
  .hero-inner { grid-template-columns: minmax(0, 55%) 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card img { order: 0; max-block-size: 205px; object-position: center 33%; }
  .service-body { padding: 20px; }
  .sector-grid { min-block-size: 250px; }
  .sector-card button { grid-template-columns: 1fr auto; padding-inline: 12px; }
  .sector-index { grid-column: 1 / -1; }
  .sector-card p { margin-inline: 12px; }
}

@media (max-width: 1050px) {
  :root { --header: 66px; }
  .nav { flex-wrap: wrap; gap: 4px 8px; }
  .masthead .brand img { inline-size: clamp(124px, 38vw, 195px); }
  .js .menu-toggle { display: inline-flex; }
  .nav-links { flex-basis: 100%; padding-block: 4px 12px; gap: 2px 16px; }
  .js .nav-links { display: none; }
  .js .nav-links.is-open { display: flex; }
}

@media (max-width: 720px) {
  :root { --reveal-inline: 10px; }
  :root[lang="en"] { --reveal-inline: -10px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-block-size: 410px;
    min-block-size: clamp(410px, 62svh, 530px);
  }
  .hero-copy { padding-block: 58px 32px; }
  .hero h1 { font-size: clamp(26px, 6.1vw, 39px); }
  :root[lang="en"] .hero h1 { font-size: clamp(25px, 5.7vw, 37px); }
  .hero-description { margin-block-start: 14px; }
  .hero-media { inset: 0; inline-size: 100%; background-position: 24% center; mask-image: none; }
  .hero-media video { object-position: 24% center; }
  .hero-media::after { background: linear-gradient(180deg, #081b36ed, #0a2347cc 30%, #0a2347a6 49%, #081b3640 76%, #081b3666); }
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-grid li { min-block-size: 65px; padding: 8px; }
  .client-grid img { max-block-size: 44px; }
  .split { grid-template-columns: 1fr; }
  .feature-photo { aspect-ratio: 1.3; }
  .sector-grid { display: grid; grid-template-columns: 1fr 1fr; min-block-size: auto; }
  .sector-card { min-block-size: 154px; }
  .sector-card.is-active { min-block-size: 205px; grid-column: 1 / -1; }
  .sector-card:not(.is-active):last-child:nth-child(even) { grid-column: auto; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-inner { justify-content: flex-start; column-gap: 20px; }
  .footer-inner .back-top { margin-inline-start: auto; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}

@media (max-width: 440px) {
  .service-grid, .channel-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr 36%; min-block-size: 210px; }
  .service-card img { order: 2; max-block-size: none; }
  .service-body { padding: 15px; }
  .service-body :is(h2, h3) { font-size: 22px; }
  .service-body p { font-size: 15px; }
  .detail-list > article { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal img { opacity: 1; transform: none; }
  .hero-media video { visibility: hidden; }
}
