/*
Theme Name: Autotronix Telematics
Description: Enterprise fleet telematics — East Africa
Version: 4.0
Author: Design Corner
License: GPL v2 or later
*/

@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:wght@300;400;500;600&display=swap');

/* ================================================================
   RESET & ROOT
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --red:       #cc0000;
  --red-dark:  #990000;
  --red-light: #fff0f0;
  --ink:       #1a2236;
  --grey-800:  #222529;
  --grey-700:  #4a4e56;
  --grey-500:  #8a8e96;
  --grey-200:  #eceef0;
  --grey-100:  #f5f6f7;
  --white:     #ffffff;
  --radius:    14px;
  --radius-lg: 22px;
  --font: 'Mona Sans', 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ================================================================
   HEADER
   ================================================================ */
.at-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.at-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.at-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.at-logo img { height: 38px; width: auto; }
.at-logo-text {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.at-logo-text span { color: var(--red); }

/* nav pushed to the right */
.at-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.at-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-700);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.at-nav-link:hover { color: var(--ink); background: var(--grey-100); }

/* Solutions dropdown */
.at-dropdown { position: relative; }
.at-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.at-dropdown-toggle svg { width: 14px; height: 14px; transition: transform 0.2s; }
.at-dropdown:hover .at-dropdown-toggle svg { transform: rotate(180deg); }
.at-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 10px; /* visual gap via padding, not margin — keeps hover area connected */
  background: transparent;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  transform: translateY(-4px);
}
/* actual visual menu is on the inner div */
.at-dropdown-menu-inner {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  padding: 0.75rem;
  min-width: 260px;
}
.at-dropdown:hover .at-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.at-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--grey-700);
  transition: all 0.18s;
}
.at-dropdown-item:hover { background: var(--grey-100); color: var(--ink); }
.at-dropdown-item svg { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; }

/* CTA button */
.at-nav-cta {
  margin-left: 0.75rem;
  background: var(--red);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.at-nav-cta:hover { background: var(--red-d); transform: translateY(-1px); }

/* Hamburger */
.at-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.at-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* Mobile menu */
.at-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  padding: 1rem 2rem 1.5rem;
  gap: 0.25rem;
}
.at-mobile-nav.open { display: flex; }
.at-mobile-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey-700);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--grey-200);
}
.at-mobile-nav a:last-child { border-bottom: none; }

/* ================================================================
   HERO SLIDER — 10 SLIDES
   text LEFT  |  image RIGHT
   red-hue interactive canvas bg
   ================================================================ */
.at-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #f9f0f2;
}

/* Canvas warping bg */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.at-hero-radio { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

.at-hero-track {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.at-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 6vw;
  gap: 4vw;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s 0.6s;
  pointer-events: none;
}

/* Active slide for each radio */
#at-r0:checked ~ .at-hero-track .at-hero-slide[data-i="0"],
#at-r1:checked ~ .at-hero-track .at-hero-slide[data-i="1"],
#at-r2:checked ~ .at-hero-track .at-hero-slide[data-i="2"],
#at-r3:checked ~ .at-hero-track .at-hero-slide[data-i="3"],
#at-r4:checked ~ .at-hero-track .at-hero-slide[data-i="4"],
#at-r5:checked ~ .at-hero-track .at-hero-slide[data-i="5"],
#at-r6:checked ~ .at-hero-track .at-hero-slide[data-i="6"],
#at-r7:checked ~ .at-hero-track .at-hero-slide[data-i="7"],
#at-r8:checked ~ .at-hero-track .at-hero-slide[data-i="8"],
#at-r9:checked ~ .at-hero-track .at-hero-slide[data-i="9"] {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: auto;
}

.at-slide-text { display: flex; flex-direction: column; gap: 1.4rem; }

.at-slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.at-slide-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red);
}

.at-slide-h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.07;
  color: var(--ink);
  max-width: 12ch;
}

.at-slide-p {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: var(--grey-700);
  line-height: 1.75;
  max-width: 44ch;
}

.at-slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.at-slide-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--red-d);
  background: var(--red-light);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.at-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  background: var(--ink);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}
.at-slide-cta:hover { background: var(--red); transform: translateY(-2px); }
.at-slide-cta svg { width: 16px; height: 16px; }

.at-slide-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.at-slide-img img,
.at-slide-img .at-slide-img-box {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 64px -16px rgba(196,30,58,0.18);
}
.at-slide-img-box {
  background: var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-500);
  font-size: 0.85rem;
}

/* Dots */
.at-hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 6vw;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.at-hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(196,30,58,0.2);
  border-radius: 2px;
  cursor: pointer;
  display: block;
  transition: background 0.3s;
}
#at-r0:checked ~ .at-hero-dots label[for="at-r0"],
#at-r1:checked ~ .at-hero-dots label[for="at-r1"],
#at-r2:checked ~ .at-hero-dots label[for="at-r2"],
#at-r3:checked ~ .at-hero-dots label[for="at-r3"],
#at-r4:checked ~ .at-hero-dots label[for="at-r4"],
#at-r5:checked ~ .at-hero-dots label[for="at-r5"],
#at-r6:checked ~ .at-hero-dots label[for="at-r6"],
#at-r7:checked ~ .at-hero-dots label[for="at-r7"],
#at-r8:checked ~ .at-hero-dots label[for="at-r8"],
#at-r9:checked ~ .at-hero-dots label[for="at-r9"] {
  background: var(--red);
  width: 44px;
}

