/* ============================================================
   TEKTRONIX GLOBAL — Components (hero, grids, forms, etc.)
   ============================================================ */

/* ---- Home hero ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-block: 140px 80px; background: #0A1016; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(22,201,182,0.18), transparent 55%),
    linear-gradient(105deg, rgba(8,14,20,0.86) 0%, rgba(8,14,20,0.5) 55%, rgba(8,14,20,0.7) 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 880px; }
.hero .eyebrow { color: var(--accent-bright); }
.hero .eyebrow::before { background: var(--accent-bright); }
.hero .text-grad { background: linear-gradient(100deg, var(--accent-bright) 0%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 { margin-block: 22px 24px; color: #fff; }
.hero .lead { margin-block-end: 38px; color: rgba(255,255,255,0.82); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.hero .btn-ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.hero__flags { display: flex; gap: 22px; align-items: center; margin-block-start: 56px; flex-wrap: wrap; opacity: 0.92; }
.hero__flags .label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.hero__flags .row { display: flex; gap: 14px; align-items: center; }
.hero__flags .row span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: rgba(255,255,255,0.85); font-weight: 500; }
.hero__flags .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); }

/* ---- Hero slider ---- */
.hero--slider .hero__slides::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(22,201,182,0.16), transparent 55%),
    linear-gradient(105deg, rgba(8,14,20,0.92) 0%, rgba(8,14,20,0.66) 50%, rgba(8,14,20,0.82) 100%); }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__dots { position: absolute; inset-block-end: 30px; inset-inline: 0; z-index: 3; display: flex; gap: 11px; justify-content: center; }
.hero__dots button { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.7); background: transparent; cursor: pointer; padding: 0; transition: all .3s; }
.hero__dots button.is-active { background: var(--accent-bright); border-color: var(--accent-bright); transform: scale(1.15); }
.hero__arrows { position: absolute; inset-block-start: 50%; inset-inline: 22px; transform: translateY(-50%); z-index: 3; display: flex; justify-content: space-between; width: calc(100% - 44px); pointer-events: none; }
.hero__arrows button { pointer-events: auto; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.32); background: rgba(8,14,20,0.34); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px); transition: all .3s; }
.hero__arrows button:hover { background: var(--accent); border-color: var(--accent); }
.hero__arrows svg { width: 22px; height: 22px; }
html[dir="rtl"] .hero__arrows svg { transform: scaleX(-1); }

/* ---- Who We Are flags ---- */
.flags-row { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-block-start: 36px; }
.flags-row span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--text); letter-spacing: 0.02em; }
.flags-row .fl { font-size: 22px; line-height: 1; }
.who-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.who-grid__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.who-grid__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Video band ---- */
.video-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: grid; place-items: center; border: 1px solid var(--line); text-align: center; }
.video-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,20,0.45), rgba(8,14,20,0.72)); }
.video-band__inner { position: relative; z-index: 2; padding: 30px; }
.video-band__play { width: 88px; height: 88px; border-radius: 50%; background: var(--accent); border: none; display: grid; place-items: center; cursor: pointer; margin: 0 auto 26px; box-shadow: 0 0 0 0 rgba(31,209,184,0.55); animation: vpulse 2.4s infinite; transition: transform .3s; }
.video-band__play:hover { transform: scale(1.08); }
.video-band__play svg { width: 32px; height: 32px; color: #06231f; margin-inline-start: 4px; }
.video-band__inner h2 { color: #fff; font-size: clamp(1.8rem,3.4vw,2.6rem); max-width: 20ch; margin-inline: auto; }
.video-band__inner p { color: rgba(255,255,255,0.85); margin-block-start: 14px; max-width: 50ch; margin-inline: auto; }
@keyframes vpulse { 0% { box-shadow: 0 0 0 0 rgba(31,209,184,0.5); } 70% { box-shadow: 0 0 0 26px rgba(31,209,184,0); } 100% { box-shadow: 0 0 0 0 rgba(31,209,184,0); } }
@media (prefers-reduced-motion: reduce) { .video-band__play { animation: none; } }

/* ---- Who We Are (centered) ---- */
.who { text-align: center; max-width: 900px; margin-inline: auto; }
.who .h-section { margin-block: 14px 18px; }
.who__lead { color: var(--text-soft); font-size: 16px; line-height: 1.85; max-width: 800px; margin-inline: auto; }
.flags-img { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; margin-block: 34px 6px; }
.flags-img span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; color: var(--text); }
.flags-img img { width: 30px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,0.18); }
.who__globe { width: min(420px, 78%); margin: 18px auto 0; display: block; }
.who-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-block-start: 46px; }
.who-stat { text-align: left; border-top: 2px solid var(--line-strong); padding-block-start: 18px; }
.who-stat .k { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); font-weight: 700; }
.who-stat .k svg { width: 16px; height: 16px; color: var(--accent); }
.who-stat .v { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 700; color: var(--text); line-height: 1; margin-block: 12px 7px; }
.who-stat .l { color: var(--text-soft); font-size: 14px; }
html[dir="rtl"] .who-stat { text-align: right; }

