/* ===============================
   FONTS
   Playfair Display used to be pulled in here via @import, which is
   render-blocking twice over: the browser can't finish downloading/parsing
   this stylesheet until that nested request also completes. It's now loaded
   from base.html instead, combined into the same non-blocking request as
   Inter (see the <link rel="preload" as="style" ...> in base.html's <head>).
=============================== */

/* ===============================
   COLOR VARIABLES
=============================== */
:root {
  --color-primary: #8e24aa;
  --color-accent: #ff1a1a;
  --color-highlight: #ffd633;
  --color-text: #222;
  --color-white: #ffffff;
  --color-light-bg: #fafafa;
  --color-dark-bg: #111;
  --color-mega-link: #333333;

  --font-family: "Inter", sans-serif;
  --transition: all 0.3s ease;
}

/* ===============================
   GLOBAL STYLES
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  background: var(--color-light-bg);
  color: var(--color-text);
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}
#preloader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    opacity: 1;
    visibility: visible;
    transform: scale(1);
    filter: blur(0);

    transition:
        opacity .45s ease,
        transform .45s ease,
        filter .45s ease,
        visibility .45s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.04);
    filter: blur(8px);
}

/* Logo fill-up loader — the actual Horizon IoT mark, sitting faint/outlined
   as a "base" layer, with a colored copy of the same mark clipped from the
   bottom and revealed upward as loading progresses (like a liquid gauge).
   main.js drives the clip-path + percentage below across the same fixed
   300ms hold the preloader is shown for, then the whole thing fades out
   over 200ms — identical on-screen timing to before. */
.hzn-preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hzn-logo-fill {
  position: relative;
  width: 108px;
  height: 108px;
  flex: none;
  /* Moved here from .hzn-logo-fill__progress: stacking filter + mask +
     clip-path on one element is a known trigger for the element silently
     vanishing in some WebKit builds, so the shadow lives on the plain
     wrapper instead. */
}

.hzn-logo-fill__base,
.hzn-logo-fill__progress {
  position: absolute;
  /* Explicit physical offsets instead of the `inset: 0` shorthand: on an
     element that also has mask-image, some still-common WebKit builds
     (older Android WebView, older Safari, in-app browsers) fail to size
     the box from `inset` alone, collapsing it to 0x0 so the mask has
     nothing to paint into and the logo never appears. This is a safer,
     equivalent, more broadly-supported way to write the same box. */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* The dim, unfilled silhouette of the logo — the real artwork at low
   opacity (not a flat tint), so even the "empty" state still reads as
   the actual Horizon IoT mark and its real colors, just faded. */
.hzn-logo-fill__base {
  opacity: 0.18;
}

/* The full-color logo, clipped from the bottom up. main.js moves the
   clip-path inset each frame; the short linear transition here only
   smooths between frames rather than racing against them. This layer
   uses the logo's real artwork at full opacity — no gradient tint —
   so the preloader shows the mark in its original colors. */
.hzn-logo-fill__progress {
  clip-path: inset(100% 0 0 0);
  -webkit-clip-path: inset(100% 0 0 0);
  transition: clip-path .06s linear;
}

/* "Horizon IoT" wordmark, in the logo's solid purple */
.hzn-preloader-text {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-family);
}

.hzn-word {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--color-primary);
  opacity: 0;
  transform: translateY(8px);
  animation: hznTextIn .5s ease .25s forwards;
}

/* Live percentage readout — the fill level itself is the progress
   indicator now, this is just numeric confirmation underneath it. */
.hzn-progress-pct {
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-mega-link);
  opacity: .7;
  font-variant-numeric: tabular-nums;
}

@keyframes hznTextIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .hzn-preloader {
    gap: 10px;
  }
  .hzn-logo-fill {
    width: 84px;
    height: 84px;
  }
  .hzn-word {
    font-size: 1.4rem;
  }
}


/* ===============================
   SUBHEADER
=============================== */
.subheader {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  padding: 6px 0;
  letter-spacing: 0.2px;
}

.subheader .subheader-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subheader .left-info span {
  margin-right: 20px;
}

.subheader .right-socials a {
  color: var(--color-white);
  margin-left: 10px;
  transition: var(--transition);
}

.subheader .right-socials a:hover {
  color: var(--color-highlight);
}

/* ===============================
   MAIN HEADER
=============================== */
.main-header {
  background: var(--color-white);
  color: var(--color-text);
  position: relative;
  z-index: 10;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.main-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.main-header .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.main-header .logo img {
  height: 60px; /* Reduced size */
  margin-right: 8px;
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-text);
}
/* ===============================
   NAVIGATION
=============================== */
.navbar {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  color: var(--color-text); /* ← Changed from var(--color-white) */
  text-decoration: none;
  padding: 12px 16px;
  display: block;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
  transition: var(--transition);
  letter-spacing: 0.5px;
  position: relative; /* ← Needed for underline effect */
}


.navbar ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
  width: 100%;
}

.navbar ul li a:hover {
  background: transparent; /* ← Remove background hover */
  color: var(--color-primary); /* Optional: color on hover */
}


/* ===============================
   MEGA MENU
=============================== */
.navbar .dropdown:hover .mega-menu,
.navbar .dropdown.open .mega-menu {
  display: flex;
  animation: slideDown 0.4s ease;
}

.navbar .mega-menu {
  display: none;
  position: absolute;
  left: -520px;
  top: 100%;
  width: 950px;
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 20px 35px;
  justify-content: flex-start;
  flex-wrap: wrap;
  border-top: 4px solid var(--color-accent);
  border-radius: 8px;
}

.navbar .mega-menu .mega-column {
  flex: 1 1 170px;
  margin-right: 25px;
  min-width: 160px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s ease forwards;
}
.navbar .dropdown:hover .mega-column:nth-child(1) { animation-delay: 0.05s; }
.navbar .dropdown:hover .mega-column:nth-child(2) { animation-delay: 0.1s; }
.navbar .dropdown:hover .mega-column:nth-child(3) { animation-delay: 0.15s; }
.navbar .dropdown:hover .mega-column:nth-child(4) { animation-delay: 0.2s; }
.navbar .dropdown:hover .mega-column:nth-child(5) { animation-delay: 0.25s; }

.navbar .mega-menu .mega-column h4 {
  font-size: 13.5px;
  color: var(--color-primary);
  margin-bottom: 8px;
  border-bottom: 2px solid var(--color-highlight);
  padding-bottom: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.navbar .mega-menu .mega-column a {
  display: block;
  color: var(--color-mega-link);
  text-decoration: none;
  font-size: 13px;
  padding: 5px 0;
  transition: var(--transition);
}

.navbar .mega-menu .mega-column a:hover {
  color: var(--color-highlight);
  padding-left: 6px;
  text-decoration: none;
}
.navbar .mega-menu .mega-column a::after {
  content: none !important;
}


/* ===============================
   ANIMATIONS
=============================== */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   RESPONSIVE MEDIA QUERIES
=============================== */

@media (max-width: 1024px) {
  .main-header .header-content {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    color: var(--color-white);
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 12px;
    z-index: 999;
  }

  .navbar {
    display: none;
    width: 100%;
    background: var(--color-white);
    color: var(--color-text);
    margin-top: 10px;
  }

  .navbar.active {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
  }

  .navbar ul li {
    width: 100%;
  }

  .navbar ul li a {
    width: 100%;
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar .mega-menu {
    display: none;
    position: static;
    width: 100%;
    flex-direction: column;
    padding: 15px;
    border-radius: 0;
    box-shadow: none;
    background: var(--color-white);
    color: var(--color-text);
    max-height: 400px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
  }

  .navbar ul li.dropdown.open .mega-menu {
    display: block;
  }

  .navbar .mega-menu .mega-column {
    width: 100%;
    margin-bottom: 5px;
    animation: none;
    opacity: 1;
    transform: none;
  }

  .navbar .mega-menu .mega-column h4 {
    font-size: 14px;
  }

  .navbar .mega-menu .mega-column a {
    font-size: 12px;
  }
}


@media (max-width: 600px) {
  .subheader {
    display: none;
  }
  .navbar ul li a {
    font-size: 13px;
    padding: 10px 16px;
  }

  .navbar .mega-menu .mega-column a {
    font-size: 11px;
  }

  .navbar .mega-menu .mega-column h4 {
    font-size: 13px;
  }

  .menu-toggle {
    right: 16px;
    top: 10px;
  }
}


.menu-toggle {
    
  display: none;
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
    font-size: 26px;
    color: black;
    cursor: pointer;
    margin-left: auto;
    padding: 10px 16px;
  }
}


.subheader .left-info a {
  margin-right: 20px;
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.subheader .left-info a:hover {
  color: var(--color-highlight);
}

/* ===== Header Hide/Show Animation ===== */
.subheader,
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.55s var(--ease-out), opacity 0.4s ease;
  will-change: transform;
}

.header-hidden .subheader,
.header-hidden .main-header {
  transform: translateY(-100%);
  opacity: 0;
}


/* ==========================
   HERO SLIDER
========================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 560px;
  width: 100%;
  font-family: var(--font-family);
  background-color: var(--color-dark-bg);
  color: var(--color-white);
  border-radius: 0 0 30px 30px;
}

.slider__wrapper {
  position: relative;
  height: 100%;
}

.slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slider__slide.active {
  opacity: 1;
  z-index: 2;
}

.slider__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%) contrast(1.1);
  transform: scale(1.08);
  transition: transform 6s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.slider__slide.active .slider__bg {
  transform: scale(1);
}

.slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* purely a visual tint — must never block clicks on the content above it */
}

.hero-slider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  z-index: 3;
  pointer-events: none;
}

.slider__content {
  position: relative;
  z-index: 4;
  text-align: left;
}

@keyframes heroFadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-36px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.slider__title {
  max-width: 680px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  color: var(--color-highlight);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: heroFadeInLeft 1s ease forwards;
  animation-delay: 0.5s;
}

.slider__highlight {
  color: var(--color-accent);
}

.slider__subtitle {
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f2f2f2;
  margin-bottom: 22px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.9s;
}

.slider__points {
  max-width: 600px;
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider__points li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: #f2f2f2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slider__points li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--color-highlight);
  font-size: 0.8rem;
}

.slider__cta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.slider__cta .btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn--primary {
  background: var(--color-highlight);
  color: var(--color-dark-bg);
}

.btn--primary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.slider__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  pointer-events: none; /* only the dot buttons themselves should catch clicks, not the gaps/row between them */
}

.slider__dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  pointer-events: auto;
}

.slider__dots button.active {
  background: var(--color-accent);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .hero-slider {
    height: auto;
    min-height: 0;
  }

  .slider__wrapper {
    position: relative;
    height: auto;
    min-height: 780px;
    overflow: hidden;
  }

  .slider__slide {
    padding: 90px 0 78px; /* bottom padding cleared to sit above the dots (30px offset + 12px dot + margin) */
  }

  .slider__title {
    font-size: 2.2rem;
    max-width: 100%;
  }

  .slider__subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .slider__points {
    max-width: 100%;
  }

  .slider__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .slider__cta .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    font-size: 0.9rem;
    padding: 12px 22px;
  }
}

/* ==========================
   HERO STATS
========================== */
.hero-stats {
  position: absolute;
  top: 40%;
  right: 6%;
  transform: translateY(-40%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stats__card {
  min-width: 240px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 16px 22px;
  border-radius: 14px;
  background: rgba(8, 10, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: heroStatsFadeInRight 1s var(--ease-out) forwards;
}

.hero-stats__card:nth-child(1) { animation-delay: 0.9s; }
.hero-stats__card:nth-child(2) { animation-delay: 1.1s; }
.hero-stats__card:nth-child(3) { animation-delay: 1.3s; }

@keyframes heroStatsFadeInRight {
  0% {
    opacity: 0;
    transform: translateX(24px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-stats__number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  font-family: "Playfair Display", "Georgia", serif;
  white-space: nowrap;
  width: fit-content;
}

/* Digit-roller (odometer/slot) counter — Neuralflow-style stats.
   Each numeral is a masked 1em-tall column with a strip of 0-9 (x2)
   stacked inside it; the strip's transform is animated in main.js to
   spin down and settle on the target digit. Non-numeral characters
   (., /, %, +) render as plain static glyphs alongside the columns. */
.digit-roller {
  display: inline-flex;
  align-items: flex-start;
}

.digit-roll {
  display: inline-block;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  vertical-align: top;
}

.digit-roll__strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 1800ms cubic-bezier(0.65, 0, 0.35, 1);
}

.digit-roll__row {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1em;
  line-height: 1;
  width: 1ch;
}

.digit-roll__char {
  display: inline-block;
  line-height: 1;
}

/* The gradient "text" effect has to live on the leaf elements that
   actually hold the digit/character glyphs, not on .hero-stats__number
   itself: once main.js rewrites the number into nested rows/columns,
   -webkit-text-fill-color: transparent inherits down to them, but a
   background-clip: text set only on the ancestor does not — so without
   this, every digit paints fully transparent with nothing behind it. */
.digit-roll__row,
.digit-roll__char {
  background: linear-gradient(90deg, var(--color-highlight), #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats__label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-stats__desc {
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 992px) {
  .hero-slider {
    height: auto;
    min-height: 0;
  }

  .slider__wrapper {
    position: relative;
    height: auto;
    min-height: 720px;
    overflow: hidden;
  }

  /* Soft gradient bridge at the foot of the image, blending it into the
     dark section background that the hero-stats cards sit on below. */
  .slider__wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, var(--color-dark-bg) 92%);
  }

  .slider__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    justify-content: center;
    z-index: 10;
  }

  .hero-stats {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    width: 92%;
    margin: 0 auto;
    padding-top: 14px;
    gap: 10px;
  }

  .hero-stats__card {
    min-width: 0;
    min-height: 96px;
    flex: 1 1 0;
    padding: 12px 10px;
  }

  .hero-stats__card:nth-child(2) { animation-delay: 1s; }
  .hero-stats__card:nth-child(3) { animation-delay: 1.1s; }

  .hero-stats__number { font-size: 2.1rem; }
  .hero-stats__label { font-size: 0.62rem; }
  .hero-stats__desc { font-size: 0.6rem; }
}

@media (max-width: 560px) {
  .hero-stats {
    gap: 8px;
  }

  .hero-stats__card {
    min-height: 84px;
    padding: 10px 8px;
  }

  .hero-stats__number { font-size: 1.5rem; }
  .hero-stats__label { font-size: 0.52rem; }
  .hero-stats__desc { font-size: 0.5rem; }
}

/* ==========================
   ABOUT HERO
========================== */
.about-hero {
  padding: 20px 0 60px;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.about-hero__card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.62) 55%, rgba(17, 17, 17, 0.78) 100%),
    url("../images/vehicle-move.2201e32cde78.webp") center / cover no-repeat,
    var(--color-dark-bg);
  border-radius: 28px;
  width: 100%;
  max-width: 650px;
  padding: 56px 48px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--color-white);
  isolation: isolate;
}