/* Arrows */
.at-hero-arrows {
  position: absolute;
  bottom: 2rem;
  right: 6vw;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.at-hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(196,30,58,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
.at-hero-arrow:hover { background: var(--red); border-color: var(--red); color: white; }
.at-hero-arrow svg { width: 16px; height: 16px; pointer-events: none; }

/* Arrow visibility per slide */
.at-arr-p,.at-arr-n { display: none; }
#at-r0:checked ~ .at-hero-arrows .at-arr-p[data-s="0"],
#at-r0:checked ~ .at-hero-arrows .at-arr-n[data-s="0"],
#at-r1:checked ~ .at-hero-arrows .at-arr-p[data-s="1"],
#at-r1:checked ~ .at-hero-arrows .at-arr-n[data-s="1"],
#at-r2:checked ~ .at-hero-arrows .at-arr-p[data-s="2"],
#at-r2:checked ~ .at-hero-arrows .at-arr-n[data-s="2"],
#at-r3:checked ~ .at-hero-arrows .at-arr-p[data-s="3"],
#at-r3:checked ~ .at-hero-arrows .at-arr-n[data-s="3"],
#at-r4:checked ~ .at-hero-arrows .at-arr-p[data-s="4"],
#at-r4:checked ~ .at-hero-arrows .at-arr-n[data-s="4"],
#at-r5:checked ~ .at-hero-arrows .at-arr-p[data-s="5"],
#at-r5:checked ~ .at-hero-arrows .at-arr-n[data-s="5"],
#at-r6:checked ~ .at-hero-arrows .at-arr-p[data-s="6"],
#at-r6:checked ~ .at-hero-arrows .at-arr-n[data-s="6"],
#at-r7:checked ~ .at-hero-arrows .at-arr-p[data-s="7"],
#at-r7:checked ~ .at-hero-arrows .at-arr-n[data-s="7"],
#at-r8:checked ~ .at-hero-arrows .at-arr-p[data-s="8"],
#at-r8:checked ~ .at-hero-arrows .at-arr-n[data-s="8"],
#at-r9:checked ~ .at-hero-arrows .at-arr-p[data-s="9"],
#at-r9:checked ~ .at-hero-arrows .at-arr-n[data-s="9"] { display: flex; }

/* ================================================================
   SHARED PAGE STYLES
   ================================================================ */
.at-page { }
.at-section { padding: 6rem 0; }
.at-section--grey { background: var(--grey-100); }
.at-section--red { background: var(--red); color: var(--white); }
.at-section--dark { background: var(--ink); color: var(--white); }
.at-wrap { max-width: 1260px; margin: 0 auto; padding: 0 2rem; }

.at-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.at-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--red); }

.at-h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1rem;
}
.at-section--red .at-h2,
.at-section--dark .at-h2 { color: var(--white); }

.at-body {
  font-size: 1.025rem;
  color: var(--grey-700);
  line-height: 1.75;
  max-width: 58ch;
}

/* ================================================================
   CLIENTS SECTION
   30% text | 70% logo boxes
   ================================================================ */
.at-clients { padding: 5rem 0; background: var(--white); }
.at-clients-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 4rem;
  align-items: center;
}
.at-clients-heading {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}
.at-clients-sub { font-size: 0.95rem; color: var(--grey-500); line-height: 1.7; }
.at-clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.at-client-box {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.at-client-box:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--grey-300,#d0d3d8); }
.at-client-box img { max-height: 40px; width: auto; opacity: 0.75; transition: opacity 0.2s; }
.at-client-box:hover img { opacity: 1; }
.at-client-placeholder {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey-500);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ================================================================
   SERVICES ICON GRID — 10 services, 4 across
   ================================================================ */
.at-services-grid-section { padding: 6rem 0; background: var(--grey-100); }
.at-services-grid-header { text-align: center; margin-bottom: 3.5rem; }
.at-services-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.at-svc-icon-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
}
.at-svc-icon-card:hover {
  box-shadow: 0 12px 32px rgba(196,30,58,0.1);
  border-color: var(--red);
  transform: translateY(-4px);
}
.at-svc-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.at-svc-icon svg { width: 24px; height: 24px; }
.at-svc-icon-card h3 { font-size: 0.975rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.at-svc-icon-card p { font-size: 0.85rem; color: var(--grey-700); line-height: 1.65; }

/* ================================================================
   FULL WIDTH IMAGE
   ================================================================ */
.at-fullimg { width: 100%; height: 480px; object-fit: cover; display: block; }

/* ================================================================
   INDUSTRIES
   ================================================================ */
.at-industries { padding: 6rem 0; }
.at-industries-header { text-align: center; margin-bottom: 3.5rem; }
.at-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.at-industry-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  display: block;
  transition: transform 0.3s;
}
.at-industry-card:hover { transform: scale(1.02); }
.at-industry-card img { width: 100%; height: 100%; object-fit: cover; }
.at-industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.at-industry-overlay h3 { font-size: 1.1rem; font-weight: 600; color: white; margin-bottom: 0.4rem; }
.at-industry-overlay p { font-size: 0.82rem; color: rgba(255,255,255,0.75); line-height: 1.55; }

/* ================================================================
   SERVICE SHOWCASE — 5 sections (image reference layout)
   Left: heading + 3 icon feature boxes (50%)
   Right: image (50%)
   ================================================================ */
.at-svc-section { padding: 6rem 0; }
.at-svc-section:nth-child(even) { background: var(--grey-100); }

.at-svc-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.at-svc-inner--flip { direction: rtl; }
.at-svc-inner--flip > * { direction: ltr; }

.at-svc-content { display: flex; flex-direction: column; gap: 1.5rem; }
.at-svc-intro-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.at-svc-intro-tag::before { content: ''; width: 18px; height: 2px; background: var(--red); }
.at-svc-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}
.at-svc-lead { font-size: 1rem; color: var(--grey-700); line-height: 1.75; max-width: 46ch; }

/* 3 feature boxes inside service section */
.at-feat-boxes { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.at-feat-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s;
}
.at-svc-section:nth-child(even) .at-feat-box { background: var(--white); }
.at-feat-box:hover { box-shadow: 0 6px 20px rgba(196,30,58,0.09); border-color: var(--red-light); }
.at-feat-box-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.at-feat-box-icon svg { width: 20px; height: 20px; }
.at-feat-box-text h4 { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.at-feat-box-text p { font-size: 0.83rem; color: var(--grey-700); line-height: 1.6; }

.at-svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 0.5rem;
  transition: gap 0.2s;
}
.at-svc-link:hover { gap: 0.8rem; }
.at-svc-link svg { width: 16px; height: 16px; }

.at-svc-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(196,30,58,0.15);
  aspect-ratio: 4/3;
}
.at-svc-img img { width: 100%; height: 100%; object-fit: cover; }

/* View All button */
.at-view-all-wrap { text-align: center; padding: 4rem 0 2rem; background: var(--white); }

