/* ==========================================================================
   Theme4 — layered on base.css (the shared component library)
   Look: modelled on the "Electra" corporate template — square edges, a white
   header with an angled navy/orange slash beside the logo and a navy contact
   strip, angled photo heroes, orange call-to-action banners with diagonal
   bars, tabbed content blocks, FAQ accordion and a navy footer.
   Colours: orange accent (#F68A0A, or the admin primary colour), navy
   #0E121D, light grey #F8F8F8. Headings Poppins, body Inter (both local).
   The layout injects --accent / --accent-rgb / --accent-ink and
   --primary-color (accent shade that is readable on white).
   ========================================================================== */

:root {
  --navy: #0E121D;
  --navy-2: #1b2130;
  --light: #F8F8F8;
  --accent: #F68A0A;
  --accent-rgb: 246, 138, 10;
  --accent-ink: #0E121D;

  --ink: var(--navy);
  --ink-2: #222a3a;
  --slate: #5b6270;
  --mute: #7c8391;
  --paper: var(--light);
  --paper-2: #efefef;
  --line: #e4e5e8;

  --primary-soft: rgba(var(--accent-rgb), .12);
  --primary-line: rgba(var(--accent-rgb), .45);
  --shadow-sm: 0 0 30px rgba(0, 0, 0, .06);
  --shadow-md: 0 0 30px rgba(0, 0, 0, .09);
  --shadow-lg: 0 18px 50px -20px rgba(14, 18, 29, .35);
  --shadow-brand: 0 14px 30px -14px rgba(var(--accent-rgb), .75);

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: var(--font-family, "Inter"), "Segoe UI", system-ui, sans-serif;

  /* square corners everywhere, like the reference template */
  --r-xl: 0; --r-lg: 0; --r-md: 0; --r-sm: 0; --r-pill: 0;
  --bs-border-radius: 0; --bs-border-radius-sm: 0; --bs-border-radius-lg: 0; --bs-border-radius-xl: 0; --bs-border-radius-pill: 0;

  --nav-h: 120px;
  --bs-link-hover-color: var(--navy);
}

/* Decorations never widen the page (clip keeps the sticky header working) */
html:has(body.t4) { overflow-x: clip; }
body.t4 { overflow-x: clip; }
body.t4 main, .t4-banner, .t4-footer, .t4-hero, .page-hero { overflow-x: clip; }

/* Type -------------------------------------------------------------------- */
body.t4 { font-size: 1rem; line-height: 1.7; color: var(--slate); }
.t4 h1, .t4 h2, .t4 h3, .t4 h4, .t4 h5, .t4 h6, .t4 .h1, .t4 .h2, .t4 .h3, .t4 .h4, .t4 .h5, .t4 .h6 { font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.t4 h1, .t4 .h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
.t4 h2, .t4 .h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.9rem); }
.t4 h3, .t4 .h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.t4 a:hover { color: var(--navy); }
::selection { background: rgba(var(--accent-rgb), .35); color: var(--navy); }
.t4 :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Kicker: the template's small orange heading above a section title */
.kicker, .t4-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: 0; text-transform: none;
  color: var(--primary-color); margin-bottom: .7rem;
}
.kicker::before, .t4-kicker::before { content: ""; width: 26px; height: 3px; border-radius: 0; background: var(--accent); }
.kicker.on-dark, .t4-kicker.on-dark { color: #fff; }
.section-head.center .kicker, .text-center .t4-kicker { justify-content: center; }
.t4-title { margin-bottom: 1.2rem; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.9rem); }

