/* HopeLynx Automotive Solutions, base styles */

:root {
  --gray: #B1B0B3;
  --gray-light: #E9E8E7;
  --ink: #1A1A1A;
  --ink-soft: #55555A;
  --bg: #FFFFFF;
  --bg-soft: #F7F6F5;
  --radius: 10px;
  --max-width: 1160px;
  --shadow: 0 4px 18px rgba(26, 26, 26, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- Decorative blurred blobs (give glass cards something to blur) ---------- */

section {
  position: relative;
  overflow: hidden;
}

section::before,
section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

section::before {
  top: -160px;
  right: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(250, 110, 39, 0.32) 0%, rgba(250, 110, 39, 0) 70%);
}

section::after {
  bottom: -180px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 26, 26, 0.16) 0%, rgba(26, 26, 26, 0) 70%);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--gray-light);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease;
}

.nav-cta:hover { background: #000; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--gray-light);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a { width: 100%; padding: 10px 0; }

  .nav-cta { margin-top: 8px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #000; }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--gray-light); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 60%);
  padding: 90px 0 80px;
  border-bottom: 1px solid var(--gray-light);
}

.hero.has-bg {
  background-size: cover;
  background-position: center;
  border-bottom: none;
  color: #fff;
}

.hero.has-bg .eyebrow { color: #fff; border-bottom-color: #fff; }
.hero.has-bg h1 { color: #fff; }
.hero.has-bg p.lead { color: rgba(255, 255, 255, 0.85); }
.hero.has-bg .btn-outline { border-color: #fff; color: #fff; }
.hero.has-bg .btn-outline:hover { background: #fff; color: var(--ink); }
.hero.has-bg::before,
.hero.has-bg::after { display: none; }

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-art {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  aspect-ratio: 4 / 3.2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-art img {
  height: 46%;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16/9; }
}

/* ---------- Sections ---------- */

section { padding: 80px 0; }

.section-soft { background: var(--bg-soft); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Cards / grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
  box-shadow: 0 14px 40px rgba(26, 26, 26, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 26, 26, 0.08);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card a.link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Feature list ---------- */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.feature-list .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ---------- Banner / CTA ---------- */

.banner {
  background: var(--ink);
  border-radius: 20px;
  padding: 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.banner h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.banner p {
  margin: 0;
  opacity: 0.92;
  max-width: 46ch;
}

/* ---------- Stats / trust strip ---------- */

.trust-strip {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 28px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.trust-strip strong { color: var(--ink); }

/* ---------- Forms ---------- */

.form-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-soft);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

.form-success {
  display: none;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.form-success.show { display: block; }

/* ---------- Page hero (sub pages) ---------- */

.page-hero {
  padding: 60px 0 50px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--gray-light);
}

.page-hero.has-bg {
  background-size: cover;
  background-position: center;
  border-bottom: none;
  padding: 90px 0 70px;
}

.page-hero.has-bg h1 { color: #fff; }
.page-hero.has-bg p { color: rgba(255, 255, 255, 0.85); }
.page-hero.has-bg::before,
.page-hero.has-bg::after { display: none; }

.card-photo {
  display: block;
  width: calc(100% + 56px);
  max-width: none;
  height: 190px;
  object-fit: cover;
  margin: -32px -28px 22px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.page-hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--ink); font-weight: 600; text-decoration: underline; }

/* ---------- Contact info blocks ---------- */

.contact-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-block .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 26, 26, 0.08);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-block h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-block p, .contact-block a { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.contact-block a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cfcfd1;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand img { height: 30px; }

.footer-grid p { font-size: 0.9rem; color: #a8a8ac; max-width: 32ch; }

.footer-grid h5 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #a8a8ac; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid #333336;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #8a8a8e;
}

/* ---------- Misc ---------- */

.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

.split-art {
  background: #0a0a0a;
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-art img { width: 40%; opacity: 1; }

.nav-links a .nav-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  vertical-align: -4px;
  margin-right: 6px;
  display: inline-block;
}

.hero-art,
.split-art { position: relative; overflow: hidden; }

.fch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #04040e;
}

.split-art.photo { overflow: hidden; }
.split-art.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Dark product band with frosted-glass cards ---------- */

.section-dark {
  background:
    radial-gradient(760px 340px at 50% 60%, rgba(250, 110, 39, 0.09), rgba(250, 110, 39, 0) 70%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 56px 56px,
    #0a0908;
  color: #fff;
}

.section-dark::before {
  top: -160px;
  left: -140px;
  right: auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(250, 110, 39, 0.22) 0%, rgba(250, 110, 39, 0) 70%);
  filter: blur(70px);
}

.section-dark::after {
  bottom: -180px;
  right: -120px;
  left: auto;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(250, 160, 90, 0.16) 0%, rgba(250, 160, 90, 0) 70%);
  filter: blur(70px);
}

.hero.hero--fade.has-bg::after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  width: auto;
  height: 180px;
  border-radius: 0;
  filter: none;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0) 0%, #0a0908 100%);
}

.section-dark { padding: 100px 0; }

.section-dark .grid-3 {
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.66); }

.section-dark .card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.section-dark .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(250, 110, 39, 0), rgba(255, 170, 120, 0.9), rgba(250, 110, 39, 0));
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.section-dark .card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 160, 110, 0.5);
  box-shadow: 0 24px 60px rgba(250, 110, 39, 0.18), 0 0 0 1px rgba(250, 110, 39, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.section-dark .card:hover::before { opacity: 1; }

.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: rgba(255, 255, 255, 0.66); }

.section-dark .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(250, 110, 39, 0.32), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 24px rgba(250, 110, 39, 0.24);
}

.section-dark .card { padding: 26px 24px; }
.section-dark .card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.section-dark .card p { font-size: 0.9rem; margin-bottom: 0; }

.section-dark .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.section-dark .card { padding: 22px 20px; }
.section-dark .card h3 { font-size: 1rem; }
.section-dark .card p { font-size: 0.85rem; line-height: 1.55; }

.section-dark .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

/* ---------- Glass call-to-action banner over a photo ---------- */

.section-photo {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

.section-photo::before,
.section-photo::after { display: none; }

.section-photo .banner {
  background: rgba(14, 14, 14, 0.42);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* ---------- Compact footer ---------- */

.site-footer { padding: 34px 0 16px; }

.footer-grid {
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}

.footer-brand { margin-bottom: 8px; }
.footer-brand img { height: 26px; }

.footer-grid p { max-width: 44ch; font-size: 0.85rem; line-height: 1.5; margin: 0; }
.footer-grid h5 { margin: 0 0 10px; }
.footer-grid li { margin-bottom: 5px; }
.footer-grid a { font-size: 0.88rem; }

.footer-bottom { padding-top: 14px; }

/* ---------- Embedded live demo ---------- */

.demo-section { padding: 60px 0 70px; }

.demo-frame {
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #05060f;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.demo-dots { display: inline-flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.demo-title { flex: 1; text-align: center; font-weight: 600; }
.demo-full { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.demo-iframe {
  display: block;
  width: 100%;
  height: min(78vh, 760px);
  min-height: 560px;
  border: 0;
  background: #05060f;
}

.demo-note {
  max-width: 1160px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-align: center;
}

.demo-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .demo-title { display: none; }
  .demo-bar { justify-content: space-between; }
  .demo-iframe { min-height: 520px; }
}

/* ---------- Looping video backgrounds ---------- */

.has-video { background: #0a0a0a; overflow: hidden; }

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.bg-video.bg-blur { filter: blur(4px); transform: scale(1.04); }

.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.78));
}

.section-photo .bg-overlay { background: linear-gradient(180deg, rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.55)); }

@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
  .has-video { background: #0a0a0a url("../assets/truck-poster.jpeg") center / cover no-repeat; }
  .section-photo.has-video { background-image: url("../assets/van-poster.jpeg"); }
}


/* ---------- Home hero: full-width slides, accent headline, glass highlights bar ---------- */

.home-hero {
  position: relative;
  min-height: clamp(640px, 92vh, 800px);
  padding: 0;
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
}

.home-hero::before,
.home-hero::after { display: none; }

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}

.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-video,
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-soft { filter: blur(3px); transform: scale(1.04); }

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.86) 0%, rgba(10, 9, 8, 0.6) 45%, rgba(10, 9, 8, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.35) 0%, rgba(10, 9, 8, 0) 30%, rgba(10, 9, 8, 0.55) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 90px;
  padding-bottom: 170px;
}