.about-hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(142, 36, 170, 0.35), transparent 55%);
}

.about-hero__eyebrow {
  display: inline-block;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-highlight);
  margin-bottom: 70px;
  margin-top: -70px;
}

.about-hero__title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 480px;
}

.about-hero__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin-bottom: 34px;
}

.about-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 15px 30px;
  border-radius: 50px;
  background: var(--color-white);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.about-hero__btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.about-hero__btn:hover {
  background: var(--color-highlight);
  color: var(--color-text);
}

.about-hero__btn:hover i {
  transform: translateX(4px);
}

.about-hero__text-col {
  padding: 20px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero__paragraph {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
}
.about-hero__paragraph strong {
  color: var(--color-primary);
}

.about-hero__divider {
  border: none;
  border-top: 1.5px solid #e3e3e3;
  margin: 28px 0;
}

@media (max-width: 992px) {
  .about-hero {
    padding: 130px 0 40px;
  }

  .about-hero__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__card {
    min-height: 380px;
    padding: 44px 32px;
  }

  .about-hero__eyebrow {
    margin-top: 0;
    margin-bottom: 24px;
  }

  .about-hero__title {
    font-size: 2.2rem;
    max-width: 100%;
  }

  .about-hero__desc {
    max-width: 100%;
  }

  .about-hero__paragraph {
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .about-hero__card {
    padding: 36px 24px;
    border-radius: 20px;
  }

  .about-hero__title {
    font-size: 1.8rem;
  }

  .about-hero__divider {
    margin: 20px 0;
  }
}

/* ===========================
   WHY CHOOSE US (icon grid)
=========================== */
.whyus {
  padding: 40px 0 90px;
}

.whyus__header {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.whyus__eyebrow {
  display: block;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

.whyus__title {
  font-size: 2.3rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--color-primary);
}

.whyus__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 44px;
}

.whyus__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
  border-radius: 16px;
  background: #f0f0f0;
  color: var(--color-text);
  transition: var(--transition);
}

.whyus__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whyus__card:hover .whyus__icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.whyus__name {
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--color-text);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
}

.whyus__desc {
  max-width: 340px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}

@media (max-width: 992px) {
  .whyus__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 32px;
  }
}

@media (max-width: 600px) {
  .whyus {
    padding: 20px 0 60px;
  }

  .whyus__header {
    margin-bottom: 40px;
  }

  .whyus__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .whyus__icon {
    margin-bottom: 24px;
  }
}

/* ===========================
   ABOUT SECTION
=========================== */
.about-section {
  position: relative;
  margin-top: 20px;
  color: var(--color-white);
  overflow: hidden;
  border-bottom-left-radius: 80px;
  border-top-right-radius: 80px;
}

.about-intro {
  position: relative;
  background: var(--color-light-bg);
  padding: 110px 0;
}

.about-decor-dot {
  position: absolute;
  top: 130px;
  right: 4%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  z-index: 2;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(32px, 5vw, 90px);
}

.about-content--delayed {
  transition-delay: 0.15s;
}

.about-visual {
  position: relative;
  aspect-ratio: 4 / 4;
  max-width: 600px;
  margin-left: clamp(24px, 6vw, 72px);
  border-radius: 3px;
}

.about-visual__img {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.96);
}

.about-visual__video {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.96);
  background: #0a1128; /* shows briefly while the video buffers */
}

.about-content {
  /* The heading is pulled left over the photo (negative margin below). The
     photo is position:relative, so without this it painted on top of the
     heading; a positioned, higher-z column keeps the text above the image. */
  position: relative;
  z-index: 2;
  padding-right: clamp(20px, 6vw, 90px);
  margin-top: 20px;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 22px;
  margin-left: -50px;
}

.about-eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-block;
}

.about-heading {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 2.65rem;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.2;
  max-width: 680px;
  margin-bottom: 50px;
  margin-left: -60px;
}

.about-copy {
  max-width: 520px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 10px;
  margin-left: -20px;
}
.about-copy strong{
  color: var(--color-accent);
}
.about-cta {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-highlight);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  margin-left: -20px;
}

.about-cta__label {
  display: flex;
  align-items: center;
  padding: 13px 20px;
}

.about-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  background: rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.about-cta:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.about-cta:hover .about-cta__icon {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .about-intro { padding: 70px 0; }

  .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 5%;
  }

  .about-visual {
    max-width: 100%;
    margin-left: 0;
    aspect-ratio: 16 / 11;
    clip-path: polygon(0 0, calc(100% - 54px) 0, 100% 18px, 100% 100%, 54px 100%, 0 calc(100% - 18px));
  }

  .about-eyebrow { margin-left: 0; }
  .about-heading { font-size: 2rem; max-width: 100%; margin-left: 0; margin-bottom: 28px; }
  .about-copy { max-width: 100%; margin-left: 0; }
  .about-cta { margin-left: 0; }
  .about-content { padding-right: 0; margin-top: 0; }
}

/* ===========================
   OUR SOLUTIONS SECTION
=========================== */
.solutions-section-v2 {
  position: relative;
  margin-top: 20px;
  padding: 60px 0;
  background: var(--color-light-bg);
}

.solutions-v2-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 56px;
}

.solutions-v2-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
}

.solutions-v2-title__accent {
  color: var(--color-primary);
}

.solutions-v2-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--color-text);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: var(--transition);
}

.solutions-v2-cta:hover {
  background: var(--color-primary);
}

.solutions-v2-divider {
  height: 1px;
  width: 100%;
  background: rgba(0, 0, 0, 0.12);
}

.solution-row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 20px 0;
}

.solution-row__text {
  flex: 1 1 380px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
}

.solution-row__title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.solution-row__desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #5a5a5a;
  max-width: 420px;
  margin-bottom: 40px;
}

.solution-row__desc strong {
  color: var(--color-accent);
}

.solution-row__index {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.solution-row__media {
  flex: 1 1 420px;
  max-width: 520px;
  aspect-ratio: 2.5 / 1;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}

.solution-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.solution-row:hover .solution-row__media img {
  transform: scale(1.06);
}

.solution-row__arrow {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--color-text);
  color: var(--color-text);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.solution-row__arrow:hover,
.solution-row__arrow--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

@media (max-width: 900px) {
  .solutions-section-v2 { padding: 20px 0; }

  .solutions-v2-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
  }

  /* Grid drives the whole row: media on top, text on the left,
     arrow on the right — the arrow's grid cell sits in the SAME
     row as the text, and align-self:start pins it level with the
     title (the first thing inside the text block), no matter how
     tall the description or image are. */
  .solution-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "media media"
      "text  arrow";
    align-items: start;
    column-gap: 10px;
    row-gap: 10px;
    padding: 10px 0;
  }

  .solution-row__media {
    grid-area: media;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .solution-row__text {
    grid-area: text;
    width: 100%;
    max-width: 100%;

    /* Index sits left, title sits right of it on the same line;
       description wraps to its own row underneath. */
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "index title"
      "desc  desc";
    align-items: baseline;
    column-gap: 10px;
    row-gap: 4px;
  }

  .solution-row__index {
    grid-area: index;
    margin: 0;
  }

  .solution-row__title {
    grid-area: title;
    margin-bottom: 0;
  }

  .solution-row__desc {
    grid-area: desc;
    max-width: 100%;
    margin-bottom: 0;
  }

  .solution-row__arrow {
    grid-area: arrow;
    align-self: start;
    width: 40px;
    height: 40px;
  }
}

/* =============================
   HOW WE DO IT SECTION
============================= */
.process-section-v2 {
  --proc-card: #f1f1f1;
  --proc-panel: var(--color-white);
  --proc-ink: var(--color-text);
  --proc-muted: #8b8b8b;
  --proc-chip: #f1f1f1;
  --proc-up-bg: #ebebe8;
  --proc-up-fg: #666;
  --proc-down-bg: rgba(255, 26, 26, 0.09);
  --proc-down-fg: #c21c1c;
  --proc-reply: var(--color-primary);
  --proc-stack: #e8e8e8;
  --proc-ground: var(--color-primary);
  --proc-sea: #d9b8e3;
  --proc-air: var(--color-highlight);
  --proc-trail: var(--color-text);

  position: relative;
  margin-top: 20px;
  padding: 100px 0;
  background: var(--color-light-bg);
  border-top-left-radius: 80px;
  border-bottom-right-radius: 80px;
}

.process-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.process-v2-header {
  max-width: 640px;
  margin-bottom: 56px;
  text-align: center;
}

.process-v2-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 18px;
}

.process-v2-title__accent {
  color: var(--color-primary);
}

.process-v2-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #5a5a5a;
  max-width: 560px;
  margin: 0 auto;
}

.process-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-rows: repeat(2, auto);
  gap: 26px;
}

.process-bento__main,
.process-bento__side {
  display: flex;
  flex-direction: column;
  background: var(--proc-card);
  border-radius: 28px;
  overflow: hidden;
}

.process-bento__main {
  grid-row: 1 / 3;
}

.process-bento__main,
.process-bento__side {
  container-type: inline-size;
}

.process-bento__copy {
  padding: 56px 52px 0;
}

.process-bento__title {
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 12px;
}

.process-bento__desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #4a4a4a;
  max-width: 430px;
}

.pi {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pdash {
  position: relative;
  flex: 1 1 auto;
  min-height: 340px;
  margin-top: 36px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  font-size: clamp(11px, 2.7cqw, 16px);
  -webkit-mask-image: linear-gradient(to bottom, #000 64%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 64%, transparent 99%);
}

.pdash__inner {
  position: absolute;
  top: 0;
  left: -1em;
  width: max(47em, 128%);
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}

.pdash__row--alerts {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 1.375em;
}

.pdash__row--stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25em;
  margin-left: -0.4em;
}

.pdash__row--lower {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
  gap: 1.375em;
  margin-left: -2.1em;
}

.pdash-card {
  background: var(--proc-panel);
  border-radius: 1.375em;
}

.pdash-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.05em;
  height: 2.05em;
  border-radius: 0.62em;
  background: var(--proc-chip);
  color: var(--proc-ink);
  font-size: 1.1em;
}

.pdash-dots {
  color: #c4c4c4;
  font-size: 1.3em;
}

.pdash-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1em;
  align-items: start;
  padding: 1.4em 1.6em;
  overflow: hidden;
}

.pdash-alert > div {
  min-width: 0;
}

.pdash-alert__title {
  font-size: 1.12em;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--proc-ink);
}

.pdash-alert__text {
  margin-top: 0.3em;
  font-size: 0.8em;
  line-height: 1.4;
  color: var(--proc-muted);
}

.pdash-alert--clip .pdash-alert__title,
.pdash-alert--clip .pdash-alert__text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pdash-alert__actions {
  display: flex;
  gap: 0.6em;
  margin-top: 0.85em;
}

.pdash-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.7em 1.4em;
  border-radius: 999px;
  background: var(--proc-chip);
  color: var(--proc-ink);
  font-size: 0.82em;
  font-weight: 500;
  line-height: 1.2;
}

.pdash-pill--dark {
  background: var(--color-dark-bg);
  color: var(--color-white);
}

.pdash-stat {
  padding: 1.5em 1.5em 1.35em;
}

