/* Fix Films — homepage additions
   Video hero, coatings-vs-SPF comparison, applications grid.
   Tokens reused from styles.css (var(--orange) etc). */


/* Anchor link landing offset — keep targeted section headers below the sticky nav */
section[id] { scroll-margin-top: 80px; }
@media (max-width: 768px) { section[id] { scroll-margin-top: 64px; } }


/* ---------- Nav: compact size everywhere, dark glass background ---------- */

nav { transition: background 0.3s ease, border-color 0.3s ease; }
.nav-inner { transition: padding 0.3s ease; padding: 12px 32px; }
.nav-logo-img { height: 44px; transition: height 0.3s ease; }

/* Nav background is always dark (was white-glass from styles.css). Black on both
   states means no white halo behind the blur on either side of the hero edge. */
nav {
  background: rgba(15, 15, 15, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

/* Over the hero: keep it dark-tinted but a bit more transparent so the video shows through */
nav.nav-transparent {
  background: rgba(15, 15, 15, 0.45) !important;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* Always use the white logo (dark logo would be invisible on the black nav) */
.nav-logo-dark { display: none; }
.nav-logo-light { display: block; }

/* Nav links: white text in every state */
nav .nav-links a { color: rgba(255, 255, 255, 0.92); }
nav .nav-links a:hover { color: var(--orange); }

nav.nav-transparent .nav-cta {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
nav.nav-transparent .nav-cta:hover {
  background: #fff !important;
  color: var(--black) !important;
  border-color: #fff;
}

/* Footer: white logo PNG, drop the brightness/invert filter */
.footer-logo-img { filter: none; }

/* Nav CTA: brand-colored, with a deeper-orange hover */
nav .nav-cta { background: var(--orange) !important; color: #fff !important; }
nav .nav-cta:hover { background: var(--orange-dark) !important; color: #fff !important; }

/* Over hero: keep the ghost outline but hover fills with brand color, not white */
nav.nav-transparent .nav-cta:hover {
  background: var(--orange) !important;
  color: #fff !important;
  border-color: var(--orange);
}


/* ---------- Video hero ---------- */

.vhero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background:
    url('/images/Hero_1.webp') center/cover no-repeat,
    linear-gradient(135deg, #1a1a1a 0%, #0F0F0F 50%, #2a1810 100%);
  isolation: isolate;
  /* Pull up under the sticky nav so video shows behind the glass nav from the moment the page loads. */
  margin-top: -68px;
}

.vhero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.vhero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.vhero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 132px 32px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vhero-content > * { max-width: 720px; }

.vhero-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
}

.vhero-h1 {
  font-family: var(--serif);
  font-weight: 300;
  color: #fff;
  font-size: clamp(40px, 5.8vw, 78px);
  line-height: 1.04;
  letter-spacing: -1.2px;
  margin: 0 0 28px;
}

.vhero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.vhero-lede {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 0 36px;
}

.vhero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}

.vhero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.vhero-cta-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.vhero-cta-primary svg { transition: transform 0.2s ease; }
.vhero-cta-primary:hover svg { transform: translateX(3px); }

.vhero-cta-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.vhero-cta-ghost:hover { background: #fff; color: var(--black); border-color: #fff; }

.vhero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}
.vhero-trust-badge {
  flex: 0 0 auto;
  display: block;
  height: 48px;
  width: auto;
  background: #fff;
  padding: 5px 7px;
  border-radius: 3px;
  box-sizing: content-box;
}
.vhero-trust-text {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.vhero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: vhero-bounce 2.4s ease-in-out infinite;
}
.vhero-scroll:hover { color: #fff; }

@keyframes vhero-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

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

@media (max-width: 768px) {
  /* Smaller nav: logo 32px + 12*2 padding = 56px tall */
  .nav-inner { padding: 12px 20px; }
  .nav-logo-img { height: 32px; }

  /* Hero fills the entire mobile viewport — top is pulled up under the nav
     (-56px) and the bottom reaches the viewport edge (height = 100dvh + nav). */
  .vhero { height: calc(100dvh + 56px); min-height: 560px; margin-top: -56px; }
  /* Show the looping video on mobile too. object-fit: cover already fills the box. */

  .vhero-content {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 124px 22px 56px;
  }
  .vhero-content > * { max-width: 100%; margin-left: auto; margin-right: auto; }

  .vhero-eyebrow { margin-bottom: 18px; font-size: 10px; }
  .vhero-h1 { font-size: clamp(28px, 7.5vw, 40px); margin-bottom: 18px; }
  .vhero-lede { font-size: 15px; margin-bottom: 26px; }

  .vhero-ctas {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
  }
  .vhero-cta-primary, .vhero-cta-ghost {
    padding: 13px 16px;
    font-size: 13px;
    flex: 0 1 auto;
    white-space: nowrap;
  }
  .vhero-cta-primary svg { display: none; }

  .vhero-trust {
    justify-content: center;
    gap: 10px;
  }
  .vhero-trust-badge { height: 38px; padding: 4px 5px; }
  .vhero-trust-text { font-size: 10px; letter-spacing: 1.2px; line-height: 1.55; }

  .vhero-scroll { bottom: 18px; }

  /* Nav CTA: keep on one line, smaller on mobile */
  .nav-cta { padding: 9px 14px !important; font-size: 12px !important; white-space: nowrap; letter-spacing: 0.2px; }
}


/* ---------- Coatings vs SPF comparison ---------- */

.vs {
  background: var(--white);
  padding: 120px 0;
}

.vs-head {
  max-width: 720px;
  margin: 0 0 56px;
}

.vs-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--black);
  margin: 16px 0 22px;
}
.vs-head h2 em { font-style: italic; color: var(--orange); }

.vs-head p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--type-mute);
  max-width: 600px;
  margin: 0;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.vs-col-head {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.vs-col-bad .vs-col-head { color: var(--clay); }
.vs-col-good .vs-col-head { color: var(--orange); }

.vs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vs-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
}
.vs-list li:last-child { border-bottom: 0; }

.vs-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.vs-mark-bad {
  width: 18px;
  height: 18px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1;
  color: var(--clay);
  font-weight: 400;
}

.vs-mark-good {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
}

.vs-col-bad .vs-list li { color: var(--type-mute); }

@media (max-width: 760px) {
  .vs { padding: 80px 0; }
  .vs-head h2 { font-size: 28px; }
  .vs-grid { grid-template-columns: 1fr; gap: 40px; }
}


/* ---------- Applications grid ---------- */

.apps {
  background: var(--white);
  padding: 120px 0;
}

.apps-head {
  max-width: 720px;
  margin: 0 0 56px;
}

.apps-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--black);
  margin: 16px 0 22px;
}
.apps-head h2 em { font-style: italic; color: var(--orange); }