/* ---- Coverflow gallery ---- */
.coverflow { position: relative; height: 430px; perspective: 1500px; margin-block-start: 18px; }
.coverflow__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.coverflow__item { position: absolute; top: 50%; left: 50%; width: 400px; height: 300px; margin: -150px 0 0 -200px; transition: transform .55s var(--ease), opacity .55s; cursor: pointer; }
.coverflow__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.28); display: block; }
.coverflow__arrows { display: flex; justify-content: center; gap: 16px; margin-block-start: 26px; }
.coverflow__arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: all .3s; }
.coverflow__arrows button:hover { background: var(--accent); border-color: var(--accent); color: #06231f; }
.coverflow__arrows svg { width: 22px; height: 22px; }
@media (max-width: 720px) { .coverflow { height: 300px; } .coverflow__item { width: 280px; height: 210px; margin: -105px 0 0 -140px; } }

/* ---- Video carousel + consultation CTA ---- */
.video-carousel { position: relative; max-width: 940px; margin-inline: auto; }
.video-carousel__frame { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 34px 70px rgba(0,0,0,0.20); background: #04110f; aspect-ratio: 16 / 9; }
.video-carousel__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-carousel__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.video-carousel__play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; background: var(--accent); border: none; display: grid; place-items: center; cursor: pointer; z-index: 2; box-shadow: 0 0 0 0 rgba(31,209,184,0.55); animation: vpulse 2.4s infinite; transition: transform .3s; }
.video-carousel__play:hover { transform: scale(1.08); }
.video-carousel__play svg { width: 32px; height: 32px; color: #06231f; margin-inline-start: 4px; }
.video-carousel.is-playing .video-carousel__poster, .video-carousel.is-playing .video-carousel__play { display: none; }
.video-carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; z-index: 3; transition: all .3s; }
.video-carousel__nav:hover { background: var(--accent); border-color: var(--accent); color: #06231f; }
.video-carousel__nav svg { width: 24px; height: 24px; }
.vc-prev { left: -26px; } .vc-next { right: -26px; }
.consult-cta { text-align: center; margin-block-start: 44px; }
.consult-cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 22ch; margin-inline: auto; }
.consult-cta p { color: var(--text-soft); margin-block: 14px 26px; }
@media (max-width: 1040px) { .vc-prev { left: 12px; } .vc-next { right: 12px; } .video-carousel__nav { background: rgba(255,255,255,0.9); } }

/* ---- Clients / Consultants ---- */
.clients-row { margin-block-start: 10px; }
.clients-row + .clients-row { margin-block-start: 40px; }
.clients-row__label { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-block-end: 20px; }
.chip-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.chip-marquee__track { display: flex; gap: 16px; width: max-content; animation: scrollx 34s linear infinite; }
.chip-marquee--rev .chip-marquee__track { animation-direction: reverse; }
.chip-marquee:hover .chip-marquee__track { animation-play-state: paused; }
.chip-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 13px 24px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text-soft); }
.chip-logo svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }
.logo-tile { display: inline-flex; align-items: center; justify-content: center; width: 170px; height: 86px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; flex-shrink: 0; }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .chip-marquee__track { animation: none; flex-wrap: wrap; } }