.pdash-stat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  font-size: 0.95em;
  font-weight: 500;
  color: var(--proc-ink);
  white-space: nowrap;
}

.pdash-stat__value {
  margin: 0.5em 0 0.45em;
  font-size: 2.7em;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--proc-ink);
}

.pdash-stat__foot {
  display: flex;
  align-items: center;
  gap: 0.8em;
  font-size: 0.78em;
  color: var(--proc-muted);
  white-space: nowrap;
}

.pdash-stat--down .pdash-stat__foot {
  color: var(--proc-down-fg);
}

.pdash-delta {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.4em 0.8em 0.4em 0.65em;
  border-radius: 999px;
  background: var(--proc-up-bg);
  color: var(--proc-up-fg);
  font-weight: 500;
}

.pdash-delta .pi {
  font-size: 0.85em;
  stroke-width: 2.2;
}

.pdash-delta--down {
  background: var(--proc-down-bg);
  color: var(--proc-down-fg);
}

.pdash-status {
  grid-row: 1 / 3;
  padding: 1.4em 1.6em 1.75em;
}

.pdash-status__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  font-size: 0.95em;
  font-weight: 500;
  color: var(--proc-ink);
}

.pdash-status__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1em 1.25em;
  margin-top: 1.4em;
  list-style: none;
}

.pdash-status__list li {
  display: flex;
  align-items: center;
  gap: 0.75em;
  min-width: 0;
}

.pdash-status__name,
.pdash-status__state {
  display: block;
  white-space: nowrap;
}

.pdash-status__name {
  font-size: 0.82em;
  font-weight: 500;
  color: var(--proc-ink);
}

.pdash-status__state {
  margin-top: 0.15em;
  font-size: 0.76em;
  color: var(--proc-muted);
}

.pdash-tip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.875em;
  align-items: start;
  padding: 1.4em 1.5em;
}

.pdash-tip__title {
  font-size: 1.05em;
  font-weight: 500;
  color: var(--proc-ink);
}

.pdash-tip__text {
  margin-top: 0.3em;
  font-size: 0.78em;
  line-height: 1.4;
  color: var(--proc-muted);
}

.pdash-forecast {
  padding: 1.7em;
  font-size: 0.88em;
  color: #b5b5b5;
  background: rgba(255, 255, 255, 0.6);
}

.process-split {
  flex: 1;
  display: grid;
  align-items: center;
  gap: 48px;
}

.process-split--visual-first {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  padding: 64px 48px 64px 40px;
}

.process-split--copy-first {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  align-items: stretch;
  padding: 32px 40px 0 48px;
}

.process-split--copy-first .process-split__copy {
  align-self: center;
  padding-bottom: 32px;
}

.pchart {
  position: relative;
}

.pchart::before {
  content: "";
  position: absolute;
  inset: -30px 20px;
  border-radius: 22px;
  background: var(--proc-stack);
}

.pchart__card {
  position: relative;
  padding: 24px 22px 26px;
  border-radius: 20px;
  background: var(--proc-panel);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.pchart__title {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--proc-ink);
}

.pchart__body {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.pchart__donut {
  flex: none;
  width: 120px;
  height: 120px;
}

.pchart__seg--ground { stroke: var(--proc-ground); }
.pchart__seg--sea    { stroke: var(--proc-sea); }
.pchart__seg--air    { stroke: var(--proc-air); }
.pchart__seg--trail  { stroke: var(--proc-trail); }

.pchart__legend {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 20px;
  list-style: none;
}

.pchart__legend-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--proc-ink);
}

.pchart__legend-item span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  font-size: 0.72rem;
  color: var(--proc-muted);
}

.pchart__legend-item span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
}

.pchart__legend-item--ground { --dot: var(--proc-ground); }
.pchart__legend-item--sea    { --dot: var(--proc-sea); }
.pchart__legend-item--air    { --dot: var(--proc-air); }
.pchart__legend-item--trail  { --dot: var(--proc-trail); }

.pchat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 330px;
  padding: 24px 22px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: var(--proc-panel);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 97%);
}

.pchat__bubble {
  max-width: 78%;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--proc-chip);
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4a4a4a;
}

.pchat__bubble--reply {
  align-self: flex-end;
  max-width: 88%;
  background: var(--proc-reply);
  color: var(--color-white);
}

.pchat__time {
  margin: 0 0 6px 2px;
  font-size: 0.62rem;
  color: var(--proc-ink);
}

@container (max-width: 620px) {
  .process-split--visual-first {
    gap: 28px;
    padding: 56px 28px 56px 30px;
  }

  .process-split--copy-first {
    gap: 28px;
    padding: 28px 30px 0 32px;
  }

  .pchart__card {
    padding: 20px 16px 22px;
  }

  .pchart__body {
    gap: 12px;
    margin-top: 16px;
  }

  .pchart__donut {
    width: 84px;
    height: 84px;
  }

  .pchart__legend {
    gap: 12px 12px;
  }

  .pchart__legend-item strong {
    font-size: 1.2rem;
  }

  .process-bento__desc {
    font-size: 0.92rem;
  }
}

@container (max-width: 500px) {
  .process-split--visual-first,
  .process-split--copy-first {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 36px 26px 0;
  }

  .process-split--visual-first {
    row-gap: 64px;
    padding-bottom: 60px;
  }

  .process-split__copy,
  .process-split--copy-first .process-split__copy {
    order: -1;
    align-self: start;
    padding-bottom: 0;
  }

  .pchart__body {
    gap: 18px;
  }

  .pchart__donut {
    width: 104px;
    height: 104px;
  }

  .pchat {
    height: 300px;
  }
}

@media (max-width: 1100px) {
  .process-section-v2 { padding: 80px 0; }

  .process-bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 20px;
  }

  .process-bento__main {
    grid-row: auto;
  }

  .pdash {
    min-height: 470px;
  }
}

@media (max-width: 600px) {
  .process-section-v2 { padding: 64px 0; }

  .process-bento__main,
  .process-bento__side {
    border-radius: 24px;
  }

  .process-bento__copy {
    padding: 36px 28px 0;
  }

  .pdash {
    margin-top: 28px;
    min-height: 330px;
  }
}

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

[data-animate="fade-up"].animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   WHY CHOOSE — Horizon IoT Ltd
=========================== */
.why-section {
  position: relative;
  margin-top: 20px;
  padding: 110px 0;
  color: var(--color-text);
  overflow: hidden;
  background: var(--color-light-bg);
  border-radius: 30px 30px 0 0;
}

.why-overlay { display: none; }

.why-animated-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(142,36,170,0.06), transparent 55%),
              radial-gradient(circle at 90% 80%, rgba(255,26,26,0.05), transparent 55%);
  z-index: 0;
}

.why-container {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2.5%;
}

.why-title {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.15;
}

.why-title .highlight { color: var(--color-primary); }

.why-subtitle {
  max-width: 480px;
  margin: 0;
  font-size: 1.15rem;
  color: #555;
  line-height: 1.7;
}

.why-columns {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.why-info {
  padding-top: 6px;
  position: sticky;
  top: calc(var(--sticky-offset, 0px) + 40px);
  align-self: start;
}

.why-eyebrow {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.why-list {
  display: flex;
  flex-direction: column;
}

.why-item {
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.why-item:first-child { border-top: 1px solid rgba(0,0,0,0.12); }

.why-item-header {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 32px;
  padding: 34px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.why-item-number {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
  width: 40px;
}

.why-item-title {
  flex: 1;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.why-item-toggle {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all 0.35s ease;
}

.why-item-toggle svg { width: 20px; height: 20px; transition: transform 0.35s ease; }

.why-item-header:hover .why-item-title { color: var(--color-accent); }

.why-item-header:hover .why-item-toggle,
.why-item.is-open .why-item-toggle {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.why-item.is-open .why-item-toggle svg { transform: rotate(90deg); }

.why-item-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.why-item-body p {
  overflow: hidden;
  min-height: 0;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  padding-right: 86px;
}

.why-item.is-open .why-item-body { grid-template-rows: 1fr; }
.why-item.is-open .why-item-body p { padding-bottom: 28px; }

@media (max-width: 900px) {
  .why-columns { grid-template-columns: 1fr; gap: 30px; }
  .why-subtitle { max-width: 100%; }
  .why-info { position: static; }
}
@media (max-width: 768px) {
  .why-title { font-size: 2rem; }
  .why-item-title { font-size: 1.15rem; }
  .why-item-header { gap: 16px; }
}

/* ===========================
   FOOTER — Horizon IoT Ltd
=========================== */
.footer-section {
  margin-top: 10px;
  position: relative;
  background: #0d1015;
  padding: 0 0 30px;
  color: var(--color-white);
  overflow: hidden;
}

.footer-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("../images/blank-cargo-truck-road.af587f634fe4.webp");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,14,18,0.58) 0%, rgba(12,14,18,0.46) 25%, rgba(12,14,18,0.54) 75%, rgba(12,14,18,0.72) 100%);
  z-index: 1;
}

.footer-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,214,51,0.12), transparent 70%);
  animation: glowMove 15s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes glowMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-3%, 3%); }
}

.footer-newsletter-container {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 2% 32px;
}

.footer-newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-newsletter-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.footer-newsletter-title .highlight {
  color: var(--color-light-bg);
}

/* Footer CTA — replaces the old newsletter form styling */
.footer-newsletter-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  border: none;
  overflow: visible;
  min-width: 0;
  flex: 0 1 auto;
  max-width: none;
}

.footer-newsletter__btn {
  display: inline-block;
  border: none;
  background: var(--color-highlight);
  color: var(--color-dark-bg);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 34px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.footer-newsletter__btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.footer-newsletter__btn:disabled {
  opacity: 0.85;
  cursor: default;
  transform: none;
}

.footer-divider {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2%;
}

.footer-divider::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 60px 2% 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  margin: 5px 0 25px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-accent);
  transform: scale(1.15);
}

.footer-links h3,
.footer-contact h3 {
  color: var(--color-light-bg);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links ul li a i {
  font-size: 1.1rem;
  color: var(--color-light-bg);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 6px var(--color-accent);
}

.footer-links ul li a:hover i {
  color: var(--color-accent);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-contact i {
  color: var(--color-light-bg);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 2;
}

.footer-bottom-row {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social--bottom {
  gap: 10px;
}

.footer-social--bottom .social-link {
  padding: 8px;
  background: rgba(255,255,255,0.08);
}

.footer-bottom-divider {
  color: rgba(255,255,255,0.3);
}

.footer-bottom-link {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-bottom-link:hover {
  color: var(--color-highlight);
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  font-family: inherit;
}

.footer-contact a:hover {
  color: var(--color-accent);
}
.footer-bottom p {
  color: #bbb;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links ul li a {
    justify-content: center;
  }

  .footer-newsletter-row {
    justify-content: center;
    text-align: center;
  }

  .footer-newsletter-form {
    justify-content: center;
    width: 100%;
  }

  .footer-bottom-row {
    justify-content: center;
    text-align: center;
  }
}

.floating-icon {
  position: fixed;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s, background-color 0.3s;
}

.floating-icon:hover {
  transform: scale(1.1);
}

.floating-icon.whatsapp {
  background-color: #25d366;
  bottom: 20px;
  left: 20px;
}

.floating-icon.chatbot {
  background-color: #007bff;
  bottom: 20px;
  right: 20px;
}

/* ================= CHATBOT WIDGET ================= */
.chatbot-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  max-height: 450px;
  background-color: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  z-index: 1001;
  font-family: var(--font-family);
  overflow: hidden;
  transition: var(--transition);
}

.chatbot-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 12px 15px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header button {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 20px;
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  position: relative;
  background-color: var(--color-light-bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bot-message {
  background-color: var(--color-white);
  color: var(--color-text);
  align-self: flex-start;
  border-radius: 18px 18px 18px 4px;
  padding: 10px 14px;
  max-width: 75%;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  word-wrap: break-word;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.bot-message::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 10px;
  width: 12px;
  height: 12px;
  background-color: var(--color-white);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: -2px 2px 2px rgba(0,0,0,0.05);
}

.user-message {
  background-color: var(--color-primary);
  color: var(--color-white);
  align-self: flex-end;
  border-radius: 18px 18px 4px 18px;
  padding: 10px 14px;
  max-width: 75%;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  word-wrap: break-word;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.user-message::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 10px;
  width: 12px;
  height: 12px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
}

.message-time {
  display: block;
  font-size: 10px;
  color: #888;
  margin-top: 4px;
  text-align: right;
}

.chatbot-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.chatbot-input input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 14px;
  font-family: var(--font-family);
  outline: none;
}

.chatbot-input button {
  background-color: var(--color-highlight);
  border: none;
  color: var(--color-dark-bg);
  padding: 0 16px;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.chatbot-input button:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.chatbot-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.chatbot-bubbles span {
  position: absolute;
  bottom: -50px;
  width: 10px;
  height: 10px;
  background-color: rgba(122, 31, 162, 0.2);
  border-radius: 50%;
  animation: bubble 6s linear infinite;
}

@keyframes bubble {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-150px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-300px) scale(0.5);
    opacity: 0;
  }
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background-color: rgba(122, 31, 162, 0.5);
  border-radius: 3px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .chatbot-widget {
    right: 12px;
    bottom: 80px;
    left: 12px;
    width: auto;
    max-height: min(450px, 70vh);
  }

  .bot-message,
  .user-message {
    max-width: 85%;
  }
}

/* ===========================
   HORIZON INFO SECTION
=========================== */
/* ===========================
   SOLUTIONS HERO
   (Track & Trace and future solution pages share this hero layout)
=========================== */
.sol-hero {
  position: relative;
  padding: 15px 0 100px;
  background: var(--color-white);
  overflow: hidden;
}

.sol-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.2fr); /* image ~62% */
  gap: 0;
  align-items: center;
}

