/* ==========================================================================
   BVSED — Mobile Detailing, Toronto & GTA
   Design system: charcoal / white minimalist, precision-driven
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color */
  --white: #FAFAFB;
  --paper: #EEF2F6;
  --charcoal: #14181D;
  --charcoal-soft: #262B32;
  --gray: #5B6470;
  --gray-light: #8B93A0;
  --line: #DCE3EA;
  --line-dark: #2E3B4A;
  --steel: #1D63C4;
  --steel-deep: #123E80;
  --steel-tint: #E8F0FC;
  --navy: #0E2340;
  --navy-2: #163358;

  /* Type */
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
}

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--gray);
  max-width: 46em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--steel);
  display: inline-block;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
  max-width: 640px;
}

/* Center the Products section header */
#products .section-head {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--steel-deep);
  transform: translateY(-1px);
}

.gallery-section {
  overflow: hidden;
}

.gallery-collage {
  column-count: 3;
  column-gap: 12px;
}

.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  border: 0;
  padding: 0;
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-collage.is-expanded .gallery-item.is-hidden {
  display: block;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 12, 18, 0.86);
  z-index: 200;
  padding: 32px;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.45);
  background: #111;
}

.gallery-lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 680px) {
  .gallery-collage {
    column-count: 2;
  }
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line-dark);
}

.btn-outline.on-light {
  border-color: var(--charcoal);
}

.btn-outline:hover {
  border-color: var(--steel);
  color: var(--steel);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--steel);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  background: var(--white);
}

.nav-links a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  position: relative;
  padding: 4px 0;
}

/* .nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--steel);
  transition: right 0.3s var(--ease);
} */

/* .nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
  right: 0;
} */

.nav-links a.active {
  color: var(--charcoal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 22px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), top 0.25s var(--ease);
}

.nav-toggle span {
  top: 10px;
}

.nav-toggle span::before {
  top: -8px;
}

.nav-toggle span::after {
  top: 8px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: auto;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 12px var(--gutter) 20px;
    gap: 0;
    box-shadow: 0 16px 28px rgba(16, 24, 32, 0.14);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a:not(.btn) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav-links .btn {
    margin-top: 20px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(56px, 9vw, 120px) 0 80px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 22px;
}

.hero-copy .lead {
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stats .stat-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--charcoal);
}

.hero-stats .stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
}

/* Hero visual — placeholder illustration, meant to be swapped for a real photo */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--steel-tint);
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: var(--steel);
  color: var(--white);
  bottom: 16px;
  left: 16px;
}

/* Mosaic background for hero */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 80px;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-copy {
  position: relative;
  z-index: 4;
  background: rgba(255, 255, 255, 0.92);
  padding: 28px;
  border-radius: 8px;
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
  padding: clamp(18px, 4vw, 36px);
  pointer-events: none;
}

.hero-mosaic .tile {
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  filter: saturate(0.85) contrast(0.95) brightness(0.7);
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(16, 24, 32, 0.18) inset;
}

.hero-mosaic .tile:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.hero-mosaic .tile:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.hero-mosaic .tile:nth-child(3) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.hero-mosaic .tile:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.hero-mosaic .tile:nth-child(5) {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.hero-mosaic .tile:nth-child(6) {
  grid-column: 2 / 4;
  grid-row: 3 / 4;
}

@media (max-width: 860px) {
  .hero-mosaic {
    display: none;
  }

  .hero-copy {
    background: transparent;
    padding: 0;
  }
}

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }
}

/* ---------- Marquee strip ---------- */
.marquee-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-strip .track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll-left 60s linear infinite;
  width: max-content;
}