.apps-head p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--type-mute);
  max-width: 600px;
  margin: 0;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.app-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--white);
}

.app-tile-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 16px;
  background: var(--bone);
}

.app-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.app-tile:hover .app-tile-img img { transform: scale(1.04); }

.app-tile-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--clay);
  margin-bottom: 6px;
}

.app-tile-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--black);
  margin: 0 0 6px;
  transition: color 0.2s ease;
}

.app-tile:hover .app-tile-name { color: var(--orange); }

.app-tile-desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--type-mute);
  margin: 0;
}

@media (max-width: 1100px) {
  .apps-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 760px) {
  .apps { padding: 80px 0; }
  .apps-head h2 { font-size: 28px; }
  .apps-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-tile-img { aspect-ratio: 4/3; }
}


/* ---------- Tier "Request a quote" link replaces price block ---------- */

.tier-quote {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.4px;
  color: var(--black);
  text-decoration: none;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--hairline);
  margin-bottom: 24px;
  transition: opacity 0.2s ease;
}

.tier-quote:hover { opacity: 0.6; }

.tier-featured .tier-quote { color: var(--orange); }


/* ---------- Dual cinematic marquee reel ---------- */

.reel {
  background: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.reel-head {
  text-align: center;
  margin-bottom: 48px;
}

.reel-head .eyebrow {
  display: block;
  text-align: center;
}

.reel-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--black);
  margin: 14px 0 12px;
}

.reel-sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--clay);
  letter-spacing: 0.3px;
  margin: 0;
}