.sol-hero__content {
  position: relative;
  z-index: 2;
  margin-right: -80px;
}

.sol-hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 25px;
}

.sol-hero__title {
  font-size: 2.1rem;
  line-height: 1.14;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 24px;
  width: 100%;
  max-width: 560px;
}

.sol-hero__content .hzn-text {
  margin-bottom: 28px;
  width: 100%;
  max-width: 465px;
}

.sol-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--color-highlight);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.sol-hero__cta i {
  font-size: 1.2rem;
  transition: var(--transition);
}

.sol-hero__cta:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.sol-hero__cta:hover i {
  transform: translateX(3px);
}

.sol-hero__media {
  position: relative;
}

.sol-hero__image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4 / 3.6;
}

.sol-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sol-hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  max-width: 270px;
}

.sol-hero__card-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-bg);
  color: var(--color-primary);
  font-size: 1.25rem;
}

.sol-hero__card h4 {
  font-size: 0.92rem;
  margin-bottom: 3px;
  color: var(--color-text);
}

.sol-hero__card p {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

.sol-hero__card--one {
  left: -22px;
  bottom: 58%;
}

.sol-hero__card--two {
  right: -18px;
  bottom: 8%;
}

@media (max-width: 992px) {
  .sol-hero__grid {
    grid-template-columns: 1fr;
  }

  .sol-hero__content {
    margin-right: 0;
  }

  .sol-hero__media {
    margin-top: 20px;
  }

  .sol-hero__card {
    position: static;
    max-width: 100%;
    margin-top: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 992px) and (min-width: 561px) {
  .sol-hero {
    padding: 40px 0 70px;
  }

  .sol-hero__title {
    font-size: 1.95rem;
  }
}

@media (max-width: 560px) {
  .sol-hero {
    padding: 20px 10px 70px;
  }

  .sol-hero__title {
    font-size: 1.9rem;
  }
}

/* ===============================
   CTA DEVICES — phone + tablet mockup with
   auto-cycling contact info, ending on the logo
=============================== */
.cta-devices {
  position: relative;
  padding: 20px 0;
  background: var(--color-light-bg);
  overflow: hidden;
}

.cta-devices__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

/* ---- device mockups ---- */
.cta-devices__media {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 468px;
  margin: 0 auto;
}

.cta-devices__media::before {
  content: "";
  position: absolute;
  left: -10%;
  right: 10%;
  bottom: 6%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(142, 36, 170, 0.14), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.device {
  position: absolute;
  background: linear-gradient(155deg, #3a3a42 0%, #17171b 45%, #050506 100%);
  z-index: 1;
}

.device__screen {
  position: absolute;
  overflow: hidden;
  background: var(--color-white);
}

/* Tablet — noticeably larger than the phone, thin uniform bezel,
   centered camera dot on the top edge. Anchored to the same
   baseline as the phone below. */
.device--tablet {
  width: 320px;
  height: 430px;
  right: 0;
  bottom: 0;
  border-radius: 10px;
}

.device--tablet::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  translate: -50% 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3f3f48;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.device--tablet .device__screen {
  inset: 20px 10px;
  border-radius: 8px;
}

/* Phone — clearly smaller than the tablet, narrower bezel, tucked close
   against the tablet's lower-left edge on the same baseline, with a
   Dynamic-Island-style pill on the screen instead of a bezel notch */
.device--phone {
  width: 124px;
  height: 252px;
  left: 20px;
  bottom: 0;
  z-index: 2;
  border-radius: 10px;
}

.device--phone::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -2px;
  width: 3px;
  height: 40px;
  border-radius: 0 2px 2px 0;
  background: #26262c;
}

.device--phone .device__screen {
  inset: 6px;
  border-radius: 10px;
}

.device--phone .device__screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  width: 46px;
  height: 13px;
  border-radius: 999px;
  background: #0a0a0c;
  z-index: 3;
}

.device__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  text-align: center;
  background: linear-gradient(165deg, var(--color-light-bg), #ffffff);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.device__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.device__slide i {
  font-size: 1.7rem;
  color: var(--color-primary);
}

.device__slide span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  word-break: break-word;
}

.device--tablet .device__slide i {
  font-size: 2.5rem;
}

.device--tablet .device__slide span {
  font-size: 1rem;
}

.device__slide--logo img {
  width: 54%;
  max-width: 80px;
}

.device--tablet .device__slide--logo img {
  max-width: 110px;
}

/* ---- text content ---- */
.cta-devices__content {
  position: relative;
  z-index: 2;
}

.cta-devices__title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 22px;
}

.cta-devices__content .hzn-text {
  margin-bottom: 30px;
  max-width: 480px;
}

@media (max-width: 992px) {
  .cta-devices__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-devices__media {
    height: 468px;
    order: -1;
  }
}

@media (max-width: 560px) {
  .cta-devices {
    padding: 60px 0;
  }

  .cta-devices__media {
    height: 330px;
    max-width: 300px;
  }

  .device--tablet {
    width: 218px;
    height: 292px;
  }

  .device--phone {
    width: 96px;
    height: 194px;
    left: 50px;
  }

  .cta-devices__title {
    font-size: 1.7rem;
  }
}

.hzn-info {
  margin-top: 20px;
  position: relative;
  padding: 90px 10%;
  font-family: var(--font-family);
  color: var(--color-text);
  overflow: hidden;
  background: var(--color-light-bg);
}

.hzn-bg-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(255,255,255,0.2)),
    url("../images/vehicle-move.2201e32cde78.webp") center/cover no-repeat;
  z-index: 0;
  opacity: 0.5;
  animation: bgShift 15s ease-in-out infinite alternate;
}

@keyframes bgShift {
  from { background-position: center top; }
  to { background-position: center bottom; }
}

.hzn-info::before,
.hzn-info::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  opacity: 0.2;
  animation: float 10s infinite ease-in-out;
  z-index: 1;
}
.hzn-info::before {
  width: 220px; height: 220px; top: -60px; left: -70px;
}
.hzn-info::after {
  width: 280px; height: 280px; bottom: -80px; right: -100px;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hzn-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hzn-title {
  font-size: 2rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.hzn-subtitle {
  color: #333;
  font-size: 1rem;
  margin-top: 8px;
}

.hzn-line {
  display: inline-block;
  width: 80px;
  height: 3px;
  background: var(--color-highlight);
  margin-top: 15px;
  border-radius: 2px;
}

.hzn-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hzn-text p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #333;
  font-size: 0.95rem;
}

.hzn-text strong {
  color: var(--color-primary);
}

.hzn-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hzn-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.hzn-divider {
  text-align: center;
  margin: 50px 0;
  font-size: 2rem;
  color: var(--color-primary);
}

.hzn-choose {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hzn-choose h3 {
  color: var(--color-accent);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.hzn-lead {
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1rem;
  color: #333;
}

.hzn-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.hzn-feature-box {
  background: var(--color-white);
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hzn-feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.hzn-feature-box i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.hzn-feature-box:hover i {
  color: var(--color-accent);
}

.hzn-feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.hzn-feature-box p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   TRACE | TRACK | MONITOR
=========================== */
.hzn-trace {
  position: relative;
  padding: 120px 10%;
  text-align: center;
  overflow: hidden;
  color: var(--color-white);
  font-family: var(--font-family);
  background: var(--color-dark-bg);
  z-index: 2;
}

.trace-bg {
  position: absolute;
  top: 0; left: 0;
  width: 200%; height: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.05) 0,
    rgba(255,255,255,0.05) 1px,
    transparent 1px,
    transparent 100px
  );
  animation: bgSlide 20s linear infinite;
  z-index: 1;
}

@keyframes bgSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.trace-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  opacity: 0.88;
  z-index: 2;
}

.trace-circuit {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.25;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  animation: circuitMove 60s linear infinite;
}

.trace-circuit svg {
  width: 200%;
  height: 200%;
}

@keyframes circuitMove {
  0% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-10%, -5%) scale(1.15); }
  100% { transform: translate(0, 0) scale(1.1); }
}

.trace-orbs {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
}

.trace-orbs .orb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-highlight) 0%, transparent 70%);
  opacity: 0.3;
  animation: floatOrb 15s infinite ease-in-out;
}

.trace-orbs .orb:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.trace-orbs .orb:nth-child(2) { top: 60%; left: 30%; width: 160px; height: 160px; animation-delay: 3s; }
.trace-orbs .orb:nth-child(3) { top: 40%; right: 15%; width: 100px; height: 100px; animation-delay: 6s; }
.trace-orbs .orb:nth-child(4) { bottom: 15%; left: 45%; width: 180px; height: 180px; animation-delay: 9s; }
.trace-orbs .orb:nth-child(5) { top: 10%; right: 5%; width: 150px; height: 150px; animation-delay: 12s; }

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-40px) scale(1.2); opacity: 0.5; }
}

.trace-content {
  position: relative;
  z-index: 6;
  max-width: 850px;
  margin: 0 auto;
  animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.trace-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 25px;
  background: linear-gradient(90deg, var(--color-highlight), var(--color-white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  gap: 10px;
}

.trace-title i {
  color: var(--color-highlight);
  font-size: 2.7rem;
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.trace-title .divider {
  color: var(--color-white);
  font-weight: 600;
  font-size: 2rem;
  opacity: 0.8;
}

.trace-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #f0f0f0;
  max-width: 780px;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hzn-trace {
    padding: 80px 6%;
  }

  .trace-title {
    font-size: 1.8rem;
    gap: 6px;
  }

  .trace-title i {
    font-size: 2rem;
  }

  .trace-title .divider {
    font-size: 1.5rem;
  }

  .trace-text {
    font-size: 0.95rem;
  }

  .trace-orbs .orb {
    width: 70px !important;
    height: 70px !important;
  }
}

@media (max-width: 480px) {
  .hzn-trace {
    padding: 60px 6%;
  }

  .trace-title {
    font-size: 1.5rem;
  }

  .trace-title i {
    font-size: 1.6rem;
  }
}

/* =========================
   OUR CLIENTS SECTION
========================= */
.hzn-clients {
  margin-top: 20px;
  position: relative;
  padding: 60px 20px;
  background: var(--color-dark-bg);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}

.clients-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(122, 31, 162, 0.15), rgba(0, 0, 0, 0.9));
  z-index: 0;
}

.clients-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-highlight);
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.clients-slider {
  position: relative;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
  z-index: 2;
}

.clients-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.client-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-slide img {
  width: 240px;
  height: auto;
  opacity: 0.9;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.client-slide img:hover {
  transform: scale(1.12);
  opacity: 1;
}

.clients-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.clients-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.4;
  transition: var(--transition);
  cursor: pointer;
}

.clients-dots .dot.active {
  background: var(--color-accent);
  opacity: 1;
  transform: scale(1.25);
}

@media (max-width: 600px) {
  .hzn-clients {
    padding: 45px 20px;
  }

  .clients-title {
    font-size: 1.6rem;
  }

  .client-slide img {
    width: 160px;
  }
}

/* ===========================
   TELEMATICS SECTION
=========================== */
.hzn-telematics {
  position: relative;
  padding: 50px 20px;
  background: var(--color-light-bg);
  color: var(--color-text);
  overflow: hidden;
}


.telematics-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.telematics-title i {
  color: var(--color-accent);
  font-size: 2rem;
  margin: 0 10px;
  vertical-align: middle;
}

.telematics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.telematics-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 35px 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.telematics-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent), var(--color-highlight));
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.telematics-card:hover::before {
  opacity: 0.08;
}