/* ================================================================
   SERVICE SHOWCASE — reference image layout
   Large outer section (grey bg) contains:
     – header row: eyebrow+h2 left | description right
     – inner white rounded card: feat list (50%) | image (50%)
   ================================================================ */

.at-svc-showcase {
  padding: 5rem 0;
  background: var(--grey-100);
}
.at-svc-showcase:nth-child(even) {
  background: var(--white);
}

.at-svc-showcase-outer {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Top header row — eyebrow+h2 left, description right */
.at-svc-showcase-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.at-svc-showcase-heading {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.at-svc-showcase-desc {
  font-size: 1rem;
  color: var(--grey-700);
  line-height: 1.75;
}

/* Inner card — white, rounded, 50/50 split */
.at-svc-showcase-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--grey-200);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 380px;
}

/* Left side: stacked feat rows + link */
.at-svc-showcase-feats {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

/* Each feat: icon left, text right — no border box, clean rows */
.at-svc-showcase-feat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  transition: background 0.18s;
}
.at-svc-showcase-feat:hover {
  background: var(--grey-100);
}
.at-svc-showcase:nth-child(even) .at-svc-showcase-feat:hover {
  background: #f9f0f0;
}

.at-svc-showcase-feat-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--red-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-top: 1px;
}
.at-svc-showcase-feat-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--red);
}

.at-svc-showcase-feat h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}
.at-svc-showcase-feat p {
  font-size: 0.81rem;
  color: var(--grey-700);
  line-height: 1.6;
  margin: 0;
}
.at-svc-showcase-feat-text {
  flex: 1;
  min-width: 0;
}

/* Right side: image fills the half */
.at-svc-showcase-img {
  overflow: hidden;
  position: relative;
}
.at-svc-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.at-svc-showcase-card:hover .at-svc-showcase-img img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .at-svc-showcase-header { grid-template-columns: 1fr; gap: 1rem; }
  .at-svc-showcase-card { grid-template-columns: 1fr; }
  .at-svc-showcase-img { height: 240px; }
}
.at-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.22s;
}
.at-btn--red { background: var(--red); color: var(--white); }
.at-btn--red:hover { background: var(--red-d); transform: translateY(-2px); }
.at-btn--outline { border: 2px solid var(--red); color: var(--red); }
.at-btn--outline:hover { background: var(--red); color: var(--white); }
.at-btn svg { width: 16px; height: 16px; }

/* ================================================================
   ALL SERVICES PAGE
   ================================================================ */
.at-all-services { padding: 5rem 0 6rem; }
.at-all-services-header { text-align: center; margin-bottom: 3.5rem; }
.at-all-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.at-all-svc-card {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.at-all-svc-card:hover { box-shadow: 0 16px 40px rgba(196,30,58,0.12); transform: translateY(-6px); border-color: var(--red-light); }
.at-all-svc-card-img { aspect-ratio: 16/9; overflow: hidden; }
.at-all-svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.at-all-svc-card:hover .at-all-svc-card-img img { transform: scale(1.04); }
.at-all-svc-card-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.at-all-svc-card-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.at-all-svc-card-body p { font-size: 0.875rem; color: var(--grey-700); line-height: 1.65; flex: 1; }
.at-all-svc-card-body a { font-size: 0.85rem; font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 0.4rem; }
.at-all-svc-card-body a:hover { gap: 0.7rem; }

/* ================================================================
   INDIVIDUAL SERVICE TEMPLATE
   ================================================================ */
.at-svc-hero { padding: 5rem 0; background: var(--grey-100); border-bottom: 1px solid var(--grey-200); }
.at-svc-hero-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.at-svc-hero-content { display: flex; flex-direction: column; gap: 1.25rem; }
.at-svc-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}
.at-svc-hero-content p { font-size: 1.05rem; color: var(--grey-700); line-height: 1.75; }
.at-svc-hero-img { border-radius: var(--radius-lg); overflow: hidden; }
.at-svc-hero-img img { width: 100%; height: auto; }

.at-svc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}
.at-svc-feat-card {
  background: var(--grey-100);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.at-svc-feat-card .at-feat-box-icon { margin-bottom: 0.25rem; }
.at-svc-feat-card h4 { font-size: 0.975rem; font-weight: 600; color: var(--ink); }
.at-svc-feat-card p { font-size: 0.875rem; color: var(--grey-700); line-height: 1.65; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.at-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.at-contact-info h2 { font-size: 2rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.03em; }
.at-contact-detail { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.at-contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.at-contact-item svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.at-contact-item div strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.at-contact-item div span { font-size: 0.9rem; color: var(--grey-700); }

.at-form { display: flex; flex-direction: column; gap: 1.25rem; }
.at-field { display: flex; flex-direction: column; gap: 0.4rem; }
.at-field label { font-size: 0.82rem; font-weight: 600; color: var(--grey-700); }
.at-field input,
.at-field select,
.at-field textarea {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.at-field input:focus,
.at-field select:focus,
.at-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
  background: var(--white);
}
.at-field textarea { resize: vertical; min-height: 130px; }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.at-about-hero { padding: 5rem 0; background: var(--grey-100); }
.at-about-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 600; letter-spacing: -0.04em; max-width: 18ch; }
.at-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 5rem;
}
.at-about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.at-value-card {
  padding: 1.5rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--white);
}
.at-value-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.at-value-card p { font-size: 0.83rem; color: var(--grey-700); line-height: 1.6; }

/* ================================================================
   OUR CLIENTS PAGE
   ================================================================ */