/* ---- Client directory grid (clients.html) ---- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.client-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; transition: transform .32s var(--ease), border-color .32s, box-shadow .32s; position: relative; overflow: hidden; }
.client-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(120% 100% at 50% 0%, rgba(22,201,182,0.16), transparent 60%); transition: opacity .32s; pointer-events: none; }
.client-card::after { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity .32s; }
.client-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 46px -20px rgba(0,0,0,0.4); }
.client-card:hover::before, .client-card:hover::after { opacity: 1; }
.client-card__logo { width: 100%; height: 76px; display: grid; place-items: center; background: #fff; border-radius: 10px; padding: 12px; position: relative; z-index: 1; }
.client-card__logo img { max-height: 52px; max-width: 88%; width: auto; height: auto; object-fit: contain; }
.client-card__name { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--text-soft); line-height: 1.35; position: relative; z-index: 1; }
.client-sector-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 34px; }
.client-sector-tabs .pill { cursor: default; }

/* ---- Clients page stat strip ---- */
.client-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.client-stat { text-align: center; padding: 26px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.client-stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem,2.6vw,2.3rem); background: linear-gradient(135deg, var(--accent), var(--accent-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.client-stat span { display: block; margin-block-start: 6px; font-size: 13px; color: var(--text-mute); }
@media (max-width: 700px) { .client-stats { grid-template-columns: 1fr 1fr; } }

/* ---- Data Points (bento) ---- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento .b { border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; min-height: 132px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.bento .b:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.bento .b .n { font-family: var(--font-head); font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 700; color: var(--accent); line-height: 1; }
.bento .b .t { color: var(--text-soft); margin-block-start: 9px; font-size: 14.5px; line-height: 1.4; }
.bento .b--accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; }
.bento .b--accent .n { color: #04231f; }
.bento .b--accent .t { color: rgba(4,35,31,0.82); }
.bento .b--dark { background: #0c2622; border-color: transparent; }
.bento .b--dark .n { color: var(--accent-bright); }
.bento .col2 { grid-column: span 2; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .col2 { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr 1fr; } .bento .col2 { grid-column: span 2; } }

/* ---- Stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--surface); padding: 38px 28px; }
.stats .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--accent); line-height: 1; }
.stats .lbl { color: var(--text-soft); margin-block-start: 10px; font-size: 15px; }

/* ---- Section header ---- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-block-end: 40px; flex-wrap: wrap; }
.sec-head .h-section { margin-block-start: 16px; max-width: none; white-space: nowrap; }
@media (max-width: 768px) { .sec-head .h-section { white-space: normal; } }
.sec-head p { color: var(--text-soft); max-width: 46ch; }
@media (max-width: 900px) { .sec-head p[style*="nowrap"] { white-space: normal !important; max-width: 46ch !important; } }

/* ---- Service grid ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; min-height: 420px; position: relative; }
.svc-card--noimg { min-height: 0; align-self: start; }
.svc-card--noimg .svc-card__body { padding-block-start: 26px; }
.svc-card__media { height: 220px; overflow: hidden; position: relative; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--surface), transparent 60%); }
.svc-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { font-size: 1.32rem; margin-block-end: 12px; }
.svc-card__body p { color: var(--text-soft); font-size: 15px; flex: 1; }
.svc-card__link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 14.5px; margin-block-start: 18px; }
.svc-card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-card__link svg { transform: translateX(5px); }
html[dir="rtl"] .svc-card__link svg { transform: scaleX(-1); }
html[dir="rtl"] .svc-card:hover .svc-card__link svg { transform: scaleX(-1) translateX(5px); }

/* ---- Logo marquee ---- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 64px; align-items: center; width: max-content; animation: scrollx 38s linear infinite; }
html[dir="rtl"] .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 38px; width: auto; opacity: 0.6; filter: brightness(0) invert(1); transition: opacity .3s; }
.marquee img:hover { opacity: 1; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---- Split feature ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split ul.checks { display: flex; flex-direction: column; gap: 16px; margin-block-start: 28px; }
.split ul.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-soft); }
.split ul.checks svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-block-start: 2px; }
.split ul.checks strong { color: var(--text); font-weight: 600; display: block; font-family: var(--font-head); }

/* ---- Feature tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tile[id], section[id] { scroll-margin-top: 104px; }
a.tile { text-decoration: none; color: inherit; display: block; }
a.tile .tile-more { display: inline-flex; align-items: center; gap: 5px; margin-block-start: 12px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--accent); }
a.tile:hover { border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: border-color .3s, transform .3s; }
.tile:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tile .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(31,209,184,0.16), rgba(56,198,240,0.12)); color: var(--accent); margin-block-end: 20px; }
.tile .ic svg { width: 26px; height: 26px; }
.tile h3 { font-size: 1.18rem; margin-block-end: 10px; }
.tile p { color: var(--text-soft); font-size: 14.5px; }

/* ---- CTA band ---- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px,7vw,84px); text-align: center; border: 1px solid var(--line); background: linear-gradient(135deg, var(--surface), var(--bg-2)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% -10%, rgba(31,209,184,0.18), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.9rem,3.6vw,2.8rem); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--text-soft); margin-block: 18px 32px; max-width: 52ch; margin-inline: auto; }

/* ---- Gallery ---- */
.gallery { columns: 4; column-gap: 16px; }
.gallery img { width: 100%; border-radius: var(--radius-sm); margin-block-end: 16px; border: 1px solid var(--line); transition: transform .4s var(--ease); }
.gallery img:hover { transform: scale(1.02); }

/* ---- Certifications ---- */
.certs { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.cert { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; }
.cert img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; flex-shrink: 0; }
.cert h4 { font-size: 1.02rem; margin-block-end: 6px; }
.cert p { color: var(--text-soft); font-size: 13.5px; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-soft); font-family: var(--font-head); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; color: var(--text); font-family: var(--font-body); font-size: 16px; transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.tk-cta-form__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-block-end: 2px; color: var(--text); }

/* Quote card embedded directly inside the hero, split-layout style */
.page-hero .container.has-quote,
.hero .container.has-quote,
.solution-hero .container.has-quote {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start;
}
.tk-hero-quote {
  padding: clamp(22px, 2.4vw, 30px);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)), var(--surface);
  position: relative; border: 1px solid rgba(22,201,182,0.28);
  box-shadow: 0 30px 60px -22px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.tk-hero-quote::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(22,201,182,0.55), transparent 40%, transparent 70%, rgba(22,201,182,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.tk-hero-quote__hd { display: flex; align-items: flex-start; gap: 12px; margin-block-end: 18px; }
.tk-hero-quote__ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(22,201,182,0.16); color: var(--accent); }
.tk-hero-quote__ic svg { width: 20px; height: 20px; }
.tk-hero-quote__trust { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-mute); margin-block-start: 4px; }
.tk-hero-quote__trust svg { width: 13px; height: 13px; flex: none; color: var(--accent); }
.tk-hero-quote .form-grid { gap: 12px; }
.field__ic-wrap { position: relative; display: flex; align-items: center; }
.field__ic-wrap svg { position: absolute; inset-inline-start: 14px; width: 16px; height: 16px; color: var(--text-mute); pointer-events: none; }
.field__ic-wrap input { padding-inline-start: 40px; width: 100%; }
html[dir="rtl"] .field__ic-wrap svg { inset-inline-start: auto; inset-inline-end: 14px; }
html[dir="rtl"] .field__ic-wrap input { padding-inline-start: 16px; padding-inline-end: 40px; }
.tk-hero-quote .field input, .tk-hero-quote .field select { padding: 12px 14px; font-size: 16px; }
.tk-hero-quote .field.field__ic-parent { }
.tk-hero-quote .field__ic-wrap input { padding-inline-start: 40px; }
html[dir="rtl"] .tk-hero-quote .field__ic-wrap input { padding-inline-start: 14px; padding-inline-end: 40px; }
.tk-hero-quote .field textarea { min-height: 70px; padding: 12px 14px; }
.tk-hero-quote .btn { width: 100%; justify-content: center; padding: 13px 24px; }
.tk-hero-copy { padding-block-start: clamp(4px, 1vw, 14px); }
/* The hero grows to fit whichever column (copy or form) is taller — never clip it */
.page-hero.has-quote-hero, .hero.has-quote-hero, .solution-hero.has-quote-hero { overflow: visible; padding-block: 130px 60px; }
@media (max-width: 900px) {
  .page-hero .container.has-quote,
  .hero .container.has-quote,
  .solution-hero .container.has-quote { grid-template-columns: 1fr; gap: 30px; }
  .tk-hero-copy { order: 1; padding-block-start: 0; }
  .tk-hero-quote { order: 2; margin-block-start: 6px; }
}
@media (max-width: 700px) {
  .page-hero.has-quote-hero, .hero.has-quote-hero, .solution-hero.has-quote-hero { padding-block: 104px 40px; }
}
.form-success { text-align: center; padding: 30px 0; color: var(--accent); }
.form-success svg { margin-inline: auto; margin-block-end: 16px; }
.form-success h3 { color: var(--text); margin-block-end: 8px; }
.form-success p { color: var(--text-soft); }

