/* ==========================================================================
   Houston Information Team, LLC — Modern Design System
   Dependency-free, responsive, mobile-first.
   ========================================================================== */

/* ---- Design Tokens ------------------------------------------------------ */
:root {
  /* Brand palette (derived from legacy site) */
  --hit-green: #4cbb42;
  --hit-green-dark: #3a9a31;
  --hit-blue: #00a9ef;
  --hit-indigo: #321c9e;
  --hit-indigo-2: #333092;

  /* Neutral scale */
  --bg: #0b1020;
  --bg-elev: #121a30;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --surface-3: #eef2f8;
  --field-empty-bg: #eceff3;
  --field-filled-bg: #e3eef9;
  --text: #1a2233;
  --text-muted: #5a6577;
  --text-invert: #eef2ff;
  --border: #e3e8f0;

  /* Effects */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.20);
  --ring: 0 0 0 3px rgba(0, 169, 239, 0.35);

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--hit-blue), var(--hit-indigo-2));
  --grad-accent: linear-gradient(120deg, var(--hit-green), var(--hit-blue));
  --grad-hero: linear-gradient(135deg, #0b1020 0%, #16224a 45%, #1b3a6b 100%);

  /* Layout */
  --container: 1200px;
  --nav-h: 76px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--surface-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video { display: block; max-width: 100%; }

a { color: var(--hit-blue); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--hit-indigo-2); }

ul { padding-left: 1.25rem; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---- Utilities ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hit-blue);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-top: 0.6rem;
  color: var(--text);
}

.lead {
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: var(--text-muted);
  max-width: 65ch;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.muted { color: var(--text-muted); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  background-image: var(--grad-brand);
  box-shadow: 0 8px 20px -8px rgba(0, 118, 200, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease, filter 0.2s ease;
  white-space: nowrap;
}
/* moving sheen */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 75%
  );
  transform: translateX(-130%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0, 118, 200, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.04);
  color: #fff;
}
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0); }

/* trailing arrow micro-interaction */
.btn--arrow::before {
  content: "\2192";
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.22s ease;
}
.btn--arrow:hover::before { transform: translateX(3px); }

.btn--ghost {
  background: var(--surface);
  background-image: none;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--ghost::after { display: none; }
.btn--ghost:hover {
  color: var(--hit-indigo-2);
  border-color: rgba(0, 169, 239, 0.5);
  box-shadow: 0 12px 26px -12px rgba(16, 24, 40, 0.35);
}

.btn--light {
  background-image: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--light::after { display: none; }
.btn--light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 24px -12px rgba(0, 0, 0, 0.5);
}

.btn--lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; border-radius: 14px; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand img { height: 42px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-size: 1rem; }
.brand__tag { font-size: 0.68rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav__links a:hover { background: var(--surface-3); color: var(--hit-indigo-2); }
.nav__links a.active {
  color: #fff;
  background-image: var(--grad-brand);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__cta { display: inline-flex; align-items: center; gap: 0.5rem; }

/* "Get in touch" CTA uses a gradient built on the HIT logo green (#54B948) */
.nav__cta .btn {
  background-image: linear-gradient(120deg, #6ed05a 0%, #54b948 45%, #3a9a31 100%);
  box-shadow: 0 8px 20px -8px rgba(84, 185, 72, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.nav__cta .btn:hover {
  box-shadow: 0 14px 30px -10px rgba(84, 185, 72, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateX(-50%) rotate(45deg); top: 0; }
.nav__toggle[aria-expanded="true"] span::after { transform: translateX(-50%) rotate(-45deg); top: 0; }

/* ---- Mobile nav --------------------------------------------------------- */
@media (max-width: 960px) {
  .nav__toggle { display: inline-block; }
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem clamp(1rem, 4vw, 2rem) 1.75rem;
    transform: translateY(-120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav__links a { padding: 0.85rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .nav__cta { width: 100%; }
  .nav__cta .btn { width: 100%; }
}

/* ==========================================================================
   Hero / Dynamic background
   ========================================================================== */
.hero {
  position: relative;
  color: var(--text-invert);
  background: var(--grad-hero);
  overflow: hidden;
  isolation: isolate;
}

/* Crossfading Ken Burns photo background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease-in-out;
  will-change: opacity, transform;
}
.hero__slide.is-active {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.18); }
}

/* Readability scrim + brand glow */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 12, 26, 0.55) 0%, rgba(8, 12, 26, 0.6) 50%, rgba(8, 12, 26, 0.82) 100%),
    radial-gradient(60% 70% at 80% 8%, rgba(0, 169, 239, 0.32), transparent 60%),
    radial-gradient(55% 65% at 8% 95%, rgba(76, 187, 66, 0.24), transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: min(86vh, 760px);
  padding-block: clamp(4rem, 10vw, 7rem);
}
.hero__content { max-width: 62ch; }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #7ce0ff, #8df283);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin: 1.1rem auto 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: rgba(238, 242, 255, 0.9);
  max-width: 58ch;
}
.hero__actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.hero__stats {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3rem);
  justify-content: center;
}
.hero__stat .num {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(120deg, #7ce0ff, #8df283);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stat .label { font-size: 0.85rem; color: rgba(238, 242, 255, 0.7); }

@media (max-width: 860px) {
  .hero__inner { min-height: auto; padding-block: clamp(3.5rem, 14vw, 5rem); }
}

/* Pause hero animation when reduced motion is preferred (static first frame) */
@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active,
  .page-hero__slide.is-active { animation: none; transform: none; }
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4dcea; }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background-image: var(--grad-accent);
  color: #fff;
  margin-bottom: 1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.card p { color: var(--text-muted); font-size: 0.97rem; }

/* Media figure */
.media-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: 0;
}
.media-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-figure--wide { aspect-ratio: 16 / 10; }

/* Surface section helper */
.bg-surface { background: var(--surface); }
.bg-soft { background: var(--surface-2); }
.bg-dark { background: var(--grad-hero); color: var(--text-invert); }

/* ==========================================================================
   Feature lists (checklists)
   ========================================================================== */
.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.6rem 1.5rem;
}
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-image: var(--grad-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(11, 16, 32, 0.86), rgba(22, 34, 74, 0.74)),
    var(--hero-bg, var(--grad-hero));
  background-size: cover;
  background-position: center;
  color: var(--text-invert);
  overflow: hidden;
}

/* Crossfading Ken Burns photo background (slides injected by JS) */
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease-in-out;
  will-change: opacity, transform;
}
.page-hero__slide.is-active {
  opacity: 1;
  animation: kenburns 14s ease-out forwards;
}
/* Darkening + brand scrim above the photos for legibility */
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 16, 32, 0.84), rgba(22, 34, 74, 0.70));
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 1;
  background:
    radial-gradient(38% 42% at 18% 28%, rgba(0, 169, 239, 0.38), transparent 62%),
    radial-gradient(34% 38% at 82% 18%, rgba(76, 187, 66, 0.30), transparent 62%),
    radial-gradient(45% 48% at 62% 92%, rgba(50, 28, 158, 0.42), transparent 62%);
  filter: blur(18px);
  animation: aurora-drift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Sleek animated aurora used behind dark feature areas */