.at-clients-page-hero { padding: 5rem 0; background: var(--grey-100); }
.at-clients-page-hero h1 { font-size: clamp(2.2rem,4vw,3rem); font-weight: 600; letter-spacing: -0.04em; }
.at-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.at-testimonial {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.at-testimonial blockquote { font-size: 0.95rem; color: var(--grey-700); line-height: 1.7; font-style: italic; }
.at-testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.at-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.at-testimonial-name { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.at-testimonial-role { font-size: 0.8rem; color: var(--grey-500); }

/* ================================================================
   STATS BAR
   ================================================================ */
.at-stats { padding: 4rem 0; background: var(--red); }
.at-stats-grid {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.at-stat h3 { font-size: 2.4rem; font-weight: 600; color: white; letter-spacing: -0.04em; }
.at-stat p { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-top: 0.25rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.at-footer { background: #000000; color: white; padding: 4rem 0 1.5rem; }
.at-footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}
.at-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.at-footer-brand { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.at-footer-brand span { color: var(--red); }
.at-footer-desc { font-size: 0.87rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 34ch; }
.at-footer-col h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; }
.at-footer-col li { margin-bottom: 0.75rem; }
.at-footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.at-footer-col a:hover { color: white; }
.at-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.at-footer-dc {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.at-footer-dc:hover { color: var(--red); border-color: var(--red); }
.at-footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; display: block; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .at-services-icons { grid-template-columns: repeat(2, 1fr); }
  .at-clients-grid { grid-template-columns: repeat(2, 1fr); }
  .at-all-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .at-footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .at-nav { display: none; }
  .at-burger { display: flex; }
  .at-hero-slide { grid-template-columns: 1fr; padding: 5rem 2rem 3rem; }
  .at-slide-img { display: none; }
  .at-clients-inner { grid-template-columns: 1fr; }
  .at-clients-grid { grid-template-columns: repeat(2, 1fr); }
  .at-svc-inner, .at-svc-hero-inner, .at-about-split, .at-contact-grid { grid-template-columns: 1fr; }
  .at-svc-inner--flip { direction: ltr; }
  .at-industries-grid { grid-template-columns: repeat(2, 1fr); }
  .at-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .at-testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .at-services-icons { grid-template-columns: 1fr; }
  .at-clients-grid { grid-template-columns: 1fr; }
  .at-industries-grid { grid-template-columns: 1fr; }
  .at-all-svc-grid { grid-template-columns: 1fr; }
  .at-stats-grid { grid-template-columns: 1fr; }
  .at-footer-top { grid-template-columns: 1fr; }
  .at-about-values { grid-template-columns: 1fr; }
  .at-svc-features-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   HEADER — inner pages (solid)
   ================================================================ */
/* ================================================================
   STICKY CAPSULE HEADER — activates on scroll (.is-scrolled class)
   Applied to .at-header via JS scroll listener
   ================================================================ */
.at-header {
  transition: padding 0.35s ease, background 0.35s ease,
              box-shadow 0.35s ease, border-radius 0.35s ease,
              margin 0.35s ease, border 0.35s ease;
}

.at-header.is-scrolled {
  /* Shrink away from full-width — become a floating capsule */
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(20px);
  border-bottom: none !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border-radius: 100px;
  /* Float it: pull down from top, pull in from sides */
  margin: 10px 20% 0;  /* 60% width centred — 20% left and right */
  border: 1px solid rgba(0,0,0,0.07);
  /* Must not be position:sticky anymore — handled by wrapper */
}

/* Wrapper needed to keep sticky positioning while the inner shrinks */
.at-header-sticky-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* no background — the header itself carries it */
}

/* Tighten the inner bar slightly when scrolled */
.at-header.is-scrolled .at-header-inner {
  height: 52px;
  padding: 0 1.25rem;
}

@media (max-width: 900px) {
  /* On mobile keep it full-width, no capsule */
  .at-header.is-scrolled {
    border-radius: 0;
    margin: 0;
  }
  .at-header.is-scrolled .at-header-inner {
    height: 58px;
    padding: 0 1.25rem;
  }
}

/* ── 2. Hide Car Keys CTA on mobile ── */
@media (max-width: 900px) {
  .at-nav-cta {
    display: none !important;
  }
  /* Search button also optional — keep it, just ensure only burger visible */
  .at-search-btn {
    display: none;
  }
}

.at-header--solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.at-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.at-logo { display:flex;align-items:center;flex-shrink:0; }
.at-logo img { height:36px;width:auto; }
.at-logo-text { font-size:1.05rem;font-weight:600;letter-spacing:-0.04em;color:var(--ink);display:flex;align-items:center; }
.at-logo-text span { color:var(--red); }

/* Pill nav */
.at-nav { display:flex;align-items:center;gap:0.3rem;margin-left:0.75rem; }
.at-nav-pill {
  font-size:0.83rem;font-weight:500;color:var(--grey-700);
  padding:0.38rem 0.9rem;border-radius:100px;
  border:1px solid transparent;transition:all 0.18s;
  white-space:nowrap;cursor:pointer;
  display:inline-flex;align-items:center;gap:4px;
}
.at-nav-pill:hover,.at-dropdown:hover > .at-nav-pill {
  background:var(--grey-100);border-color:var(--grey-200);color:var(--ink);
}
.at-dropdown { position:relative; }
.at-dropdown-menu {
  position:absolute;top:100%;left:0;
  padding-top:8px;
  background:transparent;
  opacity:0;visibility:hidden;transform:translateY(-4px);
  transition:opacity 0.2s ease,visibility 0.2s ease,transform 0.2s ease;
  pointer-events:none;z-index:200;
}
.at-dropdown-menu-inner {
  background:var(--white);border:1px solid var(--grey-200);
  border-radius:var(--radius);box-shadow:0 16px 48px rgba(0,0,0,0.12);
  padding:0.6rem;min-width:240px;
}
.at-dropdown:hover .at-dropdown-menu { opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto; }
.at-dropdown-item {
  display:flex;align-items:center;gap:0.6rem;
  padding:0.55rem 0.75rem;border-radius:8px;
  font-size:0.835rem;font-weight:500;color:var(--grey-700);
  transition:all 0.15s;
}
.at-dropdown-item:hover { background:var(--grey-100);color:var(--ink); }
.at-dropdown-item svg { width:14px;height:14px;color:var(--red);flex-shrink:0; }
.at-header-right { margin-left:auto;display:flex;align-items:center;gap:0.6rem;flex-shrink:0; }
.at-search-btn {
  width:36px;height:36px;border-radius:50%;
  border:1px solid var(--grey-200);background:var(--white);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all 0.18s;color:var(--grey-700);
}
.at-search-btn:hover { border-color:var(--grey-500);color:var(--ink); }
.at-search-btn svg { width:15px;height:15px; }
.at-nav-cta {
  background:var(--red);color:var(--white) !important;
  padding:0.45rem 1.1rem;border-radius:100px;
  font-size:0.83rem;font-weight:600;
  transition:background 0.2s,transform 0.2s;white-space:nowrap;
}
.at-nav-cta:hover { background:var(--red-d);transform:translateY(-1px); }
/* ================================================================
   SEARCH OVERLAY — live results, Enter to go, red submit button
   ================================================================ */
.at-search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  background: var(--white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, box-shadow 0.32s ease;
}
.at-search-overlay.open {
  max-height: 90vh;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
}
.at-search-overlay-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--grey-200);
}
/* The input row */
.at-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--grey-100);
  border-radius: 100px;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
}
.at-search-field-icon {
  width: 18px; height: 18px;
  color: var(--grey-500);
  flex-shrink: 0;
}
.at-search-field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
}
.at-search-field input::placeholder { color: var(--grey-500); }
/* Red submit button inside the field */
.at-search-submit {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: background 0.18s, transform 0.18s;
}
.at-search-submit:hover { background: var(--red-dark, #990000); transform: scale(1.05); }
.at-search-submit svg { width: 15px; height: 15px; }
/* Close button */
.at-search-close {
  background: var(--grey-100);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--grey-700);
  flex-shrink: 0;
  transition: background 0.18s;
}
.at-search-close:hover { background: var(--grey-200); }
.at-search-close svg { width: 16px; height: 16px; }

/* Results area */
.at-search-results {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
  max-height: calc(90vh - 80px);
  overflow-y: auto;
}
.at-sr-loading {
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--grey-500);
  text-align: center;
}
.at-sr-none {
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--grey-700);
}
.at-sr-none a { color: var(--red); font-weight: 500; }
.at-sr-list {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}
.at-sr-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--grey-200);
  text-decoration: none;
  color: var(--ink);
  border-radius: 10px;
  transition: background 0.15s;
}
.at-sr-item:last-of-type { border-bottom: none; }
.at-sr-item:hover { background: var(--grey-100); }
.at-sr-item-icon {
  width: 36px; height: 36px;
  background: var(--red-light, #fff0f0);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.at-sr-item-icon svg { width: 16px; height: 16px; }
.at-sr-item-text { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.at-sr-item-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.at-sr-item-type {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--grey-500);
  text-transform: capitalize;
  letter-spacing: 0.04em;
}
.at-sr-item-arrow { width: 16px; height: 16px; color: var(--grey-400, #bbb); flex-shrink: 0; }
.at-sr-item:hover .at-sr-item-arrow { color: var(--red); }
.at-sr-all {
  display: block;
  padding: 0.85rem 0.75rem;
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 500;
  text-decoration: none;
  border-top: 1px solid var(--grey-200);
  margin-top: 0.25rem;
  transition: opacity 0.18s;
}
.at-sr-all:hover { opacity: 0.75; }

/* Backdrop */
.at-search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1999;
  background: rgba(0,0,0,0);
  pointer-events: none;
  transition: background 0.3s;
}
.at-search-backdrop.open {
  background: rgba(0,0,0,0.3);
  pointer-events: auto;
}
.at-burger { display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px; }
.at-burger span { display:block;width:22px;height:2px;background:var(--ink);border-radius:2px; }
.at-mobile-nav { display:none;flex-direction:column;background:var(--white);border-top:1px solid var(--grey-200);padding:1rem 2rem 1.5rem; }
.at-mobile-nav.open { display:flex; }
.at-mobile-nav a { font-size:0.9rem;font-weight:500;color:var(--grey-700);padding:0.55rem 0;border-bottom:1px solid var(--grey-100); }

/* ================================================================
   HOMEPAGE SPLIT-PANEL HERO
   ================================================================ */
.hp-radio { position:absolute;opacity:0;width:0;height:0;pointer-events:none; }

.hp-hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:100vh;
  position:relative;
}

/* ── LEFT panel ── */
.hp-left {
  background:var(--white);
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  padding:0 0 3rem;
  z-index:2;
}

/* Nav inside left panel */
.hp-nav {
  display:flex;
  align-items:center;
  gap:0.5rem;
  padding:1.25rem 2.5rem;
  flex-shrink:0;
  flex-wrap:nowrap;
}
.hp-logo { display:flex;align-items:center;flex-shrink:0;margin-right:0.5rem; }
.hp-logo img { height:34px;width:auto; }
.hp-logo-text { font-size:1rem;font-weight:600;letter-spacing:-0.04em;color:var(--ink);display:flex; }
.hp-logo-text span { color:var(--red); }
.hp-nav-links { display:flex;align-items:center;gap:0.25rem;flex-wrap:nowrap; }
/* Reuse pill styles */
.hp-nav-pill {
  font-size:0.8rem;font-weight:500;color:var(--grey-700);
  padding:0.35rem 0.8rem;border-radius:100px;
  border:1px solid var(--grey-200);background:var(--grey-100);
  white-space:nowrap;transition:all 0.18s;
  display:inline-flex;align-items:center;gap:3px;cursor:pointer;
}
.hp-nav-pill:hover { background:var(--grey-200);color:var(--ink); }
/* Solutions dropdown inside hp-nav */
.hp-nav .at-dropdown { position:relative; }
.hp-nav .at-nav-pill,.hp-nav .at-dropdown-toggle {
  font-size:0.8rem;font-weight:500;color:var(--grey-700);
  padding:0.35rem 0.8rem;border-radius:100px;
  border:1px solid var(--grey-200);background:var(--grey-100);
  white-space:nowrap;transition:all 0.18s;
  display:inline-flex;align-items:center;gap:3px;cursor:pointer;
}
.hp-nav .at-nav-pill:hover,.hp-nav .at-dropdown:hover .at-nav-pill { background:var(--grey-200);color:var(--ink); }
.hp-nav .at-dropdown-menu { min-width:220px; }

/* Slide content — stacked, one visible */
.hp-content-stack {
  flex:1;
  position:relative;
  display:flex;
  align-items:center;
}

.hp-slide-content {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:2rem 2.5rem 1.5rem;
  gap:1.2rem;
  opacity:0;
  visibility:hidden;
  transform:translateY(18px);
  transition:opacity 0.5s ease,transform 0.5s ease,visibility 0s 0.5s;
  pointer-events:none;
}

/* Active slide per radio */
#hpr0:checked ~ .hp-hero .hp-slide-content[data-s="0"],
#hpr1:checked ~ .hp-hero .hp-slide-content[data-s="1"],
#hpr2:checked ~ .hp-hero .hp-slide-content[data-s="2"],
#hpr3:checked ~ .hp-hero .hp-slide-content[data-s="3"],
#hpr4:checked ~ .hp-hero .hp-slide-content[data-s="4"] {
  opacity:1;visibility:visible;transform:translateY(0);
  transition:opacity 0.5s ease,transform 0.5s ease;
  pointer-events:auto;
}

/* Eyebrow */
.hp-eyebrow {
  display:flex;align-items:center;gap:0.65rem;
  font-size:0.7rem;font-weight:600;letter-spacing:0.2em;
  text-transform:uppercase;color:var(--grey-500);
}
.hp-eyebrow-line { display:inline-block;width:24px;height:2px;background:var(--red);flex-shrink:0; }

/* Headline */
.hp-h1 {
  font-size:clamp(2rem,4vw,3.2rem);
  font-weight:600;
  letter-spacing:-0.04em;
  line-height:1.08;
  color:var(--ink);
  margin:0;
}
.hp-hl {
  color:var(--red);
  position:relative;
}
.hp-hl::after {
  content:'';
  position:absolute;
  bottom:-2px;left:0;right:0;
  height:3px;background:var(--red);border-radius:2px;opacity:0.3;
}

/* Description */
.hp-desc { font-size:clamp(0.87rem,1vw,0.98rem);color:var(--grey-700);line-height:1.75;max-width:44ch;margin:0; }

/* CTA button */
.hp-cta {
  display:inline-flex;align-items:center;gap:0.5rem;
  width:fit-content;
  background:var(--red);color:var(--white);
  font-size:0.8rem;font-weight:600;
  padding:0.75rem 1.6rem;border-radius:100px;
  text-transform:uppercase;letter-spacing:0.05em;
  transition:background 0.2s,transform 0.2s;
}
.hp-cta:hover { background:var(--red-d);transform:translateY(-2px);color:var(--white); }
.hp-cta svg { width:14px;height:14px; }

/* Chips */
.hp-chips-label { font-size:0.8rem;font-weight:600;color:var(--ink);margin-bottom:-0.5rem; }
.hp-chips { display:flex;flex-wrap:wrap;gap:0.45rem; }
.hp-chip {
  display:inline-flex;align-items:center;gap:4px;
  font-size:0.78rem;font-weight:500;color:var(--grey-700);
  background:var(--white);border:1px solid var(--grey-200);
  padding:0.32rem 0.8rem;border-radius:100px;
  transition:all 0.18s;cursor:pointer;
}
.hp-chip:hover { border-color:var(--red);color:var(--red);background:var(--red-light); }
.hp-chip-arrow {
  width:30px;height:30px;padding:0;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;background:var(--ink);border-color:var(--ink);color:var(--white);
}
.hp-chip-arrow:hover { background:var(--red);border-color:var(--red);color:var(--white); }
.hp-chip-arrow svg { width:13px;height:13px; }

/* Dots */
.hp-dots {
  display:flex;gap:8px;padding:0 2.5rem;flex-shrink:0;
}
.hp-dot {
  width:8px;height:8px;border-radius:50%;
  background:var(--grey-200);cursor:pointer;display:block;transition:all 0.3s;
}
#hpr0:checked ~ .hp-hero .hp-dots label[for="hpr0"],
#hpr1:checked ~ .hp-hero .hp-dots label[for="hpr1"],
#hpr2:checked ~ .hp-hero .hp-dots label[for="hpr2"],
#hpr3:checked ~ .hp-hero .hp-dots label[for="hpr3"],
#hpr4:checked ~ .hp-hero .hp-dots label[for="hpr4"] {
  background:var(--red);width:22px;border-radius:4px;
}

