/* ── GPS Clinic Theme — main.css ── */

/* ── Design Tokens ── */
:root {
  --navy:   #0B1D35;
  --orange: #F26419;
  --teal:   #00A49A;
  --bg:     #F3F6FA;
  --white:  #FFFFFF;
  --text:   #0D1E33;
  --mid:    #4D5F78;
  --muted:  #8A98AE;
  --border: #E8EDF4;
  --footer: #070F1E;
  --green:  #25D366;
  --green-tint: #DCF8C6;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(11,29,53,0.08);
}

/* ── Tooltips (hover/focus helper text on buttons & icons) ── */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  padding: 6px 11px;
  border-radius: 7px;
  box-shadow: 0 6px 16px rgba(11,29,53,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 60;
}
[data-tip]::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--navy);
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
  z-index: 60;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after,
[data-tip]:hover::before, [data-tip]:focus-visible::before { opacity: 1; transform: translateX(-50%) translateY(0); }
[data-tip][data-tip-pos="bottom"]::after { bottom: auto; top: calc(100% + 9px); transform: translateX(-50%) translateY(-4px); }
[data-tip][data-tip-pos="bottom"]::before { bottom: auto; top: calc(100% + 3px); border-top-color: transparent; border-bottom-color: var(--navy); }
[data-tip][data-tip-pos="bottom"]:hover::after, [data-tip][data-tip-pos="bottom"]:focus-visible::after { transform: translateX(-50%) translateY(0); }
@media (max-width: 640px) { [data-tip]::after, [data-tip]::before { display: none; } }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; max-width: 100%; overflow-x: hidden; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--mid); line-height: 1.7; max-width: 100%; overflow-x: hidden; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; color: var(--text); line-height: 1.12; letter-spacing: -0.02em; }
p { line-height: 1.7; }

/* ── Utility ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-label--orange { color: var(--orange); }
.section-label--teal   { color: var(--teal); }
.section-label--white  { color: rgba(255,255,255,0.5); }

.section-h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-h2--white { color: #fff; }
.section-h2--dark  { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9px;
  padding: 12px 24px;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.15s;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--orange:hover { background: #d95710; border-color: #d95710; }
.btn--green  { background: var(--green); color: #fff; border-color: var(--green); }
.btn--green:hover { background: #1eaf55; border-color: #1eaf55; }
.btn--ghost  { background: transparent; color: rgba(255,255,255,0.78); border-color: rgba(255,255,255,0.25); }
.btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost-dark { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost-dark:hover { border-color: var(--orange); color: var(--orange); }
.btn--sm { font-size: 13px; padding: 9px 18px; }

/* ── Layout Grids ── */
.split-flex { display: flex; gap: 48px; align-items: flex-start; }
.g-products  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.g-industries{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-3cols     { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-2cols     { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.g-4cols     { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }

/* ── Keyframes ── */
@keyframes gps-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.25); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

/* ─────────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  transition: height 0.3s ease;
}
.site-header.scrolled .nav-inner {
  height: 52px;
}
/* Logo box — white pill with gradient border, matching handoff */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 32px;
  text-decoration: none;
}
.nav-logo-box {
  background: white;
  border-radius: 10px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  border: 2px solid transparent;
  background-image: linear-gradient(white, white),
    linear-gradient(135deg, #ffffff 0%, #F26419 50%, #0B1D35 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: padding 0.3s ease;
}
.site-header.scrolled .nav-logo-box {
  padding: 3px 10px;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: height 0.3s ease;
}
.site-header.scrolled .nav-logo img {
  height: 36px;
}
.nav-logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-fallback .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--orange);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-fallback .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.nav-logo-fallback .logo-text span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
  padding-bottom: 2px;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-bottom: 2px solid var(--orange);
}
.nav-cta { margin-left: 16px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  padding: 6px;
  line-height: 0;
  transition: color 0.15s;
}
.nav-burger:hover { color: #fff; }
.mobile-nav {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500; transition: color 0.15s; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--orange); }