.telematics-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.telematics-card .card-icon {
  font-size: 3.2rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.telematics-card:hover .card-icon {
  transform: scale(1.15);
}

.telematics-card h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.telematics-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.telematics-card li {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.telematics-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

[data-animate].animate .telematics-card {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===========================
   TELEMATICS — ARROW / DROPDOWN ROWS
=========================== */
.acc-list {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.acc-item + .acc-item {
  border-top: 1px solid rgba(34, 34, 34, 0.12);
}

@media (min-width: 900px) {
  /* Two independent columns (not CSS grid rows) so opening an item in one
     column never affects the height/position of items in the other column. */
  .acc-list {
    display: flex;
    align-items: flex-start;
    gap: 56px;
  }

  .acc-col {
    flex: 1 1 0;
    min-width: 0;
  }
}

.acc-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}

.acc-summary::-webkit-details-marker {
  display: none;
}

.acc-summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.acc-row-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.acc-icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f0f0f0;
  color: var(--color-text);
  font-size: 1.4rem;
  transition: var(--transition);
}

.acc-name {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.acc-summary:hover .acc-name {
  color: var(--color-primary);
}

.acc-summary:hover .acc-icon,
.acc-item[open] .acc-icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.acc-arrow {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.acc-arrow svg {
  transition: transform 0.3s ease;
}

.acc-summary:hover .acc-arrow,
.acc-item[open] .acc-arrow {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.acc-item[open] .acc-arrow svg {
  transform: rotate(90deg);
}

.acc-body {
  max-width: 760px;
  padding: 0 0 20px 62px;
}

.acc-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.acc-points li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #444;
}

.acc-points li:last-child {
  margin-bottom: 0;
}

.acc-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.acc-points li strong {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .acc-summary {
    padding: 14px 0;
    gap: 14px;
  }

  .acc-row-main {
    gap: 14px;
  }

  .acc-body {
    padding-left: 0;
    padding-bottom: 16px;
  }
}

/* ===========================
   MEDIA QUERIES
=========================== */

@media (max-width: 1200px) {
  .hzn-info {
    margin-top: 100px;
    padding: 70px 8%;
  }
  .trace-title {
    font-size: 2.2rem;
  }
  .telematics-title {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .hzn-info {
    padding: 60px 6%;
  }

  .hzn-content-grid {
    gap: 25px;
  }

  .hzn-image img {
    border-radius: 10px;
  }

  .trace-title {
    font-size: 2rem;
    gap: 8px;
  }

  .trace-text {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 5%;
  }

  .hzn-clients {
    padding: 50px 15px;
  }

  .client-slide img {
    width: 200px;
  }

  .telematics-card {
    padding: 25px;
  }

  .telematics-card h3 {
    font-size: 1.2rem;
  }

  .telematics-card li {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hzn-header {
    margin-bottom: 40px;
  }

  .hzn-title {
    font-size: 1.6rem;
  }

  .hzn-line {
    width: 60px;
    height: 2px;
  }

  .hzn-content-grid {
    grid-template-columns: 1fr;
  }

  .hzn-text p {
    font-size: 0.95rem;
  }

  .trace-title {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 4px;
  }

  .trace-title .divider {
    display: none;
  }

  .trace-text {
    font-size: 0.95rem;
  }

  .client-slide img {
    width: 180px;
  }

  .clients-dots .dot {
    width: 10px;
    height: 10px;
  }

  .telematics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .telematics-card {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .hzn-info {
    padding: 50px 5%;
  }

  .hzn-title {
    font-size: 1.4rem;
  }

  .hzn-subtitle {
    font-size: 0.9rem;
  }

  .hzn-feature-box {
    padding: 20px;
  }

  .hzn-feature-box i {
    font-size: 1.8rem;
  }

  .hzn-feature-box h4 {
    font-size: 1rem;
  }

  .trace-title {
    font-size: 1.6rem;
  }

  .trace-text {
    font-size: 0.9rem;
    padding: 0 3%;
  }

  .client-slide img {
    width: 150px;
  }

  .telematics-title {
    font-size: 1.6rem;
  }

  .telematics-card h3 {
    font-size: 1.1rem;
  }

  .telematics-card li {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .trace-title {
    font-size: 1.4rem;
  }

  .trace-text {
    font-size: 0.85rem;
  }

  .client-slide img {
    width: 130px;
  }

  .hzn-feature-box p {
    font-size: 0.85rem;
  }

  .telematics-card {
    padding: 18px;
  }
}

/* ===========================
   CONTACT US STYLES
=========================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
  }

  .contact-left-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .whatsapp-form {
    background: var(--color-light-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
  }

  .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .whatsapp-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
  }

  .whatsapp-form label i {
    color: var(--color-primary);
    margin-right: 4px;
  }

  .whatsapp-form input, 
  .whatsapp-form select, 
  .whatsapp-form textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
  }

  .btn-submit-whatsapp {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-light-bg);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
  }

  .contact-right-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .map-container {
    width: 100%;
    flex-grow: 1;
    min-height: 300px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 20px;
  }

  .contact-info-compact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--color-light-bg);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  }

  .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-size: 14px;
  }

  .info-item i {
    font-size: 20px;
    color: var(--color-primary);
  }

  .info-item p {
    margin: 0;
  }

  .info-item a {
    color: var(--color-accent);
    text-decoration: none;
  }

  @media (max-width: 768px) {
    .contact-grid {
      grid-template-columns: 1fr;
    }
    .form-row {
      grid-template-columns: 1fr;
    }
    .map-container {
      height: 350px;
    }
  }

/* =========================
   ACCESSORIES SECTION
========================= */
.accessories-section {
  background: var(--color-light-bg);
  padding: 3rem 0;
  font-family: var(--font-family);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--color-text);
  opacity: 0.85;
  line-height: 1.4;
}

.accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}

.network-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

.accessory-card {
  background: var(--color-white);
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.accessory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.accessory-img img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  padding: 0.8rem;
  background: #fff;
  transition: var(--transition);
}

.accessory-card:hover .accessory-img img {
  transform: scale(1.03);
}

.accessory-content {
  padding: 0.8rem;
}

.accessory-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.accessory-content p {
  font-size: 0.85rem;
  color: var(--color-text);
  opacity: 0.85;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.accessory-buttons {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

/* Other features (4G, 2G, ...) shown as small tags on the card and in the modal */
.accessory-tags,
.feature-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 0.8rem;
  padding: 0;
}

.accessory-tags li,
.feature-tags li {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 2px 9px;
  border-radius: 20px;
  color: var(--color-primary);
  background: rgba(142, 36, 170, 0.08);
  border: 1px solid rgba(142, 36, 170, 0.22);
}

.feature-tags {
  justify-content: flex-start;
}

/* =========================
   BUTTON STYLES
========================= */
.btn-primary,
.btn-outline {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 40px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-highlight);
  color: var(--color-text);
  box-shadow: 0 3px 8px rgba(122, 31, 162, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent);
  box-shadow: 0 5px 12px rgba(227, 6, 19, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.8px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* =========================
   MEDIA QUERIES
========================= */

@media (max-width: 992px) {
  .section-title {
    margin-top: 50px;
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    max-width: 550px;
  }

  .accessories-grid {
    gap: 1rem;
  }

  .accessory-img img {
    height: 130px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }

  .accessories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .accessory-card {
    border-radius: 0.7rem;
  }

  .accessory-img img {
    height: 120px;
  }

  .btn-primary,
  .btn-outline {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.4rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .accessories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .accessory-img img {
    height: 110px;
  }

  .accessory-content {
    padding: 0.7rem;
  }

  .accessory-content p {
    font-size: 0.8rem;
  }

  .btn-primary,
  .btn-outline {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }
}

@media (min-width: 1400px) {
  .accessories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================
   MODAL STYLES (FINAL)
========================= */
.modal {
  margin-top: 120px;
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  overflow-y: auto;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  position: relative;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  max-width: 700px;
  width: 90%;
  max-height: 75vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: fadeInModal 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.modal-content img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1rem auto;
  display: block;
}

.modal-content h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.modal-content p {
  color: var(--color-text);
  font-size: 0.93rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.4rem;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
}
.modal-close:hover { color: var(--color-accent); }

.reviews-section {
  text-align: left;
  margin-top: 0.8rem;
  background: #f9f9f9;
  padding: 0.8rem;
  border-radius: 0.5rem;
  width: 100%;
}
.reviews-section h4 {
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
}
.review-item {
  border-left: 3px solid var(--color-primary);
  padding-left: 0.8rem;
  margin-bottom: 0.6rem;
}
.review-item p {
  font-style: italic;
  font-size: 0.88rem;
}

.modal-whatsapp {
  display: inline-block;
  margin-top: 0.8rem;
  background: #25d366;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}
.modal-whatsapp:hover {
  background: #1ebe57;
}

@keyframes fadeInModal {
  from { transform: translateY(-15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

body.modal-open {
  overflow: hidden;
}

/* Testimonial submission form (inside .modal-content on the About page) */
.testimonial-modal-content {
  text-align: left;
  align-items: stretch;
  max-width: 520px;
}

.testimonial-modal-content h3 {
  text-align: center;
}

.testimonial-modal-content > p {
  text-align: center;
}

.testimonial-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0.5rem;
}

.testimonial-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.testimonial-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.testimonial-form input,
.testimonial-form textarea {
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--color-text);
  background: #fafafa;
  transition: var(--transition);
  resize: vertical;
}

.testimonial-form input:focus,
.testimonial-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.testimonial-submit {
  align-self: center;
  margin-top: 4px;
  padding: 0.65rem 2rem;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
}

.testimonial-form-status {
  text-align: center;
  font-size: 0.85rem;
  min-height: 1.2em;
  color: var(--color-primary);
  margin: 4px 0 0;
}

@media (max-width: 600px) {
  .modal {
    margin-top: 0;
    padding: 16px;
  }

  .modal-content {
    padding: 1.25rem 1.25rem;
    max-height: 85vh;
  }

  .modal-content img {
    width: 90px;
    height: 90px;
  }
}

/* =========================
   FEATURES SECTION (BULLET STYLE)
========================= */
.features-section {
  margin-top: 20px;
  text-align: left;
}

.features-section h4 {
  margin-bottom: 10px;
  color: #222;
  font-weight: 600;
  text-align: left;
}

.feature-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.feature-list li {
  margin-bottom: 8px;
  font-size: 0.95em;
  line-height: 1.5;
  color: #333;
  text-align: left;
}

/* =========================
   OUR SOLUTIONS STYLES (Enhanced)
========================= */
.solutions-wrapper {
  width: 90%;
  max-width: 1250px;
  margin: 160px auto 120px;
  display: flex;
  flex-direction: column;
  gap: 140px;
  position: relative;
  padding: 0 10px;
}

.solu-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 0.1s;
  position: relative;
  padding-bottom: 80px;
  border-radius: 25px;
  background: linear-gradient(180deg, #ffffff, #f8f9fa);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  padding: 40px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.solu-wrap:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.solu-wrap.reverse {
  flex-direction: row-reverse;
  background: linear-gradient(180deg, #fdfdfd, #eef7ff);
}

.solu-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 85%;
  height: 2px;
  background: linear-gradient(90deg, #0096c7, #48cae4, #00b4d8);
  border-radius: 10px;
  opacity: 0.35;
  animation: lineReveal 1.5s ease forwards;
  animation-delay: 1s;
}

.solu-symbol-holder {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 150, 199, 0.1);
  border-radius: 50%;
  padding: 20px;
  width: 100px;
  height: 100px;
  box-shadow: 0 6px 12px rgba(0, 150, 199, 0.15);
  flex-shrink: 0;
}
.solu-symbol-holder img {
  width: 60px;
  animation: floatIcon 3s ease-in-out infinite;
}

.solu-inner-content {
  flex: 1;
}
.solu-headline {
  font-size: 2.2rem;
  color: #023e8a;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: capitalize;
  position: relative;
}
.solu-headline::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #0096c7;
  border-radius: 3px;
}
.solu-para {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.8;
}
.solu-bullets {
  list-style: none;
  padding: 0;
}
.solu-bullets li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #222;
  display: flex;
  align-items: center;
  gap: 6px;
}
.solu-bullets i {
  color: #0096c7;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.solu-img-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.solu-img-box img {
  width: 100%;
  max-width: 430px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease, box-shadow 0.4s ease;
}
.solu-img-box img:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes lineReveal {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 992px) {
  .solu-wrap,
  .solu-wrap.reverse {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .solu-symbol-holder {
    margin-bottom: 15px;
  }
  .solu-img-box img {
    max-width: 370px;
    margin-top: 20px;
  }
  .solu-headline {
    font-size: 1.7rem;
  }
  .solu-wrap::after {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .solutions-wrapper {
    gap: 100px;
    margin-top: 120px;
  }
  .solu-img-box img {
    max-width: 300px;
  }
  .solu-para {
    font-size: 1rem;
  }
  .solu-headline {
    font-size: 1.5rem;
  }
}

/* ✅ SEO: visually hidden H1 utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Custom GA4 Consent Mode v2 Banner CSS Styling */
.cookie-banner-box {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  width: 80%;
  background: #ffffff;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 24px;
  z-index: 999999;
  font-family: 'Inter', sans-serif;
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text h4 {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner-text h4 i {
  color: #f7c400;
  font-size: 1.4rem;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.cookie-action-btn {
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease-in-out, border 0.2s ease-in-out;
}

.accept-trigger {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
}

.accept-trigger:hover {
  background: #e30613;
  border-color: #e30613;
}

.deny-trigger {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.deny-trigger:hover {
  background: #e5e7eb;
  color: #1f2937;
}

@media (max-width: 768px) {
  .cookie-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-action-btn {
    flex: 1;
    text-align: center;
  }
}

.blog-section {
      padding: 60px 0;
      background-color: var(--color-light-bg);
    }
    .blog-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    .blog-header {
      text-align: center;
      margin-bottom: 50px;
    }
    .blog-header h1 {
      font-size: 2.5rem;
      color: var(--color-primary);
      margin-bottom: 15px;
      font-weight: 700;
    }
    .blog-header p {
      color: var(--color-mega-link);
      font-size: 1.1rem;
    }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 30px;
    }
    .blog-card {
      background: var(--color-white);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .blog-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    .blog-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      background-color: var(--color-light-bg);
    }
    .blog-card-content {
      padding: 25px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .blog-date {
      font-size: 0.85rem;
      color: var(--color-primary);
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .blog-title {
      font-size: 1.3rem;
      margin-bottom: 15px;
      line-height: 1.4;
    }
    .blog-title a {
      color: var(--color-dark-bg);
      text-decoration: none;
      transition: color 0.2s;
    }
    .blog-title a:hover {
      color: var(--color-accent);
    }
    .blog-summary {
      color: var(--color-mega-link);
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 20px;
      flex-grow: 1;
    }
    .blog-readmore {
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--color-accent);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .blog-readmore:hover {
      color: var(--color-primary);
    }
    @media (max-width: 768px) {
      .blog-header h1 { font-size: 2rem; }
      .blog-grid { grid-template-columns: 1fr; }
    }

/* =========================
   BLOG — SINGLE ARTICLE PAGE
========================= */

.blog-article-section {
  padding: 60px 0 100px;
  background-color: var(--color-light-bg);
}

.blog-article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-article-header {
  text-align: center;
  margin-bottom: 32px;
}

.blog-article-header .blog-date {
  justify-content: center;
  margin-bottom: 14px;
}

.blog-article-header h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-dark-bg);
  margin: 0 0 16px;
}

.blog-article-byline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-mega-link);
  margin: 0;
}

.blog-article-image {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 40px;
  display: block;
}

.blog-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.blog-article-body p {
  margin: 0 0 22px;
}

.blog-article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
  margin: 44px 0 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
}

.blog-article-body h2:first-child {
  margin-top: 0;
}

.blog-article-body h2::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.blog-article-body h2.open::after {
  transform: rotate(180deg);
}

.blog-article-body h2:hover {
  color: var(--color-accent);
}

.blog-article-body h2:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.blog-article-body h2 {
  outline: none;
}

.blog-article-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.blog-article-panel-inner {
  padding-top: 2px;
  padding-bottom: 4px;
}

.blog-article-body ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.blog-article-body ul li {
  margin-bottom: 8px;
}

.blog-article-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(255, 26, 26, 0.35);
  text-underline-offset: 2px;
  transition: var(--transition);
}

.blog-article-body a:hover {
  color: var(--color-primary);
  text-decoration-color: currentColor;
}

.blog-article-body strong {
  color: var(--color-primary);
  font-weight: 600;
}

.blog-breadcrumb {
  font-size: 0.85rem;
  color: var(--color-mega-link);
  margin-bottom: 18px;
  text-align: center;
}

.blog-breadcrumb a {
  color: var(--color-mega-link);
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  color: var(--color-primary);
}

.blog-breadcrumb .breadcrumb-sep {
  margin: 0 6px;
  opacity: 0.6;
}

.blog-breadcrumb .breadcrumb-current {
  color: var(--color-text);
}

.related-reading {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.related-reading h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark-bg);
  margin: 0 0 10px;
}
.related-reading--product {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.related-reading a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.related-reading a:hover {
  text-decoration: underline;
}

/* Blog posts: each related link on its own line, with a small bullet.
   Scoped to .blog-article-body so the product-page version
   (.related-reading--product) keeps its inline links. */
.blog-article-body .related-reading a {
  display: block;
  position: relative;
  padding: 8px 0 8px 22px;
  line-height: 1.5;
}

.blog-article-body .related-reading a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(8px + 0.75em - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.related-reading--product {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.blog-article-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-mega-link);
  margin-right: 2px;
}

.blog-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-light-bg);
  color: var(--color-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.blog-share a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .blog-article-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .blog-article-section {
    padding: 40px 0 70px;
  }

  .blog-article-body {
    font-size: 1rem;
  }

  .blog-article-image {
    border-radius: 10px;
    margin-bottom: 28px;
  }

  .blog-article-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================
   BLOG — ORDERED LISTS + TABLES
   Used by the Escort/MettaX and Teltonika 2026 posts. Lists match the
   existing .blog-article-body ul spacing; tables scroll sideways inside
   .blog-table-wrap on narrow screens instead of breaking the layout.
========================= */

.blog-article-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.blog-article-body ol li {
  margin-bottom: 8px;
}

.blog-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 22px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: var(--color-white);
  -webkit-overflow-scrolling: touch;
}

.blog-table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.55;
}

.blog-table-wrap th,
.blog-table-wrap td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e5e5e5;
}

.blog-table-wrap thead th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border-bottom: 0;
}

.blog-table-wrap tbody th {
  font-weight: 600;
  color: var(--color-primary);
}

.blog-table-wrap tbody tr:nth-child(even) {
  background: var(--color-light-bg);
}

.blog-table-wrap tbody tr:last-child th,
.blog-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

/* =========================
   BLOG — FAQ ACCORDION (+ / − icons)
   Same open/close mechanics as the article sections above (max-height
   transition driven by main.js), but the questions are a flat list
   separated by thin dividers (no cards) and the chevron is replaced by
   a plus that turns into a minus.
   Answers are only collapsed once main.js adds .blog-faq--ready, so the
   FAQ stays readable if JavaScript fails to load.
========================= */

.blog-article-body h2.blog-faq-title {
  cursor: default;
  margin: 56px 0 20px;
}

.blog-article-body h2.blog-faq-title::after {
  content: none;
}

.blog-article-body h2.blog-faq-title:hover {
  color: var(--color-primary);
}

.blog-faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.blog-article-body h2.blog-faq-title + .blog-faq-item {
  border-top: 1px solid #e5e5e5;
}

.blog-faq-item:last-child {
  border-bottom: 0;
}

.blog-faq-q {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.blog-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.blog-faq-question:hover,
.blog-faq-item.is-open .blog-faq-question {
  color: var(--color-accent);
}

.blog-faq-question:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* The icon: two bars. The vertical bar rotates onto the horizontal one
   while the whole circle spins half a turn, so + becomes −. */
.blog-faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--color-accent);
  border-radius: 50%;
  transition: transform 0.35s ease, background-color 0.3s ease;
}

.blog-faq-icon::before,
.blog-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, background-color 0.3s ease;
}

.blog-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.blog-faq-item.is-open .blog-faq-icon {
  transform: rotate(180deg);
  background: var(--color-accent);
}

.blog-faq-item.is-open .blog-faq-icon::before,
.blog-faq-item.is-open .blog-faq-icon::after {
  background: var(--color-white);
}

.blog-faq-item.is-open .blog-faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.blog-faq--ready .blog-faq-panel {
  overflow: hidden;
  max-height: 0;
  visibility: hidden;
  transition: max-height 0.4s ease, visibility 0s linear 0.4s;
}

.blog-faq--ready .blog-faq-item.is-open .blog-faq-panel {
  visibility: visible;
  transition: max-height 0.4s ease, visibility 0s linear 0s;
}

.blog-faq-panel-inner {
  padding: 0 0 18px;
}

.blog-article-body .blog-faq-panel-inner p {
  margin: 0 0 12px;
}

.blog-article-body .blog-faq-panel-inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .blog-faq-question {
    padding: 16px 0;
    font-size: 1rem;
  }

  .blog-faq-panel-inner {
    padding: 0 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-faq-question,
  .blog-faq-icon,
  .blog-faq-icon::before,
  .blog-faq-icon::after,
  .blog-faq--ready .blog-faq-panel {
    transition: none;
  }
}

/* =====================================================================
   MOTION SYSTEM
   Scroll reveals, split-text headings, counters, parallax, hero replays.
   Driven by the "MOTION SYSTEM" block at the bottom of main.js.

   Elements opt in with  data-anim="<variant>":
     rise · left · right · zoom · pop · line · card · tilt · row
     words                     heading — each word rises out of a mask
     wipe-left                 the element itself is unmasked left → right
     curtain-left|right|up     child <img> is unmasked, then settles from a zoom
     dash · chart · chat       the "How we do it" visuals (staggered inner parts)
   Optional:  data-delay="200" (ms)   ·   data-parallax="24" (px of travel)

   Reveals are keyframe-based with a "backwards" fill, so once an element has
   finished animating it returns to its normal CSS — your hover transitions
   and transforms are never overridden. Individual transform properties
   (translate / scale / rotate) are used so they compose with `transform`.
===================================================================== */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);   /* easeOutQuint: quick to start, lands softly */
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-back: cubic-bezier(0.34, 1.28, 0.64, 1); /* very slight overshoot */
  interpolate-size: allow-keywords;             /* lets <details> animate height */
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- hidden state + shared timing ---------------------------- */
.motion-ok [data-anim]:not(.is-in) { opacity: 0; }

[data-anim].is-in {
  animation-duration: 1.1s;
  animation-timing-function: var(--ease-out);
  animation-delay: var(--d, 0s);
  animation-fill-mode: backwards;
}

/* elements already scrolled past when first observed: show, no motion */
[data-anim].is-static,
[data-anim].is-static * { animation: none !important; }

/* ---------- simple variants ----------------------------------------- */
[data-anim="rise"].is-in  { animation-name: m-rise; }
[data-anim="left"].is-in  { animation-name: m-left; }
[data-anim="right"].is-in { animation-name: m-right; }
[data-anim="zoom"].is-in  { animation-name: m-zoom; }
[data-anim="row"].is-in   { animation-name: m-row; }

[data-anim="pop"].is-in {
  animation-name: m-pop;
  animation-duration: 0.95s;
  animation-timing-function: var(--ease-back);
}

[data-anim="line"] { transform-origin: 0 50%; }
[data-anim="line"].is-in {
  animation-name: m-line;
  animation-duration: 1.4s;
  animation-timing-function: var(--ease-io);
}

[data-anim="card"].is-in { animation-name: m-card; animation-duration: 1.2s; }

[data-anim="tilt"] { transform-origin: 50% 100%; }
[data-anim="tilt"].is-in { animation-name: m-tilt; animation-duration: 1.2s; }
.whyus__grid { perspective: 1100px; }

[data-anim="wipe-left"].is-in  { animation-name: m-wipe-l; animation-duration: 1.4s; }
[data-anim="wipe-right"].is-in { animation-name: m-wipe-r; animation-duration: 1.4s; }

@keyframes m-rise  { from { opacity: 0; translate: 0 36px; } }
@keyframes m-left  { from { opacity: 0; translate: -40px 0; } }
@keyframes m-right { from { opacity: 0; translate: 40px 0; } }
@keyframes m-zoom  { from { opacity: 0; scale: 0.94; translate: 0 20px; } }
@keyframes m-row   { from { opacity: 0; translate: 48px 0; } }
@keyframes m-pop   { from { opacity: 0; scale: 0.5; rotate: -14deg; } }
@keyframes m-line  { from { scale: 0 1; } }
@keyframes m-card  { from { opacity: 0; translate: 0 48px; scale: 0.97; } }
@keyframes m-tilt  { from { opacity: 0; translate: 0 40px; rotate: 1 0 0 12deg; } }
@keyframes m-wipe-l { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes m-wipe-r { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

/* small variants reused inside components */
@keyframes m-rise-sm { from { opacity: 0; translate: 0 20px; } }
@keyframes m-left-sm { from { opacity: 0; translate: -18px 0; } }
@keyframes m-fade    { from { opacity: 0; } }
@keyframes m-scale-in { from { opacity: 0; scale: 0.85; } }

/* ---------- image curtains ------------------------------------------ */
/* the wrapper stays put (keeps your radius / overflow); its <img> is unmasked
   and settles down from a 1.35× zoom */
[data-anim="curtain-left"].is-in  > img { animation: m-curtain-l 1.4s var(--ease-out) var(--d, 0s) backwards, m-settle 2s var(--ease-out) var(--d, 0s) backwards; }
[data-anim="curtain-right"].is-in > img { animation: m-curtain-r 1.4s var(--ease-out) var(--d, 0s) backwards, m-settle 2s var(--ease-out) var(--d, 0s) backwards; }
[data-anim="curtain-up"].is-in    > img { animation: m-curtain-u 1.4s var(--ease-out) var(--d, 0s) backwards, m-settle 2s var(--ease-out) var(--d, 0s) backwards; }

@keyframes m-curtain-l { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes m-curtain-r { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes m-curtain-u { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes m-settle    { from { scale: 1.35; } }

.about-visual { overflow: hidden; border-radius: 10px; }

/* parallax images: JS sets --ps (safe over-scale) and the live translate */
[data-parallax] { scale: var(--ps, 1); will-change: translate; }

/* ---------- split-text headings ------------------------------------- */
.split-w { display: inline-block; vertical-align: top; }
.split-i { display: inline-block; transform-origin: 0 100%; }

[data-anim="words"] .split-w {
  overflow: hidden;
  padding: 0.06em 0.04em 0.16em;      /* room for ascenders / descenders */
  margin: -0.06em -0.04em -0.16em;
}
[data-anim="words"].is-in .split-i {
  animation: m-word 1.05s var(--ease-out) calc(var(--d, 0s) + var(--w, 0) * 0.055s) backwards;
}
@keyframes m-word { from { translate: 0 118%; rotate: 5deg; } }

/* ---------- stagger indices (used by the component rules below) ------ */
:is(.footer-links li, .footer-contact p, .footer-social a, .acc-points li, .pchart__seg,
    .pchart__legend li, .pdash-status__list li, .slider__points li, .slider__cta .btn, .pchat > *):nth-child(1) { --k: 0; }
:is(.footer-links li, .footer-contact p, .footer-social a, .acc-points li, .pchart__seg,
    .pchart__legend li, .pdash-status__list li, .slider__points li, .slider__cta .btn, .pchat > *):nth-child(2) { --k: 1; }
:is(.footer-links li, .footer-contact p, .footer-social a, .acc-points li, .pchart__seg,
    .pchart__legend li, .pdash-status__list li, .slider__points li, .slider__cta .btn, .pchat > *):nth-child(3) { --k: 2; }
:is(.footer-links li, .footer-contact p, .footer-social a, .acc-points li, .pchart__seg,
    .pchart__legend li, .pdash-status__list li, .slider__points li, .slider__cta .btn, .pchat > *):nth-child(4) { --k: 3; }
:is(.footer-links li, .footer-contact p, .footer-social a, .acc-points li, .pchart__seg,
    .pchart__legend li, .pdash-status__list li, .slider__points li, .slider__cta .btn, .pchat > *):nth-child(5) { --k: 4; }
:is(.footer-links li, .footer-contact p, .footer-social a, .acc-points li, .pchart__seg,
    .pchart__legend li, .pdash-status__list li, .slider__points li, .slider__cta .btn, .pchat > *):nth-child(6) { --k: 5; }
:is(.footer-links li, .footer-contact p, .footer-social a, .acc-points li, .pchart__seg,
    .pchart__legend li, .pdash-status__list li, .slider__points li, .slider__cta .btn, .pchat > *):nth-child(7) { --k: 6; }

.pdash__row--alerts .pdash-card:nth-child(1) { --k: 0; }
.pdash__row--alerts .pdash-card:nth-child(2) { --k: 1; }
.pdash__row--stats  .pdash-card:nth-child(1) { --k: 2; }
.pdash__row--stats  .pdash-card:nth-child(2) { --k: 3; }
.pdash__row--stats  .pdash-card:nth-child(3) { --k: 4; }
.pdash__row--lower  .pdash-card:nth-child(1) { --k: 5; }
.pdash__row--lower  .pdash-card:nth-child(2) { --k: 6; }
.pdash__row--lower  .pdash-card:nth-child(3) { --k: 7; }

/* =====================================================================
   HERO — entrance replays every time a slide becomes .active
   (previously the text animated once on page load, so slides 2–5 had none)
===================================================================== */
.slider__slide .hero-eyebrow { display: inline-block; }
.slider__slide .hero-eyebrow,
.slider__slide .slider__title,
.slider__slide .slider__subtitle,
.slider__slide .slider__points li,
.slider__slide .slider__cta .btn { opacity: 1; animation: none; }

.slider__slide.active .hero-eyebrow {
  animation: m-hero-left 0.9s var(--ease-out) 0.35s backwards;
}
.slider__slide.active .slider__title .split-i {
  animation: m-hero-word 1.15s var(--ease-out) calc(0.5s + var(--w, 0) * 0.065s) backwards;
}
.slider__slide.active .slider__subtitle {
  animation: m-hero-up 1s var(--ease-out) 1.05s backwards;
}
.slider__slide.active .slider__points li {
  animation: m-hero-left 0.9s var(--ease-out) calc(1.3s + var(--k, 0) * 0.12s) backwards;
}
.slider__slide.active .slider__cta .btn {
  animation: m-hero-pop 0.9s var(--ease-back) calc(1.7s + var(--k, 0) * 0.12s) backwards;
}

@keyframes m-hero-left { from { opacity: 0; translate: -32px 0; } }
@keyframes m-hero-up   { from { opacity: 0; translate: 0 26px; } }
@keyframes m-hero-word { from { opacity: 0; translate: 0 0.6em; filter: blur(6px); } }
@media (max-width: 768px) {
  @keyframes m-hero-word { from { opacity: 0; translate: 0 0.6em; } }
}
@keyframes m-hero-pop  { from { opacity: 0; scale: 0.7; translate: 0 18px; } }

/* scroll-out: content drifts down + fades, photo slowly zooms.
   main.js writes these values straight onto the elements (eased toward the
   scroll position) instead of through a custom property on .hero-slider, so
   scrolling never forces the whole hero subtree to re-style. */
.hero-slider .slider__content-row,
.hero-slider .hero-stats { will-change: translate, opacity; }

/* =====================================================================
   HOME — "How we do it" visuals
===================================================================== */
.about-eyebrow.is-in .about-eyebrow__dot { animation: m-pulse 2.4s ease-out 1.2s infinite; }
@keyframes m-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(142, 36, 170, 0.45); }
  100% { box-shadow: 0 0 0 10px rgba(142, 36, 170, 0); }
}

/* dashboard: cards cascade in, icons pop, alert cards arrive from opposite sides */
.pdash.is-in .pdash-card {
  animation: m-dash 0.95s var(--ease-out) calc(var(--d, 0s) + 0.1s + var(--k, 0) * 0.09s) backwards;
}
.pdash.is-in .pdash__row--alerts .pdash-card:nth-child(1) { animation-name: m-dash-l; }
.pdash.is-in .pdash__row--alerts .pdash-card:nth-child(2) { animation-name: m-dash-r; }
.pdash.is-in .pdash-icon {
  animation: m-pop 0.8s var(--ease-back) calc(var(--d, 0s) + 0.5s + var(--k, 0) * 0.09s) backwards;
}
.pdash.is-in .pdash-status__list li {
  animation: m-left-sm 0.7s var(--ease-out) calc(var(--d, 0s) + 0.6s + var(--k, 0) * 0.07s) backwards;
}
.pdash.is-in .pdash-pill--dark {
  animation: m-scale-in 0.7s var(--ease-back) calc(var(--d, 0s) + 0.9s) backwards;
}
@keyframes m-dash   { from { opacity: 0; translate: 0 34px; scale: 0.96; } }
@keyframes m-dash-l { from { opacity: 0; translate: -46px 0; } }
@keyframes m-dash-r { from { opacity: 0; translate: 46px 0; } }

/* donut: segments draw themselves one after another */
.pchart.is-in .pchart__card { animation: m-rise-sm 0.9s var(--ease-out) var(--d, 0s) backwards; }
.pchart.is-in .pchart__donut { animation: m-spin 1.6s var(--ease-out) var(--d, 0s) backwards; }
.pchart.is-in .pchart__seg {
  animation: m-seg 1.1s var(--ease-io) calc(var(--d, 0s) + 0.3s + var(--k, 0) * 0.22s) backwards;
}
.pchart.is-in .pchart__legend li {
  animation: m-left-sm 0.7s var(--ease-out) calc(var(--d, 0s) + 0.5s + var(--k, 0) * 0.1s) backwards;
}
@keyframes m-seg  { from { stroke-dasharray: 0 264; } }   /* end = the inline dasharray */
@keyframes m-spin { from { rotate: -90deg; scale: 0.85; } }

/* chat: bubbles arrive one by one, each from its own corner */
.pchat.is-in .pchat__bubble {
  transform-origin: 0 100%;
  animation: m-bubble 0.85s var(--ease-back) calc(var(--d, 0s) + 0.25s + var(--k, 0) * 0.6s) backwards;
}
.pchat.is-in .pchat__bubble--reply { transform-origin: 100% 100%; }
.pchat.is-in .pchat__time {
  animation: m-fade 0.6s ease calc(var(--d, 0s) + 0.25s + var(--k, 0) * 0.6s) backwards;
}
@keyframes m-bubble { from { opacity: 0; scale: 0.6; translate: 0 18px; } }

/* =====================================================================
   ABOUT — accordion + partners
===================================================================== */
/* smooth open/close (progressive enhancement: Chromium / Safari 26+) */
.acc-item::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.7s var(--ease-out), content-visibility 0.7s allow-discrete;
}
.acc-item[open]::details-content { block-size: auto; }
.acc-item[open] .acc-points li {
  animation: m-rise-sm 0.7s var(--ease-out) calc(0.12s + var(--k, 0) * 0.08s) backwards;
}

/* =====================================================================
   FOOTER
===================================================================== */
.footer-bg-image[data-parallax] { inset: -70px 0; scale: none; }   /* extra bleed for the drift */

.footer-about.is-in .footer-logo-img { animation: m-scale-in 1s var(--ease-out) calc(var(--d, 0s) + 0.2s) backwards; }
.footer-links.is-in li,
.footer-contact.is-in p {
  animation: m-left-sm 0.7s var(--ease-out) calc(var(--d, 0s) + 0.3s + var(--k, 0) * 0.07s) backwards;
}
.footer-bottom-row.is-in .social-link {
  animation: m-pop 0.8s var(--ease-back) calc(var(--d, 0s) + 0.3s + var(--k, 0) * 0.09s) backwards;
}

/* counting numbers: fixed-width digits so the layout doesn't shimmer mid-count */
[data-count-to],
.hero-stats__number { font-variant-numeric: tabular-nums; }

/* ===========================
   TESTIMONIALS SECTION
=========================== */
.hzn-testimonials {
  position: relative;
  padding: 90px 20px 100px;
  background: var(--color-light-bg);
  color: var(--color-text);
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(142, 36, 170, 0.07), transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(255, 26, 26, 0.06), transparent 45%);
  z-index: 0;
}

.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.testimonials-heading {
  flex: 1 1 auto;
}

.testimonials-eyebrow {
  display: block;
  text-align: left;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.testimonials-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  margin-bottom: 0;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.testimonials-cta {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.75rem 1.6rem;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

@media (max-width: 640px) {
  .testimonials-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
  }

  /* Unwraps .testimonials-heading so its children (eyebrow, title) become
     direct flex items of .testimonials-header, letting us reorder them
     next to the CTA button instead of keeping title+eyebrow grouped. */
  .testimonials-heading {
    display: contents;
  }

  .testimonials-eyebrow {
    order: 1;
    margin-bottom: 0;
  }

  .testimonials-cta {
    order: 2;
  }

  .testimonials-title {
    order: 3;
    flex: 1 0 100%;
  }
}

.testimonials-carousel {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  perspective: 1800px;
}

.testimonials-track {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 380px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(480px, 84vw);
  background: var(--color-white);
  border-radius: 22px;
  padding: 44px 40px 36px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
  transition: transform 0.65s cubic-bezier(0.22, 0.68, 0.36, 1),
              opacity 0.55s ease,
              filter 0.55s ease;
  opacity: 0;
  pointer-events: none;
  filter: blur(2px);
  transform: translateX(-50%) translateY(0) scale(0.6);
}

.testimonial-card[data-position="active"] {
  transform: translateX(-50%) translateY(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  filter: blur(0);
}

.testimonial-card[data-position="prev"] {
  transform: translateX(-135%) translateY(6px) scale(0.82) rotateY(22deg);
  opacity: 0.5;
  z-index: 2;
  filter: blur(0.5px);
}

.testimonial-card[data-position="next"] {
  transform: translateX(35%) translateY(6px) scale(0.82) rotateY(-22deg);
  opacity: 0.5;
  z-index: 2;
  filter: blur(0.5px);
}

.testimonial-card[data-position="hidden"] {
  transform: translateX(-50%) translateY(0) scale(0.6);
  opacity: 0;
  z-index: 1;
}

.testimonial-quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 22px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  animation: quoteFloat 3.4s ease-in-out infinite;
}

.testimonial-quote-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@keyframes quoteFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-8deg); }
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 26px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.02rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #666;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 68px;
  position: relative;
  z-index: 5; /* above any card (cards top out at z-index: 3), so dots/arrows never get tucked behind an overflowing card */
}

.testimonial-btn {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-text);
  background: transparent;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.testimonials-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.testimonials-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(34, 34, 34, 0.32);
  cursor: pointer;
  transition: var(--transition);
}

.testimonials-dots .dot:hover {
  background: rgba(34, 34, 34, 0.55);
}

.testimonials-dots .dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .testimonial-card[data-position="prev"] {
    transform: translateX(-115%) translateY(6px) scale(0.78) rotateY(18deg);
  }
  .testimonial-card[data-position="next"] {
    transform: translateX(15%) translateY(6px) scale(0.78) rotateY(-18deg);
  }
}

@media (max-width: 640px) {
  .hzn-testimonials {
    padding: 60px 16px 70px;
  }

  .testimonials-header {
    margin-bottom: 40px;
  }

  .testimonials-track {
    min-height: 440px;
  }

  .testimonials-controls {
    margin-top: 44px;
  }

  .testimonial-card {
    padding: 34px 26px 28px;
    width: 88vw;
  }

  .testimonial-card[data-position="prev"],
  .testimonial-card[data-position="next"] {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.85);
  }
}