/* ── RIGHT panel ── */
.hp-right {
  position:relative;
  background:var(--grey-200);
  overflow:hidden;
  min-height:100vh;
}

/* Images stacked, one visible per radio */
.hp-img-stack { position:absolute;inset:0; }
.hp-img {
  position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity 0.6s ease;
}
#hpr0:checked ~ .hp-hero .hp-img[data-s="0"],
#hpr1:checked ~ .hp-hero .hp-img[data-s="1"],
#hpr2:checked ~ .hp-hero .hp-img[data-s="2"],
#hpr3:checked ~ .hp-hero .hp-img[data-s="3"],
#hpr4:checked ~ .hp-hero .hp-img[data-s="4"] { opacity:1; }

/* Dark overlay for readability of stats at bottom */
.hp-right::after {
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(to bottom,transparent 40%,rgba(13,13,13,0.7) 100%);
  z-index:1;pointer-events:none;
}

/* Search + CTA nav in top-right of image panel */
.hp-right-nav {
  position:absolute;top:1.5rem;right:1.5rem;
  display:flex;align-items:center;gap:0.6rem;
  z-index:3;
}
.hp-search-btn {
  width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,0.9);border:none;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all 0.2s;color:var(--ink);
  box-shadow:0 2px 8px rgba(0,0,0,0.12);
}
.hp-search-btn:hover { background:var(--white); }
.hp-search-btn svg { width:16px;height:16px; }
.hp-right-cta {
  background:var(--white);color:var(--ink);
  padding:0.5rem 1.2rem;border-radius:100px;
  font-size:0.82rem;font-weight:600;
  box-shadow:0 2px 8px rgba(0,0,0,0.12);
  transition:all 0.2s;white-space:nowrap;
}
.hp-right-cta:hover { background:var(--red);color:var(--white); }