/* ─────────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 72px 24px 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.032;
  background-image: radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1px);
  background-size: 24px 24px;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -100px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(242,100,25,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.55); max-width: 520px; line-height: 1.75; }

/* Breadcrumb */
.breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.breadcrumb a:hover { color: #fff; }
.bc-sep { margin: 0 8px; opacity: 0.4; }

/* ─────────────────────────────────────────────────
   HOME — HERO
───────────────────────────────────────────────── */
.home-hero {
  background: var(--navy);
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.032;
  background-image: radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-glow-orange {
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(242,100,25,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-glow-teal {
  position: absolute;
  bottom: -80px; left: -60px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(0,164,154,0.11) 0%, transparent 60%);
  pointer-events: none;
}
.hero-flex { display: flex; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-left { flex: 1; min-width: 280px; }
.hero-right { flex: 0 0 420px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.hero-h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 800;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-h1 .accent { color: var(--orange); }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.78;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tracking Dashboard Card */
.dashboard-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(12px);
}
.dashboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dashboard-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 2s infinite;
}
.vehicle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  margin-bottom: 8px;
}
.vehicle-row:last-of-type { margin-bottom: 0; }
.vehicle-info { display: flex; align-items: center; gap: 10px; }
.vehicle-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  animation: gps-pulse 2s infinite;
}
.vehicle-dot--green  { background: #4ade80; }
.vehicle-dot--orange { background: var(--orange); animation-delay: 0.6s; }
.vehicle-dot--teal   { background: var(--teal); animation-delay: 1.2s; }
.vehicle-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); font-family: 'DM Sans', sans-serif; }
.vehicle-loc  { font-size: 11px; color: rgba(255,255,255,0.4); }
.vehicle-speed { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.6); }
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.dash-stat {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}
.dash-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 3px;
}
.dash-stat-lbl { font-size: 10px; color: rgba(255,255,255,0.45); font-weight: 500; }

/* ─────────────────────────────────────────────────
   HOME — TRUST BAR
───────────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  padding: 40px 24px;
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-around;
  align-items: center;
}
.trust-stat { text-align: center; padding: 12px 24px; }
.trust-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-stat-lbl { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ─────────────────────────────────────────────────
   HOME — HARDWARE PRODUCTS SECTION
───────────────────────────────────────────────── */
.section-hw {
  background: var(--bg);
  padding: 80px 24px;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-header p { margin-top: 12px; font-size: 15px; color: var(--mid); }

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(11,29,53,0.1);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.product-card-img-fallback .icon-circle {
  width: 64px;
  height: 64px;
  background: rgba(242,100,25,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img-fallback .icon-circle svg { color: var(--orange); }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.product-card-body p { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--bg);
  color: var(--mid);
  border: 1px solid var(--border);
}
.card-tag--orange { background: rgba(242,100,25,0.08); color: var(--orange); border-color: rgba(242,100,25,0.2); }

/* ─────────────────────────────────────────────────
   HOME — SOFTWARE SOLUTIONS SECTION
───────────────────────────────────────────────── */
.section-sol {
  background: var(--navy);
  padding: 80px 24px;
}
.solution-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}
.solution-card:hover {
  border-color: var(--teal);
  background: rgba(255,255,255,0.08);
}
.solution-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(0,164,154,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.solution-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.solution-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 16px; }
.solution-card .card-tags .card-tag {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
}
.section-sol-footer { text-align: center; margin-top: 40px; }

/* ─────────────────────────────────────────────────
   HOME — INDUSTRIES SECTION
───────────────────────────────────────────────── */
.section-industries {
  background: var(--white);
  padding: 80px 24px;
}
.industry-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.industry-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(242,100,25,0.08);
}
.industry-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-icon svg {
  width: 100%;
  height: 100%;
}
.industry-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.industry-card p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ─────────────────────────────────────────────────
   HOME — WHY GPS CLINIC
───────────────────────────────────────────────── */
.section-why { background: var(--footer); padding: 80px 24px; }
.why-benefits { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  width: 44px;
  height: 44px;
  background: rgba(242,100,25,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon svg { color: var(--orange); }
.benefit-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.benefit-text p { font-size: 13px; color: var(--mid); line-height: 1.6; }

/* Support card */
.support-card {
  background: var(--navy);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.07);
}
.support-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.support-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.support-item:last-child { border-bottom: none; }
.support-item-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.support-item-text { flex: 1; }
.support-item-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.support-item-text span { font-size: 12px; color: rgba(255,255,255,0.4); }
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 20px;
  padding: 2px 8px;
}

/* ─────────────────────────────────────────────────
   HOME — TESTIMONIALS
───────────────────────────────────────────────── */
.section-testimonials { background: var(--white); padding: 80px 24px; }
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.stars { color: var(--orange); font-size: 15px; margin-bottom: 14px; letter-spacing: 1px; }
.testimonial-card blockquote {
  font-size: 14px;
  font-style: italic;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--text); }