@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -2%, 0) scale(1.12); }
  100% { transform: translate3d(-2%, 2.5%, 0) scale(1.06); }
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.6rem, 6vw, 4.2rem);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p { margin-top: 0.8rem; color: rgba(238, 242, 255, 0.85); max-width: 60ch; }
.breadcrumbs { font-size: 0.85rem; color: rgba(238, 242, 255, 0.7); margin-bottom: 0.7rem; }
.breadcrumbs a { color: rgba(238, 242, 255, 0.9); }
.breadcrumbs a:hover { color: #fff; }

/* ==========================================================================
   Tabs + structured catalogue (Sales page)
   ========================================================================== */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.tabs__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  background: transparent;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-active {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 8px 20px rgba(0, 169, 239, 0.28);
}

.tabs__panels { margin-top: 2.2rem; }
.tabs__panel { animation: tab-fade 0.4s ease; }
.tabs__panel[hidden] { display: none; }
@keyframes tab-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tabs__intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 64ch;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.catalog-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.catalog-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
}
.catalog-group__title {
  font-size: 1.05rem;
  color: var(--hit-indigo-2);
  padding-bottom: 0.7rem;
  margin-bottom: 0.4rem;
  border-bottom: 2px solid var(--surface-3);
}
.catalog-list { list-style: none; padding: 0; margin: 0; }
.catalog-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--surface-3);
}
.catalog-item:last-child { border-bottom: 0; padding-bottom: 0; }
.catalog-item__logo {
  flex: none;
  width: 58px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px;
}
.catalog-item__logo--ph { background: var(--surface-3); border-style: dashed; }
.catalog-item__body { display: grid; gap: 0.1rem; min-width: 0; }
.catalog-item__brand { font-weight: 700; color: var(--text); }
.catalog-item__desc { color: var(--text-muted); font-size: 0.94rem; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .tabs__panel { animation: none; }
}

/* Prose blocks */
.prose p { color: var(--text-muted); margin-bottom: 1rem; max-width: 75ch; }
.prose h2 { color: var(--text); font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 2rem 0 0.8rem; }
.prose h3 { color: var(--hit-indigo-2); font-size: 1.2rem; margin: 1.4rem 0 0.5rem; }