/* Search bar on right panel */
.hp-search-bar {
  position:absolute;top:0;left:0;right:0;
  background:var(--white);
  max-height:0;overflow:hidden;
  transition:max-height 0.3s ease;
  z-index:4;
}
.hp-search-bar.open { max-height:56px; }
.hp-search-inner {
  display:flex;align-items:center;gap:0.75rem;padding:0.85rem 1.5rem;
}
.hp-search-inner input { flex:1;border:none;outline:none;font-family:var(--font);font-size:0.9rem;color:var(--ink);background:transparent; }
.hp-search-inner input::placeholder { color:var(--grey-500); }

/* Stats at bottom of right panel */
.hp-right-stats {
  position:absolute;bottom:0;left:0;right:0;
  z-index:2;padding:2rem 2rem 2.5rem;
}
.hp-right-stats-lead {
  font-size:0.8rem;color:rgba(255,255,255,0.75);line-height:1.6;margin-bottom:1.25rem;
  border-bottom:1px solid rgba(255,255,255,0.2);padding-bottom:1rem;
}
.hp-right-stats-row { display:flex;gap:2rem; }
.hp-right-stat { display:flex;align-items:center;gap:0.75rem; }
.hp-right-stat-num { font-size:1.6rem;font-weight:600;color:var(--white);letter-spacing:-0.04em; }
.hp-right-stat-lbl { font-size:0.75rem;color:rgba(255,255,255,0.75);line-height:1.4; }
.hp-right-stat-btn {
  width:30px;height:30px;border-radius:50%;
  background:rgba(255,255,255,0.15);
  display:flex;align-items:center;justify-content:center;color:white;
  transition:background 0.2s;
}
.hp-right-stat-btn:hover { background:var(--red); }
.hp-right-stat-btn svg { width:13px;height:13px; }