.hero-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero-title .accent { color: #fa6e27; }

.hero-bar {
  display: block;
  width: 76px;
  height: 5px;
  border-radius: 3px;
  background: #fa6e27;
  margin: 26px 0 24px;
}

.hero-sub {
  margin: 0 0 32px;
  max-width: 52ch;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8a47, #fa6e27);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(250, 110, 39, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(250, 110, 39, 0.5); }

.hero-cta .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 9, 8, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero-arrow:hover { background: rgba(250, 110, 39, 0.85); border-color: rgba(250, 110, 39, 1); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 138px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 26px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-dot.is-active { background: #fa6e27; width: 40px; }

.hero-stats-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1020px;
  margin: 0 auto;
  padding: 16px 8px;
  border-radius: 22px;
  background: rgba(14, 13, 12, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat:last-child { border-right: 0; }

.stat-ring {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #fa6e27;
  color: #fa6e27;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-text { display: flex; flex-direction: column; min-width: 0; }
.stat-val { font-size: 1.5rem; font-weight: 800; line-height: 1.15; color: #fff; }
.stat-label { font-size: 0.82rem; line-height: 1.35; color: rgba(255, 255, 255, 0.72); margin-top: 2px; }

@media (max-width: 860px) {
  .home-hero { min-height: 860px; }
  .hero-copy { padding-top: 110px; padding-bottom: 330px; }
  .hero-title { max-width: 12ch; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 292px; }
  .hero-stats { grid-template-columns: 1fr; padding: 8px; }
  .hero-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 10px 14px; }
  .hero-stat:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* ---------- Header over the hero, turning solid once scrolled ---------- */

body.home-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.6), rgba(10, 9, 8, 0));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

body.home-page .brand { color: #fff; }
body.home-page .nav-links a { color: rgba(255, 255, 255, 0.88); }
body.home-page .nav-links a:hover,
body.home-page .nav-links a.active { color: #fff; }
body.home-page .nav-cta { background: #fff; color: var(--ink) !important; }
body.home-page .nav-cta:hover { background: #f1efec; }
body.home-page .nav-toggle span { background: #fff; }

body.home-page.scrolled .site-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--gray-light);
}

body.home-page.scrolled .brand { color: var(--ink); }
body.home-page.scrolled .nav-links a { color: var(--ink-soft); }
body.home-page.scrolled .nav-links a:hover,
body.home-page.scrolled .nav-links a.active { color: var(--ink); }
body.home-page.scrolled .nav-cta { background: var(--ink); color: #fff !important; }
body.home-page.scrolled .nav-toggle span { background: var(--ink); }

@media (max-width: 860px) {
  body.home-page:not(.scrolled) .nav-links {
    background: rgba(14, 13, 12, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
}

/* ---------- Five service cards, 3 over 2 ---------- */

.grid-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.grid-5 .card { flex: 0 1 calc(33.333% - 16px); min-width: 260px; }

@media (max-width: 860px) {
  .grid-5 .card { flex: 1 1 100%; }
}

.card-photo--fch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 56px);
  height: 190px;
  margin: -32px -28px 22px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: radial-gradient(circle at 50% 45%, #1a2540 0%, #05060f 70%);
}

.card-photo--fch img { width: 96px; height: 96px; border-radius: 22%; box-shadow: 0 0 40px rgba(26, 111, 255, 0.35); }

/* ---------- Product card inside a service ---------- */

.product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(26, 26, 26, 0.12);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(26, 26, 26, 0.14); }
.product-card img { border-radius: 22%; flex-shrink: 0; }
.product-card span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.product-card strong { font-size: 1.05rem; color: var(--ink); }
.product-card small { color: var(--ink-soft); font-size: 0.85rem; }
.product-arrow { font-size: 1.3rem; color: var(--ink); }

.product-links { margin: 14px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.product-links a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }


/* ---------- Hero fit fixes: no overlap at common laptop heights ---------- */

.home-hero { min-height: clamp(700px, 100vh, 880px); }

.hero-copy { padding-top: 112px; padding-bottom: 214px; }

.hero-title {
  max-width: 15em;
  font-size: clamp(2.1rem, 4.3vw, 3.6rem);
  line-height: 1.08;
}

.hero-bar { margin: 20px 0 18px; }
.hero-sub { max-width: 58ch; font-size: 1.05rem; margin-bottom: 26px; }
.hero-cta { padding: 12px 14px 12px 28px; }

.hero-dots { bottom: 148px; }
.hero-stats { padding: 12px 8px; }
.hero-stat { padding: 4px 22px; gap: 14px; }
.stat-ring { flex-basis: 48px; width: 48px; height: 48px; }
.stat-val { font-size: 1.3rem; }

@media (max-width: 860px) {
  .home-hero { min-height: 900px; }
  .hero-copy { padding-top: 116px; padding-bottom: 340px; }
  .hero-title { font-size: clamp(2rem, 8.4vw, 2.8rem); }
  .hero-dots { bottom: 296px; }
}


/* ---------- Page headers: pill label + accent word ---------- */

.chip {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ffb98f;
  background: rgba(250, 110, 39, 0.16);
  border: 1px solid rgba(250, 110, 39, 0.45);
}

.page-hero:not(.has-bg) .chip { color: #b8501a; background: rgba(250, 110, 39, 0.1); }

.page-hero .accent { color: #fa6e27; }

.page-hero.has-bg { padding: 110px 0 120px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; }

/* ---------- Browse tiles (overlap the page header) ---------- */

.browse {
  position: relative;
  z-index: 6;
  padding: 0;
  margin-top: -64px;
  overflow: visible;
}

.browse::before,
.browse::after { display: none; }

.browse-panel {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.browse-title strong { display: block; font-size: 1.1rem; color: var(--ink); }
.browse-title small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.4; }

.browse-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.browse-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 16px 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.1);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.browse-tile:hover {
  transform: translateY(-3px);
  border-color: #fa6e27;
  box-shadow: 0 12px 26px rgba(250, 110, 39, 0.18);
}

.browse-tile strong { font-size: 0.9rem; color: var(--ink); line-height: 1.25; }
.browse-tile small { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.3; }
.browse-tile .stat-ring { flex-basis: auto; width: 46px; height: 46px; border-width: 2px; margin-bottom: 4px; }

@media (max-width: 960px) {
  .browse-panel { grid-template-columns: 1fr; }
  .browse-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact forms: dark header, soft rounded fields ---------- */

.panel-form {
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.16);
}

.pf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 26px;
  color: #fff;
  background: linear-gradient(135deg, #14110f, #2b1a10 60%, #5a2a10);
}

.pf-eyebrow { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #ffb98f; }
.pf-head h3 { margin: 4px 0 0; font-size: 1.7rem; letter-spacing: -0.01em; }

.pf-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

a.pf-chip:hover { background: rgba(255, 255, 255, 0.24); }

.pf-body { padding: 24px 26px 26px; display: grid; gap: 16px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-field { min-width: 0; }
.pf-field label { display: block; margin-bottom: 7px; font-size: 0.82rem; font-weight: 700; color: var(--ink); }

.pf-field input,
.pf-field select,
.pf-field textarea {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(26, 26, 26, 0.14);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

.pf-field textarea { resize: vertical; min-height: 110px; }

.pf-field input:focus,
.pf-field select:focus,
.pf-field textarea:focus { outline: none; border-color: #fa6e27; box-shadow: 0 0 0 4px rgba(250, 110, 39, 0.14); }

.pf-actions { display: flex; gap: 12px; }

.pf-send,
.pf-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pf-send {
  flex: 1.3;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #ff8a47, #fa6e27);
  box-shadow: 0 10px 26px rgba(250, 110, 39, 0.3);
}

.pf-send:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(250, 110, 39, 0.45); }
.pf-send:disabled { opacity: 0.7; cursor: default; transform: none; }

.pf-alt { flex: 1; color: var(--ink); background: #fff; border: 1px solid rgba(26, 26, 26, 0.2); }
.pf-alt:hover { background: var(--ink); color: #fff; }

.panel-form .form-note { margin: 0; }

@media (max-width: 640px) {
  .pf-row { grid-template-columns: 1fr; }
  .pf-actions { flex-direction: column; }
  .pf-head, .pf-body { padding-left: 20px; padding-right: 20px; }
}

/* Home menu over the hero: no border strip, so the fade can't repeat into a dark line */
body.home-page .site-header { border-bottom-width: 0; background-repeat: no-repeat; background-origin: border-box; }
body.home-page.scrolled .site-header { border-bottom-width: 1px; }

/* ---------- Forms on a photo/video background ---------- */

.section-photo .section-head h2 { color: #fff; }
.section-photo .section-head p { color: rgba(255, 255, 255, 0.82); }

.section-photo .panel-form {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.section-photo .form-success {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

/* ---------- "Also includes" pills inside a service ---------- */

.includes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
}

.includes span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 4px;
}

.includes b {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #b8501a;
  background: rgba(250, 110, 39, 0.1);
  border: 1px solid rgba(250, 110, 39, 0.35);
}

.section-dark .card a.link { color: #fff; }
.section-dark .card a.link:hover { color: #ffb98f; }

a.footer-brand { text-decoration: none; transition: opacity 0.15s ease; }
a.footer-brand:hover { opacity: 0.8; }

/* Fleet Command Hub icon in the menu: transparent, no box */
.nav-links a .nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 0;
  margin-right: 8px;
  vertical-align: -8px;
}

/* ---------- Slideshow pause button, reduced-motion handling, phone tweak ---------- */

.hero-dots { align-items: center; }


.hero.reduce-motion .hero-slide,
.home-hero.reduce-motion .hero-slide { transition: none; }

@media (max-width: 860px) {
  .hero-dots { bottom: 314px; }
}


/* ---------- Phone menu: frosted-glass side panel ---------- */

@media (max-width: 860px) {
  .nav-toggle {
    position: relative;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .nav-toggle span { transition: transform 0.25s ease, opacity 0.2s ease; }
  .nav-toggle[aria-expanded="true"] span { background: #fff !important; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-header .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(84vw, 340px);
    height: 100vh;
    height: 100dvh;
    padding: 96px 26px 32px;
    overflow-y: auto;
    background: rgba(18, 16, 14, 0.52) !important;
    backdrop-filter: blur(26px) saturate(170%);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.4), inset 1px 0 0 rgba(255, 255, 255, 0.1);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.28, 1), visibility 0.32s;
  }

  .site-header .nav-links.open { transform: translateX(0); visibility: visible; }

  .site-header .nav-links::before {
    content: "Menu";
    position: absolute;
    top: 34px;
    left: 26px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
  }

  .site-header .nav-links a {
    position: relative;
    display: block;
    width: auto;
    padding: 15px 4px 15px 18px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.15s ease, padding-left 0.15s ease;
  }

  .site-header .nav-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 0;
    border-radius: 2px;
    background: #fa6e27;
    transform: translateY(-50%);
    transition: height 0.2s ease;
  }

  .site-header .nav-links a:hover,
  .site-header .nav-links a.active { color: #fff !important; padding-left: 22px; }

  .site-header .nav-links a.active::before { height: 22px; }

  .site-header .nav-links a .nav-icon { display: none !important; }

  .site-header .nav-links a.nav-cta {
    margin-top: 22px;
    padding: 16px 20px;
    text-align: center;
    font-size: 1.05rem;
    color: #fff !important;
    background: linear-gradient(180deg, #ff8a47, #fa6e27) !important;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(250, 110, 39, 0.38);
  }

  .site-header .nav-links a.nav-cta::before { display: none; }

  body.menu-open { overflow: hidden; }

  body.menu-open .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(8, 7, 6, 0.5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  .page-hero.has-bg { padding: 84px 0 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-links { transition: none; }
}

/* ---------- Phone layout fixes ---------- */

@media (max-width: 860px) {
  .hero .container .hero-art { order: 0; aspect-ratio: 16 / 10; margin-top: 8px; }
  .hero { padding: 72px 0 64px; }

  .banner { padding: 32px 24px; gap: 20px; border-radius: 18px; }
  .banner h2 { font-size: 1.45rem; line-height: 1.2; }
  .banner .btn { width: 100%; }
}

/* ---------- Phone menu: a closed menu is removed from layout so it can never widen the page ---------- */

html { overflow-x: hidden; }
body { overflow-x: clip; }

@media (max-width: 860px) {
  .site-header .nav-links {
    display: none;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .site-header .nav-links.open {
    display: flex;
    animation: menu-slide-in 0.32s cubic-bezier(0.22, 0.8, 0.28, 1);
  }
}

@keyframes menu-slide-in {
  from { transform: translateX(100%); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-links.open { animation: none; }
}

/* Smaller "Built for" pills */

.includes { gap: 6px; margin-top: 18px; }
.includes span { font-size: 0.66rem; margin-right: 2px; flex-basis: 100%; margin-bottom: 2px; }
.includes b { padding: 4px 11px; font-size: 0.74rem; font-weight: 600; line-height: 1.35; }

/* ---------- Legal pages, 404, footer legal links ---------- */

.legal-section { padding: 56px 0 90px; }
.legal { max-width: 760px; margin: 0 auto; }
.legal-updated { margin: 0 0 8px; font-size: 0.85rem; color: var(--ink-soft); }
.legal h2 { margin: 34px 0 10px; font-size: 1.3rem; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 8px 0 0; }
.legal li { margin-bottom: 8px; }
.legal li strong { color: var(--ink); }
.legal a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.notfound { padding: 130px 0 140px; text-align: center; }
.notfound .chip { margin-bottom: 22px; }
.nf-title { margin: 0 auto; max-width: 14em; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.06; letter-spacing: -0.025em; color: #fff; }
.nf-title .accent { color: #fa6e27; }
.nf-sub { margin: 20px auto 32px; max-width: 46ch; color: rgba(255, 255, 255, 0.78); font-size: 1.1rem; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }

.nf-alt {
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nf-alt:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.legal-links { display: flex; gap: 18px; }
.legal-links a { color: #8a8a8e; }
.legal-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- FAQs ---------- */

.faq-section { padding: 56px 0 90px; }
.faq-teaser { padding: 80px 0 90px; }
.faq-wrap { max-width: 820px; margin: 0 auto; }

.faq-group-title { margin: 38px 0 14px; font-size: 1.15rem; letter-spacing: -0.01em; }
.faq-group-title:first-child { margin-top: 0; }

.faq-item {
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(26, 26, 26, 0.1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item[open] { border-color: rgba(250, 110, 39, 0.5); box-shadow: 0 14px 34px rgba(250, 110, 39, 0.12); }

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 64px 18px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 24px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.faq-item[open] summary::after { content: "\2212"; background: #fa6e27; border-color: #fa6e27; color: #fff; }
.faq-item summary:focus-visible { outline: 3px solid rgba(250, 110, 39, 0.5); outline-offset: -3px; border-radius: 16px; }

.faq-answer { padding: 0 22px 20px; }
.faq-answer p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.7; }
.faq-answer a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.faq-more { margin-top: 34px; text-align: center; }
.faq-more p { margin: 0 0 14px; color: var(--ink-soft); font-weight: 600; }
.faq-all { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.faq-all:hover { color: #fa6e27; }

@media (max-width: 640px) {
  .faq-item summary { padding: 16px 56px 16px 18px; font-size: 0.98rem; }
  .faq-answer { padding: 0 18px 18px; }
}

/* ---------- Articles ---------- */

.articles-section { padding: 60px 0 90px; }
.articles-grid .card { display: flex; flex-direction: column; }
.articles-grid .card p { flex: 1; }
.article-tag { display: inline-block; align-self: flex-start; margin-bottom: 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #b8501a; }
.articles-all { margin: 34px 0 0; text-align: center; }

.article-meta { margin: 14px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.page-hero.has-bg .article-meta { color: rgba(255, 255, 255, 0.8); }

.article-section { padding: 48px 0 90px; }
.article { max-width: 760px; margin: 0 auto; }
.article-cover { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 20px; margin: 0 0 30px; }
.article h2 { margin: 34px 0 10px; font-size: 1.35rem; letter-spacing: -0.01em; }
.article p, .article li { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }
.article ul { padding-left: 22px; margin: 10px 0 0; }
.article li { margin-bottom: 8px; }
.article a:not(.hero-cta):not(.related-card) { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.article-cta {
  margin: 44px 0 0;
  padding: 28px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #14110f, #2b1a10 60%, #5a2a10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-cta p { margin: 0; flex: 1 1 260px; color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; font-weight: 600; line-height: 1.5; }

.article-related { margin-top: 48px; }
.article-related h2 { margin: 0 0 14px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(26, 26, 26, 0.1);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.related-card:hover { transform: translateY(-2px); border-color: #fa6e27; }
.related-card span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #b8501a; }
.related-card strong { color: var(--ink); line-height: 1.35; }
.article-back { margin: 22px 0 0; }

@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-cover { aspect-ratio: 16 / 10; border-radius: 16px; }
  .article-cta { padding: 22px; }
}

/* Client proof */
.section-clients { padding: 90px 0; background: #f4f4f4; }
.section-clients .section-head { margin-bottom: 36px; }
.client-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.96), rgba(40, 40, 40, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.client-logo { display: block; width: 150px; height: auto; margin-bottom: 18px; }
.client-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fa6e27;
  border: 1px solid rgba(250, 110, 39, 0.5);
  border-radius: 999px;
}
.client-card h3 { margin: 0 0 10px; font-size: 1.6rem; color: #fff; }
.client-card p { margin: 0 0 24px; color: rgba(255, 255, 255, 0.72); line-height: 1.65; }
.client-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.client-shot { margin: 0; text-align: center; }
.client-shot img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); border-radius: 22px; }
.client-shot figcaption { margin-top: 14px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.proof-head { max-width: 760px; margin: 56px auto 24px; text-align: center; }
.proof-head h3 { margin: 0 0 8px; font-size: 1.35rem; }
.proof-head p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.proof-shot { margin: 0; padding: 10px; border-radius: 18px; background: #1A1A1A; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16); }
.proof-wide { grid-column: 1 / -1; }
.proof-shot a { display: block; border-radius: 10px; overflow: hidden; }
.proof-shot img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
.proof-shot a:hover img { transform: scale(1.02); }
.proof-shot figcaption { padding: 12px 6px 4px; font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 760px) {
  .section-clients { padding: 64px 0; }
  .client-card { grid-template-columns: 1fr; padding: 26px 22px; gap: 28px; }
  .client-actions .btn { flex: 1 1 100%; text-align: center; margin: 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-head { margin-top: 40px; }
}

.client-card .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.client-card .btn-outline:hover { background: #fff; color: #1A1A1A; border-color: #fff; }

/* Demo gallery */
.proof-grid--demo .proof-shot img { aspect-ratio: 16 / 10; object-fit: contain; background: #0f1115; }
.proof-cta { text-align: center; margin: 32px 0 0; }

/* In-page screenshot zoom */
.proof-shot a[data-zoom] { cursor: zoom-in; }
.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.92);
  cursor: zoom-out;
}
.zoom-overlay img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.zoom-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}
.zoom-close:hover { background: rgba(255, 255, 255, 0.28); }
@media (max-width: 640px) { .zoom-overlay { padding: 12px; } }

/* Pricing and resources */
.pricing-section { padding: 80px 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
}
.price-card h2 { margin: 0 0 6px; font-size: 1.4rem; }
.price-for { margin: 0 0 18px; color: var(--ink-soft); font-size: 0.92rem; min-height: 2.7em; }
.price-amount { margin: 0 0 6px; display: flex; align-items: baseline; gap: 4px; }
.price-num { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price-per { color: var(--ink-soft); font-size: 0.95rem; }
.price-incl { margin: 0 0 20px; padding-bottom: 20px; font-size: 0.9rem; color: var(--ink-soft); border-bottom: 1px solid rgba(0, 0, 0, 0.1); min-height: 4.4em; }
.price-features { margin: 0 0 26px; flex: 1; }
.price-features li { font-size: 0.92rem; margin-bottom: 9px; }
.price-card .btn { align-self: stretch; text-align: center; }
.price-card--featured { color: #fff; background: linear-gradient(160deg, #1A1A1A, #2a2a2a); border-color: #fa6e27; box-shadow: 0 22px 54px rgba(250, 110, 39, 0.22); }
.price-card--featured h2, .price-card--featured .price-num { color: #fff; }
.price-card--featured .price-for, .price-card--featured .price-per, .price-card--featured .price-incl { color: rgba(255, 255, 255, 0.7); }
.price-card--featured .price-incl { border-bottom-color: rgba(255, 255, 255, 0.16); }
.price-card--featured .price-features li { color: rgba(255, 255, 255, 0.9); }
.price-badge { position: absolute; top: -13px; left: 28px; padding: 4px 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: #fa6e27; border-radius: 999px; }
.price-note { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 0.88rem; color: var(--ink-soft); }
.rate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.rate-card { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.rate-card h3 { margin: 0 0 14px; color: #fff; font-size: 1.15rem; }
.rate-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); }
.rate-table th { text-align: left; padding: 8px 6px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.rate-table td { padding: 9px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.rate-table tr:last-child td { border-bottom: 0; }
.example-card .example-total { margin: 4px 0 10px; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.example-card .example-total span { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.faq-more { margin: 24px 0 0; text-align: center; color: var(--ink-soft); }
.cta-band .cta-actions, .policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.cta-band .btn-outline:hover { background: #fff; color: #1A1A1A; border-color: #fff; }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .price-for, .price-incl { min-height: 0; }
  .rate-grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .pricing-section { padding: 56px 0; }
  .price-card { padding: 28px 22px; }
  .rate-card { padding: 18px 14px; }
  .rate-table { font-size: 0.82rem; }
  .cta-band .btn, .policy-links .btn { flex: 1 1 100%; text-align: center; }
}

/* Desktop nav: seven links plus the button need to fit on tablets without wrapping */
@media (min-width: 861px) {
  .nav-links a { white-space: nowrap; }
}
@media (min-width: 861px) and (max-width: 1120px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.88rem; margin-left: 0; margin-right: 0; }
  .site-header .nav-links a .nav-icon { display: none !important; }
  .nav-links .nav-cta { padding: 9px 14px; }
}

/* Phone footer: the compact desktop grid must not apply on small screens */
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid a { overflow-wrap: anywhere; }
}

/* Pricing card polish */
.price-card .price-features { display: block; }
.price-card--featured .btn-primary { background: #fa6e27; border-color: #fa6e27; color: #fff; }
.price-card--featured .btn-primary:hover { background: #ff8444; border-color: #ff8444; }

/* Pricing cards without fixed prices */
.price-kind { margin: 4px 0 6px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.price-card--featured .price-kind { color: #fff; }

/* Single subscription layout */
.sub-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto 64px;
  padding: 36px 40px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #1A1A1A, #2c2c2c);
  border: 1px solid rgba(250, 110, 39, 0.5);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}
.sub-banner h2 { margin: 12px 0 10px; font-size: 1.7rem; color: #fff; }
.sub-banner p { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, 0.72); line-height: 1.65; }
.price-badge--inline { position: static; display: inline-block; }
.sub-actions { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; min-width: 200px; }
.sub-actions .btn { text-align: center; margin: 0; }
.sub-actions .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.sub-actions .btn-outline:hover { background: #fff; color: #1A1A1A; border-color: #fff; }
.feature-head { margin-bottom: 32px; }
.feature-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.feature-group { padding: 26px 28px; border-radius: 20px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.feature-group h3 { margin: 0 0 14px; font-size: 1.1rem; }
.feature-group .feature-list { margin: 0; }
.feature-group .feature-list li { font-size: 0.95rem; margin-bottom: 9px; }
@media (max-width: 860px) {
  .sub-banner { flex-direction: column; align-items: stretch; padding: 28px 24px; gap: 22px; margin-bottom: 48px; }
  .feature-groups { grid-template-columns: 1fr; }
}

.btn-accent, .sub-actions .btn-primary { background: #fa6e27; border-color: #fa6e27; color: #fff; }
.btn-accent:hover, .sub-actions .btn-primary:hover { background: #ff8444; border-color: #ff8444; }

/* Pricing: glass banner and feature cards on the dark section */
#subscription { overflow: hidden; }
#subscription .container { position: relative; z-index: 1; }
#subscription .sub-banner,
#subscription .feature-group {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
#subscription .sub-banner { border-color: rgba(250, 110, 39, 0.45); }
#subscription .feature-group { position: relative; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
#subscription .feature-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(250, 110, 39, 0), rgba(255, 170, 120, 0.9), rgba(250, 110, 39, 0));
  opacity: 0.5;
}
#subscription .feature-group:hover { transform: translateY(-3px); border-color: rgba(255, 160, 110, 0.5); box-shadow: 0 24px 60px rgba(250, 110, 39, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
#subscription .feature-group h3 { color: #fff; }
#subscription .feature-group .feature-list li { color: rgba(255, 255, 255, 0.8); }
#subscription .feature-group .tick { background: rgba(250, 110, 39, 0.9); color: #fff; }
#subscription .feature-head h2 { color: #fff; }
#subscription .feature-head p { color: rgba(255, 255, 255, 0.66); }

/* keep the TAXI roof sign in frame */
img[src$="ghana-taxi.jpeg"] { object-position: 50% 6%; }

/* Team at work */
.team-section { padding: 80px 0; background: #f4f4f4; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 36px auto 0; }
.team-shot { margin: 0; padding: 10px; border-radius: 18px; background: #1A1A1A; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16); }
.team-shot a { display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.team-shot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.4s ease; }
.team-shot a:hover img { transform: scale(1.03); }
.team-shot figcaption { padding: 12px 6px 4px; font-size: 0.85rem; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-section { padding: 56px 0; } .team-grid { grid-template-columns: 1fr; max-width: 360px; } }

/* Footer contact icons */
.footer-grid a[href^="tel:"]::before,
.footer-grid a[href*="wa.me"]::before,
.footer-grid a[href^="mailto:"]::before {
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 10px;
  vertical-align: -0.17em;
  background-color: #fa6e27;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.footer-grid a[href^="tel:"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%3E%3Cpath%20d%3D%22M6.6%2010.8c1.4%202.8%203.8%205.1%206.6%206.6l2.2-2.2c.3-.3.7-.4%201-.2%201.1.4%202.3.6%203.6.6.6%200%201%20.4%201%201V20c0%20.6-.4%201-1%201C10.6%2021%203%2013.4%203%204c0-.6.4-1%201-1h3.5c.6%200%201%20.4%201%201%200%201.3.2%202.5.6%203.6.1.3%200%20.7-.2%201L6.6%2010.8z%22/%3E%3C/svg%3E"); }
.footer-grid a[href*="wa.me"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%3E%3Cpath%20d%3D%22M12.04%202C6.58%202%202.13%206.45%202.13%2011.91c0%201.75.46%203.45%201.32%204.95L2.05%2022l5.25-1.38a9.9%209.9%200%200%200%204.74%201.21c5.46%200%209.91-4.45%209.91-9.91S17.5%202%2012.04%202zm5.8%2014.2c-.24.68-1.42%201.3-1.95%201.35-.5.05-1.13.07-1.82-.11-.42-.13-.96-.31-1.65-.61-2.9-1.25-4.8-4.17-4.94-4.36-.14-.19-1.18-1.57-1.18-3%200-1.43.75-2.13%201.01-2.42.27-.29.58-.36.78-.36h.56c.18%200%20.43-.07.67.51.24.59.83%202.03.9%202.18.07.14.12.31.02.5-.1.19-.14.31-.29.48-.14.17-.3.38-.43.51-.14.14-.29.3-.12.58.17.29.75%201.24%201.6%202.01%201.1.98%202.03%201.28%202.32%201.43.29.14.46.12.63-.07.17-.19.72-.84.91-1.13.19-.29.38-.24.65-.14.26.1%201.68.79%201.97.94.29.14.48.22.55.34.07.12.07.7-.17%201.38z%22/%3E%3C/svg%3E"); }
.footer-grid a[href^="mailto:"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%3E%3Cpath%20d%3D%22M3%205h18a1%201%200%200%201%201%201v12a1%201%200%200%201-1%201H3a1%201%200%200%201-1-1V6a1%201%200%200%201%201-1zm1.6%202L12%2012.4%2019.4%207H4.6zM4%208.7V17h16V8.7l-8%205.8-8-5.8z%22/%3E%3C/svg%3E"); }

.footer-grid a[href*="wa.me"]::before { background-color: #25d366; }

/* Contact page WhatsApp icon */
.contact-block .icon .wa-glyph {
  display: block;
  width: 24px;
  height: 24px;
  background-color: #25d366;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%3E%3Cpath%20d%3D%22M12.04%202C6.58%202%202.13%206.45%202.13%2011.91c0%201.75.46%203.45%201.32%204.95L2.05%2022l5.25-1.38a9.9%209.9%200%200%200%204.74%201.21c5.46%200%209.91-4.45%209.91-9.91S17.5%202%2012.04%202zm5.8%2014.2c-.24.68-1.42%201.3-1.95%201.35-.5.05-1.13.07-1.82-.11-.42-.13-.96-.31-1.65-.61-2.9-1.25-4.8-4.17-4.94-4.36-.14-.19-1.18-1.57-1.18-3%200-1.43.75-2.13%201.01-2.42.27-.29.58-.36.78-.36h.56c.18%200%20.43-.07.67.51.24.59.83%202.03.9%202.18.07.14.12.31.02.5-.1.19-.14.31-.29.48-.14.17-.3.38-.43.51-.14.14-.29.3-.12.58.17.29.75%201.24%201.6%202.01%201.1.98%202.03%201.28%202.32%201.43.29.14.46.12.63-.07.17-.19.72-.84.91-1.13.19-.29.38-.24.65-.14.26.1%201.68.79%201.97.94.29.14.48.22.55.34.07.12.07.7-.17%201.38z%22/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%3E%3Cpath%20d%3D%22M12.04%202C6.58%202%202.13%206.45%202.13%2011.91c0%201.75.46%203.45%201.32%204.95L2.05%2022l5.25-1.38a9.9%209.9%200%200%200%204.74%201.21c5.46%200%209.91-4.45%209.91-9.91S17.5%202%2012.04%202zm5.8%2014.2c-.24.68-1.42%201.3-1.95%201.35-.5.05-1.13.07-1.82-.11-.42-.13-.96-.31-1.65-.61-2.9-1.25-4.8-4.17-4.94-4.36-.14-.19-1.18-1.57-1.18-3%200-1.43.75-2.13%201.01-2.42.27-.29.58-.36.78-.36h.56c.18%200%20.43-.07.67.51.24.59.83%202.03.9%202.18.07.14.12.31.02.5-.1.19-.14.31-.29.48-.14.17-.3.38-.43.51-.14.14-.29.3-.12.58.17.29.75%201.24%201.6%202.01%201.1.98%202.03%201.28%202.32%201.43.29.14.46.12.63-.07.17-.19.72-.84.91-1.13.19-.29.38-.24.65-.14.26.1%201.68.79%201.97.94.29.14.48.22.55.34.07.12.07.7-.17%201.38z%22/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Free downloads */
.dl-grid { max-width: 1040px; }
.dl-card { display: flex; flex-direction: column; }
.dl-card .dl-meta { margin: 0 0 18px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }
.dl-card .hero-cta { margin-top: auto; align-self: flex-start; font-size: 0.95rem; padding: 10px 12px 10px 20px; }
.article-download { margin: 0 0 26px; padding: 20px 24px; border-radius: 16px; background: #F4F4F4; border-left: 4px solid #fa6e27; }
.article-download strong { display: block; margin-bottom: 4px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #b8480f; }
.article-download p { margin: 0 0 10px; }
.article-download .dl-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.article-download .dl-links a { font-weight: 600; color: #1A1A1A; text-decoration: underline; text-underline-offset: 3px; }

.section-dark .dl-card .dl-meta { margin: 10px 0 22px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }
.section-dark .section-head .tag { color: #ffd2b8; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }

/* Download landing pages */
.dl-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.dl-hero-note { font-size: 0.88rem; color: var(--ink-soft); }
.dl-page { padding: 40px 0 70px; }
.crumbs { margin: 0 0 28px; font-size: 0.85rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.dl-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.dl-preview { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.dl-preview a { display: block; padding: 8px; border-radius: 16px; background: #1A1A1A; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18); cursor: zoom-in; }
.dl-preview img { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
.dl-caption { margin: 0; font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
.dl-detail h2 { margin: 0 0 12px; font-size: 1.25rem; }
.dl-detail h2:not(:first-child) { margin-top: 32px; }
.dl-detail p { color: var(--ink-soft); line-height: 1.7; }
.dl-detail .feature-list li { margin-bottom: 10px; }
.dl-steps { margin: 0; padding-left: 22px; color: var(--ink-soft); line-height: 1.7; }
.dl-steps li { margin-bottom: 8px; padding-left: 4px; }
.dl-detail-actions { margin-top: 28px; }
.dl-more { padding: 10px 0 70px; }
.dl-more h2 { margin: 0 0 18px; font-size: 1.3rem; text-align: center; }
.dl-more .related-grid { max-width: 900px; margin: 0 auto; }
.dl-card h3 a { color: inherit; }
.dl-card h3 a:hover { text-decoration: underline; }
.dl-card .dl-details { display: inline-block; margin-bottom: 14px; font-size: 0.9rem; }
@media (max-width: 860px) {
  .dl-layout { grid-template-columns: 1fr; gap: 28px; }
  .dl-preview { position: static; }
  .dl-page { padding: 28px 0 50px; }
}
.dl-layout--wide { grid-template-columns: 1fr; gap: 34px; }
.dl-layout--wide .dl-preview { position: static; max-width: 1040px; margin: 0 auto; width: 100%; }
.dl-layout--wide .dl-detail { max-width: 860px; margin: 0 auto; width: 100%; }

/* Five download cards: three on top, two centred below */
.dl-grid { grid-template-columns: repeat(6, 1fr); max-width: 1040px; }
.dl-grid .dl-card { grid-column: span 2; }
.dl-grid .dl-card:nth-child(4) { grid-column: 2 / span 2; }
.dl-grid .dl-card:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 860px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-grid .dl-card, .dl-grid .dl-card:nth-child(4), .dl-grid .dl-card:nth-child(5) { grid-column: auto; }
}
.dl-detail-actions.dl-hero-actions { margin-top: 28px; }

/* Download grid with eight cards: three, three, and two centred */
.dl-grid .dl-card:nth-child(4), .dl-grid .dl-card:nth-child(5) { grid-column: span 2; }
.dl-grid .dl-card:nth-child(7) { grid-column: 2 / span 2; }
.dl-grid .dl-card:nth-child(8) { grid-column: 4 / span 2; }
@media (max-width: 860px) {
  .dl-grid .dl-card:nth-child(7), .dl-grid .dl-card:nth-child(8) { grid-column: auto; }
}
.all-articles { margin: 30px 0 0; text-align: center; }

/* Need more than this? */
.dl-need-more { padding: 0 0 56px; }
.dl-need-box {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 34px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #1A1A1A, #2a2a2a);
  border: 1px solid rgba(250, 110, 39, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.dl-need-box h2 { margin: 0 0 10px; font-size: 1.4rem; color: #fff; }
.dl-need-box p { margin: 0 0 16px; color: rgba(255, 255, 255, 0.78); line-height: 1.65; }
.dl-need-box .feature-list { margin: 0 0 22px; }
.dl-need-box .feature-list li { color: rgba(255, 255, 255, 0.9); margin-bottom: 8px; }
.dl-need-box .tick { background: #fa6e27; color: #fff; }
.dl-need-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-need-box .btn-primary { background: #fa6e27; border-color: #fa6e27; color: #fff; }
.dl-need-box .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.dl-need-box .btn-outline:hover { background: #fff; color: #1A1A1A; border-color: #fff; }
@media (max-width: 640px) {
  .dl-need-box { padding: 24px 20px; }
  .dl-need-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Share on WhatsApp */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 26px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.article .share-row { margin: 8px 0 26px; }
.share-label { font-size: 0.92rem; color: var(--ink-soft); }
.share-wa { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 0.92rem; font-weight: 600; color: #fff; background: #25d366; transition: background 0.15s ease, transform 0.15s ease; }
.share-wa:hover { background: #1fb858; transform: translateY(-1px); }
.share-wa svg { flex: 0 0 auto; }
@media (max-width: 520px) { .share-wa { width: 100%; justify-content: center; } }

/* Top banner announcing the free tools */
.promo-bar { position: relative; z-index: 101; background: #1A1A1A; color: #fff; font-size: 0.86rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.promo-bar .container { display: flex; align-items: center; justify-content: center; min-height: 40px; padding-top: 7px; padding-bottom: 7px; padding-right: 48px; position: relative; }
.promo-bar a { color: #fff; text-align: center; line-height: 1.4; }
.promo-new { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #fa6e27; color: #fff; }
.promo-link { margin-left: 4px; font-weight: 700; color: #ffb98f; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(255, 255, 255, 0.7); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 6px 10px; }
.promo-close:hover { color: #fff; }
.promo-bar.is-hidden { display: none; }
body.menu-open .promo-bar { visibility: hidden; }
body.home-page .site-header { top: var(--promo-h, 0px); transition: background 0.25s ease, border-color 0.25s ease, top 0.2s ease; }
body.home-page.scrolled .site-header { top: 0; }

/* Quick contact: round WhatsApp button on desktop, call and WhatsApp bar on phones */
.quick-contact { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; gap: 10px; }
.quick-contact a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: #fff; }
.qc-wa { width: 58px; height: 58px; border-radius: 50%; background: #25d366; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3); transition: transform 0.15s ease, background 0.15s ease; }
.qc-wa:hover { background: #1fb858; transform: translateY(-2px) scale(1.04); }
.quick-contact .qc-wa span, .quick-contact .qc-call { display: none; }
body.menu-open .quick-contact { display: none; }
@media (max-width: 760px) {
  .quick-contact { left: 0; right: 0; bottom: 0; gap: 0; padding-bottom: env(safe-area-inset-bottom, 0px); background: #1A1A1A; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25); }
  .quick-contact a { flex: 1 1 50%; width: auto; height: 54px; border-radius: 0; font-size: 0.98rem; box-shadow: none; }
  .quick-contact .qc-call { display: inline-flex; background: #1A1A1A; }
  .qc-wa { background: #25d366; transform: none !important; }
  .quick-contact .qc-wa span { display: inline; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)); }
}
@media print { .promo-bar, .quick-contact { display: none !important; } body { padding-bottom: 0 !important; } }

/* Footer with five columns */
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.25fr; gap: 24px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; } }

/* Calculators */
[hidden] { display: none !important; }
.tool-section { padding: 36px 0 30px; }
.tool-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; margin-bottom: 44px; }
.tool-layout--single { grid-template-columns: 1fr 1fr; }
.tool-card { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07); }
.tool-card h2, .tool-results h2 { margin: 0 0 18px; font-size: 1.2rem; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.tool-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.tool-field > span { font-weight: 600; color: var(--ink); }
.tool-field small { color: var(--ink-soft); font-size: 0.78rem; line-height: 1.4; }
.tool-field input { width: 100%; padding: 11px 12px; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: 10px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.tool-field input:focus { outline: 2px solid #fa6e27; outline-offset: 1px; border-color: #fa6e27; }
.tool-reset { margin-top: 20px; }
.tool-results { position: sticky; top: 100px; padding: 28px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #1A1A1A, #2c2c2c); border: 1px solid rgba(250, 110, 39, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); }
.tool-results h2 { color: #fff; }
.tool-results--wide { position: static; }
.tool-result { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.tool-result span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.tool-result strong { font-size: 1.1rem; color: #fff; text-align: right; }
.tool-result.is-big { padding: 8px 0 16px; }
.tool-result.is-big strong { font-size: 2rem; letter-spacing: -0.02em; color: #ffb98f; }
.calc-note { margin: 16px 0 0; font-size: 0.9rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.calc-note.is-ok { color: #cdebd2; }
.calc-note.is-warn { color: #ffd98a; }
.calc-note.is-bad { color: #ffb4ab; font-weight: 600; }
.tool-warn { grid-column: 1 / -1; }
.tool-renew { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; padding: 12px 14px; border-radius: 14px; background: #f4f4f4; border: 1px solid transparent; }
.tool-renew .tool-field input { background: #fff; }
.tool-renew-res { font-weight: 700; font-size: 1rem; padding-bottom: 11px; color: var(--ink-soft); }
.tool-renew.is-ok { background: #e4f4e7; border-color: #bfe3c6; }
.tool-renew.is-ok .tool-renew-res { color: #1b5e20; }
.tool-renew.is-soon { background: #fff0cf; border-color: #f2d089; }
.tool-renew.is-soon .tool-renew-res { color: #7a4b00; }
.tool-renew.is-expired { background: #fbdcd8; border-color: #efb0a8; }
.tool-renew.is-expired .tool-renew-res { color: #9c0006; }
.tool-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
.tool-notes h2 { margin: 0 0 12px; font-size: 1.2rem; }
.tool-dl { margin-top: 18px; font-size: 0.95rem; color: var(--ink-soft); }
.tool-dl a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tools-grid { max-width: 1040px; }
.tools-grid .dl-card:nth-child(4), .tools-grid .dl-card:nth-child(5) { grid-column: span 2; }
.tools-more { padding: 56px 0; }
.tools-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 860px) {
  .tool-layout, .tool-layout--single, .tool-notes, .tools-more-grid { grid-template-columns: 1fr; }
  .tool-results { position: static; }
  .tool-card, .tool-results { padding: 22px 18px; }
}
@media (max-width: 520px) { .tool-grid, .tool-renew { grid-template-columns: 1fr; } .tool-renew-res { padding-bottom: 0; } }

/* Fleet quiz */
.quiz-section { padding: 36px 0 60px; }
.quiz-wrap { max-width: 760px; margin: 0 auto; }
.quiz-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 0.85rem; color: var(--ink-soft); position: sticky; top: 76px; padding: 10px 0; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); z-index: 5; }
.quiz-progress-track { flex: 1; height: 8px; border-radius: 99px; background: #e4e4e4; overflow: hidden; }
.quiz-progress-bar { width: 0; height: 100%; background: #fa6e27; border-radius: 99px; transition: width 0.25s ease; }
.quiz-q { margin: 0 0 16px; padding: 18px 20px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04); }
.quiz-q legend { padding: 0 6px; font-weight: 700; font-size: 1.02rem; line-height: 1.45; }
.quiz-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.quiz-options label { flex: 1 1 100px; cursor: pointer; }
.quiz-options input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-options span { display: block; padding: 11px 14px; text-align: center; font-weight: 600; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: 12px; background: #fff; transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease; }
.quiz-options label:hover span { border-color: #fa6e27; }
.quiz-options input:checked + span { background: #1A1A1A; color: #fff; border-color: #1A1A1A; }
.quiz-options input:focus-visible + span { outline: 2px solid #fa6e27; outline-offset: 2px; }
.quiz-error { min-height: 1.3em; margin: 6px 0; color: #b00020; font-weight: 600; }
.quiz-submit { display: block; width: 100%; max-width: 340px; margin: 6px auto 0; background: #fa6e27; border-color: #fa6e27; color: #fff; text-align: center; }
.quiz-privacy { margin: 14px 0 0; text-align: center; font-size: 0.8rem; color: var(--ink-soft); }
.quiz-result { padding: 30px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #1A1A1A, #2c2c2c); border: 1px solid rgba(250, 110, 39, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); }
.quiz-score { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.quiz-score-num { flex: 0 0 auto; font-size: 3.2rem; font-weight: 800; letter-spacing: -0.03em; color: #ffb98f; line-height: 1; }
.quiz-score-num small { font-size: 1.2rem; color: rgba(255, 255, 255, 0.6); }
.quiz-score h2 { margin: 0 0 6px; color: #fff; font-size: 1.4rem; }
.quiz-score p { margin: 0; color: rgba(255, 255, 255, 0.78); line-height: 1.6; }
.quiz-result h3 { margin: 0 0 12px; color: #fff; font-size: 1.05rem; }
.quiz-gaps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.quiz-gaps li { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; gap: 4px; }
.quiz-gaps strong { font-size: 0.95rem; color: #fff; }
.quiz-gaps span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); line-height: 1.5; }
.quiz-gaps a { font-weight: 700; color: #ffb98f; font-size: 0.9rem; }
.quiz-allgood { color: #cdebd2; font-weight: 600; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-actions .btn-primary { background: #fa6e27; border-color: #fa6e27; color: #fff; }
.quiz-actions .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.quiz-actions .btn-outline:hover { background: #fff; color: #1A1A1A; }
.quiz-result .quiz-privacy { color: rgba(255, 255, 255, 0.55); text-align: left; }
@media (max-width: 560px) {
  .quiz-score { flex-direction: column; align-items: flex-start; gap: 10px; }
  .quiz-actions .btn { flex: 1 1 100%; text-align: center; }
  .quiz-q { padding: 14px 14px; }
  .quiz-progress { top: 0; }
}

/* Starter kit banner */
.kit-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: 1040px; margin: 0 auto 28px; padding: 26px 30px; border-radius: 22px; background: rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(250, 110, 39, 0.5); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.kit-tag { display: inline-block; margin-bottom: 8px; padding: 3px 12px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: #fa6e27; }
.kit-banner h3 { margin: 0 0 6px; font-size: 1.5rem; color: #fff; }
.kit-banner p { margin: 0; color: rgba(255, 255, 255, 0.75); max-width: 52ch; }
.kit-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 0 0 auto; }
.kit-actions .link { color: #ffb98f; font-weight: 600; }
@media (max-width: 760px) { .kit-banner { flex-direction: column; align-items: flex-start; padding: 22px 20px; } }

/* Glossary */
.gl-section { padding: 36px 0 60px; }
.gl-jump { display: flex; flex-wrap: wrap; gap: 8px; max-width: 900px; margin: 0 auto 28px; position: sticky; top: 76px; padding: 10px 0; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); z-index: 5; }
.gl-jump a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; font-weight: 700; color: var(--ink); background: #f1f1f1; }
.gl-jump a:hover { background: #fa6e27; color: #fff; }
.gl-list { max-width: 900px; margin: 0 auto; }
.gl-letter { margin-bottom: 26px; scroll-margin-top: 150px; }
.gl-letter > h2 { margin: 0 0 12px; padding-bottom: 8px; font-size: 1.6rem; color: #fa6e27; border-bottom: 2px solid rgba(0, 0, 0, 0.08); }
.gl-term { padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.07); scroll-margin-top: 150px; }
.gl-term h3 { margin: 0 0 6px; font-size: 1.1rem; }
.gl-term p { margin: 0 0 6px; color: var(--ink-soft); line-height: 1.65; }
.gl-term a { font-weight: 600; font-size: 0.9rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .gl-jump { top: 0; } }

/* Comparisons */
.cmp-section { padding: 36px 0 40px; }
.cmp-short { max-width: 860px; margin: 0 auto 30px; padding: 22px 26px; border-radius: 18px; background: #fff4ec; border-left: 4px solid #fa6e27; }
.cmp-short strong { display: block; margin-bottom: 6px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #b8480f; }
.cmp-short p { margin: 0; line-height: 1.7; }
.cmp-table-wrap { max-width: 980px; margin: 0 auto 34px; overflow-x: auto; border-radius: 18px; border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.94rem; }
.cmp-table thead th { padding: 14px 16px; text-align: left; font-size: 1rem; color: #fff; background: #1A1A1A; }
.cmp-table thead th:first-child { width: 22%; }
.cmp-table tbody th { padding: 13px 16px; text-align: left; font-weight: 700; color: var(--ink); background: #f7f7f7; vertical-align: top; }
.cmp-table td { padding: 13px 16px; color: var(--ink-soft); line-height: 1.55; vertical-align: top; border-left: 1px solid rgba(0, 0, 0, 0.06); }
.cmp-table tr + tr th, .cmp-table tr + tr td { border-top: 1px solid rgba(0, 0, 0, 0.07); }
.cmp-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto 34px; }
.cmp-card { padding: 24px 26px; border-radius: 18px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05); }
.cmp-card h2 { margin: 0 0 14px; font-size: 1.15rem; }
.cmp-card .feature-list { margin: 0; }
.cmp-card .feature-list li { margin-bottom: 9px; }
.cmp-both { max-width: 860px; margin: 0 auto; }
.cmp-both h2 { margin: 0 0 10px; font-size: 1.25rem; }
.cmp-both p { color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 760px) {
  .cmp-choose { grid-template-columns: 1fr; }
  .cmp-table { font-size: 0.86rem; }
  .cmp-table thead th, .cmp-table tbody th, .cmp-table td { padding: 10px 11px; }
  .cmp-table thead th:first-child { width: 28%; }
}

/* Who we work with */
.work-with { padding: 26px 0; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.work-with .container { display: flex; align-items: center; gap: 18px 34px; flex-wrap: wrap; justify-content: center; }
.work-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.work-row { display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; justify-content: center; }
.work-logo { display: inline-flex; align-items: center; gap: 14px; padding: 8px 18px 8px 12px; border-radius: 14px; background: #1A1A1A; color: #fff; }
.work-logo img { height: 40px; width: auto; display: block; }
.work-logo span { display: flex; flex-direction: column; font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.work-logo small { font-weight: 500; font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); }
.work-next { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; border: 1.5px dashed rgba(0, 0, 0, 0.3); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.work-next span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #fa6e27; color: #fff; font-weight: 700; line-height: 1; }
.work-next:hover { border-color: #fa6e27; }
body.home-page .work-with { position: relative; z-index: 2; }

/* Testimonial strip (component, used when a real quote is available) */
.testimonial-strip { padding: 50px 0; background: #f4f4f4; }
.testimonial { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial blockquote { margin: 0 0 16px; padding: 0; font-size: 1.35rem; line-height: 1.6; font-weight: 600; color: var(--ink); }
.testimonial blockquote p { margin: 0; }
.testimonial blockquote p::before { content: "\201C"; color: #fa6e27; }
.testimonial blockquote p::after { content: "\201D"; color: #fa6e27; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; color: var(--ink-soft); font-size: 0.92rem; }
.testimonial figcaption strong { color: var(--ink); }

/* Resources: learn grid */
#learn-more { padding: 60px 0 20px; }
.learn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 960px) { .learn-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .learn-grid { grid-template-columns: 1fr; } }

/* Banner shorter on phones */
@media (max-width: 640px) { .promo-long { display: none; } .promo-bar .container { min-height: 36px; } }

/* Quiz fixes: legend inside the box, three answers in one row, progress below the header */
.quiz-q legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; }
.quiz-q legend + .quiz-options { clear: both; }
.quiz-options label { flex: 1 1 0; min-width: 0; }
.quiz-options span { padding: 11px 6px; }
.quiz-progress { top: 76px; }
@media (max-width: 560px) { .quiz-progress { top: 76px; } .quiz-options { gap: 8px; } }

.tool-dl a + a { margin-left: 16px; }

/* Comparison table fits narrow phones */
@media (max-width: 560px) {
  .cmp-table { table-layout: fixed; width: 100%; font-size: 0.82rem; }
  .cmp-table thead th:first-child { width: 27%; }
  .cmp-table thead th, .cmp-table tbody th, .cmp-table td { padding: 9px 8px; overflow-wrap: anywhere; }
}

/* Quick contact: only a small WhatsApp logo in the corner, on every screen size */
.quick-contact { left: auto; right: 16px; bottom: 16px; padding-bottom: 0; background: transparent; box-shadow: none; }
.quick-contact .qc-call, .quick-contact .qc-wa span { display: none !important; }
.quick-contact .qc-wa { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: #25d366; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.quick-contact .qc-wa svg { width: 26px; height: 26px; }
@media (max-width: 760px) {
  .quick-contact { left: auto; right: 14px; bottom: 14px; padding-bottom: 0; background: transparent; box-shadow: none; }
  .quick-contact a { flex: 0 0 48px; width: 48px; height: 48px; }
  body { padding-bottom: 0; }
}

/* WhatsApp chat */
.wa-panel { position: fixed; right: 14px; bottom: 74px; z-index: 901; width: 340px; max-width: calc(100vw - 28px); max-height: calc(100vh - 100px); display: flex; flex-direction: column; border-radius: 18px; background: #efeae2; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); border: 1px solid rgba(0, 0, 0, 0.1); overflow: hidden; opacity: 0; transform: translateY(10px) scale(0.98); pointer-events: none; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; }
.wa-panel.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.wa-head { position: relative; flex: 0 0 auto; padding: 14px 46px 12px 18px; color: #fff; background: #1f9d55; }
.wa-head strong { display: block; font-size: 1.05rem; }
.wa-head span { display: block; margin-top: 2px; font-size: 0.8rem; line-height: 1.4; color: rgba(255, 255, 255, 0.9); }
.wa-close { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.wa-close:hover { background: rgba(255, 255, 255, 0.32); }
.wa-thread { flex: 0 1 auto; min-height: 90px; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.wa-msg { max-width: 86%; padding: 9px 12px; font-size: 0.9rem; line-height: 1.45; color: #1A1A1A; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12); white-space: pre-line; animation: wa-pop 0.2s ease; }
.wa-bot { align-self: flex-start; background: #fff; border-radius: 4px 14px 14px 14px; }
.wa-me { align-self: flex-end; background: #d9fdd3; border-radius: 14px 4px 14px 14px; }
.wa-preview { max-width: 94%; font-size: 0.84rem; border: 1px dashed rgba(31, 157, 85, 0.6); }
.wa-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa0a6; animation: wa-dot 1s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: 0.15s; }
.wa-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wa-dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes wa-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wa-options { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 7px; max-height: 46%; overflow-y: auto; padding: 10px 12px 12px; background: #f7f5f1; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.wa-options:empty { display: none; }
.wa-chip { padding: 8px 13px; border-radius: 999px; border: 1px solid #1f9d55; background: #fff; font: inherit; font-size: 0.84rem; font-weight: 600; color: #1f7a45; cursor: pointer; text-align: left; line-height: 1.25; }
.wa-chip:hover { background: #e8f7ee; }
.wa-chip--suggest { background: #1f9d55; color: #fff; }
.wa-chip--suggest:hover { background: #1a8449; }
.wa-chip--quiet { border-color: rgba(0, 0, 0, 0.25); color: #555; font-weight: 500; }
.wa-chip:focus-visible, .wa-go:focus-visible, .wa-again:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 2px; }
.wa-go { flex: 1 1 100%; display: block; padding: 12px 16px; border-radius: 12px; text-align: center; font-weight: 700; color: #fff; background: #25d366; }
.wa-go:hover { background: #1fb858; }
.wa-again { flex: 1 1 100%; padding: 6px; border: 0; background: none; font: inherit; font-size: 0.84rem; color: #555; text-decoration: underline; cursor: pointer; }
.wa-note { flex: 1 1 100%; margin: 0; font-size: 0.74rem; text-align: center; color: #666; }
@media (prefers-reduced-motion: reduce) { .wa-msg, .wa-typing i { animation: none; } .wa-thread { scroll-behavior: auto; } }
@media print { .wa-panel { display: none !important; } }

/* Home page calculator */
.home-calc { padding: 80px 0 70px; background: #fff; }
.home-calc .section-head { margin-bottom: 30px; }
.home-calc .tool-layout { max-width: 1000px; margin: 0 auto 26px; }
.home-calc .tool-card h3, .home-calc .tool-results h3 { margin: 0 0 18px; font-size: 1.15rem; }
.home-calc .tool-results { position: static; }
.home-calc .tool-results h3 { color: #fff; }
.home-calc-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0; }
@media (max-width: 640px) { .home-calc { padding: 56px 0 50px; } .home-calc-links .btn { flex: 1 1 100%; text-align: center; } }

/* Guided chat: answer links and call options */
.wa-link { display: inline-block; text-decoration: none; background: #fff; border-color: #1A1A1A; color: #1A1A1A; }
.wa-link::after { content: " \2192"; }
.wa-link:hover { background: #1A1A1A; color: #fff; }
.wa-chip--call { background: #b00020; border-color: #b00020; color: #fff; }
.wa-chip--call::after { content: ""; }
.wa-chip--call:hover { background: #8d0019; }
.wa-go--call { margin-top: 8px; background: #1A1A1A; }
.wa-go--call:hover { background: #333; }
a.wa-chip:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 2px; }

/* The floating WhatsApp logo is a button once scripts run */
.quick-contact button.qc-wa { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; color: #fff; cursor: pointer; font: inherit; }
.quick-contact button.qc-wa:focus-visible { outline: 3px solid #1A1A1A; outline-offset: 2px; }
@media (max-width: 760px) { .quick-contact button.qc-wa { flex: 0 0 48px; width: 48px; height: 48px; } }