.author-role { font-size: 12px; color: var(--muted); }

/* ─────────────────────────────────────────────────
   HOME — FAQ
───────────────────────────────────────────────── */
.section-faq { background: var(--bg); padding: 80px 24px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  gap: 12px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.faq-question:hover { color: var(--orange); }
.faq-chevron {
  color: var(--muted);
  transition: transform 0.25s, color 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--orange); }
.faq-answer {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0 0;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 18px;
}

/* ─────────────────────────────────────────────────
   REUSABLE CTA BAND (every inner page)
───────────────────────────────────────────────── */
.contact-cta {
  background: linear-gradient(to bottom, #ffffff 0%, #1a3560 28%, #0B1D35 55%, #060e1c 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.cta-band-glow { display: none; }
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
}
.cta-band-text {
  flex: 1;
  min-width: 0;
}
.cta-band-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.cta-band-text p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}
.btn--lg { font-size: 15px; padding: 13px 28px; }

@media (max-width: 860px) {
  .cta-band-inner { flex-direction: column; text-align: center; gap: 28px; }
  .cta-band-text p { max-width: 100%; margin: 0 auto; }
  .cta-band-actions { justify-content: center; }
}

/* ─────────────────────────────────────────────────
   HOME — CONTACT CTA SECTION
───────────────────────────────────────────────── */
.section-cta-contact {
  background: var(--navy);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.section-cta-contact::before {
  content: '';
  position: absolute;
  top: -80px; right: -40px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(242,100,25,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-left h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.cta-left h2 span { color: var(--orange); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.contact-detail-text span { font-size: 13px; color: rgba(255,255,255,0.45); }

/* Enquiry Form */
.enquiry-form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.enquiry-form-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.enquiry-form-card .form-sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(242,100,25,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.form-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--orange); }
.form-consent label { font-size: 12px; color: var(--muted); line-height: 1.5; }
.form-success {
  display: none;
  background: rgba(0,164,154,0.1);
  border: 1px solid rgba(0,164,154,0.3);
  border-radius: 9px;
  padding: 16px;
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* ─────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────── */
.site-footer {
  background: var(--footer);
  padding: 64px 24px 0;
}
.footer-logo { margin-bottom: 18px; }
.footer-logo .nav-logo-box { padding: 6px 12px; }
.footer-logo img { height: 40px; width: auto; object-fit: contain; display: block; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.18s, color 0.18s;
}
.footer-social a:hover { background: var(--orange); color: #fff; }
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 48px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: #fff; }

/* ─────────────────────────────────────────────────
   MOBILE STICKY CTAs
───────────────────────────────────────────────── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-sticky-cta-inner { display: flex; }
.mobile-sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.18s;
}
.mobile-sticky-cta a:hover { opacity: 0.9; }
.mobile-sticky-cta-wa { background: var(--green); }
.mobile-sticky-cta-call { background: var(--orange); }

/* ─────────────────────────────────────────────────
   HARDWARE DETAIL PAGE
───────────────────────────────────────────────── */
.hw-hero-section {
  background: var(--navy);
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}
.hw-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.032;
  background-image: radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hw-hero-section::after {
  content: '';
  position: absolute;
  top: -100px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(242,100,25,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.hw-hero-inner { position: relative; z-index: 1; }

.hw-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,100,25,0.12);
  border: 1px solid rgba(242,100,25,0.28);
  border-radius: 24px;
  padding: 5px 14px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hw-hero-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  height: auto;
  align-self: center;
}
.hw-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hw-hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.15);
}
.hw-hero-img-placeholder span { font-size: 13px; color: rgba(255,255,255,0.3); }

.orange-band {
  background: var(--orange);
  padding: 18px 24px;
}
.orange-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-around;
  align-items: center;
}
.orange-band-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: white;
  font-weight: 600;
}

.hw-features-section { background: var(--bg); padding: 72px 24px; }
.hw-features-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.hw-features-section .section-sub { font-size: 15px; color: var(--mid); margin-bottom: 36px; }

.feature-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature-check {
  width: 28px;
  height: 28px;
  background: rgba(0,164,154,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item h4 { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.feature-item p  { font-size: 13px; color: var(--mid); line-height: 1.5; }

.hw-cta-band {
  background: linear-gradient(to bottom, #ffffff 0%, #1a3560 28%, #0B1D35 55%, #060e1c 100%);
  padding: 100px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hw-cta-band h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.hw-cta-band p { color: rgba(255,255,255,0.5); font-size: 15px; margin-bottom: 28px; }
.hw-cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* GPS Accuracy Disclaimer */
.gps-disclaimer {
  background: rgba(0,164,154,0.05);
  border: 1px solid rgba(0,164,154,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 24px;
}
.gps-disclaimer p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.gps-disclaimer strong { color: var(--mid); }

/* ─────────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────────── */
.contact-page-form { background: var(--bg); padding: 72px 24px; }
.contact-info-col h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.contact-info-col p { font-size: 15px; color: var(--mid); margin-bottom: 32px; }

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon--orange { background: rgba(242,100,25,0.1); color: var(--orange); }
.contact-info-icon--teal   { background: rgba(0,164,154,0.1); color: var(--teal); }
.contact-info-icon--green  { background: var(--green-tint); color: #128C3E; }
.contact-info-text strong  { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.contact-info-text span    { font-size: 13px; color: var(--muted); }

.map-wrap {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 220px;
  background: var(--bg);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ─────────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────────── */
.about-intro { background: var(--white); padding: 72px 24px; }
.about-story-section { background: var(--bg); padding: 72px 24px; }
.about-brands-section { background: var(--navy); padding: 60px 24px; text-align: center; }
.brand-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px; }
.brand-logo-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  padding: 12px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.brand-logo-item:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ─────────────────────────────────────────────────
   BLOG
───────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.03); }
.blog-card-body { padding: 20px; }
.blog-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.blog-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-card-body p { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 14px; }
.read-more { font-size: 13px; font-weight: 600; color: var(--orange); }
.read-more:hover { color: #d95710; }

/* ─────────────────────────────────────────────────
   ARCHIVE / LISTING PAGES
───────────────────────────────────────────────── */
.archive-section { background: var(--bg); padding: 72px 24px; }
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--mid);
  transition: all 0.18s;
}
.pagination a:hover,
.pagination span.current {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ─────────────────────────────────────────────────
   BRAND PARTNER GRID
───────────────────────────────────────────────── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.18s;
  min-height: 80px;
}
.brand-card:hover {
  box-shadow: 0 6px 20px rgba(11,29,53,0.10);
  transform: translateY(-2px);
}
.brand-card img {
  max-width: 130px;
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.2s;
}
.brand-card:hover img {
  filter: grayscale(0%);
}
@media (max-width: 900px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────────────────────────────────────────────
   SOLUTION ARCHIVE TILES
───────────────────────────────────────────────── */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sol-grid--home { grid-template-columns: repeat(3, 1fr); }
.sol-grid--home .sol-tile-icon { width: 40px; height: 40px; }
.sol-grid--home .sol-tile-body { padding: 14px 16px 16px; }
.sol-grid--home .sol-tile-body h3 { font-size: 14px; }
.sol-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.18s;
}
.sol-tile:hover {
  box-shadow: 0 8px 28px rgba(11,29,53,0.12);
  transform: translateY(-3px);
}
.sol-tile-top {
  aspect-ratio: 3/2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.sol-tile-top--img img { width: 100%; height: 100%; object-fit: cover; }
.sol-tile-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  pointer-events: none;
}
.sol-tile-circle--1 { width: 190px; height: 190px; top: -75px; right: -55px; }
.sol-tile-circle--2 { width: 120px; height: 120px; bottom: -45px; left: -30px; }
.sol-tile-icon {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.25));
}
.sol-tile-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sol-tile-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}
.sol-tile-body h3 a {
  color: inherit;
  text-decoration: none;
}
.sol-tile-body h3 a:hover { color: var(--teal); }

/* ─────────────────────────────────────────────────
   404 PAGE
───────────────────────────────────────────────── */
.page-404 { background: var(--bg); min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; text-align: center; }
.page-404 .num { font-family: 'Outfit', sans-serif; font-size: 96px; font-weight: 800; color: var(--orange); line-height: 1; }
.page-404 h1 { font-size: 28px; color: var(--text); margin: 12px 0 16px; }
.page-404 p  { color: var(--mid); max-width: 360px; margin: 0 auto 28px; }

/* ─────────────────────────────────────────────────
   SINGLE BLOG POST
───────────────────────────────────────────────── */
.single-post-hero { background: var(--navy); padding: 60px 24px; }
.single-post-body { background: var(--white); padding: 56px 24px; }
.post-content { max-width: 720px; margin: 0 auto; font-size: 15px; line-height: 1.8; }
.post-content h2 { font-size: 26px; margin: 36px 0 14px; }
.post-content h3 { font-size: 20px; margin: 28px 0 10px; }
.post-content p  { margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px 24px; }
.post-content li { margin-bottom: 6px; }
.post-content img { border-radius: var(--radius); margin: 24px 0; }
.post-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--bg);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* ─────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
───────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .g-products   { grid-template-columns: repeat(2, 1fr); }
  .g-industries { grid-template-columns: repeat(2, 1fr); }
  .g-3cols      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 28px; }
  .blog-grid    { grid-template-columns: repeat(2, 1fr); }
  .hero-right   { flex: 0 0 360px; }
  .sol-grid     { grid-template-columns: repeat(3, 1fr); }
  .sol-grid--home { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 860px) {
  .split-flex { flex-direction: column; gap: 32px; }
  .hero-flex  { flex-direction: column; }
  .hero-left  { flex: none; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  .hero-right { flex: none; width: 100%; }
  .g-solutions{ grid-template-columns: 1fr; }
  .g-4cols    { grid-template-columns: repeat(2, 1fr); }
  .form-row   { grid-template-columns: 1fr; }
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 56px; }
  .sol-grid   { grid-template-columns: repeat(2, 1fr); }
  .sol-grid--home { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .g-products   { grid-template-columns: 1fr; }
  .g-industries { grid-template-columns: repeat(2, 1fr); }
  .g-3cols      { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .blog-grid    { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; gap: 0; }
  .trust-stat { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .trust-stat:last-child { border-bottom: none; }
  .dashboard-stats { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── Motion & Polish (added for .NET rebuild) ────────────────────────────── */
a, button, .btn, .product-card, .sol-tile, .industry-card, .card, .testimonial-card,
.benefit-item, .faq-item, .brand-card, .nav-links a {
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}

.product-card:hover, .sol-tile:hover, .industry-card:hover, .card:hover, .brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11,29,53,0.12);
}

.btn:active { transform: translateY(1px) scale(0.98); }
.btn--orange:hover, .btn--green:hover { filter: brightness(1.06); }

/* Scroll-reveal: elements start slightly below/faded, animate in via .in-view (added by IntersectionObserver in main.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Sticky header shrink transition (class toggled by main.js) */
.site-header { transition: box-shadow .25s ease, padding .25s ease; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(11,29,53,0.08); }

/* Mobile nav slide */
.mobile-nav { transition: max-height .3s ease, opacity .25s ease; }

/* Focus visibility for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* FAQ chevron rotation */
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform .25s ease; }

/* ── Login nav dropdown (links out to customer portals) ──────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-caret { width: 9px; height: 9px; transition: transform .2s ease; }
.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 32px rgba(11,29,53,0.18);
  min-width: 200px; padding: 8px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 6px;
  color: var(--text) !important; font-size: 13.5px; font-weight: 600; border-bottom: none !important;
  border: 1px solid transparent; -webkit-tap-highlight-color: transparent;
}
.nav-dropdown-menu a:hover { background: var(--bg); color: var(--orange) !important; }
/* Tap/click feedback: an outline, not a solid fill — avoids white-on-white on touch devices */
.nav-dropdown-menu a:active { background: transparent; border-color: var(--orange); }
.nav-dropdown-menu a svg { flex-shrink: 0; color: var(--teal); }

/* Mobile: dropdown becomes an inline expandable list */
.mobile-nav .nav-dropdown-menu,
.mobile-nav .nav-dropdown.open .nav-dropdown-menu {
  position: static !important; left: auto !important; transform: none !important;
  opacity: 1; visibility: visible; pointer-events: auto;
  box-shadow: none; border: none; background: rgba(255,255,255,0.04); display: none; margin-top: 6px; padding: 4px 0 4px 16px;
}
.mobile-nav .nav-dropdown.open .nav-dropdown-menu { display: block; }
.mobile-nav .nav-dropdown-menu a { color: rgba(255,255,255,0.75) !important; padding: 8px 6px; }
.mobile-nav .nav-dropdown-menu a:hover,
.mobile-nav .nav-dropdown-menu a:active {
  background: transparent; border-color: rgba(255,255,255,0.6); color: #fff !important;
}

/* ── icon-left card layout (Industries page, etc.) — extracted from inline styles so it can go responsive ── */
.icon-card-row { display: flex; align-items: flex-start; gap: 20px; }
.icon-card-icon { flex-shrink: 0; width: 52px; height: 52px; }
.icon-card-body { min-width: 0; }
.icon-card-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.icon-card-features li { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: var(--text); }
.icon-card-features li svg { flex-shrink: 0; margin-top: 2px; }

/* ── Mobile refinements ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-inner { justify-content: space-between; }
}

@media (max-width: 640px) {
  /* 1. Hamburger fully to the right */
  .nav-inner { justify-content: space-between; }

  /* 2. Footer: keep only the essentials on mobile (brand blurb + company/legal links) */
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-col:nth-child(2), .footer-col:nth-child(3) { display: none; }

  /* 3. Cards/grids shrink to fit the screen instead of overflowing */
  .g-products, .g-3cols, .g-4cols, .g-2cols, .g-industries,
  .sol-grid, .sol-grid--home, .blog-grid, .brand-grid {
    grid-template-columns: 1fr !important;
  }
  .card, .product-card, .sol-tile, .industry-card, .testimonial-card {
    max-width: 100%;
  }
  .container, .container-narrow { padding: 0 16px; }

  /* 5. Icon-left cards stack: icon on top, content centered */
  .icon-card-row { flex-direction: column; align-items: center; text-align: center; }
  .icon-card-icon { margin: 0 auto 4px; }
  .icon-card-features li { justify-content: center; text-align: left; }

  .benefit-item { flex-direction: column; align-items: center; text-align: center; }
  .contact-info-item { flex-direction: column; align-items: center; text-align: center; }
  .support-item { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* ── Contact page: whole-tile / whole-row click targets ─────────────────── */
.contact-tile {
  display: block; cursor: pointer;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.contact-tile:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(242,100,25,0.1); transform: translateY(-2px); }

.contact-info-item, .contact-detail { cursor: pointer; border-radius: 8px; transition: opacity .15s ease; }
.contact-info-item:hover, .contact-detail:hover { opacity: 0.8; }

/* ── Hero quick-jump chips (mobile only) ─────────────────────────────────── */
.hero-jumplinks { display: none; }

@media (max-width: 640px) {
  /* Offset anchor targets so the sticky header doesn't cover the section title */
  section[id] { scroll-margin-top: 76px; }

  .hero-jumplinks {
    display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    margin-top: 18px; padding-bottom: 4px; scrollbar-width: none;
    width: 100%; min-width: 0; max-width: 100vw;
  }
  .hero-left { min-width: 0; }
  .home-hero, .hero-flex, .container.hero-flex { overflow-x: hidden; max-width: 100%; }
  .hero-jumplinks::-webkit-scrollbar { display: none; }
  .hero-jumplinks a {
    flex-shrink: 0; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px; padding: 7px 14px; white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
  }
  .hero-jumplinks a:hover, .hero-jumplinks a:active { background: rgba(242,100,25,.18); border-color: var(--orange); color: #fff; }
}

/* ── Why Us: left-aligned header on desktop, decorative panel ───────────── */
.section-header--why { text-align: left; max-width: none; }

.why-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(11,29,53,0.08);
  position: relative;
  overflow: hidden;
}
.why-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
}

@media (max-width: 640px) {
  /* 1. Match the centered header used by every other section on mobile */
  .section-header--why { text-align: center; max-width: 600px; margin: 0 auto 32px; }

  /* 2. Give "Why Us" its own glorified panel instead of blending into the page */
  .why-panel { padding: 24px 20px; border-radius: 16px; }
  /* Icon and text both centered - matches every other icon-led card on mobile */
  .benefit-item { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 640px) {
  .hero-view-products { display: none; }
}

/* ── Mobile-only: lighter, easier-on-the-eyes WhatsApp green ────────────── */
@media (max-width: 640px) {
  .btn--green { background: #34D399; border-color: #34D399; color: #05281A; }
  .btn--green:hover, .btn--green:active { background: #2BC589; border-color: #2BC589; }
  .mobile-sticky-cta a.mobile-sticky-cta-wa { background: #34D399; color: #05281A; }
}