/* Mobile burger for homepage */
.hp-burger {
  position:fixed;top:1rem;right:1rem;z-index:200;
  display:none;flex-direction:column;gap:5px;
  background:var(--white);border:1px solid var(--grey-200);
  border-radius:8px;padding:8px;cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}
.hp-burger span { display:block;width:20px;height:2px;background:var(--ink);border-radius:2px; }

.hp-mobile-nav {
  position:fixed;inset:0;z-index:300;
  background:var(--white);
  display:flex;flex-direction:column;
  padding:2rem;gap:0.25rem;
  transform:translateX(100%);transition:transform 0.3s ease;
  overflow-y:auto;
}
.hp-mobile-nav.open { transform:translateX(0); }
.hp-mobile-close {
  background:none;border:none;cursor:pointer;
  align-self:flex-end;color:var(--grey-700);margin-bottom:1rem;
}
.hp-mobile-close svg { width:24px;height:24px; }
.hp-mobile-nav a {
  font-size:1rem;font-weight:500;color:var(--grey-700);
  padding:0.65rem 0;border-bottom:1px solid var(--grey-100);
}

/* ── Responsive ── */
@media (max-width:900px) {
  .at-burger { display:flex; }
  .at-nav { display:none; }
  .hp-hero { grid-template-columns:1fr;min-height:auto; }
  .hp-right { display:none; }
  .hp-nav { padding:1rem 1.25rem; }
  .hp-nav-links { display:none; }
  .hp-burger { display:flex; }
  .hp-slide-content { padding:1.5rem 1.25rem;position:relative;transform:none; }
  .hp-content-stack { display:block;flex:none; }
  .hp-slide-content { display:none; }
  #hpr0:checked ~ .hp-hero .hp-slide-content[data-s="0"],
  #hpr1:checked ~ .hp-hero .hp-slide-content[data-s="1"],
  #hpr2:checked ~ .hp-hero .hp-slide-content[data-s="2"],
  #hpr3:checked ~ .hp-hero .hp-slide-content[data-s="3"],
  #hpr4:checked ~ .hp-hero .hp-slide-content[data-s="4"] {
    display:flex !important;position:relative !important;opacity:1 !important;visibility:visible !important;transform:none !important;pointer-events:auto !important;
  }
  .hp-dots { padding:1rem 1.25rem; }
}


/* ================================================================
   MOBILE HERO IMAGE STRIP
   Hidden on desktop. On mobile: horizontal scrollable row of
   5 rounded images at the bottom of the left (only) panel.
   Active image matches the active slide.
   ================================================================ */

/* Hidden by default (desktop) */
.hp-mob-imgs {
  display: none;
}

@media (max-width: 900px) {
  .hp-mob-imgs {
    display: block;
    padding: 1rem 1.25rem 1.5rem;
    overflow: hidden;
  }

  .hp-mob-img-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .hp-mob-img-track::-webkit-scrollbar { display: none; }

  .hp-mob-img-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    /* default: slightly faded */
    opacity: 0.45;
    transform: scale(0.92);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .hp-mob-img-item img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 50%;
    border: 2.5px solid transparent;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
    display: block;
  }

  .hp-mob-img-item span {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--grey-500);
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    transition: color 0.35s;
  }

  /* Active item — matches the checked radio slide */
  #hpr0:checked ~ .hp-hero .hp-mob-img-item[data-s="0"],
  #hpr1:checked ~ .hp-hero .hp-mob-img-item[data-s="1"],
  #hpr2:checked ~ .hp-hero .hp-mob-img-item[data-s="2"],
  #hpr3:checked ~ .hp-hero .hp-mob-img-item[data-s="3"],
  #hpr4:checked ~ .hp-hero .hp-mob-img-item[data-s="4"] {
    opacity: 1;
    transform: scale(1);
  }

  #hpr0:checked ~ .hp-hero .hp-mob-img-item[data-s="0"] img,
  #hpr1:checked ~ .hp-hero .hp-mob-img-item[data-s="1"] img,
  #hpr2:checked ~ .hp-hero .hp-mob-img-item[data-s="2"] img,
  #hpr3:checked ~ .hp-hero .hp-mob-img-item[data-s="3"] img,
  #hpr4:checked ~ .hp-hero .hp-mob-img-item[data-s="4"] img {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(204,0,0,0.15);
  }

  #hpr0:checked ~ .hp-hero .hp-mob-img-item[data-s="0"] span,
  #hpr1:checked ~ .hp-hero .hp-mob-img-item[data-s="1"] span,
  #hpr2:checked ~ .hp-hero .hp-mob-img-item[data-s="2"] span,
  #hpr3:checked ~ .hp-hero .hp-mob-img-item[data-s="3"] span,
  #hpr4:checked ~ .hp-hero .hp-mob-img-item[data-s="4"] span {
    color: var(--red);
  }
}