/* ---- Misc page ---- */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.tk-cta-form .two-col { align-items: center; }
.tk-cta-form__intro .contact-info { margin-block-start: 4px; }
.tk-cta-form__intro .contact-info a:hover { color: var(--accent); }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.contact-info .ic svg { width: 20px; height: 20px; }
.contact-info h4 { font-size: 1rem; margin-block-end: 3px; }
.contact-info p, .contact-info a { color: var(--text-soft); font-size: 15px; }

/* ---- Contact: Our Offices tabs ---- */
.offices { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 22px; background: var(--surface-2); }
.offices__title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); margin-block-end: 14px; }
.offices__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 16px; }
.offices__tab { border: 1px solid var(--line); background: var(--surface); color: var(--text-soft); font-family: var(--font-head); font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.offices__tab:hover { border-color: var(--accent); color: var(--accent); }
.offices__tab.is-active { background: var(--accent); border-color: var(--accent); color: #06231f; }
.offices__pane { display: none; }
.offices__pane.is-active { display: block; animation: officesFade .3s ease; }
@keyframes officesFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.offices__pane h5 { font-size: 15px; margin-block-end: 6px; color: var(--text); }
.offices__pane p { margin-block-end: 8px; line-height: 1.6; }
.offices__pane a { font-weight: 600; }

.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta { display: flex; gap: 10px; font-size: 12.5px; color: var(--text-mute); margin-block-end: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.post-card h3 { font-size: 1.2rem; margin-block-end: 10px; }
.post-card p { color: var(--text-soft); font-size: 14.5px; flex: 1; }

/* ---- Solution hero (dark image band on the light site) ---- */
.solution-hero { padding-block: 180px 90px; background: #0A1016; border-block-end: none; }
.solution-hero__bg { position: absolute; inset: 0; z-index: 0; }
.solution-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.solution-hero__bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 90% at 80% 0%, rgba(22,201,182,0.14), transparent 55%), linear-gradient(105deg, rgba(6,10,14,0.94), rgba(6,10,14,0.86) 55%, rgba(6,10,14,0.9)); }
.solution-hero .breadcrumb { color: rgba(255,255,255,0.65); }
.solution-hero .breadcrumb a:hover { color: var(--accent-bright); }
.solution-hero .eyebrow { color: var(--accent-bright); }
.solution-hero .eyebrow::before { background: var(--accent-bright); }
.solution-hero h1 { color: #fff; }
.solution-hero .lead { color: rgba(255,255,255,0.84); }
.solution-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.solution-hero .btn-ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); }

/* ---- FAQ ---- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--accent); font-weight: 400; flex-shrink: 0; transition: transform .3s var(--ease); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 26px 24px; }
.faq-a p { color: var(--text-soft); font-size: 15.5px; }

/* ---- Projects ---- */
.proj-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proj-shots img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: transform .4s var(--ease); }
.proj-shots img:hover { transform: scale(1.03); }
.proj-cat { margin-block-start: 18px; }
.proj-cat__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: clamp(1.5rem,2.6vw,2rem); font-weight: 600; margin-block-end: 8px; }
.proj-cat__title .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(31,209,184,0.18), rgba(56,198,240,0.12)); color: var(--accent); flex-shrink: 0; }
.proj-cat__title .ic svg { width: 24px; height: 24px; }
.proj-region { margin-block-start: 26px; }
.proj-region__label { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-block-end: 18px; }
html[dir="rtl"] .proj-region__label { letter-spacing: 0.04em; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client-card { display: flex; flex-direction: column; }
.client-card .logo { background: #fff; height: 130px; display: grid; place-items: center; padding: 22px; }
.client-card .logo img { max-height: 74px; max-width: 84%; width: auto; object-fit: contain; }
.client-card__body { padding: 18px 20px 22px; }
.client-card h4 { font-size: 1.02rem; margin-block-end: 4px; line-height: 1.25; }
.client-card span { color: var(--text-mute); font-size: 13.5px; }

/* ---- Client logo strip (About) ---- */
.about-logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.about-logos .lg { background: #fff; border-radius: 12px; height: 92px; display: grid; place-items: center; padding: 16px 18px; border: 1px solid var(--line); }
.about-logos .lg img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 980px) { .about-logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .about-logos { grid-template-columns: repeat(2, 1fr); } }

/* ---- Team grid (About) ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.team-card__photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card__body { padding: 18px 20px 22px; }
.team-card h4 { font-size: 1.05rem; margin-block-end: 3px; line-height: 1.2; }
.team-card span { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- News: featured + tag chip ---- */
.news-featured { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s, transform .25s; }
.news-featured:hover { border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); transform: translateY(-3px); }
.news-featured__media { min-height: 340px; overflow: hidden; }
.news-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-featured:hover .news-featured__media img { transform: scale(1.05); }
.news-featured__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.news-featured__body h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.18; margin-block: 14px 14px; }
.news-featured__body p { color: var(--text-soft); max-width: 52ch; margin-block-end: 22px; }
.meta .tag { background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); padding: 3px 11px; border-radius: 100px; font-weight: 600; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 860px) { .news-featured { grid-template-columns: 1fr; } .news-featured__media { min-height: 240px; } }