/* Buttons: square, bold, orange -> navy on hover -------------------------- */
.btn { border-radius: 0; font-weight: 600; letter-spacing: .01em; transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease; }
.btn-lg { border-radius: 0; padding: 1rem 2.2rem; font-size: 1rem; }
.btn-primary {
  --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-color: var(--accent-ink);
  --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--navy); --bs-btn-active-border-color: var(--navy); --bs-btn-active-color: #fff;
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: none;
}
.btn-primary:hover, .btn-primary:focus-visible, .btn-primary:active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; transform: none; }
.btn-outline-primary { --bs-btn-color: var(--navy); --bs-btn-border-color: var(--accent); --bs-btn-hover-bg: var(--accent); --bs-btn-hover-border-color: var(--accent); --bs-btn-hover-color: var(--accent-ink); color: var(--navy); border: 2px solid var(--accent); background: transparent; }
.btn-outline-primary:hover, .btn-outline-primary:active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-t4-light, .btn-light, .btn-glass { background: #fff; color: var(--navy); border: 2px solid #fff; border-radius: 0; backdrop-filter: none; }
.btn-t4-light:hover, .btn-light:hover, .btn-glass:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-ink { border-radius: 0; }
.link-arrow { color: var(--navy); font-weight: 600; }
.link-arrow i { color: var(--primary-color); }
.link-arrow:hover { color: var(--primary-color); }

/* Chips, icon chips, surfaces -------------------------------------------- */
.icon-chip { border-radius: 0; background: rgba(var(--accent-rgb), .14); color: var(--primary-color); }
.icon-chip.lg { border-radius: 0; }
.chip { border-radius: 0; }
.chip.solid, .pagination .active > .page-link, .pagination .page-item.active .page-link { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip.brand { background: rgba(var(--accent-rgb), .18); color: var(--navy); }
.surface { border-color: var(--line); border-radius: 0; box-shadow: var(--shadow-sm); }
.page-link { border-radius: 0 !important; color: var(--navy); }
.form-control, .form-select { border-radius: 0; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .25rem rgba(var(--accent-rgb), .2); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.modal-content, .alert, .dropdown-menu, .toast { border-radius: 0 !important; }
.bg-paper, .bg-light { background-color: var(--light) !important; }

/* Preloader, progress, back to top --------------------------------------- */
.oo-progress span { background: var(--accent); }
.oo-capsule span:first-child { background: var(--accent); border-radius: 0; }
.oo-capsule span:last-child { background: var(--navy); border: 0; border-radius: 0; }
.oo-top { background: var(--accent); color: var(--accent-ink); border-radius: 0; }
.oo-top:hover { background: var(--navy); color: #fff; }
.oo-top svg { display: none; }

/* ==========================================================================
   Header: white bar, logo on the left followed by the template's angled
   navy slash with an orange line; navy contact strip above the menu.
   ========================================================================== */
.t4-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 6px 24px -14px rgba(14, 18, 29, .35); }
.t4-head { display: flex; align-items: stretch; position: static; }
.t4-brand { position: relative; z-index: 2; flex: 0 0 auto; display: flex; align-items: center; padding: 10px 104px 10px 0; text-decoration: none; isolation: isolate; overflow: hidden; }
.t4-brand img { height: 92px; width: auto; transition: height .35s var(--ease-out); }
.t4-brand::before, .t4-brand::after { content: ""; position: absolute; top: -20px; bottom: -20px; transform: skewX(-18deg); }
.t4-brand::before { right: 22px; width: 40px; background: var(--navy); }
.t4-brand::after { right: 22px; width: 6px; background: var(--accent); }
.t4-head-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

.t4-topbar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 46px; padding-left: 4px; background: var(--navy); color: #c5cad4; font-size: .875rem;
  transition: height .35s var(--ease-out), opacity .3s ease;
}
/* the strip runs on to the right edge of the window (shadows do not widen the page) */
.t4-topbar { box-shadow: 40vw 0 0 var(--navy), 80vw 0 0 var(--navy); }
.t4-topbar .meta { display: flex; align-items: center; gap: 0; min-width: 0; }
.t4-topbar .item { display: inline-flex; align-items: center; gap: .55rem; color: #c5cad4; text-decoration: none; padding: 0 1rem; border-right: 1px solid rgba(var(--accent-rgb), .55); white-space: nowrap; min-width: 0; }
.t4-topbar .item:first-child { padding-left: 0; }
.t4-topbar .item:last-child { border-right: 0; }
.t4-topbar .item span { max-width: 340px; }
.t4-topbar .item i { color: var(--accent); }
.t4-topbar a.item:hover { color: #fff; }
.t4-topbar .side { display: flex; align-items: center; gap: 1rem; }
.t4-social { display: flex; align-items: center; gap: .9rem; }
.t4-topbar .t4-social a { color: var(--accent); font-size: .92rem; text-decoration: none; transition: color .25s ease; }
.t4-topbar .t4-social a:hover { color: #fff; }

.t4-nav.oo-nav, .t4-nav.oo-nav.is-scrolled { position: static; padding: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; }
.t4-nav { flex: 1 1 auto; min-height: 78px; }
.t4-nav .navbar-nav { gap: 0; }
.t4-nav .nav-link { font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--navy); border-radius: 0; padding: .6rem .95rem !important; }
.t4-nav .nav-link::after { left: .95rem; right: .95rem; bottom: -.15rem; height: 3px; border-radius: 0; background: var(--accent); }
.t4-nav .nav-link:hover, .t4-nav .nav-link:focus, .t4-nav .nav-link.active, .t4-nav .nav-link.show { color: var(--primary-color); }
.t4-nav.oo-nav .nav-link.dropdown-toggle::after { margin-left: .5rem; }
.t4-nav .dropdown-menu { border: 0; border-top: 3px solid var(--accent); border-radius: 0; padding: .4rem 0; box-shadow: 0 18px 40px -16px rgba(14, 18, 29, .35); }
.t4-nav .dropdown-item { border-radius: 0; padding: .6rem 1.1rem; font-weight: 500; }
.t4-nav .dropdown-item:hover, .t4-nav .dropdown-item:focus { background: var(--accent); color: var(--accent-ink); padding-left: 1.4rem; }
.t4-nav .dropdown-item:hover i, .t4-nav .dropdown-item:focus i { color: var(--accent-ink); }
.dropdown-submenu .submenu-open { border-radius: 0; border: 0; border-top: 3px solid var(--accent); padding: .4rem 0; }
.dropdown-menu-product .dropdown-item.view-all { background: var(--light); }
.t4-nav .nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: 1rem; }
.t4-nav .btn-search-open { width: 46px; height: 46px; border-radius: 0; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; padding: 0; }
.t4-nav .btn-search-open:hover { background: var(--navy); color: #fff; }
.t4-nav .nav-download .btn, .t4-nav .nav-download.btn { padding: .6rem 1rem; font-size: .88rem; }
.t4-nav .t4-nav-cta { padding: .78rem 1.5rem; white-space: nowrap; }
.t4-nav .navbar-toggler { width: 48px; height: 46px; border-radius: 0; border: 1px solid var(--accent); background: #fff; margin-left: auto; }
.t4-nav .oo-burger span { background: var(--navy); border-radius: 0; }

.t4-header.is-scrolled .t4-topbar { height: 0; opacity: 0; overflow: hidden; }
.t4-header.is-scrolled .t4-brand img { height: 64px; }
.t4-header.is-scrolled .t4-nav { min-height: 76px; }

@media (min-width: 992px) {
  .t4-nav .navbar-collapse { justify-content: flex-end; }
  .t4-nav .navbar-nav { margin-left: auto; }
}
@media (max-width: 1199.98px) {
  .t4-nav .nav-link { padding: .6rem .6rem !important; font-size: .93rem; }
  .t4-nav .nav-link::after { left: .6rem; right: .6rem; }
  .t4-nav .t4-nav-cta { display: none; }
  .t4-brand { padding-right: 96px; }
  .t4-brand img { height: 80px; }
}
@media (max-width: 991.98px) {
  :root { --nav-h: 78px; }
  .t4-header { position: sticky; }
  .t4-head { min-height: 78px; }
  .t4-brand { padding: 8px 78px 8px 0; }
  .t4-brand img, .t4-header.is-scrolled .t4-brand img { height: 60px; }
  .t4-brand::before { width: 30px; right: 18px; }
  .t4-brand::after { right: 18px; width: 5px; }
  .t4-topbar { display: none; }
  .t4-head-main { justify-content: center; }
  .t4-nav { min-height: 0; justify-content: flex-end; }
  .t4-nav .navbar-collapse {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 1031;
    margin: 0; padding: .5rem 1rem 1rem; background: #fff; border: 0; border-top: 3px solid var(--accent); border-radius: 0;
    box-shadow: 0 24px 40px -20px rgba(14, 18, 29, .45); max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .t4-nav .navbar-nav { background: var(--light); padding: .25rem 0; }
  .t4-nav .nav-link { padding: .8rem 1rem !important; border-bottom: 1px solid var(--line); }
  .t4-nav .nav-item:last-child .nav-link { border-bottom: 0; }
  .t4-nav .dropdown-menu { background: #fff; border-top: 0; box-shadow: none; }
  .t4-nav .nav-actions { margin: .8rem 0 0; padding: 0; border-top: 0; }
  .t4-nav .t4-nav-cta { display: inline-flex; }
}

/* ==========================================================================
   Home hero: navy stage, photo on an angled half with an orange edge line,
   template-style square arrows. Slides come from Admin -> Home slider.
   ========================================================================== */
.t4-hero { position: relative; background: var(--navy); isolation: isolate; }
.t4-hero .carousel-item { height: clamp(560px, 78vh, 720px); position: relative; overflow: hidden; }
/* single full-width image per slide, with a dark fade on the left for the caption */
.t4-hero .t4-hero-photo { position: absolute; inset: 0; width: 100%; }
.t4-hero .t4-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,29,.88) 0%, rgba(14,18,29,.7) 38%, rgba(14,18,29,.25) 68%, rgba(14,18,29,0) 100%); }
.t4-hero .t4-hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.t4-hero .carousel-item.active .t4-hero-photo img { transform: scale(1); }
.t4-hero .t4-hero-edge, .t4-hero .t4-hero-chip.c1 { display: none; }
.t4-hero .t4-hero-chip { position: absolute; z-index: 1; pointer-events: none; }
.t4-hero .t4-hero-chip.c1 { width: 110px; height: 34%; top: 0; left: calc(52.6% - 30px); background: var(--accent); transform: skewX(-21deg); transform-origin: top; opacity: .95; }
.t4-hero .t4-hero-chip.c1::before { content: ""; position: absolute; right: 0; top: 0; width: 50%; height: 80%; background: var(--navy); }
.t4-hero .t4-hero-chip.c2 { width: 110px; height: 30%; bottom: 0; right: 9%; background: var(--navy); transform: skewX(-21deg); transform-origin: bottom; }
.t4-hero .t4-hero-chip.c2::after { content: ""; position: absolute; right: 0; bottom: 0; width: 50%; height: 80%; background: var(--accent); }
.t4-hero .t4-hero-copy { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; padding: 40px 0 100px; }
.t4-hero .t4-hero-copy .inner { max-width: 620px; padding-right: 1rem; }
.t4-hero .t4-hero-eyebrow { display: inline-block; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.2rem; padding-left: 14px; border-left: 4px solid var(--accent); }
.t4 .t4-hero .t4-hero-title { color: #fff; font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.5rem); font-weight: 600; line-height: 1.12; margin-bottom: 1.2rem; }
.t4-hero .t4-hero-sub { color: #c9ced8; font-size: clamp(1rem, .95rem + .3vw, 1.18rem); margin-bottom: 2.2rem; max-width: 52ch; }
.t4-hero .t4-hero-anim { opacity: 0; transform: translateX(-34px); }
.t4-hero .carousel-item.active .t4-hero-anim { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s var(--ease-out); }
.t4-hero .carousel-item.active .t4-hero-anim:nth-child(2) { transition-delay: .15s; }
.t4-hero .carousel-item.active .t4-hero-anim:nth-child(3) { transition-delay: .3s; }
.t4-hero .carousel-item.active .t4-hero-anim:nth-child(4) { transition-delay: .45s; }
.t4-hero .t4-arrow { position: absolute; bottom: 30px; z-index: 5; width: 60px; height: 60px; border: 0; background: #fff; color: var(--primary-color); font-size: 1.4rem; display: grid; place-items: center; transition: box-shadow .5s ease, color .3s ease; }
.t4-hero .t4-arrow:hover, .t4-hero .t4-arrow:focus-visible { box-shadow: inset 0 0 65px 0 var(--accent); color: var(--navy); }
.t4-hero .t4-arrow.prev { left: 0; }
.t4-hero .t4-arrow.next { right: 0; }
@media (max-width: 991.98px) {
  .t4-hero .t4-hero-copy .inner { max-width: 640px; }
  .t4-hero .carousel-item { height: auto; min-height: 560px; }
  .t4-hero .t4-hero-photo::after { background: linear-gradient(90deg, rgba(14,18,29,.9) 0%, rgba(14,18,29,.7) 100%); }
  .t4-hero .t4-hero-edge, .t4-hero .t4-hero-chip { display: none; }
  .t4-hero .t4-hero-copy { position: relative; min-height: 560px; padding: 70px 0 110px; }
}

/* ==========================================================================
   Home / About: about block with stacked photos and an experience badge
   ========================================================================== */
.t4-section { padding: clamp(64px, 4.5rem + 2vw, 110px) 0; position: relative; }
.t4-feature-links { margin: 1.6rem 0; }
.t4-feature { display: flex; align-items: center; gap: 1rem; color: var(--navy); text-decoration: none; }
.t4-feature i { font-size: 2.6rem; color: var(--accent); flex: 0 0 auto; width: 52px; text-align: center; }
.t4-feature h3 { margin: 0; font-size: 1.2rem; font-weight: 500; }
.t4-checks { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.t4-checks li { display: flex; gap: .75rem; align-items: baseline; font-size: 1.06rem; color: var(--navy); }
.t4-checks li + li { margin-top: .6rem; }
.t4-checks i { color: var(--accent); }
.t4-about-media { position: relative; height: 100%; min-height: 460px; padding-bottom: 0; }
.t4-about-media > img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; display: block; }
.t4-about-badge { position: absolute; left: 0; bottom: 0; width: 50%; padding-top: 1rem; background: #fff; }
.t4-about-badge .inner { background: var(--accent); color: var(--accent-ink); padding: 1.6rem 1.5rem; }
.t4-about-badge .big { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2vw, 4rem); line-height: 1; color: var(--navy); }
.t4-about-badge small { display: block; font-size: 1.05rem; font-weight: 500; margin-top: .4rem; color: var(--navy); }
.t4-about-inset { position: absolute; right: 0; bottom: 0; width: 50%; padding: 1rem 0 0 1rem; background: #fff; }
.t4-about-inset img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; display: block; }
.t4-lead { font-size: 1.08rem; }

/* ==========================================================================
   Orange call-to-action banner (photo with dark overlay + diagonal bars)
   ========================================================================== */
.t4-banner {
  position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 4rem + 2vw, 100px) 0; color: #c9ced8;
  background: linear-gradient(rgba(14, 18, 29, .86), rgba(14, 18, 29, .86)), url(/themes/Theme4/img/header-tablets.jpg) center / cover no-repeat;
}
.t4-banner::before, .t4-banner::after { content: ""; position: absolute; width: 100px; height: 500px; background: var(--accent); transform: rotate(45deg); z-index: -1; }
.t4-banner::after { top: -200px; left: 0; }
.t4-banner::before { bottom: -200px; right: 0; }
.t4-banner-d1, .t4-banner-d2 { position: absolute; width: 30px; height: 500px; background: var(--navy); transform: rotate(45deg); z-index: -1; }
.t4-banner-d1 { top: -165px; left: 0; }
.t4-banner-d2 { bottom: -165px; right: 0; }
.t4 .t4-banner h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.8rem); margin: 0 0 .8rem; }
.t4-banner .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
@media (max-width: 991.98px) { .t4-banner .actions { justify-content: flex-start; } }

/* ==========================================================================
   Values: template "services" block — vertical tab list + content card
   ========================================================================== */
.t4-tabs-list { display: flex; flex-direction: column; gap: 1.1rem; list-style: none; padding: 0; margin: 0; }
.t4-tabs-list .nav-link {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 1rem 1.5rem; border-radius: 0;
  border: 1px solid var(--accent); background: var(--light); color: var(--navy);
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; transition: background .35s ease, color .35s ease;
}
.t4-tabs-list .nav-link:hover { background: rgba(var(--accent-rgb), .15); color: var(--navy); }
.t4-tabs-list .nav-link.active { background: var(--accent); color: var(--accent-ink); }
@media (min-width: 992px) { .t4-tabs-list .nav-link { width: 80%; } }
@media (max-width: 991.98px) {
  .t4-tabs-list { flex-direction: row; flex-wrap: wrap; gap: .6rem; }
  .t4-tabs-list .nav-item { flex: 1 1 calc(33% - .6rem); }
  .t4-tabs-list .nav-link { padding: .75rem .8rem; font-size: .95rem; }
}
.t4-value { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.t4-value .ph { position: relative; min-height: 320px; background: var(--light); overflow: hidden; }
.t4-value .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.t4-value:hover .ph img { transform: scale(1.06); }
.t4-value .ph.icon { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.t4-value .ph.icon i { font-size: 5rem; color: var(--accent); }
.t4-value .body { padding: clamp(24px, 1.4rem + 1.2vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.t4-value .body h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.t4-value .body p { margin-bottom: 1.6rem; }
.t4-value .num { font-family: var(--font-display); font-weight: 600; color: var(--primary-color); font-size: .95rem; margin-bottom: .5rem; }
@media (max-width: 767.98px) { .t4-value { grid-template-columns: 1fr; } .t4-value .ph { min-height: 220px; } }

/* Value cards grid (About page) */
.t4-vcard { height: 100%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .4s ease, transform .4s var(--ease-out); }
.t4-vcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.t4-vcard .ph { aspect-ratio: 12 / 7; overflow: hidden; background: var(--light); position: relative; }
.t4-vcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.t4-vcard:hover .ph img { transform: scale(1.08); }
.t4-vcard .ph.icon { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.t4-vcard .ph.icon i { font-size: 3.6rem; color: var(--accent); }
.t4-vcard .body { padding: 1.4rem 1.5rem 1.6rem; border-top: 4px solid var(--accent); }
.t4-vcard h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.t4-vcard p { margin: 0; }

/* ==========================================================================
   Template "projects" block: list of tabs with icon squares + panel
   ========================================================================== */
.t4-ptabs { display: flex; flex-direction: column; gap: 1.1rem; list-style: none; padding: 0; margin: 0; }
.t4-ptabs .nav-link {
  display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; padding: 1rem; border-radius: 0; border: 0;
  background: #fff; color: var(--navy); box-shadow: 0 0 30px rgba(0, 0, 0, .09);
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; transition: background .35s ease, color .35s ease;
}
.t4-ptabs .nav-link .sq { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1rem; transition: background .35s ease, color .35s ease; }
.t4-ptabs .nav-link:hover { color: var(--primary-color); }
.t4-ptabs .nav-link.active { background: var(--accent); color: var(--accent-ink); }
.t4-ptabs .nav-link.active .sq { background: var(--navy); color: var(--accent); }
.t4-ppanel { position: relative; }
.t4-ppanel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.t4-ppanel .content { position: relative; background: #fff; padding: clamp(22px, 1.2rem + 1vw, 36px); box-shadow: 0 0 30px rgba(0, 0, 0, .1); margin: -70px 1.5rem 0; }
.t4-ppanel .content h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.t4-ppanel .content p:last-child { margin-bottom: 0; }
.t4-ppanel .motto { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 1.15rem; border-left: 4px solid var(--accent); padding-left: 1rem; margin: 1rem 0; }
@media (max-width: 575.98px) { .t4-ppanel .content { margin: -40px .6rem 0; } }

/* ==========================================================================
   Products (home): template service cards
   ========================================================================== */
.t4-product { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .4s ease; }
.t4-product:hover { box-shadow: var(--shadow-lg); }
.t4-product .ph { position: relative; aspect-ratio: 1 / 1; background: var(--light); display: grid; place-items: center; overflow: hidden; }
.t4-product .ph img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease-out); }
.t4-product:hover .ph img { transform: scale(1.07); }
.t4-product .ph::after { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 0; background: rgba(var(--accent-rgb), .22); transition: width .5s ease, height .5s ease; }
.t4-product:hover .ph::after { width: 100%; height: 100%; }
.t4-product .tag { position: absolute; top: 0; left: 0; z-index: 2; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 600; padding: .3rem .7rem; }
.t4-product .body { position: relative; padding: 1.1rem 1.2rem 1.3rem; border-top: 0; display: flex; flex-direction: column; flex: 1; }
.t4-product .division { font-size: .84rem; font-weight: 600; color: var(--primary-color); margin-bottom: .2rem; }
.t4-product h3 { font-size: 1.12rem; margin: 0 0 .8rem; }
.t4-product h3 a { color: var(--navy); text-decoration: none; }
.t4-product h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.t4-product:hover h3 a { color: var(--primary-color); }
.t4-product .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: .8rem; border-top: 1px dashed var(--line); }
.t4-product .price { font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.t4-product .price small { display: block; font-family: var(--font-body); font-size: .74rem; font-weight: 600; color: var(--mute); }
.t4-product .go { width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transition: background .3s ease, color .3s ease; }
.t4-product:hover .go { background: var(--navy); color: #fff; }

/* ==========================================================================
   FAQ accordion (template style)
   ========================================================================== */
.t4-faq .accordion-item { margin-bottom: 1.2rem; border: 0; border-radius: 0 !important; box-shadow: 0 0 30px rgba(0, 0, 0, .08); overflow: hidden; }
.t4-faq .accordion-button { border-radius: 0 !important; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; padding: 1.1rem 1.3rem; color: var(--accent-ink); background: var(--accent); box-shadow: none; }
.t4-faq .accordion-button.collapsed { color: var(--navy); background: var(--light); }
.t4-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(var(--accent-rgb), .35); }
.t4-faq .accordion-button::after { filter: none; }
.t4-faq .accordion-body { background: #fff; padding: 1.2rem 1.4rem 1.4rem; }
.t4-faq .accordion-body ul { margin: .6rem 0 0; padding-left: 1.2rem; }
.t4-faq .accordion-body li::marker { color: var(--accent); }

/* Contact page: template contact cards ----------------------------------- */
.t4-contact-card { display: flex; align-items: flex-start; gap: 1.3rem; width: 100%; background: #fff; padding: 1.5rem; text-decoration: none; height: 100%; box-shadow: var(--shadow-sm); transition: box-shadow .35s ease; }
.t4-contact-card:hover { box-shadow: var(--shadow-lg); }
.t4-contact-card > i { font-size: 1.9rem; color: var(--accent); width: 34px; text-align: center; flex: 0 0 auto; margin-top: .2rem; }
.t4-contact-card h3 { font-size: 1.25rem; margin: 0 0 .25rem; }
.t4-contact-card p { margin: 0; color: var(--slate); word-break: break-word; }
.t4-social-sq { display: flex; gap: .7rem; flex-wrap: wrap; }
.t4-social-sq a { width: 42px; height: 42px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); text-decoration: none; transition: background .3s ease, color .3s ease; }
.t4-social-sq a:hover { background: var(--navy); color: #fff; }
.t4-form { background: #fff; padding: clamp(22px, 1.2rem + 1.4vw, 44px); box-shadow: var(--shadow-md); }
.t4-form .form-control, .t4-form .form-select { background: var(--light); border: 1px solid transparent; }
.t4-form .form-control:focus { background: #fff; }
.t4-map { line-height: 0; }
.t4-map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* ==========================================================================
   Inner pages: template breadcrumb header (photo + dark overlay, centred)
   ========================================================================== */
.page-hero {
  background: linear-gradient(rgba(14, 18, 29, .78), rgba(14, 18, 29, .78)), url(/themes/Theme4/img/header-tablets.jpg) center / cover no-repeat;
  color: #d3d7df; text-align: center; padding: clamp(70px, 4rem + 3vw, 120px) 0;
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; left: 0; top: -200px; width: 90px; height: 480px; border-radius: 0; background: var(--accent); transform: rotate(45deg);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; inset: auto 0 -200px auto; width: 90px; height: 480px; opacity: 1; background: var(--accent); transform: rotate(45deg);
  mask-image: none; -webkit-mask-image: none;
}
.page-hero .lattice { display: none; }
.page-hero .row { justify-content: center; }
.page-hero .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
.t4 .page-hero h1 { color: #fff; max-width: 22ch; margin: 0 auto; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); letter-spacing: -.01em; }
.t4 .page-hero h1.long { max-width: 30ch; }
.page-hero .hero-sub { color: #c9ced8; margin: 1rem auto 0; }
.page-hero .hero-meta { justify-content: center; color: #c9ced8; }
.page-hero .hero-meta i { color: var(--accent); }
.page-hero .hero-side { text-align: center !important; }
.page-hero .hero-side form { max-width: 520px; margin: .5rem auto 0; text-align: left; }
.page-hero .crumbs { justify-content: center; margin: 1.1rem 0 0; font-size: 1rem; }
.page-hero .hero-sub + nav .crumbs, .page-hero nav + .hero-sub { margin-top: 1rem; }
.page-hero .kicker { justify-content: center; }
.crumbs li { color: var(--accent); font-weight: 500; }
.crumbs li + li::before { content: "/"; color: #9aa1ad; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--accent); }
.page-hero .result-count { color: #c9ced8; }

/* Base components re-skinned for the square template look ---------------- */
.product-card, .post-card, .job-card, .doc-card, .media-tile, .float-card, .frame, .empty-state { border-radius: 0 !important; }
.product-card:hover, .post-card:hover { transform: translateY(-4px); }
.product-card .go { border-radius: 0; background: var(--accent); color: var(--accent-ink); }
.product-card:hover .go { background: var(--navy); color: #fff; transform: none; }
.product-card .division { color: var(--primary-color); }
.filter-bar { border-radius: 0; }
.oo-accordion .accordion-item, .oo-accordion .accordion-button { border-radius: 0 !important; }
.verify-band { border-radius: 0 !important; background: var(--navy) !important; }
.verify-band::before { content: ""; position: absolute; z-index: 0; right: -40px; top: -160px; width: 80px; height: 420px; background: var(--accent); transform: rotate(45deg); pointer-events: none; }
.verify-band > .row { position: relative; z-index: 1; }
@media (max-width: 767.98px) { .verify-band::before { width: 40px; height: 220px; top: -90px; right: -14px; } }
.batch-mock { border-radius: 0 !important; }
.kicker.on-dark { color: #fff; }

/* Footer: navy, white links that open up on hover ------------------------ */
.t4-footer.oo-footer { background: var(--navy); color: #a9afbb; padding-top: 90px; }
.t4-footer.oo-footer::before { display: none; }
.t4-footer h3 { color: #fff; font-size: 1.25rem; font-weight: 500; margin-bottom: 1.4rem; position: relative; padding-bottom: .8rem; }
.t4-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--accent); }
.t4-footer-brand { display: inline-block; background: #fff; padding: 10px 16px; }
.t4-footer-brand img { height: 74px; width: auto; display: block; }
.t4-footer .about { margin: 1.4rem 0; max-width: 40ch; }
.t4-footer .links a { color: #fff; line-height: 1.9; transition: color .4s ease, letter-spacing .4s ease; }
.t4-footer .links a::before { display: none; }
.t4-footer .links a:hover { color: var(--accent); letter-spacing: .04em; }
.t4-footer .contact-line i { border-radius: 0; background: var(--accent); color: var(--accent-ink); }
.t4-footer .contact-line a, .t4-footer .contact-line span { color: #fff; }
.t4-footer .contact-line a:hover { color: var(--accent); }
.t4-footer .t4-social { gap: .6rem; }
.t4-footer .t4-social a { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background .3s ease, color .3s ease; }
.t4-footer .t4-social a:hover { background: var(--accent); color: var(--accent-ink); }
.t4-footer .bottom { margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .08); color: #8e95a2; }
.t4-footer .bottom a { color: #c5cad4; }
.t4-footer .btn-primary { color: var(--accent-ink); }
.t4-footer .btn-primary:hover { background: #fff; border-color: #fff; color: var(--navy); }
.t4-footer .bottom a:hover { color: var(--accent); }

/* Floating contact buttons: square */
.contact-float .item { border-radius: 0; }
.contact-float .call { background: var(--accent); color: var(--accent-ink); }
.contact-float .call:hover { color: var(--accent-ink); }

/* Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .t4-hero .t4-hero-photo img, .t4-hero .t4-hero-anim, .t4-value .ph img, .t4-vcard .ph img, .t4-product .ph img { transition: none !important; transform: none !important; }
  .t4-hero .t4-hero-anim { opacity: 1; }
}

/* Small screens ----------------------------------------------------------- */
@media (max-width: 767.98px) {
  .container { --bs-gutter-x: 2rem; }
  .t4-about-media, .t4-about-media > img { min-height: 340px; }
  .t4-about-badge { width: 56%; }
  .t4-about-inset { width: 44%; }
  .t4-banner::before, .t4-banner::after { width: 60px; }
  .page-hero::before, .page-hero::after { width: 46px; height: 260px; }
  .page-hero::before { top: -130px; }
  .page-hero::after { bottom: -130px; }
}

/* ==========================================================================
   Header as on the reference site: black strip on top, logo on a black block
   that ends in an angled orange edge, white menu bar with grey links
   (orange for the current page / hover), menu centred.
   ========================================================================== */
.t4-brand { overflow: visible; padding-right: 92px; }
.t4-brand::before, .t4-brand::after { top: 0; bottom: 0; }
.t4-brand::before { right: 28px; width: 100vw; background: var(--navy); z-index: -1; }
.t4-brand::after { right: 22px; width: 6px; background: var(--accent); z-index: -1; }
.t4-nav .nav-link { font-family: var(--font-body); font-weight: 500; font-size: 1.06rem; color: #6b7079; }
.t4-nav .nav-link:not(.dropdown-toggle)::after { display: none; }
.t4-nav .nav-link:hover, .t4-nav .nav-link:focus, .t4-nav .nav-link.active, .t4-nav .nav-link.show { color: var(--accent); }
@media (min-width: 992px) {
  .t4-nav .navbar-nav { margin-left: auto; margin-right: auto; }
}
@media (max-width: 1199.98px) {
  .t4-brand { padding-right: 84px; }
}
@media (max-width: 991.98px) {
  .t4-brand { padding-right: 70px; }
  .t4-brand::before { right: 22px; width: 100vw; }
  .t4-brand::after { right: 17px; width: 5px; }
  .t4-nav .nav-link { color: var(--navy); }
}
/* close the small gap between the angled edge and the top strip */
.t4-topbar { box-shadow: -60px 0 0 var(--navy), 40vw 0 0 var(--navy), 80vw 0 0 var(--navy); }