/* Hide old hero CSS that may conflict */
.at-hero, .at-hero2 { display:none !important; }
.teqs-root { display:none !important; }
.at-hero-radio { display:none !important; }

/* ── Client logo section ── */
.at-clients-text { display:flex;flex-direction:column;justify-content:center; }
.at-client-super  { border: 2px solid #cc0000 !important; }
.at-client-featured { border: 1.5px solid #ddd !important; }
.at-client-normal { border: 1px solid var(--grey-200); transition: opacity 0.5s ease; }
.at-client-normal.fading { opacity: 0; }
.at-client-normal-inner { display:flex;align-items:center;justify-content:center;width:100%;height:100%; }
.at-client-placeholder-box { background:var(--grey-100); }
.at-client-name { font-size:0.78rem;font-weight:600;color:var(--grey-500);text-align:center;padding:0.5rem; }
.at-client-box img { max-height:44px;max-width:140px;object-fit:contain;opacity:0.8;transition:opacity 0.2s; }
.at-client-box:hover img { opacity:1; }

/* ── Additional service template elements ── */
.at-kra-badge {
  display:inline-flex;align-items:center;gap:0.65rem;
  background:#fff7ed;border:1.5px solid #f97316;border-radius:10px;
  padding:0.55rem 1rem;margin-bottom:1.25rem;width:fit-content;
  font-size:0.78rem;font-weight:600;color:#c2410c;
}
.at-svc-hero-ctas { display:flex;gap:1rem;flex-wrap:wrap;margin-top:0.75rem; }
.at-kra-section { padding:4rem 0;background:#fff7ed;border-top:1px solid #fed7aa;border-bottom:1px solid #fed7aa; }
.at-kra-grid { display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start; }
.at-eyebrow--orange { color:#c2410c; }
.at-eyebrow--orange::before { background:#f97316; }
.at-kra-text h2 { font-size:clamp(1.5rem,2.5vw,2.1rem);font-weight:600;letter-spacing:-0.03em;line-height:1.15;color:var(--ink);margin-bottom:1rem; }
.at-kra-text p { font-size:0.95rem;color:#6b4c2a;line-height:1.75; }
.at-kra-bullets { display:flex;flex-direction:column;gap:0.65rem;margin-top:1.5rem; }
.at-kra-bullet { display:flex;align-items:center;gap:0.6rem;font-size:0.87rem;font-weight:500;color:#92400e; }
.at-kra-bullet svg { width:16px;height:16px;flex-shrink:0; }
.at-kra-cards { display:flex;flex-direction:column;gap:1rem; }
.at-kra-card {
  background:var(--white);border:1px solid #fed7aa;border-radius:14px;
  padding:1.4rem;display:flex;align-items:flex-start;gap:1rem;
}
.at-kra-card h4 { font-size:0.88rem;font-weight:600;color:var(--ink);margin-bottom:0.2rem; }
.at-kra-card p { font-size:0.81rem;color:#92400e;line-height:1.6; }
@media(max-width:860px){
  .at-kra-grid { grid-template-columns:1fr; }
  .at-svc-hero-ctas { flex-direction:column; }
}

/* ================================================================
   MOBILE NAV — Solutions accordion dropdown
   ================================================================ */
.at-mob-acc {
  border-bottom: 1px solid var(--grey-100);
}
.at-mob-acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0.65rem 0;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-700);
  cursor: pointer;
  text-align: left;
}
.at-mob-acc.open .at-mob-acc-toggle svg {
  transform: rotate(180deg);
}
.at-mob-acc-body {
  display: none;
  flex-direction: column;
  padding: 0 0 0.75rem 1rem;
  gap: 0;
}
.at-mob-acc.open .at-mob-acc-body {
  display: flex;
}
.at-mob-acc-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-700);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--grey-100);
  display: block;
  transition: color 0.18s;
}
.at-mob-acc-item:last-child { border-bottom: none; }
.at-mob-acc-item:hover { color: var(--red); }

/* Also wire the hp-mobile-nav Solutions the same way */
.hp-mobile-nav .at-mob-acc-toggle { color: var(--grey-700); }
.hp-mobile-nav .at-mob-acc { border-color: var(--grey-100); }

/* Dropdown menu-inner — ensures the visual box is on the inner div */
.at-dropdown-menu-inner {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  padding: 0.6rem;
  min-width: 240px;
}
/* hp-nav Solutions dropdown also needs inner */
.hp-nav .at-dropdown-menu { min-width: 220px; }

/* ================================================================
   HOMEPAGE NAV — floating capsule on scroll
   .hp-nav lives inside .hp-left (not sticky by itself).
   When .hp-nav--scrolled is added via JS (after scrolling 50vh),
   it detaches and becomes a fixed floating capsule.
   ================================================================ */
.hp-nav {
  transition: all 0.35s ease;
}

.hp-nav.hp-nav--scrolled {
  position: fixed;
  top: 10px;
  left: 20%;
  right: 20%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 0.45rem 0.75rem 0.45rem 1rem;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* hp-nav right-side buttons — hidden until capsule is active */
.hp-nav-right {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  flex-shrink: 0;
}
.hp-nav-search-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--grey-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--grey-700);
  transition: all 0.18s;
  flex-shrink: 0;
}
.hp-nav-search-btn:hover { border-color: var(--grey-500); color: var(--ink); }
.hp-nav-search-btn svg { width: 15px; height: 15px; }
.hp-nav-cta {
  background: var(--red);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}
.hp-nav-cta:hover { background: var(--red-dark, #990000); color: white; }

/* Show right buttons only when capsule is active */
.hp-nav.hp-nav--scrolled .hp-nav-right {
  display: flex;
}

.hp-nav.hp-nav--scrolled .hp-nav-links {
  display: flex !important;
  gap: 0.25rem;
}
.hp-nav.hp-nav--scrolled .hp-logo img {
  height: 28px;
}

@media (max-width: 900px) {
  /* No capsule on mobile */
  .hp-nav.hp-nav--scrolled {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 1rem 1.25rem;
  }
  .hp-nav.hp-nav--scrolled .hp-nav-links {
    display: none !important;
  }
}
