/* Xtreme Systems — redesigned home page */
:root {
  --blue: #004098;
  --blue-2: #0b4aa3;
  --blue-3: #1f63c6;
  --navy: #13294b;
  --navy-2: #0c1c36;
  --red: #e1251b;
  --red-2: #c11d14;
  --ink: #16233a;
  --text: #4a5568;
  --muted: #6b7686;
  --line: #e3e8ef;
  --soft: #f3f6fa;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(19, 41, 75, .25);
  --shadow-lg: 0 24px 60px -20px rgba(19, 41, 75, .35);
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Montserrat", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(225, 37, 27, .7); }
.btn--red:hover { background: var(--red-2); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn--line { border-color: var(--blue); color: var(--blue); }
.btn--line:hover { background: var(--blue); color: #fff; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* Section heads */
.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.head { max-width: 760px; margin-bottom: 48px; }
.head--center { text-align: center; margin-inline: auto; }
.head--center .eyebrow { justify-content: center; }
.head h2 { font-size: clamp(28px, 2.2vw + 16px, 44px); }
.head h2 span { color: var(--blue); }
.head p { margin-top: 16px; font-size: 17px; }

/* Top bar */
.topbar { background: var(--navy); color: #cfd8e6; font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar__info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info svg { width: 14px; height: 14px; color: var(--red); flex: none; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--red); transform: translateY(-2px); }
.socials svg { width: 14px; height: 14px; fill: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-stuck { box-shadow: 0 8px 30px -18px rgba(19, 41, 75, .45); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 84px; }
.logo img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: flex; align-items: center; gap: 6px; height: 84px; padding: 0 13px; font-weight: 600; font-size: 14.5px; color: var(--ink); background: none; border: 0; position: relative; }
.menu > li > a::after, .menu > li > button::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 24px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu > li:hover > a::after, .menu > li:hover > button::after, .menu > li > a.is-active::after { transform: scaleX(1); }
.menu .chev { width: 10px; height: 10px; transition: transform .2s; }
.menu > li:hover .chev { transform: rotate(180deg); }
.drop { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; min-width: 260px; }
.menu > li:hover > .drop, .menu > li:focus-within > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.drop--mega { display: grid; grid-template-columns: repeat(3, 230px); gap: 26px; left: 0; transform: translate(-30%, 8px); }
.menu > li:hover > .drop--mega, .menu > li:focus-within > .drop--mega { transform: translate(-30%, 0); }
.drop h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.drop a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--ink); transition: background .15s, color .15s, padding .15s; }
.drop a:hover { background: var(--soft); color: var(--blue); padding-left: 14px; }
.header__cta { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero slider */
.hero { position: relative; height: min(760px, calc(100svh - 128px)); min-height: 560px; overflow: hidden; background: var(--navy-2); color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 3.5s linear; }
.slide.is-active .slide__bg { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 48, .92) 0%, rgba(8, 22, 48, .72) 38%, rgba(8, 22, 48, .1) 70%); }
.slide__art { position: absolute; right: max(24px, calc((100vw - var(--wrap)) / 2)); top: 50%; width: min(38vw, 480px); transform: translateY(-46%); z-index: 1; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4)); }
.slide__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.slide__content > * { max-width: 620px; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: .24s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: .36s; }
.slide__tag { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.slide__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.slide h1, .slide h2 { color: #fff; font-size: clamp(36px, 3.6vw + 14px, 66px); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }
.slide h1 em, .slide h2 em { font-style: normal; color: #ff5a4f; }
.slide__text { margin-top: 20px; font-size: 18px; color: #d6deeb; line-height: 1.6; }
.slide__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__nav { position: absolute; z-index: 5; left: 0; right: 0; bottom: 36px; }
.hero__nav .wrap { display: flex; align-items: center; gap: 18px; }
.dots { display: flex; gap: 10px; }
.dots button { position: relative; width: 46px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.dots button::before { content: ""; position: absolute; inset: -10px 0; }
.dots button span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dots button.is-active span { animation: fill var(--slide-time, 6s) linear forwards; }
.hero.is-paused .dots button.is-active span { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 10px; margin-left: auto; }
.arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.arrows button:hover { background: var(--red); border-color: var(--red); }
.arrows svg { width: 18px; height: 18px; }
.counter { font-weight: 700; font-size: 14px; letter-spacing: .1em; color: #cfd8e6; }
.counter b { color: #fff; font-size: 20px; }

/* Stats strip */
.stats { position: relative; z-index: 6; margin-top: -54px; }
.stats__box { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 26px 22px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--blue); }
.stat__ico svg { width: 22px; height: 22px; }
.stat b { display: block; font-size: 22px; color: var(--ink); line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* Intro */
.apps { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 40px; }
.apps img { width: 100%; height: auto; }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat { position: relative; display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; overflow: hidden; }
.cat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--ease); }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat:hover::before { transform: scaleY(1); }
.cat__ico { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-3)); color: #fff; }
.cat__ico svg { width: 26px; height: 26px; }
.cat h3 { font-size: 18px; margin-bottom: 6px; }
.cat p { font-size: 15px; }
.cat__more { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--blue); }
.cat__more svg { width: 14px; height: 14px; transition: transform .2s; }
.cat:hover .cat__more svg { transform: translateX(4px); }
.cat--dark { background: var(--navy); border-color: var(--navy); }
.cat--dark h3 { color: #fff; }
.cat--dark p { color: #c6d1e3; }
.cat--dark .cat__more { color: #ff7a71; }
.cat--dark .cat__ico { background: var(--red); }

/* Products */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab { height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab small { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 11px; background: rgba(0, 0, 0, .08); font-size: 12px; }
.tab[aria-selected="true"] small { background: rgba(255, 255, 255, .22); }
.panel { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; animation: rise .45s var(--ease); }
.panel[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel__intro { position: sticky; top: 110px; padding: 32px; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy), var(--blue)); color: #d4deee; }
.panel__intro h3 { color: #fff; font-size: 24px; margin-bottom: 14px; }
.panel__intro p { font-size: 15px; }
.panel__intro ul { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.panel__intro li { display: flex; gap: 10px; align-items: flex-start; }
.panel__intro li svg { flex: none; width: 18px; height: 18px; color: #ff7a71; margin-top: 2px; }
.grid-prod { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.prod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod__img { aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #fff 0, #f2f5f9 70%); display: grid; place-items: center; padding: 18px; overflow: hidden; }
.prod__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.06); }
.prod__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 1px solid var(--line); }
.prod__body h4 { font-size: 15.5px; }
.prod__body span { font-size: 13px; color: var(--muted); }
.prod__btns { display: flex; gap: 8px; margin-top: auto; }
.prod__btns a { flex: 1; display: grid; place-items: center; height: 38px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.prod__btns a:first-child { background: var(--soft); color: var(--blue); }
.prod__btns a:first-child:hover { background: var(--blue); color: #fff; }
.prod__btns a:last-child { background: var(--red); color: #fff; }
.prod__btns a:last-child:hover { background: var(--red-2); }

/* Feature band: interactive, retractable, kiosks */
.duo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #c9d4e6; display: flex; flex-direction: column; min-height: 460px; isolation: isolate; }
.feat__img { height: 230px; display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, #1c3b72, var(--navy)); }
.feat__img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.feat:hover .feat__img img { transform: scale(1.05) translateY(-4px); }
.feat__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.feat h3 { color: #fff; font-size: 22px; }
.feat ul { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.feat li a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 500; transition: background .2s; }
.feat li a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.feat .link-arrow { margin-top: auto; color: #fff; }

.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Solutions */
.solutions { position: relative; background: var(--navy-2) url("../img/bg-blue.jpg") center/cover; color: #c6d1e3; overflow: hidden; }
.solutions .head h2 { color: #fff; }
.solutions .head h2 span { color: #ff6a60; }
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sol { padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s, transform .25s var(--ease), border-color .25s; display: flex; flex-direction: column; gap: 12px; }
.sol:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); transform: translateY(-4px); }
.sol__ico { width: 50px; height: 50px; border-radius: 12px; background: rgba(225, 37, 27, .16); color: #ff6a60; display: grid; place-items: center; }
.sol__ico svg { width: 24px; height: 24px; }
.sol h3 { color: #fff; font-size: 17px; }
.sol p { font-size: 14.5px; }
.sol--cta { background: var(--red); border-color: var(--red); justify-content: center; }
.sol--cta:hover { background: var(--red-2); }
.sol--cta h3 { font-size: 20px; }
.sol--cta p { color: #ffe1de; }

/* Services */
.services { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.services__img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.services__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.services__badge { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 12px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.services__badge b { font-size: 26px; color: var(--red); line-height: 1; }
.services__badge span { font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.3; }
.svc-list { display: grid; gap: 16px; margin-top: 28px; }
.svc { display: flex; gap: 18px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .25s, transform .25s var(--ease); }
.svc:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.svc__ico { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--blue); }
.svc__ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 17px; margin-bottom: 4px; }
.svc p { font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); width: 100%; background: linear-gradient(160deg, #e9eff8, #fff); }
.about__year { position: absolute; right: -14px; top: 24px; background: var(--blue); color: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center; }
.about__year b { display: block; font-size: 34px; line-height: 1; }
.about__year span { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.about p + p { margin-top: 14px; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.counters div { padding: 18px; border-radius: 12px; background: var(--soft); }
.counters b { display: block; font-size: 30px; color: var(--blue); line-height: 1.1; }
.counters span { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.pillar { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__n { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .1em; }
.pillar h3 { font-size: 18px; margin: 10px 0 8px; }
.pillar p { font-size: 14.5px; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.02; display: block; isolation: isolate; background: var(--navy); }
.case img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 22, 48, .9)); z-index: 1; }
.case:hover img { transform: scale(1.06); }
.case__body { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.case__body small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ff8a82; }
.case__body h3 { color: #fff; font-size: 21px; }
.case__go { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; transition: background .2s, color .2s, transform .25s var(--ease); }
.case__go svg { width: 18px; height: 18px; }
.case:hover .case__go { background: var(--red); color: #fff; transform: rotate(-45deg); }
.center { text-align: center; margin-top: 40px; }

/* CTA band */
.band { background: linear-gradient(110deg, var(--blue) 0%, var(--blue-2) 55%, var(--red) 140%); color: #fff; border-radius: 20px; padding: 46px 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -60px; top: -80px; width: 300px; height: 300px; border: 40px solid rgba(255, 255, 255, .06); border-radius: 50%; }
.band h2 { color: #fff; font-size: clamp(24px, 1.6vw + 14px, 34px); }
.band p { color: #dbe4f3; margin-top: 8px; }
.band .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.contact__info { padding: 36px; border-radius: var(--radius); background: var(--navy) url("../img/bg-blue2.jpg") center/cover; color: #c9d4e6; }
.contact__info h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.cinfo { display: grid; gap: 18px; margin-top: 28px; }
.cinfo div { display: flex; gap: 14px; align-items: flex-start; }
.cinfo i { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #ff7a71; font-style: normal; }
.cinfo svg { width: 20px; height: 20px; }
.cinfo b { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.cinfo a:hover { color: #fff; text-decoration: underline; }
.contact__info .socials { margin-top: 30px; }
.form { padding: 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h3 { font-size: 24px; margin-bottom: 6px; }
.form > p { margin-bottom: 24px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label b { color: var(--red); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--ink); height: 50px; padding: 0 16px; border-radius: 10px; border: 1px solid #d5dce6; background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.field textarea { height: 130px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 64, 152, .12); }
.field .err { display: none; font-size: 13px; color: var(--red-2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.field.is-invalid .err { display: block; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); }
.form__status { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--blue); }

/* Footer */
.footer { background: var(--navy-2); color: #a9b6cb; padding-top: 80px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--red); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { transition: color .2s, padding .2s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer .socials { margin-top: 22px; }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact svg { flex: none; width: 16px; height: 16px; color: var(--red); margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 13.5px; }
.footer__bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* Floating buttons */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45); transition: transform .2s var(--ease), opacity .25s; }
.fab a:hover, .fab button:hover { transform: translateY(-3px); }
.fab__wa { background: #25d366; }
.fab__wa svg { width: 28px; height: 28px; fill: #fff; }
.fab__top { background: var(--blue); color: #fff; opacity: 0; pointer-events: none; }
.fab__top.is-on { opacity: 1; pointer-events: auto; }
.fab__top svg { width: 20px; height: 20px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1180px) {
  .menu > li > a, .menu > li > button { padding: 0 9px; font-size: 14px; }
  .header__cta { display: none; }
  .stats__box { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 128px 0 0 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 24px 40px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); }
  .header.is-stuck .menu, .menu.is-open { }
  body.menu-open { overflow: hidden; }
  .menu.is-open { transform: none; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a, .menu > li > button { height: 58px; width: 100%; justify-content: space-between; font-size: 16px; padding: 0; }
  .menu > li > a::after, .menu > li > button::after { display: none; }
  .drop, .drop--mega { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 16px; display: none; min-width: 0; }
  .menu > li.is-open > .drop { display: block; }
  .drop--mega { grid-template-columns: 1fr; gap: 14px; }
  .menu > li.is-open > .drop--mega { display: grid; }
  .menu > li:hover .chev { transform: none; }
  .menu > li.is-open .chev { transform: rotate(180deg); }
  .menu .menu__cta { border: 0; padding-top: 20px; }
  .menu .menu__cta .btn { width: 100%; justify-content: center; height: 54px; }
  .slide__art { display: none; }
  .slide::after { background: linear-gradient(90deg, rgba(8, 22, 48, .9), rgba(8, 22, 48, .6)); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; }
  .panel__intro { position: static; }
  .duo { grid-template-columns: 1fr; }
  .feat { min-height: 0; }
  .services, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .about__year { right: 14px; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .band { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
}
@media (max-width: 680px) {
  .topbar__info a:not(:first-child):not(.tb-mail) { display: none; }
  .topbar .socials { display: none; }
  .header .wrap { height: 72px; }
  .logo img { height: 38px; }
  .menu { inset: 116px 0 0 0; }
  .section { padding: 72px 0; }
  .hero { height: auto; min-height: 600px; }
  .slide__content { padding: 80px 0 120px; }
  .slide__text { font-size: 16px; }
  .slide__btns .btn { flex: 1; justify-content: center; }
  .counter { display: none; }
  .stats { margin-top: -40px; }
  .stats__box { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(2n) { border-right: 0 !important; }
  .stat:last-child { grid-column: 1 / -1; border-right: 0 !important; }
  .stat__ico { width: 40px; height: 40px; }
  .stat b { font-size: 19px; }
  .cats, .sol-grid, .pillars, .cases, .counters { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .counters b { font-size: 22px; }
  .counters div { padding: 14px 10px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -24px; padding: 0 24px 6px; scrollbar-width: none; }
  .tab { flex: none; }
  .grid-prod { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod__body { padding: 12px; }
  .prod__btns { flex-direction: column; }
  .fields { grid-template-columns: 1fr; }
  .form, .contact__info { padding: 26px 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .case { aspect-ratio: 4 / 3.4; }
}
@media (min-width: 1024px) { .menu .menu__cta { display: none; } }
@media (min-width: 1024px) and (max-width: 1180px) { .menu .menu__cta { display: block; margin-left: 6px; } .menu .menu__cta .btn { height: 44px; padding: 0 18px; } }
/* fixes after review */
.counters b span { font-size: inherit; color: inherit; font-weight: inherit; }
.prod__btns { flex-direction: column; gap: 6px; }
.prod__btns a { flex: none; height: 36px; }
.feat__img { height: 240px; overflow: hidden; }
.feat__img img { max-height: 200px; max-width: 100%; height: auto; }
@media (max-width: 1023px) {
  .header { backdrop-filter: none; background: #fff; }
  .menu { inset: var(--menu-top, 128px) 0 0 0 !important; }
}
.menu > li.menu__cta > a.btn { background: var(--red); color: #fff; height: 44px; padding: 0 20px; justify-content: center; }
.menu > li.menu__cta > a.btn::after { display: none; }
@media (max-width: 1023px) { .menu > li.menu__cta > a.btn { height: 54px; width: 100%; } }

/* ===== Inner pages ===== */
.page-hero { position: relative; color: #fff; background: var(--navy-2); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 48, .95) 0%, rgba(8, 22, 48, .75) 50%, rgba(8, 22, 48, .35) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding: 84px 0 76px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 2.6vw + 16px, 54px); font-weight: 800; max-width: 820px; letter-spacing: -.02em; }
.page-hero p { color: #d3dceb; font-size: 18px; max-width: 700px; margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: #aebbd0; margin-bottom: 18px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.prose { max-width: 860px; }
.prose h2 { font-size: clamp(24px, 1.4vw + 16px, 34px); margin: 48px 0 14px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; color: var(--blue); }
.prose h4 { font-size: 18px; margin: 24px 0 8px; }
.prose p { margin: 0 0 16px; font-size: 16.5px; }
.prose ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 28px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.aside__card { padding: 26px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.aside__card h3 { font-size: 17px; margin-bottom: 12px; }
.aside__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.aside__card li a { display: flex; justify-content: space-between; padding: 8px 10px; margin: 0 -10px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background .15s, color .15s; }
.aside__card li a:hover, .aside__card li a[aria-current] { background: #fff; color: var(--blue); }
.aside__cta { padding: 26px; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy), var(--blue)); color: #d4deee; }
.aside__cta h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.aside__cta .btn { width: 100%; justify-content: center; margin-top: 16px; }
.aside__cta a.tel { display: block; color: #fff; font-weight: 600; margin-top: 10px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 28px 0 36px; }
.gallery a, .gallery figure { display: block; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery--contain figure { background: radial-gradient(circle at 50% 40%, #fff 0, #f2f5f9 70%); padding: 14px; }
.gallery--contain img { object-fit: contain; mix-blend-mode: multiply; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 24px 0; background: #000; }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.link-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.link-card__img { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.link-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.link-card:hover .link-card__img img { transform: scale(1.05); }
.link-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.link-card__body h3 { font-size: 18px; }
.link-card__body p { font-size: 14.5px; }
.link-card__body .link-arrow { margin-top: auto; padding-top: 6px; font-size: 14px; }
/* Product page */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pdp__media { position: sticky; top: 110px; }
.pdp__main { aspect-ratio: 1; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, #fff 0, #eef2f7 75%); border: 1px solid var(--line); display: grid; place-items: center; padding: 32px; overflow: hidden; }
.pdp__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pdp__thumbs button { aspect-ratio: 1; border-radius: 10px; border: 2px solid var(--line); background: #fff; padding: 6px; transition: border-color .2s; }
.pdp__thumbs button[aria-pressed="true"], .pdp__thumbs button:hover { border-color: var(--blue); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__cat { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.pdp h1 { font-size: clamp(30px, 2vw + 16px, 44px); margin: 10px 0 16px; }
.pdp__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.pdp__perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.pdp__perks div { padding: 14px; border-radius: 12px; background: var(--soft); font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.pdp__perks svg { flex: none; width: 20px; height: 20px; color: var(--blue); }
.spec { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 42%; color: var(--ink); font-weight: 600; background: var(--soft); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
@media (max-width: 1023px) {
  .layout, .pdp { grid-template-columns: 1fr; gap: 36px; }
  .aside, .pdp__media { position: static; }
}
@media (max-width: 680px) {
  .page-hero .wrap { padding: 56px 0 50px; }
  .page-hero p { font-size: 16px; }
  .pdp__perks { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
}
.pdp__list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.pdp__list li { display: flex; gap: 10px; align-items: flex-start; }
.pdp__list svg { flex: none; width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.prod__img { display: grid; }
.prod__body h4 a:hover { color: var(--blue); }
.cards-grid--in { margin: 24px 0 36px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cards-grid--in .link-card__img { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, #fff 0, #f2f5f9 70%); }
.cards-grid--in .link-card__img img { object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.cards-grid--in .link-card__body h3 { font-size: 16px; }
.link-card--text { background: var(--soft); border-color: transparent; }
div.link-card:hover { transform: none; box-shadow: none; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 24px 0 40px; }
.feature { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.feature__img { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--soft); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.feature h3 { font-size: 18px; color: var(--ink); margin: 18px 22px 6px; }
.feature p { margin: 0 22px 20px; font-size: 15px; }
.feature h3:last-child { margin-bottom: 20px; }
.post__date { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--red); text-transform: uppercase; margin-bottom: 12px; }
.prose img { border-radius: var(--radius); margin: 8px 0 20px; }
nav.tabs a.tab { display: inline-flex; align-items: center; }
@media (max-width: 680px) { .features { grid-template-columns: 1fr; } }
.prose figure.wide { margin: 12px 0 28px; }
.prose figure.wide img { display: block; width: auto; max-width: 100%; max-height: 560px; height: auto; margin: 0 auto; border-radius: var(--radius); }
.cards-grid--in .link-card__img:has(img[src*="solIc"]) { background: linear-gradient(160deg, var(--navy), var(--blue)); aspect-ratio: auto; height: 130px; display: grid; place-items: center; }
.cards-grid--in .link-card__img img[src*="solIc"] { width: 64px; height: 64px; padding: 0; mix-blend-mode: normal; }

/* contact form bot trap: hidden from people and screen readers */
.hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.form__status.is-ok{color:#11733d;background:#e8f6ee;border:1px solid #b9e3c9;border-radius:8px;padding:12px 14px}
.form__status.is-err{color:var(--red-2);background:#fdecea;border:1px solid #f5c2bd;border-radius:8px;padding:12px 14px}

/* offices (contact and about pages) */
.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.office { background: #fff; border: 1px solid var(--line, #e3e8f0); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.section--soft .office { border-color: transparent; box-shadow: 0 1px 2px rgba(19, 41, 75, .06); }
.office__where { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.office h3 { font-size: 18px; margin: 0; color: var(--navy); }
.office p { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 1.55; color: #4a5874; }
.office svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--navy); }
.office a { color: var(--navy); font-weight: 600; }
.office a:hover { color: var(--red); }
.cinfo i.wa svg { fill: currentColor; }

/* main menu with the old site's nine items: sized per screen width so it stays on one line */
@media (min-width: 1024px) {
  .header .wrap { width: min(100% - 48px, 1340px); }
  .menu { gap: 0; flex-shrink: 0; }
  .menu > li > a, .menu > li > button { white-space: nowrap; gap: 4px; padding: 0 9px; font-size: 14px; }
  .menu > li > a::after, .menu > li > button::after { left: 9px; right: 9px; }
  .logo { flex-shrink: 0; }
  .header__cta { display: inline-flex; flex-shrink: 0; white-space: nowrap; }
  .menu .menu__cta { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1365px) {
  .menu > li > a, .menu > li > button { padding: 0 7px; font-size: 13.5px; }
  .menu > li > a::after, .menu > li > button::after { left: 7px; right: 7px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .header__cta { display: none; }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .menu > li > a, .menu > li > button { padding: 0 5px; font-size: 13px; }
  .menu > li > a::after, .menu > li > button::after { left: 5px; right: 5px; }
  .logo img { height: 40px; }
}

/* maps (contact page) */
.maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.map { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(19, 41, 75, .06); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.map figcaption { display: grid; gap: 4px; padding: 18px 22px 22px; }
.map figcaption b { color: var(--navy); font-size: 17px; }
.map figcaption span { color: #4a5874; font-size: 15px; }
.map figcaption a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--navy); font-weight: 600; font-size: 14px; }
.map figcaption a svg { width: 14px; height: 14px; }
.map figcaption a:hover { color: var(--red); }

/* Saudi page: icons, FAQ, certificates */
.pillar__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--soft, #f1f5fa); color: var(--red); font-style: normal; }
.pillar__ic svg { width: 22px; height: 22px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0 0 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--red); }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 0; padding: 0 22px 20px; color: #4a5874; }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cert { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #fff; padding: 12px; }
.cert span { display: grid; gap: 2px; padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.cert b { color: var(--navy); }
.cert small { color: #6b7891; }

/* ===== Arabic (right to left) ===== */
.topbar .wrap { justify-content: flex-start; }
.topbar__info { margin-inline-end: auto; }
.lang-switch { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; margin-inline-start: 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-weight: 700; font-size: 13px; color: #fff; white-space: nowrap; flex-shrink: 0; }
.lang-switch:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.lang-switch[lang="ar"] { font-family: 'Tajawal', var(--font); font-size: 14px; }
[dir="rtl"] body { font-family: 'Tajawal', var(--font); }
[dir="rtl"] .lang-switch { font-family: var(--font); }
[dir="rtl"] .skip { left: auto; right: 16px; }
[dir="rtl"] .btn svg, [dir="rtl"] .link-arrow svg, [dir="rtl"] .cat__more svg, [dir="rtl"] .map figcaption a svg, [dir="rtl"] .arrow svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg, [dir="rtl"] .link-arrow:hover svg, [dir="rtl"] .cat:hover .cat__more svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .menu { margin-left: 0; margin-right: auto; }
[dir="rtl"] .menu > li > a::after, [dir="rtl"] .menu > li > button::after { transform-origin: right; }
[dir="rtl"] .drop--mega { left: auto; right: 0; transform: translate(30%, 8px); }
[dir="rtl"] .menu > li:hover > .drop--mega, [dir="rtl"] .menu > li:focus-within > .drop--mega { transform: translate(30%, 0); }
[dir="rtl"] .drop a:hover { padding-left: 10px; padding-right: 14px; }
[dir="rtl"] .header__cta { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .burger { margin-left: 0; margin-right: auto; }
@media (max-width: 1023px) { [dir="rtl"] .lang-switch + .burger { margin-left: 0; margin-right: 10px; } [dir="rtl"] .menu { transform: translateX(-100%); } [dir="rtl"] .menu.is-open { transform: none; } }
[dir="rtl"] .slide::after { background: linear-gradient(270deg, rgba(8, 22, 48, .92) 0%, rgba(8, 22, 48, .72) 38%, rgba(8, 22, 48, .1) 70%); }
[dir="rtl"] .slide__art { right: auto; left: max(24px, calc((100vw - var(--wrap)) / 2)); }
[dir="rtl"] .arrows { margin-left: 0; margin-right: auto; }
[dir="rtl"] .arrows button svg { transform: scaleX(-1); }
[dir="rtl"] .stat { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .stat:last-child { border-left: 0; }
[dir="rtl"] .tab small { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .services__badge { left: auto; right: 20px; }
[dir="rtl"] .svc:hover { transform: translateX(-4px); }
[dir="rtl"] .about__year { right: auto; left: -14px; }
[dir="rtl"] .band::before { right: auto; left: -60px; }
[dir="rtl"] .footer h3::after { left: auto; right: 0; }
[dir="rtl"] .footer ul a:hover { padding-left: 0; padding-right: 4px; }
[dir="rtl"] .fab { right: auto; left: 22px; align-items: flex-start; }
[dir="rtl"] .page-hero::after { background: linear-gradient(270deg, rgba(8, 22, 48, .95) 0%, rgba(8, 22, 48, .75) 50%, rgba(8, 22, 48, .35) 100%); }
[dir="rtl"] .crumbs li + li::before { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .prose li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .prose li::before { left: auto; right: 4px; }
[dir="rtl"] .spec th, [dir="rtl"] .spec td { text-align: right; }
[dir="rtl"] .faq summary { text-align: right; }
@media (max-width: 1180px) { [dir="rtl"] .stat:nth-child(3) { border-left: 0; } }
@media (max-width: 1023px) { [dir="rtl"] .slide::after { background: linear-gradient(270deg, rgba(8, 22, 48, .9), rgba(8, 22, 48, .6)); } [dir="rtl"] .about__year { right: auto; left: 14px; } }
@media (max-width: 680px) { [dir="rtl"] .stat { border-left: 1px solid var(--line) !important; } [dir="rtl"] .stat:nth-child(2n), [dir="rtl"] .stat:last-child { border-left: 0 !important; } }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { direction: ltr; text-align: right; }
[dir="rtl"] a[href^="tel:"] { direction: ltr; unicode-bidi: embed; }
/* the last menu items open their drop-down towards the page, not past its edge */
@media (min-width: 1024px) {
  [dir="rtl"] .menu > li:nth-last-child(-n+3) > .drop:not(.drop--mega) { left: 0; transform: translate(0, 8px); }
  [dir="rtl"] .menu > li:nth-last-child(-n+3):hover > .drop:not(.drop--mega), [dir="rtl"] .menu > li:nth-last-child(-n+3):focus-within > .drop:not(.drop--mega) { transform: translate(0, 0); }
  .menu > li:nth-last-child(-n+2) > .drop:not(.drop--mega) { left: auto; right: 0; transform: translate(0, 8px); }
  .menu > li:nth-last-child(-n+2):hover > .drop:not(.drop--mega), .menu > li:nth-last-child(-n+2):focus-within > .drop:not(.drop--mega) { transform: translate(0, 0); }
  [dir="rtl"] .menu > li:nth-last-child(-n+2) > .drop:not(.drop--mega) { right: auto; }
}
/* footer: Saudi Made */
.saudi-made { display: inline-flex; margin-top: 22px; }
.saudi-made img { height: 64px; width: auto; background: #fff; border-radius: 10px; padding: 6px 12px; box-sizing: content-box; }
.saudi-made--text { flex-direction: column; gap: 2px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; border-inline-start: 4px solid #1b8a3c; }
.saudi-made--text b { color: #fff; font-size: 15px; }
.saudi-made--text span { color: #b8c3d6; font-size: 13px; }
.saudi-made--text:hover { border-color: rgba(255, 255, 255, .5); }
.certs-sub { margin: 36px 0 16px; font-size: 1.15rem; color: var(--navy); }
.certs-sub:first-of-type { margin-top: 0; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.share b { color: var(--navy); margin-inline-end: 6px; }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #eef3fa; color: var(--navy); transition: background .2s, color .2s; }
.share a:hover { background: var(--navy); color: #fff; }
.share svg { width: 18px; height: 18px; fill: currentColor; }

/* Images are always shown whole (never cropped) and never enlarged past their real size. */
.feature__img { aspect-ratio: 16 / 10; padding: 14px; gap: 10px; align-items: center; justify-items: center; background: radial-gradient(circle at 50% 40%, #fff 0, #f2f5f9 75%); }
.feature__img img { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; }
.link-card__img { display: grid; place-items: center; }
.link-card__img img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery a, .gallery figure { display: grid; place-items: center; }
.gallery img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery figure.is-wide, .gallery a.is-wide { grid-column: 1 / -1; aspect-ratio: auto; background: none; }
.gallery .is-wide img { max-height: none; }
.pdp__main img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.services__img img { object-fit: contain; background: var(--soft); }
/* Picture boxes: the picture sits centred inside, whole, never larger than its own size */
.link-card__img, .prod__img, .gallery figure, .gallery a, .pdp__main { position: relative; }
.link-card__img img, .prod__img img, .gallery figure:not(.is-wide) img, .gallery a:not(.is-wide) img, .pdp__main img {
  position: absolute; inset: 0; margin: auto; width: auto; height: auto; padding: 0;
  max-width: calc(100% - var(--pic-pad, 0px) * 2); max-height: calc(100% - var(--pic-pad, 0px) * 2); object-fit: contain;
}
.prod__img { --pic-pad: 18px; }
.pdp__main { --pic-pad: 32px; }
.cards-grid--in .link-card__img, .gallery--contain figure { --pic-pad: 12px; }
.gallery .is-wide img { position: static; width: 100%; height: auto; }
.cards-grid--in .link-card__img img[src*="solIc"] { position: static; width: 64px; height: 64px; }
.gallery .is-wide img { width: auto; max-width: 100%; margin: 0 auto; }
@media (max-width: 680px) { .case { aspect-ratio: 1 / 1.02; } }
.prose p.eyebrow { display: block; margin: 36px 0 -6px; }
/* long unbroken values ("500x500mm/750x500mm/...") wrap instead of widening the page on phones */
.prose, .feature, .link-card__body, .spec td, .spec th { overflow-wrap: break-word; }
@media (max-width: 680px) { .btn { max-width: 100%; white-space: normal; text-align: center; } }

/* ---------- Solutions (layout of the old site) ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.sol-tile { display: block; text-align: center; color: var(--ink); }
.sol-tile__img { display: block; height: 300px; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.sol-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sol-tile:hover .sol-tile__img img { transform: scale(1.05); }
.sol-tile__name { display: block; margin-top: 16px; font-weight: 600; font-size: 17px; }
.sol-tile:hover .sol-tile__name { color: var(--red); }
.sol-title { text-align: center; font-size: clamp(26px, 3vw, 34px); margin: 0 0 26px; }
.sol-title::after { content: ""; display: block; width: 46px; height: 3px; margin: 14px auto 0; background: var(--blue); border-radius: 2px; }
.sol-title--light { color: #fff; }
.sol-title--light::after { background: #fff; }
.sol-scen { max-width: 1000px; text-align: center; }
.sol-scen p { color: #5d6b82; line-height: 1.9; }
.sol-band { padding: 80px 0; background: linear-gradient(90deg, #1f60a7, #213a83); color: #fff; }
.sol-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 30px; }
.sol-feats--3 { grid-template-columns: repeat(3, 1fr); }
.sol-feat { text-align: center; }
.sol-feat img { width: auto; height: 56px; max-width: 70px; object-fit: contain; margin: 0 auto 18px; }
.sol-feat h3 { color: #fff; font-size: 18px; margin: 0 0 12px; }
.sol-feat p { color: rgba(255, 255, 255, .85); font-size: 14.5px; line-height: 1.75; margin: 0; }
.sol-how { position: relative; padding: 90px 0; overflow: hidden; }
.sol-how__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol-how .wrap { position: relative; }
.sol-how__card { max-width: 560px; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); }
.sol-how__card h2 { margin-top: 0; }
.sol-how__card p { color: #5d6b82; line-height: 1.8; }
.sol-apps { display: grid; gap: 40px; }
.sol-app { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.sol-app--rev .sol-app__img { order: 2; }
.sol-app__img { border-radius: var(--radius); overflow: hidden; background: #fff; }
.sol-app__img img { width: 100%; height: auto; display: block; }
.sol-app__txt h3 { font-size: 24px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.sol-app__txt p { color: #5d6b82; line-height: 1.8; }
@media (max-width: 980px) { .sol-grid { grid-template-columns: repeat(2, 1fr); } .sol-feats, .sol-feats--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .sol-grid { grid-template-columns: 1fr; } .sol-tile__img { height: 220px; }
  .sol-feats, .sol-feats--3 { grid-template-columns: 1fr; } .sol-band { padding: 56px 0; }
  .sol-app { grid-template-columns: 1fr; gap: 18px; } .sol-app--rev .sol-app__img { order: 0; }
  .sol-how { padding: 50px 0; } .sol-how__card { padding: 26px; }
}

/* ---------- Specification tables: complete rows, no squeezed columns ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.spec { table-layout: auto; }
.spec th[scope="col"] { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; width: auto; }
.spec th[scope="row"] { width: 40%; }
.spec--multi th[scope="row"] { width: auto; min-width: 190px; position: sticky; left: 0; z-index: 1; }
.spec--multi th[scope="col"]:first-child { position: sticky; left: 0; z-index: 2; }
.spec--multi td, .spec--multi th[scope="col"] { white-space: nowrap; }
.spec--multi td.long, .spec--multi td[colspan] { white-space: normal; min-width: 220px; }
.spec td[colspan] { text-align: center; }
.spec tbody tr:nth-child(even) td { background: #fafbfd; }
[dir="rtl"] .spec--multi th[scope="row"], [dir="rtl"] .spec--multi th[scope="col"]:first-child { left: auto; right: 0; }
[dir="rtl"] .spec td[colspan] { text-align: center; }
@media (max-width: 680px) {
  .spec { font-size: 13.5px; }
  .spec th, .spec td { padding: 10px 11px; }
  .spec--multi th[scope="row"] { min-width: 140px; max-width: 170px; }
}
/* short labels and values stay on one line; long sentences wrap */
.spec th:not(.long), .spec td:not(.long):not([colspan]) { white-space: nowrap; }
.spec th[scope="row"] { width: 1%; }
.spec th.long, .spec td.long { white-space: normal; min-width: 240px; }
.spec--multi th[scope="row"] { min-width: 0; }
@media (max-width: 680px) { .spec--multi th[scope="row"] { min-width: 0; max-width: none; } .spec th.long, .spec td.long { min-width: 200px; } }
@media (max-width: 680px) {
  .spec:not(.spec--multi) th, .spec:not(.spec--multi) td { padding: 9px 9px; font-size: 13px; }
  .spec:not(.spec--multi) td { white-space: normal !important; min-width: 0 !important; }
  .spec:not(.spec--multi) th.long { min-width: 120px; }
}
/* phones: two-column spec tables become label / value lines, so nothing is squeezed */
@media (max-width: 560px) {
  .spec:not(.spec--multi), .spec:not(.spec--multi) tbody, .spec:not(.spec--multi) tr, .spec:not(.spec--multi) th, .spec:not(.spec--multi) td { display: block; width: 100%; }
  .spec:not(.spec--multi) thead, .spec:not(.spec--multi) thead tr { display: block; } .spec:not(.spec--multi) thead tr { background: var(--navy); } .spec:not(.spec--multi) thead th { color: #fff !important; font-size: 14px; }
  .spec:not(.spec--multi) tr { border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .spec:not(.spec--multi) tr:first-child { border-top: 1px solid var(--line); }
  .spec:not(.spec--multi) th, .spec:not(.spec--multi) td { padding: 0 !important; border: 0 !important; background: none !important; white-space: normal !important; min-width: 0 !important; text-align: start; }
  .spec:not(.spec--multi) th { font-size: 12.5px; color: #6b7891; font-weight: 600; margin-bottom: 3px; }
  .spec:not(.spec--multi) td { font-size: 14.5px; color: var(--ink); }
  .spec:not(.spec--multi) tbody tr:nth-child(even) { background: #fafbfd; }
}
@media (min-width: 561px) { .spec:not(.spec--multi) th[scope="row"] { width: 36%; } }

/* Solutions: photos shown whole */
.sol-tile__img { height: auto; aspect-ratio: 1920 / 700; background: #0b1a33; }
.sol-tile__img img { object-fit: contain; }
.sol-tile:hover .sol-tile__img img { transform: none; }
.page-hero--full .page-hero__bg { position: static; display: block; width: 100%; height: auto; object-fit: contain; opacity: 1; }
.page-hero--full::after { background: linear-gradient(90deg, rgba(8, 22, 48, .85) 0%, rgba(8, 22, 48, .35) 45%, rgba(8, 22, 48, 0) 70%); }
[dir="rtl"] .page-hero--full::after { background: linear-gradient(270deg, rgba(8, 22, 48, .85) 0%, rgba(8, 22, 48, .35) 45%, rgba(8, 22, 48, 0) 70%); }
.page-hero--full .wrap { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 0 clamp(18px, 4vw, 56px); }
.sol-how { padding: 0; background: var(--soft); }
.sol-how__bg { position: static; display: block; height: auto; object-fit: contain; }
.sol-how .wrap { margin-top: -110px; padding-bottom: 60px; }
@media (max-width: 680px) {
  .page-hero--full::after { display: none; }
  .page-hero--full .wrap { position: static; padding: 22px 0 26px; }
  .sol-how .wrap { margin-top: -30px; padding-bottom: 40px; }
}

/* ---------- Product description block from the old site (xt-*) ---------- */
.xtpd { max-width: 1120px; margin: 0 auto; }
.xtpd > section { padding: 56px 0; border-top: 1px solid var(--line); }
.xtpd > section:first-child { border-top: 0; padding-top: 8px; }
.xtpd .xt-eyebrow { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.xtpd h2 { font-size: clamp(26px, 2.4vw + 10px, 38px); margin: 0 0 14px; letter-spacing: -.01em; }
.xtpd h3 { font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.xtpd .xt-lead { font-size: 18px; color: #5d6b82; max-width: 760px; margin: 0 0 22px; }
.xtpd p { color: #5d6b82; line-height: 1.75; }
.xtpd .xt-dl { margin: 6px 0 28px; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); color: #fff; }
.xtpd .xt-media { margin: 26px 0; border-radius: var(--radius); overflow: hidden; background: #fff; text-align: center; }
.xtpd .xt-media img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.xtpd .xt-media img + img { margin-top: 24px; }
.xtpd .xt-media h3 { text-align: start; margin-top: 10px; }
.xtpd .xt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 26px 0; }
.xtpd .xt-stat { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; text-align: center; color: #5d6b82; font-size: 14px; line-height: 1.5; }
.xtpd .xt-stat b, .xtpd .xt-stat strong { display: block; color: var(--navy); font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 6px; }
.xtpd .xt-grid, .xtpd .xt-grid-2 { display: grid; gap: 18px; margin: 22px 0; }
.xtpd .xt-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.xtpd .xt-grid-2 { grid-template-columns: repeat(2, 1fr); }
.xtpd .xt-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.xtpd .xt-card p { margin: 0; font-size: 15px; }
.xtpd .xt-card img { display: block; max-width: 100%; height: auto; margin: 0 auto 16px; border-radius: 10px; }
.xtpd .xt-card p:has(img) { margin-bottom: 14px; }
.xtpd .xt-dark { background: linear-gradient(160deg, var(--navy), var(--blue)); border-color: transparent; }
.xtpd .xt-dark h3, .xtpd .xt-dark p { color: #fff; }
.xtpd .xt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 36px; align-items: center; margin-top: 18px; }
.xtpd .xt-split img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.xtpd .xt-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.xtpd .xt-list li { position: relative; padding-inline-start: 26px; color: #45526a; line-height: 1.6; }
.xtpd .xt-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 12px; height: 3px; background: var(--red); border-radius: 2px; }
.xtpd .xt-caption { font-size: 14px; color: #6b7891; text-align: center; margin-top: 10px; }
.xtpd .xt-note { font-size: 14px; color: #6b7891; background: var(--soft); border-radius: 10px; padding: 14px 18px; }
.xtpd .table-wrap { margin: 18px 0; }
@media (max-width: 760px) {
  .xtpd > section { padding: 38px 0; }
  .xtpd .xt-grid-2, .xtpd .xt-split { grid-template-columns: 1fr; }
  .xtpd .xt-stat b, .xtpd .xt-stat strong { font-size: 22px; }
}
[dir="rtl"] [dir="ltr"] { unicode-bidi: isolate; }
[dir="rtl"] .xt-stat [dir="ltr"], [dir="rtl"] .xt-stat b[dir="ltr"] { display: block; }
[dir="rtl"] td[dir="ltr"], [dir="rtl"] th[dir="ltr"] { text-align: right; }
[dir="rtl"] .spec td[colspan][dir="ltr"] { text-align: center; }
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* ---------- Picture sizes as on the old site (--f = share of the content width) ---------- */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.gallery figure[style*="--f"], .gallery a[style*="--f"] { flex: 0 0 calc(var(--f) * 100% - 12px); max-width: 100%; aspect-ratio: auto; padding: 0; background: none; display: block; }
.gallery figure[style*="--f"] img { position: static; width: auto; height: auto; max-width: 100%; max-height: none; margin: 0 auto; display: block; }
.gallery figure:not([style*="--f"]) { flex: 0 0 calc(33.333% - 12px); }
.prose figure.wide[style*="--f"] { max-width: calc(var(--f) * 100%); margin-left: auto; margin-right: auto; }
.prose figure.wide[style*="--f"] img { width: auto; max-width: 100%; height: auto; margin: 0 auto; }
@media (max-width: 680px) {
  .gallery figure[style*="--f"], .gallery figure:not([style*="--f"]) { flex-basis: 100%; }
  .gallery figure[style*="--f:0.1"], .gallery figure[style*="--f:0.2"], .gallery figure[style*="--f:0.0"] { flex-basis: calc(50% - 8px); }
  .prose figure.wide[style*="--f"] { max-width: 100%; }
}
.features { display: flex; flex-wrap: wrap; justify-content: center; }
.features > .feature { flex: 0 0 calc(50% - 11px); }
.features > .feature[style*="--f"] { flex: 0 0 calc(var(--f) * 100% - 16px); min-width: 180px; }
.feature[style*="--f"] .feature__img { aspect-ratio: auto; padding: 0; background: none; }
.feature[style*="--f"] .feature__img img { max-height: none; width: auto; max-width: 100%; height: auto; }
@media (max-width: 680px) { .features > .feature, .features > .feature[style*="--f"] { flex-basis: 100%; } .features > .feature[style*="--f:0.1"], .features > .feature[style*="--f:0.2"] { flex-basis: calc(50% - 11px); min-width: 0; } }
.prose p.dl-btn { margin: 18px 0 26px; }
.feature[data-stack] .feature__img { grid-auto-flow: row; gap: 14px; }
.prose figure.wide[style*="--f"] img { max-height: none; }