/* ---- Projects: showcase mosaic ---- */
.proj-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proj-mosaic figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface-2); }
.proj-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-mosaic figure:hover img { transform: scale(1.06); }
@media (max-width: 980px) { .proj-mosaic { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .proj-mosaic { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---- Projects: deployments by category ---- */
.deploy-cat { margin-block-start: 64px; }
.deploy-cat:first-of-type { margin-block-start: 0; }
.deploy-cat__head { display: flex; align-items: center; gap: 14px; padding-block-end: 18px; border-block-end: 1px solid var(--line); margin-block-end: 30px; }
.deploy-cat__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); flex-shrink: 0; }
.deploy-cat__ic svg { width: 24px; height: 24px; }
.deploy-cat__head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.deploy-sub { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-block: 6px 18px; }
html[dir="rtl"] .deploy-sub { letter-spacing: 0.04em; }
.deploy-sub + .deploy-grid { margin-block-end: 6px; }
.deploy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-block-end: 8px; }
.deploy-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s, transform .25s; }
.deploy-card:hover { border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); transform: translateY(-3px); }
.deploy-card__logo { background: #fff; height: 120px; display: grid; place-items: center; padding: 22px; }
.deploy-card__logo img { max-height: 64px; max-width: 80%; width: auto; object-fit: contain; }
.deploy-card__body { padding: 16px 18px 18px; }
.deploy-card__body h4 { font-size: 1rem; line-height: 1.3; margin-block-end: 4px; }
.deploy-card__body span { display: inline-flex; align-items: center; gap: 5px; color: var(--text-mute); font-size: 13px; }
.deploy-card__body span svg { width: 13px; height: 13px; color: var(--accent); }
@media (max-width: 980px) { .deploy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .deploy-grid { grid-template-columns: 1fr; } }

/* ---- Prose (legal pages) ---- */
.prose h2 { font-size: 1.35rem; color: var(--text); margin-block: 32px 12px; font-weight: 700; }
.prose h2:first-child { margin-block-start: 0; }
.prose p { color: var(--text-soft); line-height: 1.85; font-size: 16px; }
[dir="rtl"] .prose { text-align: right; }

@media (max-width: 980px) {
  .svc-grid, .tiles, .certs, .post-grid, .client-grid, .proj-shots { grid-template-columns: repeat(2,1fr); }
  .split, .two-col, .who-grid { grid-template-columns: 1fr; gap: 40px; }
  .who-stats { grid-template-columns: 1fr 1fr; gap: 24px 28px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .gallery { columns: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .compare, .steps, .mega__feat-row { grid-template-columns: 1fr; }
  .eco-grid, .mod-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc-grid, .tiles, .certs, .post-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .proj-shots { grid-template-columns: repeat(2,1fr); }
  .client-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- VMS / TEKVisit page ---- */
.panel { background: linear-gradient(135deg, rgba(22,201,182,0.07), rgba(22,201,182,0.01)); border: 1px solid var(--line); border-radius: 20px; padding: 48px; }
.panel--dark { background: var(--bg-1); border-color: rgba(255,255,255,0.08); color: #fff; }
.panel--dark h2, .panel--dark h3, .panel--dark strong { color: #fff; }
.panel--dark .checks li span { color: rgba(255,255,255,0.66); }
.panel .checks { columns: 2; column-gap: 38px; margin-block-start: 26px; }
.panel .checks li { break-inside: avoid; margin-block-end: 16px; display: flex; gap: 12px; align-items: flex-start; }
.panel .checks svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-block-start: 3px; }
.panel .checks strong { color: #fff; font-weight: 600; display: block; font-family: var(--font-head); margin-block-end: 2px; }
/* universal safety cap so no inline check icon balloons */
.checks svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 720px) { .panel { padding: 30px 22px; } .panel .checks { columns: 1; } }

.subfeat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block-start: 24px; }
.subfeat__card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.subfeat__card h4 { font-size: 14.5px; color: var(--accent); margin-block-end: 5px; }
.subfeat__card p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }
@media (max-width: 560px) { .subfeat { grid-template-columns: 1fr; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { border-radius: 16px; padding: 28px; border: 1px solid var(--line); }
.compare__col--bad { background: rgba(220,70,70,0.05); border-color: rgba(220,70,70,0.25); }
.compare__col--good { background: rgba(22,201,182,0.06); border-color: rgba(22,201,182,0.3); }
.compare__col h3 { font-size: 18px; margin-block-end: 18px; }
.compare__col--bad h3 { color: #d24a4a; }
.compare__col--good h3 { color: var(--accent); }
.compare__col li { display: flex; gap: 11px; align-items: flex-start; padding-block: 9px; color: var(--text-soft); font-size: 15px; border-block-start: 1px solid var(--line); }
.compare__col li:first-of-type { border-block-start: none; }
.compare__col li svg { width: 18px; height: 18px; flex-shrink: 0; margin-block-start: 2px; }
.compare__col--bad li svg { color: #d24a4a; }
.compare__col--good li svg { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; counter-reset: step; }
.step { text-align: center; }
.step__n { width: 54px; height: 54px; border-radius: 50%; background: var(--bg-1); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; margin: 0 auto 16px; border: 2px solid var(--accent); }
.step h4 { font-size: 15px; margin-block-end: 7px; }
.step p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }

.eco-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.eco-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.eco-card h3 { font-size: 16px; color: var(--accent); margin-block-end: 14px; }
.eco-card li { display: flex; gap: 9px; align-items: flex-start; padding-block: 6px; color: var(--text-soft); font-size: 14px; }
.eco-card li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-block-start: 3px; }
@media (max-width: 760px) { .eco-grid { grid-template-columns: 1fr; } }

.mod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-strip span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text-soft); }

.rel-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.rel-table th, .rel-table td { text-align: start; padding: 14px 18px; border-block-end: 1px solid var(--line); }
.rel-table thead th { background: var(--bg-1); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.rel-table tbody tr:last-child td { border-block-end: none; }
.rel-table tbody tr:hover { background: var(--surface-2); }
.rel-table td:first-child { font-weight: 600; color: var(--text); }
.rel-table a { color: var(--accent); font-weight: 600; }
@media (max-width: 680px) { .rel-table, .rel-table thead, .rel-table tbody, .rel-table th, .rel-table td, .rel-table tr { display: block; } .rel-table thead { display: none; } .rel-table td { border: none; padding: 4px 18px; } .rel-table tr { border-block-end: 1px solid var(--line); padding-block: 12px; } }

/* ---- VMS dashboard mockup ---- */
.split__media--dash { display: block; }
.vmsdash { background: linear-gradient(165deg, #0E1822, #0A121B); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); overflow: hidden; }
.vmsdash__bar { display: flex; align-items: center; justify-content: space-between; padding-block-end: 14px; border-block-end: 1px solid var(--line); }
.vmsdash__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--text); letter-spacing: .01em; }
.vmsdash__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(22,201,182,.18); }
.vmsdash__live { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.vmsdash__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: vmsBlink 1.6s ease-in-out infinite; }
@keyframes vmsBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.vmsdash__kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-block: 14px; }
.vmsdash__kpi { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; }
.vmsdash__kpi span { display: block; font-size: 10.5px; color: var(--text-mute); margin-block-end: 4px; white-space: nowrap; }
.vmsdash__kpi strong { font-family: var(--font-head); font-size: 22px; color: var(--text); line-height: 1; }
.vmsdash__kpi--warn strong { color: #F7B955; }
.vmsdash__panels { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin-block-end: 12px; }
.vmsdash__panel { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.vmsdash__phd { font-size: 11px; color: var(--text-soft); margin-block-end: 12px; font-weight: 600; }
.vmsdash__chart { display: flex; align-items: flex-end; gap: 6px; height: 78px; }
.vmsdash__chart span { flex: 1; background: linear-gradient(180deg, var(--accent), rgba(22,201,182,.25)); border-radius: 4px 4px 0 0; min-height: 6px; }
.vmsdash__donut { width: 84px; height: 84px; margin: 0 auto 10px; border-radius: 50%; background: conic-gradient(var(--accent) 0 58%, #3C6E8F 58% 82%, #F7B955 82% 100%); -webkit-mask: radial-gradient(circle 24px at center, transparent 98%, #000 100%); mask: radial-gradient(circle 24px at center, transparent 98%, #000 100%); }
.vmsdash__leg { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; }
.vmsdash__leg li { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--text-mute); }
.vmsdash__leg i { width: 8px; height: 8px; border-radius: 2px; }
.vmsdash__leg .c1 { background: var(--accent); } .vmsdash__leg .c2 { background: #3C6E8F; } .vmsdash__leg .c3 { background: #F7B955; }
.vmsdash__rows { display: flex; flex-direction: column; gap: 6px; }
.vmsdash__row { display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; gap: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; }
.vmsdash__av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(22,201,182,.16); color: var(--accent); font-size: 12px; font-weight: 700; font-family: var(--font-head); }
.vmsdash__nm { font-size: 12.5px; color: var(--text); font-weight: 500; }
.vmsdash__tg { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.vmsdash__tg--ok { background: rgba(22,201,182,.14); color: var(--accent); }
.vmsdash__tg--vip { background: rgba(60,110,143,.22); color: #7FB6DC; }
.vmsdash__tg--warn { background: rgba(247,185,85,.16); color: #F7B955; }
.vmsdash__tm { font-size: 11px; color: var(--text-mute); font-variant-numeric: tabular-nums; }
html[dir="rtl"] .vmsdash__live, html[dir="rtl"] .vmsdash__brand { letter-spacing: 0; }
@media (max-width: 560px) { .vmsdash__kpis { grid-template-columns: 1fr 1fr; } .vmsdash__panels { grid-template-columns: 1fr; } }

/* ---- Why Tektronix — capability grid ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0,0,0,.35); border-color: rgba(31,209,184,.4); }
.why-card__ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-block-end: 16px;
  background: linear-gradient(150deg, rgba(31,209,184,.18), rgba(31,209,184,.06)); color: var(--accent); }
.why-card__ic svg { width: 26px; height: 26px; }
.why-card h4 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.why-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); margin: 0; text-wrap: pretty; }
.why-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-block-start: 22px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; }
.why-trust__item { text-align: center; color: #fff; }
.why-trust__item strong { display: block; font-family: var(--font-display, inherit); font-weight: 800; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; color: #fff; letter-spacing: -.02em; }
.why-trust__item span { display: block; font-size: 14px; color: rgba(255,255,255,.72); margin-block-start: 7px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } .why-trust { grid-template-columns: 1fr 1fr; gap: 24px 14px; } }

/* ---- Scale bento (Data points) ---- */
.scale-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 158px; gap: 14px; grid-auto-flow: dense; }
.sb-tile { position: relative; border-radius: 16px; overflow: hidden; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  background-size: cover; background-position: center; background-color: #0F1B22; color: #fff; isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease; }
.sb-tile::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,27,34,.15) 0%, rgba(15,27,34,.78) 100%); }
.sb-tile--teal { background-color: var(--accent); background-image: linear-gradient(150deg, #0fa18d 0%, #0a6f63 100%); }
.sb-tile--teal::after { display: none; }
.sb-tile--tall { grid-row: span 2; justify-content: center; }
.sb-tile--wide { grid-column: span 2; }
.sb-tile--big { grid-column: span 2; grid-row: span 2; justify-content: center; }
.sb-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15,30,40,.22); }
.sb-num { font-family: var(--font-display, inherit); font-weight: 800; font-size: clamp(26px, 2.4vw, 40px); line-height: 1; letter-spacing: -.02em; }
.sb-tile--big .sb-num { font-size: clamp(34px, 3.4vw, 52px); }
.sb-lbl { font-size: 15px; font-weight: 600; margin-block-start: 8px; opacity: .96; text-wrap: balance; }
.sb-tile--big .sb-lbl { font-size: 17px; }
@media (max-width: 860px) {
  .scale-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .sb-tile--wide, .sb-tile--big { grid-column: span 2; }
  .sb-tile--big { grid-row: span 2; }
}
@media (max-width: 460px) {
  .scale-bento { gap: 10px; grid-auto-rows: 124px; }
  .sb-tile { padding: 16px; }
  .sb-tile--wide { grid-column: span 2; }
}

/* ---- Tektronix AI Chat widget ---- */
.tk-chat { position: fixed; inset-inline-end: 24px; inset-block-end: 24px; z-index: 1200; }
.tk-chat__fab { position: relative; width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(12,132,117,.45); display: grid; place-items: center;
  transition: transform .25s ease, box-shadow .25s ease; }
.tk-chat__fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 38px rgba(12,132,117,.55); }
.tk-chat__fab svg { width: 26px; height: 26px; transition: opacity .2s, transform .3s; }
.tk-chat__fab .i-close { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.6); }
.tk-chat.open .tk-chat__fab .i-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.tk-chat.open .tk-chat__fab .i-close { opacity: 1; transform: rotate(0) scale(1); }
.tk-chat__fab::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: .55; animation: tkPulse 2.2s ease-out infinite; }
.tk-chat.open .tk-chat__fab::after { display: none; }
@keyframes tkPulse { 0% { transform: scale(.9); opacity: .55; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }

.tk-chat__panel { position: absolute; inset-inline-end: 0; inset-block-end: 76px; width: 370px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,30,40,.28); border: 1px solid var(--line);
  display: flex; flex-direction: column; max-height: min(620px, calc(100vh - 120px));
  /* Panel itself is always light-surfaced, regardless of page theme — scope readable dark text tokens here. */
  --text: #0F1B22; --text-soft: #4C5D6A; --text-mute: #8493A0; --line: rgba(15,30,40,0.12); --surface: #fff; --surface-2: #F4F8FA; --accent: #0C8475;
  opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none; transform-origin: bottom right; transition: opacity .26s ease, transform .26s cubic-bezier(.16,1,.3,1); }
.tk-chat.open .tk-chat__panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
html[dir="rtl"] .tk-chat__panel { transform-origin: bottom left; }

.tk-chat__hd { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: #fff;
  background: linear-gradient(120deg, #0C8475, #0a6f63); }
.tk-chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex-shrink: 0; }
.tk-chat__avatar svg { width: 22px; height: 22px; }
.tk-chat__title { font-weight: 700; font-size: 15px; }
.tk-chat__sub { font-size: 12px; opacity: .92; display: flex; align-items: center; gap: 6px; margin-block-start: 2px; }
.tk-dot { width: 7px; height: 7px; border-radius: 50%; background: #5ce6c0; box-shadow: 0 0 0 0 rgba(92,230,192,.6); animation: tkDot 1.8s infinite; }
@keyframes tkDot { 0% { box-shadow: 0 0 0 0 rgba(92,230,192,.6); } 70% { box-shadow: 0 0 0 6px rgba(92,230,192,0); } 100% { box-shadow: 0 0 0 0 rgba(92,230,192,0); } }

.tk-chat__body { padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: #F4F8FA; flex: 1; min-height: 180px; }
.tk-msg { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; color: #16232B; }
.tk-msg--bot { background: #fff; color: #16232B; border: 1px solid var(--line); border-start-start-radius: 4px; align-self: flex-start; }
.tk-msg--user { background: var(--accent); color: #fff; border-end-end-radius: 4px; align-self: flex-end; }
.tk-msg--typing { background: #fff; border: 1px solid var(--line); padding: 13px 16px; }
.tk-typing { display: inline-flex; gap: 4px; align-items: center; }
.tk-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-mute); animation: tkTypingBounce 1.1s infinite ease-in-out; }
.tk-typing span:nth-child(2) { animation-delay: .15s; }
.tk-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes tkTypingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.tk-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; background: #F4F8FA; }
.tk-chip { border: 1px solid var(--accent); color: var(--accent); background: rgba(12,132,117,.06); border-radius: 999px; padding: 7px 13px; font-size: 13px; cursor: pointer; transition: background .2s, color .2s; }
.tk-chip:hover { background: var(--accent); color: #fff; }

.tk-chat__form { display: flex; gap: 8px; padding: 12px 14px; border-block-start: 1px solid var(--line); background: #fff; }
.tk-chat__form input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font-size: 16px; font-family: inherit; outline: none; color: #0F1B22; background: #fff; }
.tk-chat__form input::placeholder { color: #8493A0; }
.tk-msg--bot a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.tk-lead { align-self: stretch; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 6px 18px rgba(15,30,40,.06); }
.tk-lead__intro { font-size: 13px; font-weight: 600; color: #0F1B22; line-height: 1.45; margin-bottom: 2px; }
.tk-lead__in { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-family: inherit; color: #0F1B22; background: #fff; outline: none; }
.tk-lead__in:focus { border-color: var(--accent); }
.tk-lead__in::placeholder { color: #8493A0; }
.tk-lead__err { color: #D64545; font-size: 12px; min-height: 0; }
.tk-lead__err:not(:empty) { min-height: 16px; }
.tk-lead__send { margin-top: 2px; border: none; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; font-family: inherit; padding: 11px 14px; border-radius: 10px; cursor: pointer; }
.tk-lead__send:hover { filter: brightness(1.06); }

/* ---- Region keyword chips ---- */
.region-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }
.region-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  color: var(--text); letter-spacing: 0.01em;
}
.region-chip::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex: 0 0 auto;
}

/* ---- Branded showcase banner (real Tektronix product banners) ---- */
.ref-banner { padding-block: 0; }
.ref-banner .container { padding-inline: 0; }
.ref-banner__img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(15,30,40,0.14);
  border: 1px solid var(--line);
}
@media (max-width: 640px) { .ref-banner__img { border-radius: var(--radius-md); } }

/* ---- Footer logo sizing ---- */
.footer-logo img { height: 56px; }

/* ---- HID Amico page ---- */
.amico-hero { padding-block: 120px 72px; background: radial-gradient(120% 100% at 80% 0%, rgba(12,132,117,.16), transparent 60%), var(--bg); overflow: hidden; }
.amico-hero__grid { display: block; }
.amico-hero__media { display: grid; place-items: center; }
.amico-hero__media img { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.amico-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 30px; }
.amico-model { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.amico-model h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-block-end: 12px; }
.amico-model p { color: var(--text-soft); font-size: 15px; line-height: 1.6; }
.amico-list { display: flex; flex-direction: column; gap: 10px; margin-block-start: 18px; }
.amico-list li { position: relative; padding-inline-start: 26px; color: var(--text-soft); font-size: 14.5px; }
.amico-list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(12,132,117,.18); }
html[dir="rtl"] .amico-list li { padding-inline-start: 26px; }
@media (max-width: 880px) {
  .amico-hero { padding-block: 100px 52px; }
  .amico-hero__media img { max-width: 300px; }
}
.tk-chat__form input:focus { border-color: var(--accent); }
.tk-chat__form button { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.tk-chat__form button svg { width: 18px; height: 18px; }
html[dir="rtl"] .tk-chat__form button svg { transform: scaleX(-1); }
@media (max-width: 560px) { .tk-chat { inset-inline-end: 16px; inset-block-end: 16px; } }

/* ---- Sticky mobile action bar ---- */
.tk-mbar { display: none; }
@media (max-width: 720px) {
  body { padding-block-end: 64px; }
  .tk-mbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 1200;
    background: #fff; border-block-start: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(15,30,40,.12);
    padding-block-end: env(safe-area-inset-bottom, 0px);
  }
  .tk-mbar__btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    padding: 8px 6px 7px; font-family: var(--font-head); font-weight: 600; font-size: 11px;
    color: #4C5D6A; text-decoration: none; min-height: 54px; line-height: 1;
  }
  .tk-mbar__btn svg { width: 20px; height: 20px; stroke-width: 2.2; }
  .tk-mbar__btn:not(:last-child) { border-inline-end: 1px solid rgba(15,30,40,.1); }
  .tk-mbar__btn:active { background: #F4F8FA; }
  .tk-mbar__btn--call { color: #0C8475; }
  .tk-mbar__btn--wa { color: #1FA855; }
  .tk-mbar__btn--quote { color: #0C8475; }
  .tk-mbar__btn span { color: #23313B; }
  /* lift chat bubble above the bar */
  .tk-chat { inset-block-end: 80px !important; }
  /* keep content clear of the fixed bar */
  body.ready { padding-block-end: 64px; }
}