.marquee-strip span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-alt {
  background: var(--paper);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .eyebrow {
  color: #7EB0F2;
}

.section-dark .eyebrow::before {
  background: #7EB0F2;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: #C3D0DE;
}

/* ---------- Service / feature grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 760px) {

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s var(--ease);
}

.card:hover {
  background: var(--paper);
}

.card .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel);
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--steel);
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  border-top: 2px solid var(--steel);
  padding-top: 18px;
}

.step .step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--steel);
  display: block;
  margin-bottom: 10px;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.step p {
  color: var(--gray);
  font-size: 0.92rem;
}

/* ---------- Pricing / packages ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 940px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}

.price-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.price-card.featured .price-desc,
.price-card.featured .price-feat {
  color: #C3D0DE;
}

.price-card.featured .price-feat svg {
  stroke: #7EB0F2;
}

.price-card.featured h3,
.price-card.featured .price-amount {
  color: var(--white);
}

.price-card.featured .eyebrow {
  color: #7EB0F2;
}

.price-card.featured .eyebrow::before {
  background: #7EB0F2;
}

.price-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--steel);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.price-card h3 {
  margin-top: 14px;
}

.price-desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 10px 0 22px;
  min-height: 42px;
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.price-amount sup {
  font-size: 0.9rem;
  font-weight: 400;
  margin-left: 4px;
  color: var(--gray);
}

.price-note {
  font-size: 0.78rem;
  color: var(--gray-light);
  margin-bottom: 26px;
}

.price-feat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-feat {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  align-items: flex-start;
}

.price-feat svg {
  width: 16px;
  height: 16px;
  stroke: var(--steel);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Service area chips ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 9px 16px;
  border: 1px solid var(--line-dark);
  color: var(--charcoal-soft);
}

.section-dark .chip {
  border-color: #2E4A6B;
  color: #C3D0DE;
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

.testi {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.testi p.quote {
  font-size: 1rem;
  color: var(--charcoal-soft);
  margin-bottom: 18px;
}

.testi .who {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray);
}

/* ---------- CTA band ---------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  max-width: 520px;
}

/* ---------- Booking ---------- */
.booking-wrap {
  border: 1px solid var(--line);
  background: var(--paper);
}

.calendly-inline-widget {
  min-width: 280px;
  height: 700px;
  background: var(--white);
}

.booking-fallback {
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ---------- About ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
}

.about-photo {
  aspect-ratio: 4/5;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
}

.value-item {
  display: flex;
  gap: 20px;
}

.value-item .value-mark {
  font-family: var(--font-mono);
  color: var(--steel);
  font-size: 0.85rem;
  padding-top: 4px;
}

.value-item h3 {
  margin-bottom: 6px;
}

.value-item p {
  color: var(--gray);
  font-size: 0.94rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}

.contact-list .label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.contact-list .value {
  font-size: 1.15rem;
  margin-top: 4px;
}

.contact-list .value a:hover {
  color: var(--steel);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.hours-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  color: var(--gray);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
}

.faq-q .plus {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--steel);
  transition: transform 0.25s var(--ease);
}

.faq-item[data-open="true"] .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}

.faq-a p {
  color: var(--gray);
  padding-bottom: 22px;
  max-width: 60em;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #C3D0DE;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-grid p {
  font-size: 0.9rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 64px;
}

.page-hero h1 {
  margin-top: 18px;
}

.page-hero .lead {
  margin-top: 20px;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray);
}

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

/* Compact products carousel */
.prod-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.prod-track {
  overflow: hidden;
  flex: 1 1 auto;
}

.prod-track .prod-slide-wrap {
  display: flex;
}

.prod-track {
  display: flex;
  gap: 12px;
  scroll-behavior: smooth;
}

.prod-slide {
  flex: 0 0 auto;
  width: calc((100% - 24px) / 3);
}