/* =====================================================================
   REDUCED MOTION — the JS does not start; make the CSS-only bits static
===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .slider__slide.active *,
  .hero-stats__card,
  .about-eyebrow__dot { animation: none !important; }
  .hero-stats__card { opacity: 1; }
  .acc-item::details-content { transition: none; }
  .testimonial-quote-icon { animation: none !important; }
  .testimonial-card { transition: opacity 0.3s ease !important; }
  .hzn-word { animation: none !important; }
  .hzn-word { opacity: 1; transform: none; }
  .hzn-logo-fill__progress { transition: none; }
  .digit-roll__strip { transition: none !important; }
}
/* =========================
   EVENTS — LISTING PAGE
========================= */
.events-section {
  padding: 2px 0 100px;
  background-color: var(--color-light-bg);
}

.events-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.events-header {
  text-align: center;
  margin-bottom: 10px;
}

.events-header h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.events-header p {
  color: var(--color-mega-link);
  font-size: 1.1rem;
}

.events-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.events-tab {
  border: 1px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.events-tab:hover {
  background: rgba(142, 36, 170, 0.08);
}

.events-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.events-tab-count {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1px 8px;
}

.events-tab:not(.active) .events-tab-count {
  background: rgba(142, 36, 170, 0.1);
}

.events-panel {
  display: none;
}

.events-panel.is-active {
  display: block;
  animation: eventsFadeIn 0.35s ease;
}

@keyframes eventsFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.events-empty {
  text-align: center;
  color: var(--color-mega-link);
  padding: 40px 0;
  font-size: 1rem;
}

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

.event-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.event-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.event-card:hover .event-card-image {
  transform: scale(1.06);
}

.event-card-image--placeholder {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* Faint top-down darken so the badge/footer stay legible over any photo */
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, transparent 35%, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.event-card-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  isolation: isolate;
  padding: 46px 22px 20px;          /* extra top padding = the soft fade zone */
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Glass layer: dark linear gradient + blur that fades in from the photo (no hard separator line) */
.event-card-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0) 0%,
    rgba(17, 17, 17, 0.38) 32%,
    rgba(17, 17, 17, 0.62) 65%,
    rgba(17, 17, 17, 0.78) 100%
  );
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 42%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.event-card:hover .event-card-footer::before {
  filter: brightness(0.85);
}