.reel-strips {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reel-strip {
  position: relative;
  overflow: hidden;
  min-height: 210px; /* matches card height; guarantees the strip is visible even if the inner track hasn't settled */
}

.reel-track {
  display: flex;
  gap: 8px;
  width: max-content;
  padding: 0 4px;
}

/* The dual marquee is now JS-driven (see js/main.js) so we can react to
   page-scroll velocity. Hover-pause is handled in JS via mouseenter/leave. */
.reel-track { will-change: transform; }

.reel-card {
  flex: 0 0 auto;
  display: block;
  height: 210px;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  background: var(--bone);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.reel-card img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.reel-card:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.reel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 3;
}

.reel-fade-left {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}
.reel-fade-right {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

@keyframes reel-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes reel-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (max-width: 768px) {
  .reel { padding: 56px 0; }
  .reel-head h2 { font-size: 28px; }
  .reel-strip { min-height: 150px; }
  .reel-card { height: 150px; }
  .reel-fade { width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .reel-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .reel-strip::-webkit-scrollbar { height: 4px; }
  .reel-fade { display: none; }
}


/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  animation: lb-fade-in 0.2s ease forwards;
  cursor: pointer;
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: calc(100% - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: lb-pop-in 0.2s ease forwards;
}

@keyframes lb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes lb-pop-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-photo {
  position: relative;
  width: 100%;
  max-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: pan-y;
}

.lightbox-photo img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-photo.is-fading img { opacity: 0; }

.lightbox-caption {
  text-align: center;
  color: #fff;
  max-width: 720px;
}

.lightbox-caption h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}

.lightbox-caption p {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-nav:hover { background: rgba(0, 0, 0, 0.65); }
.lightbox-nav:active { transform: translateY(-50%) scale(0.94); }

.lightbox-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.lightbox-thumbs {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }

.lightbox-thumbs-nav {
  flex: 0 0 auto;
  width: 32px;
  height: 48px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.lightbox-thumbs-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.lightbox-thumbs-nav[disabled] {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.lightbox-thumb {
  flex: 0 0 64px;
  height: 48px;
  border: 0;
  padding: 0;
  border-radius: 2px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: 0.45;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: opacity 0.15s ease, outline-color 0.15s ease;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb:hover { opacity: 0.85; }

.lightbox-thumb.is-current {
  opacity: 1;
  outline-color: var(--orange);
}

@media (max-width: 768px) {
  .lightbox-stage { width: calc(100% - 24px); gap: 14px; }
  .lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; }
  .lightbox-nav { width: 36px; height: 36px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-nav svg { width: 18px; height: 18px; }
  .lightbox-photo, .lightbox-photo img { max-height: 60vh; }
  .lightbox-caption h3 { font-size: 18px; }
  .lightbox-thumb { flex: 0 0 52px; height: 40px; }
  .lightbox-thumbs-nav { width: 26px; height: 40px; }
}

body.lightbox-open { overflow: hidden; }


/* ---------- Surfaces we work on — card grid ---------- */

.surface-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  margin: 0;
  padding: 0;
}

.surface-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.surface-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bone);
}

.surface-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.surface-card:hover .surface-card-img img { transform: scale(1.03); }

.surface-card-body { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }

.surface-card-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--clay);
  letter-spacing: -0.1px;
}

.surface-card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--black);
  margin: 0;
}

.surface-card-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--type-mute);
  margin: 0;
}

@media (max-width: 980px) {
  .surface-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 22px; }
  .surface-card-name { font-size: 22px; }
}

@media (max-width: 520px) {
  .surface-grid { gap: 32px 14px; }
  .surface-card-img { aspect-ratio: 4/5; }
  .surface-card-name { font-size: 19px; }
  .surface-card-desc { font-size: 13px; }
}


/* ---------- Process section: thumbnail row ---------- */

.process-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}

.process-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border: 0;
  padding: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bone);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.25s ease;
}

.process-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.process-thumb:hover img {
  transform: scale(1.04);
  filter: brightness(1.04);
}
.process-thumb:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .process-gallery {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
    padding-top: 32px;
    gap: 8px;
  }
}


/* ---------- "Made in the UAE" badge ---------- */

/* Nav: sits to the left of the orange "Book a free demo" CTA, both desktop and mobile.
   White pill behind it keeps the red/green flag colors readable on the dark nav. */
.nav-badge {
  display: inline-block;
  height: 32px;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
  flex-shrink: 0;
  background: #fff;
  padding: 4px 6px;
  border-radius: 3px;
  box-sizing: content-box;
}

@media (max-width: 768px) {
  .nav-badge { height: 26px; margin-right: 8px; padding: 3px 5px; }
}

/* Footer: below the brand text */
.footer-badge {
  display: block;
  height: 52px;
  width: auto;
  margin-top: 20px;
  background: #fff;
  padding: 6px 9px;
  border-radius: 3px;
  box-sizing: content-box;
}

@media (max-width: 720px) {
  .footer-badge { height: 44px; padding: 5px 7px; }
}