.prod-slide img {
  display: block;
  width: 100%;
  height: 86px;
  object-fit: contain;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.prod-prev,
.prod-next {
  background: rgba(20, 24, 29, 0.8);
  color: var(--white);
  border: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.prod-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.prod-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
}

.prod-dots button.active {
  background: var(--steel);
}

@media (max-width:760px) {
  .prod-slide {
    width: 100%;
  }

  .prod-slide img {
    height: 72px;
  }
}

.logo-carousel {
  padding: 48px 0;
  border-top: 1px solid var(--line, #DCE3EA);
  border-bottom: 1px solid var(--line, #DCE3EA);
  background: var(--paper, #EEF2F6);
}

/* Fades at both edges so logos don't hard-cut at the container edge */
.logo-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logo-scroll 24s linear infinite;
}

/* Pause on hover so people can actually look at a logo */
.logo-track-wrap:hover .logo-track {
  animation-play-state: paused;
}

/* Fixed-size box per logo — this is what makes every logo line up
     the same regardless of the source image's own dimensions */
.logo-item {
  flex: 0 0 auto;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  height: 100%;
  width: auto;
  max-width: 200px;
  /* stops any unusually wide logo from dominating the row */
  object-fit: contain;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

  /* -50% = exactly one full set, since content is duplicated */
}

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

  .logo-track-wrap {
    overflow-x: auto;
  }
}

.hero-video {
  display: block;
  margin: 28px auto 0;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(16,24,32,0.12);
  background: var(--paper);
}

@media (max-width: 760px) {
  .hero-video { width: 92%; height: auto; aspect-ratio: auto; object-position: 50% 30%; }
}

/* ---------- Hero: full-bleed image with blurred glass panel ---------- */
.hero-image {
  position: relative;
  min-height: clamp(640px, 42vw, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.hero-image {
  position: relative;
  aspect-ratio: 2.2 / 1;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.hero-image-bg,
.hero-image-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  margin: 0;
}

.hero-image-bg {
  /* Fill the hero area while keeping the image's top visible.
     'cover' ensures full-bleed width; 'center top' favors the upper part. */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: #0A0F16;
  z-index: 0;
}

/* Optional: add this class to the hero section when you prefer to show the
   entire image (contain) instead of cropping. Example:
   <section class="hero-image hero-image--show-all"> */
.hero-image--show-all .hero-image-bg {
  background-size: contain;
  background-position: center;
}

.hero-image-blur {
  width: 40%;
  backdrop-filter: blur(18px) saturate(0.9);
  -webkit-backdrop-filter: blur(18px) saturate(0.9);
  background: linear-gradient(90deg,
    rgba(10, 15, 22, 0.92) 0%,
    rgba(10, 15, 22, 0.88) 55%,
    rgba(10, 15, 22, 0.5) 85%,
    rgba(10, 15, 22, 0) 100%);
  z-index: 1;
}

.hero-image-inner {
  position: relative;
  z-index: 2;
  width: 40%;
  max-width: 40%;
  margin: 0;
  padding-left: 48px;
  padding-right: 32px;
  box-sizing: border-box;
}

/* Inline image variant: fills the hero area and can be positioned via object-position. */
.hero-image-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  display: block;
}

/* Opt-in: show the whole image without cropping */
.hero-image--show-all .hero-image-img {
  object-fit: contain;
  object-position: center;
}

.hero-image .hero-copy {
  max-width: 600px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.hero-image .hero-copy .eyebrow { color: #7EB0F2; }
.hero-image .hero-copy .eyebrow::before { background: #7EB0F2; }
.hero-image .hero-copy h1 { color: #ffffff; }
.hero-image .hero-copy .lead {
  color: #EDEFF3;
  font-weight: 400;
}

.btn-outline.on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline.on-dark:hover {
  border-color: var(--steel);
  color: var(--steel);
}

@media (max-width: 860px) {
  .hero-image {
    min-height: 500px;
    aspect-ratio: auto;
  }

  .hero-image-img {
    object-position: center center;
  }

  .hero-image-blur {
    width: 100%;
  }

  .hero-image-inner {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero-image .hero-copy {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
  }

  .hero-image .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
    line-height: 1.04;
  }

  .hero-image .hero-copy .lead {
    font-size: 0.98rem;
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 8px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}