.event-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.event-badge--upcoming {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
}

.event-badge--past {
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
}

.event-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.event-title {
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--color-white);
  font-weight: 700;
}

.event-location {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Location on the left, "Read more →" on the right */
.event-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-card-meta .event-location {
  flex: 1;
  min-width: 0;
}

.event-readmore {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
}

.event-readmore i {
  font-size: 1.25rem;
  transition: transform 0.3s var(--ease-out);
}

.event-card:hover .event-readmore i,
.event-card:focus-visible .event-readmore i {
  transform: translateX(4px);
}

/* Title never overflows the glass footer */
.event-title { overflow-wrap: anywhere; }

/* Touch devices: don't leave cards "lifted" after a tap */
@media (hover: none) {
  .event-card:hover { transform: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
  .event-card:hover .event-card-image { transform: none; }
  .event-card:hover .event-card-footer::before { filter: none; }
}

/* Tablets: two columns, taller cards so the photo has room above the footer */
@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .event-card { aspect-ratio: 5 / 7; }
}

@media (max-width: 768px) {
  .events-container { padding: 0 16px; }
  .events-section { padding-bottom: 70px; }
  .events-header h1 { font-size: 2rem; }
  .events-tabs { gap: 8px; margin-bottom: 30px; }
  .events-tab { padding: 8px 18px; font-size: 0.88rem; }
  .events-grid { gap: 20px; }
  .event-card { border-radius: 24px; }
  .event-card-footer { padding: 40px 18px 18px; }
}

/* Phones: single column, roughly a third taller than before (was 4:3) */
@media (max-width: 600px) {
  .events-grid { grid-template-columns: 1fr; gap: 22px; }
  .event-card {
    aspect-ratio: 1 / 1;
    min-height: 340px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .event-title { font-size: 1.1rem; }
}

@media (max-width: 380px) {
  .events-header h1 { font-size: 1.75rem; }
  .events-header p { font-size: 1rem; }
  .events-tab { padding: 7px 14px; font-size: 0.84rem; }
  .event-card { min-height: 320px; border-radius: 20px; }
  .event-card-footer { padding: 36px 16px 16px; }
}

/* =========================
   EVENTS — SINGLE EVENT PAGE
========================= */
.events-breadcrumb {
  font-size: 0.9rem;
  color: var(--color-mega-link);
  margin-bottom: 24px;
}

.events-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.events-breadcrumb a:hover {
  text-decoration: underline;
}

.events-breadcrumb .breadcrumb-sep {
  margin: 0 8px;
}

.event-gallery h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.event-gallery-grid {
  display: grid;
  container-type: inline-size;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 24cqw; /* ≈ one column's width, so a 1x1 tile is a true square */
  grid-auto-flow: dense;
  gap: 12px;
}

.event-gallery-item {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  grid-column: span 1;
  grid-row: span 1;
}

/* Tile size is assigned per photo (see the gallery-mosaic script) based on
   its actual width/height, so bigger or squarer photos get bigger tiles,
   wide photos get wide tiles, and tall photos get tall tiles. */
.event-gallery-item.gallery-tile--wide {
  grid-column: span 2;
  grid-row: span 1;
}

.event-gallery-item.gallery-tile--tall {
  grid-column: span 1;
  grid-row: span 2;
}

.event-gallery-item.gallery-tile--big {
  grid-column: span 2;
  grid-row: span 2;
}

.event-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.event-gallery-item:hover img {
  transform: scale(1.08);
}

.event-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 0.8rem;
  color: var(--color-white);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  opacity: 0;
  transition: var(--transition);
}

.event-gallery-item:hover .event-gallery-caption {
  opacity: 1;
}

@media (max-width: 900px) {
  .event-gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 32cqw; }
}