/* ==========================================================================
   Partner logos
   ========================================================================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

/* Categorised partner sections */
.partner-categories {
  margin-top: 2.5rem;
  display: grid;
  gap: 2.75rem;
}
.partner-category__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.partner-category__title {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  color: var(--text);
}
.partner-category__count {
  flex: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hit-blue);
  background: var(--surface-3);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.logo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  display: grid;
  place-items: center;
  gap: 0.6rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 130px;
}
.logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-card img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: saturate(1);
}
.logo-card .logo-name { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.logo-card.is-strategic { border-color: rgba(76, 187, 66, 0.5); box-shadow: 0 0 0 1px rgba(76,187,66,0.25); }

.logo-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: marquee 38s linear infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.logo-marquee__set {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2.5rem;
  flex: 0 0 auto;
}
.logo-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item img {
  display: block;
  height: 38px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.logo-marquee__item img:hover { opacity: 1; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--marquee-distance, -50%), 0, 0); }
}

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 1.1rem;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  padding: 1.05rem 2rem 1.05rem 0;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--hit-indigo-2);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__answer { padding: 0 0 1.1rem; color: var(--text-muted); line-height: 1.6; }
.faq__answer p { margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-tile {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.contact-tile .ico {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background-image: var(--grad-brand);
  color: #fff;
}
.contact-tile .ico svg { width: 22px; height: 22px; }
.contact-tile a { color: var(--text); font-weight: 600; }
.contact-tile a:hover { color: var(--hit-indigo-2); }
.contact-tile small { color: var(--text-muted); display: block; font-weight: 500; }
.contact-tile__text { color: var(--text); font-weight: 600; }

.contact-single { max-width: 720px; margin: 0 auto; }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background-color: var(--field-empty-bg);
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6577' d='M1.4.4 6 5l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}
.field input.is-filled,
.field select.is-filled,
.field select:valid,
.field textarea.is-filled,
.field textarea:not(:placeholder-shown) {
  background-color: var(--field-filled-bg);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--hit-blue);
  box-shadow: var(--ring);
}
.field input:-webkit-autofill,
.field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--field-filled-bg) inset !important;
  -webkit-text-fill-color: var(--text);
}
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--field-filled-bg) inset !important;
}
.field textarea { resize: vertical; min-height: 130px; }
.field--request-type label {
  font-size: 1.15rem;
  color: var(--hit-indigo-2);
}
.field--request-type select {
  font-size: 1.05rem;
  font-weight: 500;
}
.field--request-type select:valid,
.field--request-type select.is-filled {
  background-color: var(--field-filled-bg);
}
.field--request-type select:invalid,
.field--request-type select.is-invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.captcha-field { margin-top: 0.25rem; }
.captcha-question {
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: var(--hit-indigo-2);
  font-size: 0.98rem;
}
.captcha-row {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
}
.captcha-row input { flex: 1; min-width: 0; }
.captcha-refresh {
  flex: none;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  white-space: nowrap;
}
.form button[type="submit"]:disabled,
.form #cf-submit:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
  filter: grayscale(0.35) saturate(0.7);
}
.form__note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.6rem; }
.form__status { margin-top: 1rem; font-weight: 600; font-size: 0.9rem; line-height: 1.4; }

/* Honeypot anti-spam field: removed from layout & assistive tech, reachable by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .address-grid { grid-template-columns: 1fr; } }
.address-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.address-card h3 { font-size: 1rem; color: var(--hit-indigo-2); margin-bottom: 0.5rem; }
.address-card p { color: var(--text-muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative;
  background: var(--grad-hero);
  color: var(--text-invert);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(40% 50% at 25% 15%, rgba(0, 169, 239, 0.40), transparent 60%),
    radial-gradient(38% 46% at 80% 25%, rgba(76, 187, 66, 0.30), transparent 60%),
    radial-gradient(45% 55% at 55% 95%, rgba(50, 28, 158, 0.45), transparent 60%);
  filter: blur(16px);
  animation: aurora-drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
.cta > * { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta p { margin: 0.8rem auto 1.6rem; color: rgba(238,242,255,0.85); max-width: 55ch; }
.cta__actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg);
  color: rgba(238, 242, 255, 0.8);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { color: #fff; }
.site-footer .brand__tag { color: rgba(238,242,255,0.6); }
.footer-about { margin-top: 1rem; font-size: 0.92rem; max-width: 36ch; color: rgba(238,242,255,0.65); }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: rgba(238,242,255,0.7); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }

.footer-badges { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; flex-wrap: wrap; }
.footer-badges img { height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.socials a:hover { background: var(--hit-blue); transform: translateY(-2px); color: #fff; }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(238,242,255,0.55);
}

/* ==========================================================================
   Reveal-on-scroll animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* Marquee has its own motion — avoid nested transforms on iOS Safari */
.logo-marquee.reveal {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 2000;
}
.skip-link:focus { left: 1rem; top: 1rem; box-shadow: var(--shadow); }