@media (max-width: 600px) {
  .event-detail-header h1 { font-size: 1.7rem; }
  .event-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 48cqw; }
  .event-gallery-item.gallery-tile--wide,
  .event-gallery-item.gallery-tile--big { grid-column: span 2; }
}

/* =========================
   GALLERY — STANDALONE PAGE
========================= */
.gallery-section {
  padding: 0 0 100px;
  background-color: var(--color-light-bg);
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 35px;
}

.gallery-header h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  margin-top: 0;
  font-weight: 700;
}

.gallery-header p {
  color: var(--color-mega-link);
  font-size: 1.1rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter {
  border: 1px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition);
}

.gallery-filter:hover {
  background: rgba(142, 36, 170, 0.08);
}

.gallery-filter.active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Column counts match the base .event-gallery-grid at each breakpoint;
   row height comes from there too (cqw-based, so tiles stay square). */
.gallery-grid-large {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .gallery-grid-large { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 32cqw; }
}

@media (max-width: 600px) {
  .gallery-grid-large { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 48cqw; }
}

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.gallery-page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition);
}

.gallery-page-link:hover {
  background: rgba(142, 36, 170, 0.08);
}

.gallery-page-link.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.gallery-page-link.disabled {
  opacity: 0.4;
  border-color: var(--color-mega-link);
  color: var(--color-mega-link);
  pointer-events: none;
}

@media (max-width: 768px) {
  .gallery-header h1 { font-size: 2rem; }
}
/* =========================
   EVENTS — DETAIL PAGE (split layout: left scrolls, right gallery is fixed)
========================= */
.event-detail-section {
  padding: 50px 0 100px;
  background-color: var(--color-light-bg);
}

.event-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: start;
}

.event-detail-layout--no-gallery {
  grid-template-columns: minmax(0, 1fr);
}

.event-detail-main {
  min-width: 0;
}

/* Breadcrumb current-page label (base rules for .events-breadcrumb already exist above) */
.events-breadcrumb .breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
}

.event-detail-cover {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 28px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.event-detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.event-detail-cover--placeholder {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.event-detail-header {
  margin-bottom: 26px;
}

.event-detail-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.event-detail-badge--upcoming {
  background: rgba(142, 36, 170, 0.1);
  color: var(--color-primary);
}

.event-detail-badge--past {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-mega-link);
}

.event-detail-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--color-dark-bg);
  line-height: 1.3;
  margin-bottom: 16px;
}

.event-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--color-mega-link);
  font-size: 0.95rem;
}

.event-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-detail-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 20px;
}

/* Related events — same visual language as the homepage "Our Solutions" rows */
.event-related-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.related-events-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 10px;
}

.related-events-list .solution-row {
  gap: 32px;
  padding: 32px 0;
}

.related-events-list .solution-row__media {
  flex: 1 1 320px;
  max-width: 360px;
  aspect-ratio: 2.5 / 1;
}

.related-events-list .solution-row__desc {
  margin-bottom: 20px;
}

.solution-row__index--label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: var(--color-primary);
}

/* Right column: sticky to the viewport, its own content never scrolls */
.event-detail-side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 24px 0;
}

.event-detail-gallery-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.event-detail-side-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  width: 100%;
  height: 100%;
}

.event-detail-side-photo {
  position: relative;
  overflow: hidden;
}

.event-detail-side-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-detail-gallery-link:hover .event-detail-side-photo img {
  transform: scale(1.06);
}

.event-detail-gallery-overlay {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  transition: var(--transition);
}

.event-detail-gallery-link:hover .event-detail-gallery-overlay {
  background: var(--color-primary);
}

@media (max-width: 1100px) {
  .event-detail-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .event-detail-layout,
  .event-detail-layout--no-gallery {
    grid-template-columns: 1fr;
  }

  .event-detail-side {
    position: static;
    height: 340px;
    padding: 0;
    margin-top: 36px;
    order: 2;
  }

  .event-related-section {
    order: 3;
  }
}

@media (max-width: 600px) {
  .event-detail-header h1 { font-size: 1.6rem; }
  .event-detail-side { height: 280px; }
  .related-events-list .solution-row__media { max-width: 100%; }
}

/* =====================================================================
   ABOUT PAGE — TABLET & MOBILE RESPONSIVENESS
   Placed last on purpose: two rules earlier in this file target
   .hzn-clients / .client-slide img at both 600px and 992px, and because
   the 992px block appears *after* the 600px block in source order, it
   was silently winning on phones too (same specificity, later wins).
   Re-declaring the intended phone values here, after everything else,
   guarantees phones actually get the phone-tuned sizing.
===================================================================== */

/* --- Tablet range (about-hero__card is now fluid, not fixed at 650px,
   so this just tightens spacing for iPad-ish widths) --- */
@media (max-width: 992px) and (min-width: 601px) {
  .about-hero__grid {
    gap: 32px;
  }

  .about-hero__text-col {
    padding: 0 4px;
  }

  .whyus__title,
  .clients-title,
  .telematics-title,
  .testimonials-title {
    font-size: 1.9rem;
  }
}

/* --- Phone range: reassert the mobile client-logo/eyebrow values so
   they can no longer be overridden by the later-but-less-specific
   992px block earlier in the file --- */
@media (max-width: 600px) {
  .about-hero {
    padding: 110px 0 30px;
  }

  .about-hero__eyebrow {
    margin-top: 0;
    margin-bottom: 18px;
  }

  .hzn-clients {
    padding: 45px 20px;
  }

  .client-slide img {
    width: 160px;
  }

  .acc-name {
    font-size: 1.15rem;
  }

  .acc-icon,
  .acc-arrow {
    width: 40px;
    height: 40px;
  }
}

/* --- Small phones (older/entry-level devices, iPhone SE etc.) --- */
@media (max-width: 380px) {
  .about-hero__card {
    padding: 28px 20px;
  }

  .about-hero__title {
    font-size: 1.55rem;
  }

  .about-hero__btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .whyus__title,
  .clients-title,
  .telematics-title,
  .testimonials-title {
    font-size: 1.5rem;
  }

  .client-slide img {
    width: 130px;
  }

  .testimonial-card {
    padding: 28px 20px 22px;
    width: 92vw;
  }

  .testimonial-text {
    font-size: 1.02rem;
  }
}

/* =====================================================================
   HOMEPAGE — extra space above section titles
   Scoped to the homepage section IDs so other pages that reuse these
   classes (.about-intro, .solutions-section-v2, etc.) are not affected.
   Only padding-top is changed; bottom spacing is untouched.
   Placed last so it overrides the earlier responsive rules, which is why
   each breakpoint is restated below.
===================================================================== */
#about-horizon .about-intro { padding-top: 150px; }   /* was 110px */
#our-solutions              { padding-top: 100px; }   /* was 60px  */
#how-we-do-it               { padding-top: 140px; }   /* was 100px */
#why-horizon                { padding-top: 150px; }   /* was 110px */

@media (max-width: 1100px) {
  #how-we-do-it             { padding-top: 110px; }   /* was 80px  */
}

@media (max-width: 900px) {
  #about-horizon .about-intro { padding-top: 100px; } /* was 70px  */
  #our-solutions              { padding-top: 50px; }  /* was 20px  */
  #why-horizon                { padding-top: 130px; } /* was 110px */
}

@media (max-width: 600px) {
  #how-we-do-it             { padding-top: 90px; }    /* was 64px  */
}