

/* ── CSS Variables ── */
:root {
  --red: #ff0000;
  --red-deep: #ff0000;
  --red-light: #FFEBEE;
  --red-mid: #EF5350;
  --black: #0D0D0D;
  --black-soft: #1A1A1A;
  --grey-dark: #333333;
  --grey-mid: #666666;
  --grey-light: #F4F4F4;
  --white: #FFFFFF;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 78.75rem;
  --header-h: 4.5rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html {
  overflow-x: hidden;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Section Shared ── */
/* .section-tag {
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
  border: 1px solid rgba(214,40,40,0.18);
}/*

/* .section-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 3rem;
} */

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--red);
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214,40,40,0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.875rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.6);
  transition: var(--transition);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-quote {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  border: 2px solid var(--red);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-quote:hover {
  background: var(--red-deep);
  box-shadow: 0 6px 20px rgba(214,40,40,0.4);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-whatsapp:hover {
  background: #1aab53;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}


/* ================================================================
   HERO SECTION
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: space-between; /* content (heading/para/CTA) LEFT · image RIGHT */
  gap: clamp(2rem, 5vw, 5.5rem);  /* minimum space between text and image */
  overflow: hidden;
  /* Pull the hero up UNDER the fixed glass navbar (cancels the body's fixed-nav
     offset) so the video sits behind the header and the glassmorphism actually
     has something to frost. padding-top still keeps the content below the nav. */
  margin-top: calc(-1 * var(--header-h-desktop, 4.5rem));
  padding-top: var(--header-h);
  padding-left: 5%;
  padding-right: 5%;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.hero {
  min-height: 133.3333vh;
  min-height: 133.3333svh;
  gap: clamp(2rem, 6.6667vw, 5.5rem);
}
}

/* .hero's margin-top always cancels body's nav offset using the DESKTOP header
   token, but body itself switches to the tablet/mobile header tokens below
   1080px/768px (see navbar.css) — match those breakpoints here too, or the
   hero background sits a few pixels too high (clipped behind the header). */
@media (max-width: 1080px) {
  .hero { margin-top: calc(-1 * var(--header-h-tablet, 4.125rem)); }
}
@media (max-width: 768px) {
  .hero { margin-top: calc(-1 * var(--header-h-mobile, 3.75rem)); }
}

/* spacing.css's shared ".hero.hero" rhythm rule (0,2,0 specificity) gives every
   full-bleed hero on the site a generous 112-152px top clearance — reasonable
   for inner pages, but on the homepage it reads as a big dead gap under the
   header. Override with the ID selector (always wins, any load order) so only
   THIS hero tightens up; products/services keep the shared rhythm. */
#hero {
  min-height: 92vh;
  min-height: 92svh;
  padding-top: calc(var(--header-h-desktop, 4.5rem) + 0.25rem);
  padding-bottom: 3rem;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
#hero {
  min-height: 122.6667vh;
  min-height: 122.6667svh;
}
}
@media (max-width: 1080px) {
  #hero { padding-top: calc(var(--header-h-tablet, 4.125rem) + 0.25rem); }
}
@media (max-width: 768px) {
  #hero {
    min-height: 86vh;
    min-height: 86svh;
    padding-top: calc(var(--header-h-mobile, 3.75rem) + 1.5rem);
    padding-bottom: 2rem;
  }
}
@media (max-width: 480px) {
  #hero {
    min-height: 82vh;
    min-height: 82svh;
    padding-top: calc(var(--header-h-mobile, 3.75rem) + 1.1rem);
    padding-bottom: 1.5rem;
  }
}

.hero-video-wrap {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
}

/* 1. Base Layer: Fallback */
.hero-video-fallback {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1; 
  background: linear-gradient(135deg, #1a0000 0%, #400808 30%, #6b0f0f 55%, #3d0000 80%, #0d0d0d 100%);
}

/* Texture fixed inside fallback layer */
.hero-video-fallback::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(214,40,40,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(214,40,40,0.15) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
}

/* 2. Middle Layer: The 4-image cross-fading slideshow (replaced the video) */
.hero-slideshow {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;   /* images composed subject-right / dark-left */
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }

/* 3. Top Layer: Dark tint — heavier on the LEFT (where the headline sits),
   lighter on the right so the photo's subject stays visible. */
.hero-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(
    90deg,
    rgba(6,6,8,0.82) 0%,
    rgba(6,6,8,0.62) 38%,
    rgba(6,6,8,0.34) 70%,
    rgba(6,6,8,0.42) 100%
  );
  z-index: 3; /* Sits directly on top of the slides */
}
/* On phones the headline is centred / full-width, so the left-heavy gradient
   would leave the right edge under-tinted. Use a uniform, stronger tint. */
@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(6,6,8,0.72) 0%,
      rgba(6,6,8,0.60) 45%,
      rgba(6,6,8,0.74) 100%
    );
  }
}

/* 4. Text Content */
.hero-content {
  position: relative;
  z-index: 5;
  width: 48%;                /* PRD: content 48% / visual 52% */
  max-width: 38.75rem;       /* 620px — headline never spans the whole container */
  padding: 0.75rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  /* Children now reveal individually (staggered) — see HERO ENTRANCE block below. */
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(0, 0, 0, 0.354);
  border: 1px solid rgba(255, 255, 255, 0.786);
  color: rgba(255,255,255,0.9);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.8125rem;  /* 13px */
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4375rem 1.125rem; /* ~32px tall */
  border-radius: var(--r-pill, 999px);
  margin-bottom: 1.75rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 0.4375rem;
  height: 0.4375rem;
  background: #4CAF50;
  border-radius: 50%;
  box-shadow: 0 0 0 0.1875rem rgba(76,175,80,0.35);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0.1875rem rgba(76,175,80,0.35); }
  50%       { box-shadow: 0 0 0 0.375rem rgba(76,175,80,0.1); }
}

/* start of the h1 */

.hero-h1 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem); /* 34 → 64px */
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;   /* headline → paragraph (24px) */
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.58);
}

@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.hero-h1 {
    font-size: clamp(2rem, 5.3333vw, 3.2rem);
}
}

/* FIRE EFFECT FOR SPARK */
.spark-fire {
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--red);
}

/* GLOW EFFECT FOR IGNITE */
.ignite-glow {
    color: var(--red);
    animation: igniteGlow 2.5s ease-in-out infinite alternate;
}



/* end of the h1 */



.hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.125rem); /* 16 → 18px */
  font-weight: 300;
  color: rgb(255, 255, 255);
  line-height: 1.7;
  margin: 0 0 2rem;   /* paragraph → CTA (32px) */
  text-align: left;
}



@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */



.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}
}
.hero-ctas {
  display: flex;
  gap: 1rem;          /* 16px */
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;  /* CTA → trust (40px) */
}
/* Hero CTAs: comfortable, consistent button size */
.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  min-height: 3rem;   /* 48px */
  min-width: 10rem;   /* 160px */
  justify-content: center;
}
.hero-trust {
  position: absolute;
  bottom: 1.5625rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.3rem, 0.8vw, 0.6rem);

  padding: clamp(0.45rem, 1.2vw, 0.8rem) clamp(0.75rem, 2vw, 1.4rem);
  border-radius: 3.125rem;

  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: #fff;
  font-size: clamp(0.7rem, 1.7vw, 0.9375rem);

  /* Never overflow the viewport */
  max-width: calc(100vw - 2rem);
  overflow: hidden;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.hero-trust {
  gap: clamp(0.3rem, 1.0667vw, 0.6rem);

  padding: clamp(0.45rem, 1.6vw, 0.8rem) clamp(0.75rem, 2.6667vw, 1.4rem);
  font-size: clamp(0.7rem, 2.2667vw, 0.9375rem);
  max-width: calc(133.3333vw - 2rem);
}
}
.trust-stars { color: #FFD600; letter-spacing: 2px; white-space: nowrap; }
.trust-div   { color: rgba(255,255,255,0.3); flex-shrink: 0; }
.trust-item  { white-space: nowrap; }



@keyframes heroScrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-badge,
.hero-h1,
.hero-sub,
.hero-ctas {
  max-width: 38.75rem;   /* 620px */
}

/* start of the right image */

.hero-right-img {
  position: relative;
  z-index: 5;

  width: 35%;          /* smaller image on laptops (≥1600 caps it at 480px) */
  max-width: 34rem;    /* keep the column tight to the image so it sits near the text */
  height: 35%;

  display: flex;
  justify-content: center;
  align-items: center;

  pointer-events: none;
}

.hero-right-img img {
  width: 100%;
  max-width: 20rem;   /* 620px */
  max-height: 20rem;  /* 620px — never oversized */
  height: auto;
  object-fit: contain;

  filter:
    drop-shadow(0 20px 50px rgba(0,0,0,0.35));

}

/* ================================================================
   HERO ENTRANCE — staggered, varied reveal on page load.
   Each element gets its own motion + delay so the hero builds in
   piece by piece instead of appearing all at once.
   Motion-safe only: reduced-motion users get the final state instantly.
================================================================ */
@keyframes heroRevUp   { from { opacity: 0; transform: translateY(2.25rem); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes heroRevDown { from { opacity: 0; transform: translateY(-1.5rem); } to { opacity: 1; transform: none; } }
@keyframes heroRevIn   { from { opacity: 0; transform: translateX(2.5rem) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes heroRevFade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-badge     { animation: heroRevDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.15s; }
  .hero-h1        { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.30s; }
  .hero-sub       { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.45s; }
  .hero-ctas      { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.60s; }
  .hero-right-img { animation: heroRevIn   1.0s cubic-bezier(0.16, 1, 0.3, 1) both 0.35s; }
  /* Opacity-only — the trust bar keeps its own translateX(-50%) centering. */
  .hero-trust     { animation: heroRevFade 0.8s ease both 0.85s; }
}


/*==================================================
   HERO — Responsive
   Base = the desktop 1200–1599 rules above. Cascade below only
   contains what CHANGES per breakpoint (single source of truth —
   no hero rules in responsive.css).
==================================================*/

/*========== Ultra HD (1600px+) ==========*/
@media (min-width: 1600px) {
  /* Bigger type + a centred 1536px band so the text↔image gap stays sane */
  .hero { padding-inline: max(5%, calc((100vw - 96rem) / 2)); }
  @media (min-width: 1600px) {

    /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
  .hero { padding-inline: max(5%, calc((133.3333vw - 96rem) / 2)); }
  }
  .hero-content { max-width: 48rem; }
  .hero-badge,
  .hero-h1,
  .hero-sub,
  .hero-ctas    { max-width: 48rem; }
  .hero-badge   { font-size: 1rem; padding: 0.625rem 1.5rem; }
  .hero-h1      { font-size: clamp(4.5rem, 3.9vw, 5rem); }
  @media (min-width: 1600px) {

    /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
  .hero-h1      { font-size: clamp(4.5rem, 5.2vw, 5rem); }
  }
  .hero-sub     { font-size: 1.375rem; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { min-height: 3.75rem; min-width: 13rem; font-size: 1.25rem; }
  .hero-right-img { max-width: 30rem; }
  .hero-trust  { gap: 1rem; padding: 1rem 2.25rem; font-size: 1.125rem; }
  .trust-stars { font-size: 1.25rem; }
}

/*========== Laptop / Tablet Landscape (≤1200) ==========*/
@media (max-width: 1200px) {
  /* Narrower viewport: give the headline more room, shrink the image */
  .hero-content   { width: 56%; }
  .hero-right-img { width: 40%; max-width: 24rem; }
}

/*========== Tablet Portrait (≤992) ==========*/
@media (max-width: 992px) {
  /* Two-column no longer fits: collapse to a centred single column and drop
     the side image (the hero video carries the visual here). */
  .hero { padding-inline: 4%; text-align: center; }
  .hero-content { width: 100%; max-width: 100%; padding: 2rem 1rem; align-items: center; }
  .hero-badge,
  .hero-h1,
  .hero-sub,
  .hero-ctas    { max-width: 100%; text-align: center; }
  .hero-ctas    { justify-content: center; }
  .hero-right-img   { display: none; }
  .hero-trust       { max-width: calc(100% - 2rem); }
  .hero-scroll-hint { display: none; }
}

/*========== Large Mobile (≤768) ==========*/
@media (max-width: 768px) {
  /* Stack; pin content to the BOTTOM so the hero video breathes up top; the
     trust bar flows in just beneath the CTA. */
  .hero {
    flex-direction: column;
    justify-content: flex-end;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 2rem;
  }
  .hero-content { padding: 0; }
  .hero-badge { margin-bottom: 2rem; }
  .hero-h1    { margin-bottom: 1.25rem; }
  .hero-sub   { margin-bottom: 1.25rem; }
  .hero-ctas  { margin-bottom: 0; }        /* CTA sits close to the trust bar */
  .hero-trust {
    position: relative; inset: auto; transform: none;
    width: 100%; max-width: 100%; margin: 0.75rem 0 0;
    justify-content: center; overflow: visible;
  }
}

/*========== Standard Mobile (≤480) ==========*/
@media (max-width: 480px) {
  /* Tighter padding + full-width stacked CTAs */
  .hero       { padding-top: calc(var(--header-h) + 1rem); padding-bottom: 1.5rem; }
  .hero-badge { font-size: 0.7rem; padding: 7px 12px; margin-bottom: 1.75rem; }
  .hero-sub   { font-size: clamp(1rem, 3.5vw, 1.125rem); }
  .hero-ctas  { flex-direction: column; align-items: stretch; width: 100%; gap: 0.75rem; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; min-width: 0; justify-content: center; }
  .hero-trust { flex-wrap: wrap; gap: 0.3rem 0.5rem; border-radius: var(--radius-lg); text-align: center; }
  .trust-div   { display: none; }
  .trust-stars { font-size: 0.85rem; letter-spacing: 1px; }
  .trust-item  { font-size: clamp(0.6rem, 3.2vw, 0.78rem); }
}


/* ================================================================
   SCROLL REVEAL — shared with services pattern
================================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(2.25rem);
  filter: blur(3px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ================================================================
   MARQUEE BANNER
================================================================ */
.marquee-section {
  padding: 1rem 0;
  background: linear-gradient(140deg, #0d0d0d 0%, #160000 45%, #7a0000 78%, #D71920 100%);
  border-top: 1px solid rgba(215,25,32,0.25);
  border-bottom: 1px solid rgba(215,25,32,0.25);
  overflow: hidden;
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.marquee-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 12px,
    rgba(255,255,255,0.018) 12px,
    rgba(255,255,255,0.018) 13px
  );
  pointer-events: none;
  z-index: 0;
}
.marquee-section.is-visible {
  opacity: 1;
}
.marquee-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 1rem;
  max-width: var(--max-w);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}
.marquee-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 450;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.marquee-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.18), transparent);
}
.marquee-track-wrap {
  overflow: hidden;
  position: relative;
  z-index: 1;
  touch-action: pan-y;
  /* mask-image removed — creates WebKit compositing layer that kills iOS Safari child animations */
}
.marquee-track-wrap::before,
.marquee-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 8%;
  z-index: 2;
  pointer-events: none;
}
.marquee-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #0d0d0d, rgba(13,13,13,0));
}
.marquee-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #D71920, rgba(215,25,32,0));
}
.marquee-track {
  display: flex;
  gap: 0.875rem;
  padding: 0.5rem 0;
  -webkit-animation: marqueeScroll var(--marquee-dur, 32s) linear infinite;
  animation: marqueeScroll var(--marquee-dur, 32s) linear infinite;
  width: max-content;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
@media (hover: hover) {
  .marquee-track-wrap:hover .marquee-track,
  .marquee-section:hover .marquee-track {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}
/* Note: an `animation-play-state: running !important` rule used to live here
   under @media (hover: none). It existed to force the loop on touch back when
   touch devices were swapped into `marquee-scroll-mode`. The carousel is now
   continuous on every device, so the default (running) already applies — and
   the !important actively blocked the touch drag-to-pause handler in home.js,
   because a stylesheet !important outranks an inline style. */
@-webkit-keyframes marqueeScroll {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 768px) {
  .marquee-section { --marquee-dur: 24s; }
}
@media (max-width: 480px) {
  .marquee-section { --marquee-dur: 18s; }
}

/* ── Touch-scroll mode (applied via JS on touch devices) ──────── */
.marquee-scroll-mode {
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1rem;
  touch-action: pan-x;
  scrollbar-width: none; /* Firefox */
  cursor: default;
  padding-bottom: 0;
}
.marquee-scroll-mode::-webkit-scrollbar { display: none; }

/* Remove left/right fade overlays in scroll mode */
.marquee-scroll-mode::before,
.marquee-scroll-mode::after { display: none !important; }

/* Kill the CSS animation; reset position so scroll starts at 0 */
.marquee-scroll-mode .marquee-track {
  -webkit-animation: none !important;
  animation: none !important;
  -webkit-transform: none !important;
  transform: none !important;
  width: max-content;
  padding: 0.5rem 1rem 0.75rem; /* side padding so first/last card isn't edge-flush */
  gap: 0.75rem;
}

/* Each card snaps to left edge */
.marquee-scroll-mode .marquee-card {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.marquee-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: 2px solid rgba(215,25,32,0.55);
  border-radius: 0.625rem;
  padding: 1.1rem 1.4rem;
  /* Show a MAXIMUM of 5 cards across the visible band: 5 cards + 5 gaps span
     the viewport, so 5 fit and the 6th sits just off-screen. The min-width
     floor keeps them legible on narrow windows (fewer than 5 show there,
     which still satisfies "max 5"). */
  width: calc(20vw - 0.875rem);
  min-width: 9.5rem;
  flex-shrink: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-decoration: none;
  user-select: none;
  touch-action: manipulation;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.marquee-card {
  width: calc(26.6667vw - 0.875rem);
}
}
.marquee-card:hover {
  background: rgba(215,25,32,0.88);
  border-color: rgba(215,25,32,0.9);
  border-bottom-color: #ff6b6b;
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(215,25,32,0.28), 0 0 0 1px rgba(215,25,32,0.35);
}
.marquee-card:active {
  transform: translateY(-2px);
}
.mc-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.15rem;
  color: var(--red);   /* FA glyphs inherit colour (the old emojis carried their own) */
}
.mc-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 450;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.2;
  transition: color 0.22s ease;
}
.mc-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.22s ease;
}
.marquee-card:hover .mc-title { color: #fff; }
.marquee-card:hover .mc-sub   { color: rgba(255,200,200,0.88); }


 /* ================================================================
   TRUSTED BY
================================================================ */
/*.trusted-section {
  padding: 6rem 0;
  background: var(--grey-light);
}
.trusted-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.trusted-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}
.trusted-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(214,40,40,0.1);
  transform: translateY(-4px);
}
.tc-icon { font-size: 2rem; }
.trusted-card span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-dark);
} */

/* ================================================================
   SERVICES
================================================================ */

.services-section h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  /* Stroke removed — headings are solid site-wide now. */
  color: rgba(0, 0, 0, 0.88);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.55);
  line-height: 1.1;
  margin-bottom: 2rem;
}

@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.services-section h2 {
  font-size: clamp(2rem, 5.3333vw, 4rem);
}
}


.services-section {
  padding: 7rem 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.164), rgba(0, 0, 0, 0.117)),
    url('/assets/images/webporavif/bg.avif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
/* Only shown on mobile once the grid below becomes a swipeable row. */
.services-swipe-hint {
  display: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-dark, #6b6b6b);
  margin: -0.75rem 0 1.25rem;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1.8px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  min-height: 22rem;
  transition: var(--transition);
  overflow: hidden;
  /* Flex column so the CTA can be pinned to the card's bottom edge — the
     cards hold different amounts of copy/tags, which was leaving each
     "Get Quote" link at a different height instead of on one line. */
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red-deep);
  transform: scaleX(3);
  transform-origin: left;
  transition: transform var(--transition);
}

.sc-number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgb(255, 0, 0);
  line-height: 1;
  user-select: none;
}
.sc-icon-wrap {
  color: var(--red);
  margin-bottom: 1.25rem;
}
.sc-icon-wrap svg {
  width: 2.75rem;
  height: 2.75rem;
  transition: transform 0.3s ease;
}
.service-card:hover .sc-icon-wrap svg {
  transform: scale(1.15);
}
.service-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.service-card p {
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  /* it's a <ul>, so Bootstrap's `ol, ul { padding-left: 2rem }` was indenting
     the whole tag row — cancel it (list-style already cleared globally). */
  margin-top: 0;
  padding-left: 0;
}
.sc-tags li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: var(--red-light);
  color: var(--red-deep);
  border: 1px solid rgba(214,40,40,0.15);
  letter-spacing: 0.04em;
}
.sc-link {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: letter-spacing var(--transition);
  margin-top: auto;        /* pushes every CTA onto the same bottom line */
  padding-top: 1.5rem;
  align-self: flex-start;
}
.sc-link:hover { letter-spacing: 0.1em; }


/* Same story as .why-card below: this hover inverts the card to dark, and a
   tap on a touchscreen leaves it stuck that way. Pointer devices only. */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover::before { transform: scaleX(3); }
  .service-card:hover {
    background: var(--black-soft);
    border-color: var(--red-deep);

    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }

  /* Heading */
  .service-card:hover h3 {
    color: var(--white);
  }

  /* Paragraph */
  .service-card:hover p {
    color: #ffffff;
  }

  /* Number */
  .service-card:hover .sc-number {
    color: rgba(255,255,255,0.15);
  }

  /* Icon */
  .service-card:hover .sc-icon-wrap {
    color: var(--red);
  }

  /* Tags */
  .service-card:hover .sc-tags li {
    background: rgba(214,40,40,0.2);
    color: rgba(255,255,255,0.8);
    border-color: rgba(214,40,40,0.3);
  }

  /* Link */
  .service-card:hover .sc-link {
    color: var(--red-mid);
  }
}

/*==================================================
   SERVICES — Responsive
   Base above = 4-col grid (1200–1599). Cascade = only what changes.
   Big-screen container width is handled by the shared
   `.services-section .container` cap lower in this file.
==================================================*/

/*========== Laptop / Tablet Landscape (≤1200) ==========*/
@media (max-width: 1200px) {
  /* 4 columns get too narrow — drop to a 2×2 grid, trim the band */
  .services-section { padding: 5rem 0; }
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
}

/*========== Tablet Portrait (≤992) ==========*/
@media (max-width: 992px) {
  /* Keep 2×2; just tighten the vertical rhythm */
  .services-section { padding: 4.5rem 0; }
}

/*========== Large Mobile (≤768) ==========*/
@media (max-width: 768px) {
  /* A tall single-column stack of 8 cards was a lot of straight-line
     scrolling. Swipeable row instead — same cards, browse sideways. */
  .services-section { padding: 3.5rem 0; }
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 4vw;
    gap: 1rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .services-grid::-webkit-scrollbar { height: 5px; }
  .services-grid::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 4px; }
  .services-grid::-webkit-scrollbar-thumb { background: rgba(215,25,32,0.45); border-radius: 4px; }
  .service-card {
    min-height: auto;
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .services-swipe-hint { display: block; }
}

/*========== Standard Mobile (≤480) ==========*/
@media (max-width: 480px) {
  /* Tighter card padding on narrow phones */
  .services-section { padding: 3rem 0; }
  .service-card     { padding: 2rem 1.5rem 1.5rem; }
}


/* ================================================================
   WHY CHOOSE US
================================================================ */

.why-section {
  padding: 7.5rem 5%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(215, 215, 215, 0.02)),
    url('/assets/images/webporavif/spark-embroidery-hero.jpg');
  
  /* Make it cover the container area perfectly */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}



.why-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.375rem;
    align-items: center;
}

/* =========================
  why top
========================= */

.why-top{
    text-align: center;
    max-width: 56.25rem;
    margin: 0 auto 4.375rem;

    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    padding: 2.5rem 2.5rem 2rem;
    box-shadow: 0 1.25rem 3.125rem rgba(0,0,0,.1);
}

.why-top .section-tag{
    margin-bottom: 1.25rem;
}

.why-top .why-intro{
    margin: 1.5625rem auto 0;
}

/* =========================
   IMAGE SIDE — "How we help your business grow" infographic panel
   (a dark showcase panel whose black backdrop blends seamlessly with the
    HOW.webp artwork; stretches to match the height of the cards column)
========================= */

.why-image-wrap{
    position: relative;
    align-self: stretch;          /* fill the row height set by the cards */
    min-height: 34rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background: transparent;           /* seamless with the infographic's black bg */
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2rem;
    padding: 1.75rem;
    box-shadow: 0 1.875rem 3.75rem rgba(0,0,0,.28);
}

.why-how-img{
    width: 100%;
    height: 100%;
    object-fit: contain;           /* whole infographic visible — never cropped */
    display: block;
    transition: transform .6s cubic-bezier(0.16,1,0.3,1);
}

.why-image-wrap:hover .why-how-img{
    transform: scale(1.03);        /* gentle lift — it's a graphic, not a photo */
}

/* =========================
   CONTENT SIDE
========================= */

.why-content {
    flex: 1;
    width: 100%;
}

.section-tag {
    display: inline-block;

    background: rgba(214,40,40,.08);
    color: #d62828;

    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;

    padding: 0.625rem 1.375rem;
    border-radius: 100px;

    margin-bottom: 1.5625rem;
}

.why-heading {
    font-family: 'Bricolage Grotesque', sans-serif;

    font-size: 3.5rem;   /* desktop default (1201–1599) — per-tier overrides below */
    line-height: 1;

    margin-bottom: 1.25rem;

    color: #111;
}

.why-heading span {
    display: block;
    color: #d62828;
}

.why-intro {
    color: #000000;
    line-height: 1.8;
    font-size: 1rem;

    max-width: 40.625rem;
    margin-bottom: 1.25rem;
}

/* =========================
   CARDS
========================= */

.why-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.why-card {
    width: 80%;

    display: flex;
    align-items: flex-start;
    gap: 1.25rem;

    background: #ffffff;

    border: 0.125rem solid #d62828;
    border-radius: 1.5625rem;

    padding: 1rem 1rem;

    transition: all .35s ease;
}

/* alternate pattern */

.why-card.left {
    margin-right: auto;
}

.why-card.right {
    margin-left: auto;
}

/* icon */

.why-card-icon {
    width: 2.75rem;
    height: 2.75rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 1.25rem;

    background: #d62828;
    color: white;

    font-size: 1.5rem;

    flex-shrink: 0;

    transition: all .35s ease;
}

/* heading */

.why-card h4 {
    font-family: 'Bricolage Grotesque', sans-serif;

    font-size: 1.3rem;
    font-weight: 800;

    margin-bottom: 0.3125rem;

    color: #111;

    text-transform: uppercase;

    transition: all .35s ease;
}

/* paragraph */

.why-card p {
    font-size: 0.9rem;
    color: #403f3f;
    line-height: 1.55;

    transition: all .35s ease;
}

/* =========================
   HOVER EFFECT
========================= */

/* Hover inverts the card to dark. Touch devices keep :hover "stuck" after a
   tap, which left phones showing the inverted card with washed-out text until
   you tapped elsewhere — so only apply it where a real pointer exists. */
@media (hover: hover) and (pointer: fine) {
  .why-card:hover {
      background: #111111;
      border-color: #111111;

      transform:
          translateY(-6px)
          translateX(6px);

      box-shadow:
          0 20px 50px rgba(0,0,0,.18);
  }

  .why-card:hover h4 {
      color: #ff0000;
  }

  .why-card:hover p {
      color: rgb(255, 255, 255);
  }

  .why-card:hover .why-card-icon {
      background: #ff0000;
      color: #ffffff;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px){

    .why-wrapper{
        grid-template-columns: 1fr;
    }

    .why-image-wrap{
        min-height: 0;
        /* HOW.webp is a tall portrait infographic (~945×1663). Forcing a
           square (1/1) here left the narrow image centered with large empty
           gutters down both sides. Matching its real ratio lets it fill the
           panel edge-to-edge with no dead space. */
        aspect-ratio: 945 / 1663;
        padding: 1rem;
    }

    .why-card{
        width: 100%;
    }

    .why-card.left,
    .why-card.right{
        margin: 0;
    }
}

/* Phone: two cards per row instead of one full-width card per line. At half
   width the icon-beside-text layout is too cramped, so the card stacks
   internally (icon on top) and the type steps down to match. */
@media (max-width: 768px){
    .why-cards{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .why-card{
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
        padding: 1rem 0.875rem;
        border-radius: 1.125rem;
    }

    .why-card-icon{
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.15rem;
        border-radius: 0.875rem;
    }

    .why-card h4{
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .why-card p{
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px){
    .why-image-wrap{
        padding: 0.75rem;
        border-radius: 1.25rem;
    }

    .why-cards{ gap: 0.625rem; }
    .why-card{ padding: 0.875rem 0.75rem; }
    .why-card h4{ font-size: 0.92rem; }
    .why-card p{ font-size: 0.76rem; }
}

/* ── .why-heading — responsive size across every tier ─────────────
   Base above is 3.5rem (desktop 1201–1599). Ordered large → small so
   each breakpoint cleanly overrides the previous as the screen shrinks. */
@media (min-width: 1600px) { .why-heading { font-size: 3.75rem; } }  /* 60px */
@media (min-width: 1600px) { .why-heading { font-size: 4.5rem; } }   /* 72px — the big-screen size */
@media (max-width: 1200px) { .why-heading { font-size: 3rem; } }     /* 48px — small laptop */
@media (max-width: 992px)  { .why-heading { font-size: 2.75rem; } }  /* 44px — tablet (single column) */
@media (max-width: 768px)  { .why-heading { font-size: 2.5rem; } }   /* 40px — mobile */
@media (max-width: 480px)  { .why-heading { font-size: 2.125rem; } } /* 34px — small phone */
@media (max-width: 360px)  { .why-heading { font-size: 1.85rem; } }  /* 30px — tiny phone */

/* ================================================================
   PROCESS
================================================================ */
.process-section {
  padding: 7rem 0;
  background: var(--white);
  overflow: hidden;
}
.process-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin-top: 1rem;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.ps-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.ps-dot {
  width: 1rem;
  height: 1rem;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .ps-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(214,40,40,0.25);
}
.process-connector {
  flex: 0 0 auto;
  width: 3.75rem;
  height: 2px;
  background: linear-gradient(to right, var(--red), rgba(214,40,40,0.3));
  margin-top: 2.375rem;
  flex-shrink: 0;
}
.ps-content {
  padding: 0 0.75rem;
}
.ps-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.ps-content h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.ps-content p {
  font-size: 0.82rem;
  color: var(--grey-mid);
  line-height: 1.6;
}

/* ================================================================
   PORTFOLIO
================================================================ */
.portfolio-section {
  padding: 7rem 0;
  /* dark showcase band — matches the dark cards, faint brand glow up top */
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(215,25,32,0.16) 0%, transparent 62%),
    linear-gradient(180deg, #141417 0%, #0d0d0f 55%, #141417 100%);
}
.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.pf-btn {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.125rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--grey-dark);
  transition: var(--transition);
}
.pf-btn:hover,
.pf-btn.active {
  color: var(--white);
  border-color: var(--red);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.portfolio-item.hidden { display: none; }
.pi-img {
  height: 12.5rem;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.portfolio-item:hover .pi-img { transform: scale(1.04); }

/* Placeholder colored image blocks */
.pi-img-1,.pi-img-2,.pi-img-3,.pi-img-4,
.pi-img-5,.pi-img-6,.pi-img-7,.pi-img-8 {
  background-image: url('../images/militaryemb.jpg');
  background-size: cover;
  background-position: center;
}

/* Overlay pattern on portfolio images */
.pi-img::after {
  content: '';
  display: block;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 12px
  );
}
.pi-info {
  padding: 1.25rem;
}
.pi-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.35rem;
}
.pi-info h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.25;
}

/* ================================================================
   INDUSTRIES
================================================================ */
.industries-section {
  padding: 7rem 0;
  background: var(--black-soft);
}
.industries-section .section-tag {
  color: var(--red-mid);
  background: rgba(214,40,40,0.15);
  border-color: rgba(214,40,40,0.3);
}
.industries-section .section-h2 { color: var(--white); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.industry-card {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: var(--transition);
}
.industry-card:hover {
  background: rgba(214,40,40,0.1);
  border-color: var(--red);
  transform: translateY(-4px);
}
.ic-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.industry-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.industry-card p {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.65;
}

/* ================================================================
   STATS
================================================================ */
.stats-section {
  padding: 1rem 0;
  background: var(--red-deep);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(0,0,0,0.2) 0%, transparent 50%),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 80px
    );
}
.stats-grid {
  display: grid;
  /* minmax(0, 1fr) — NOT plain 1fr — is load-bearing: a plain `1fr` track
     can't shrink past its content's min-content width, so the long labels
     ("Happy Clients Across the USA") were forcing every column wider than
     its fair share and pushing the grid past the viewport on mobile. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-block {
  min-width: 0; /* lets the label wrap instead of expanding the grid track */
  text-align: center;
  padding: 1rem;
}
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: inline;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.stat-num {
  font-size: clamp(3rem, 8vw, 5rem);
}
}
.stat-plus,
.stat-suffix {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  display: inline;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.stat-plus,
.stat-suffix {
  font-size: clamp(2rem, 5.3333vw, 3.5rem);
}
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  overflow-wrap: break-word;
}

/* ================================================================
   STATS — MOBILE (dedicated per-section block, per-tier)
================================================================ */
@media (max-width: 640px) {
  .stats-grid   { gap: 1.25rem 1rem; }
  .stat-block   { padding: 0.5rem; }
  .stat-num     { font-size: clamp(2.25rem, 9vw, 3rem); }
  .stat-plus,
  .stat-suffix  { font-size: clamp(1.5rem, 6vw, 2rem); }
  .stat-label   { font-size: 0.75rem; letter-spacing: 0.04em; margin-top: 0.375rem; }
}
@media (max-width: 360px) {
  .stats-grid   { gap: 1rem 0.75rem; }
  .stat-num     { font-size: clamp(2rem, 10vw, 2.5rem); }
  .stat-label   { font-size: 0.6875rem; }
}

/* ================================================================
   TESTIMONIALS
================================================================ */
.testimonials-section {
  padding: 7rem 0;
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-card.featured {
  background: var(--black-soft);
  border-color: var(--red);
  transform: translateY(-8px);
}
.testimonial-card.featured p,
.testimonial-card.featured .tc-author strong { color: var(--white); }
.testimonial-card.featured .tc-author span { color: #ffffff; }
.tc-stars {
  color: #FFD600;
  font-size: 0.95rem;
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
}
.testimonial-card p {
  font-size: 0.95rem;
  color: var(--grey-dark);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-style: italic;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.tc-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.tc-author strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tc-author span {
  font-size: 0.8rem;
  color: var(--grey-mid);
}
.tc-industry {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  background: var(--red-light);
  padding: 0.1875rem 0.625rem;
  border-radius: 100px;
  margin-top: 1.25rem;
  border: 1px solid rgba(214,40,40,0.2);
}

/* =====================================================
FAQ (heading ) SECTION
===================================================== */

.faq-section {
  padding: 6rem 0;
  overflow: hidden;
}

.faq-heading {
  text-align: center;
  max-width: 37.5rem;
  margin:0 auto 1rem;
  margin-top: -4.7rem;
}



.faq-heading p {
  margin-top: -2rem;
  color: #000000;
}

.faq-heading .section-h2 {
  color: #111;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* =====================================================
3 COLUMN GRID
===================================================== */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: -7rem;
}


/* =====================================================
FAQ COLUMNS
===================================================== */

.faq-column {
  height: 37.5rem;
  overflow: hidden;
  position: relative;
}

.faq-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  will-change: transform;
}
/* =====================================================
FAQ CARD
===================================================== */

.faq-card {
  background: linear-gradient(
      135deg,
      #111 0%,
      #1a1a1a 50%,
      #dc2626 100%
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  border: 1px solid rgb(255, 255, 255);
  border-radius: 1rem;

  padding: 0.75rem;

  transition: all .4s ease;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.144);
}

.faq-card h4 {
  color: #ffffff;
  margin-bottom: 0.55rem;
  font-size: 1rem;
  transition: .4s ease;
}

.faq-card p {
  color: #ffffff;
  line-height: 1.6;
  font-size: .92rem;
  transition: .4s ease;
}

/* ==========================
FAQ HOVER EFFECT
========================== */

.faq-card:hover {
  background: white;

  transform: translateY(-8px);

  border-color: #dc2626;

  box-shadow:
      0 20px 40px rgba(220,38,38,.35);
}

.faq-card:hover h4{
  color: var(--red-deep);
}

.faq-card:hover p {
  color: #000000;
}

/* =====================================================
IMAGE
===================================================== */

.faq-image {
  height: 37.5rem;
}

.faq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

/* =====================================================
IMAGE
===================================================== */

.faq-image {
  height: 37.5rem;
  overflow: hidden;
  border-radius: 1.5rem;
  position: relative;
}

/* Red Glow Border */

.faq-image::before {
  content: "";
  position: absolute;
  top: -2px; right: -2px; bottom: -2px; left: -2px;
  border-radius: 1.5rem;
  z-index: 0;
}

.faq-image img {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 1.375rem;

  transition:
      transform .8s ease,
      filter .8s ease;
}

/* ==========================
IMAGE HOVER EFFECT
========================== */

.faq-image:hover img {
  transform: scale(1.08) rotate(1deg);
  filter:
      brightness(1.05)
      contrast(1.05)
      saturate(1.15);
}

/* .faq-image:hover {
} */

/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width: 991px) {

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-image {
    order: -1;
    height: 400px;
  }

  .faq-column {
    height: 350px;
  }
}


/* =====================================================
FAQ SECTION
===================================================== */

.faq-section {
  padding: 7rem 0;
  overflow: hidden;
  position: relative;

  /* Red-White Gradient Background */
  background:
    radial-gradient(circle at top left,
      rgb(255, 0, 0) 10%,
      transparent 40%),
    radial-gradient(circle at bottom right,
      rgb(255, 255, 255) 10%,
      transparent 30%),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fff5f5 35%,
      #ffe5e5 70%,
      #ffffff 100%
    );
}

/* Decorative Blur Shapes */

.faq-section::before,
.faq-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}

.faq-section::before {
  width: 18.75rem;
  height: 18.75rem;
  background: rgba(255, 0, 0, 0.15);
  top: -6.25rem;
  left: -6.25rem;
}

.faq-section::after {
  width: 21.875rem;
  height: 21.875rem;
  background: rgba(255, 50, 50, 0.12);
  bottom: -6.25rem;
  right: -6.25rem;
}

.faq-section > * {
  position: relative;
  z-index: 2;
}

/* =====================================================
VERTICAL ANIMATIONS
===================================================== */

.marquee-down .faq-track {
  -webkit-animation: scrollDown 12s linear infinite;
  animation: scrollDown 12s linear infinite;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.marquee-up .faq-track {
  -webkit-animation: scrollUp 12s linear infinite;
  animation: scrollUp 12s linear infinite;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (hover: hover) {
  .marquee-down:hover .faq-track,
  .marquee-up:hover .faq-track {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}
@media (hover: none) {
  .marquee-down .faq-track,
  .marquee-up .faq-track {
    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
  }
}

@-webkit-keyframes scrollDown {
  0%   { -webkit-transform: translate3d(0, -50%, 0); transform: translate3d(0, -50%, 0); }
  100% { -webkit-transform: translate3d(0, 0%, 0);  transform: translate3d(0, 0%, 0); }
}
@keyframes scrollDown {
  0%   { transform: translate3d(0, -50%, 0); }
  100% { transform: translate3d(0, 0%, 0); }
}

@-webkit-keyframes scrollUp {
  0%   { -webkit-transform: translate3d(0, 0%, 0); transform: translate3d(0, 0%, 0); }
  100% { -webkit-transform: translate3d(0, -50%, 0); transform: translate3d(0, -50%, 0); }
}
@keyframes scrollUp {
  0%   { transform: translate3d(0, 0%, 0); }
  100% { transform: translate3d(0, -50%, 0); }
}

/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width: 991px) {

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-image {
    order: -1;
    height: 400px;
  }

  .faq-column {
    height: 350px;
  }
}

/* ================================================================
   CTA BANNER
================================================================ */
.cta-banner {
  padding: 7rem 0;
  background: var(--black-soft);
  position: relative;
  overflow: hidden;
}
.cta-bg-pattern {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(214,40,40,0.15) 0%, transparent 50%),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 30px
    );
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.85rem;
  line-height: 1.1;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.cta-text h2 {
  font-size: clamp(2rem, 5.3333vw, 3rem);
}
}
.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 30rem;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}


/* ================================================================
   ANIMATIONS — REVEAL ON SCROLL
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .trusted-grid       { grid-template-columns: repeat(3, 1fr); }
  .industries-grid    { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .main-nav           { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); gap: 0.25rem; }
  .main-nav.open      { display: flex; }
  .main-nav a         { padding: 12px 16px; border-radius: var(--radius); font-size: 1rem; }
  .hamburger          { display: flex; }
  .btn-quote          { display: none; }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid     { grid-template-columns: repeat(2, 1fr); }
  .faq-inner          { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-timeline   { flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
  .process-connector  { display: none; }
  .process-step       { flex: 0 0 calc(50% - 0.75rem); }
  .cta-inner          { flex-direction: column; text-align: center; }
  .cta-text p         { max-width: none; }
  .cta-actions        { justify-content: center; }
}
@media (max-width: 640px) {
  .industries-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid     { grid-template-columns: repeat(2, 1fr); }
  .pi-img-wrap        { aspect-ratio: 1 / 1; }
  .pi-img             { height: 100%; object-fit: cover; }
  /* Smaller utility grids stay as-is */
  .trusted-grid       { grid-template-columns: repeat(2, 1fr); }
  .stats-grid         { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-ctas          { flex-direction: column; align-items: center; }
  .hero-trust         { border-radius: var(--radius-lg); }
  .process-step       { flex: 0 0 100%; }
}


/* ================================================================
   BRAND COLOR OVERRIDE — sets proper red across all new sections
================================================================ */
:root {
  --red:       #D71920;
  --red-deep:  #B01015;
  --red-light: rgba(215, 25, 32, 0.08);
}


/* ================================================================
   GLOBAL UTILITY — .section-h2
================================================================ */
.section-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #0A0A0A;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.section-h2 {
  font-size: clamp(1.8rem, 4.2667vw, 2.6rem);
}
}
.section-h2 span { color: var(--red); }


/* ================================================================
   ABOUT US SECTION
================================================================ */
.about-section {
  padding: 6.25rem 0;
  background-image: url('../images/webporavif/b-g-3.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-container {
  max-width: 78.75rem;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 5rem);
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 5rem;
  align-items: center;
}

@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.about-container {
  padding: 0 clamp(1.5rem, 4vw, 5rem);
}
}

.about-content {
  transform: translateX(-2.75rem);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(.22,1,.36,1), opacity 0.85s ease;
}
.about-content.revealed {
  transform: translateX(0);
  opacity: 1;
}

/* On phones this section stacks into a very tall column, so the slide-in
   reveal (which waits on an IntersectionObserver) could leave the copy
   sitting at opacity:0 — unreadable. Body text must never depend on JS
   running, so skip the animation here and just show it. */
@media (max-width: 768px) {
  .about-content,
  .about-visual {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.about-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: #0A0A0A;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.about-heading {
  font-size: clamp(2rem, 5.0667vw, 3.2rem);
}
}
.about-heading span { color: var(--red); }

.about-body {
  font-size: 1rem;
  line-height: 1.78;
  color: #0a0a0a;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
}

.stat-pill {
  background: #fafafa;
  border: 1.5px solid #ebebeb;
  border-radius: 0.75rem;
  padding: 1rem 0.625rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.stat-pill:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(215,25,32,0.1);
}

.stat-pill-top {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  line-height: 1;
  margin-bottom: 0.3125rem;
}

.stat-pill-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.stat-pill-num {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
}
}
.stat-pill-suffix {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
}

.stat-pill-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.about-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.about-cta-wrap .btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 0;                       /* own stacking context so the fill sits behind the text */
  background-color: var(--black);
  color: var(--white);
  border-color: var(--white);
  transition: color 0.35s ease 0.08s, border-color 0.35s ease,
              transform 0.3s ease, box-shadow 0.3s ease;
}

/* White fill that sweeps left → right on hover — the "progress" wipe */
.about-cta-wrap .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.486);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(.65, 0, .35, 1);
}

.about-cta-wrap .btn-primary:hover,
.about-cta-wrap .btn-primary:focus-visible {
  color: var(--black);
  border-color: var(--black);
  background-color: rgba(255, 255, 255, 0.109);   /* stays black underneath; ::before does the reveal */
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.about-cta-wrap .btn-primary:hover::before,
.about-cta-wrap .btn-primary:focus-visible::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .about-cta-wrap .btn-primary::before { transition: none; }
}

.about-visual {
  transform: translateX(2.75rem);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(.22,1,.36,1) 0.18s, opacity 0.85s ease 0.18s;
}
.about-visual.revealed {
  transform: translateX(0);
  opacity: 1;
}

.about-image-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: visible;
}

.about-image-wrap img {
  width: 100%;
  height: 28.75rem;
  object-fit: cover;
  border-radius: 1.25rem;
  display: block;
  box-shadow: 0 1.5rem 3.75rem rgba(0,0,0,0.14);
}

.about-image-accent {
  position: absolute;
  top: -1.125rem;
  right: -1.125rem;
  width: 5.625rem;
  height: 5.625rem;
  border: 3px solid var(--red);
  border-radius: 1.125rem;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--red);
  color: #fff;
  padding: 1.25rem 1.125rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0.75rem 2rem rgba(215,25,32,0.38);
  min-width: 7.25rem;
  z-index: 2;
}
.about-badge-num {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-badge-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
  margin-top: 4px;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .about-container { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-visual    { order: -1; }
  .about-image-wrap img { height: 340px; }
  .about-badge     { bottom: -16px; left: 10px; }
  .about-stats     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .about-section { padding: 72px 0 80px; }
  .about-image-wrap img { height: 240px; }
  .about-badge { bottom: -12px; left: 8px; padding: 14px 12px; min-width: 96px; }
  .about-badge-num { font-size: 1.7rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .stat-pill   { padding: 12px 8px; }
  .stat-pill-num { font-size: 1.3rem; }
  .about-heading { font-size: clamp(1.7rem, 6vw, 2.4rem); }
}


/* ================================================================
   PORTFOLIO SECTION — upgraded (hover overlays + filter animation)
================================================================ */
.portfolio-section {
  padding: 6.25rem 0;
}
.portfolio-section .section-h2  { text-align: center; color: #ffffff; }
.portfolio-section .section-tag { display: block; text-align: center; margin-bottom: 0.5rem;
  background: rgba(215,25,32,0.16); color: #ff5f63; border: 1px solid rgba(215,25,32,0.28); }

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.pf-btn {
  padding: 0.5625rem 1.25rem;
  border: 1.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  transition: all 0.25s ease;
}
.pf-btn:hover  { border-color: var(--red); color: #fff; background: rgba(215,25,32,0.14); }
.pf-btn.active { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 4px 14px rgba(215,25,32,0.30); }

/* ── Featured work video banner (dark, matches the cards) ─────── */
/* (The .pf-video showcase reel was moved to the Chenille Patches category
   page — see .pc-video-* in product-category.css.) */

.portfolio-grid {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 0.25rem;
  padding-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
}
.portfolio-grid::-webkit-scrollbar { height: 6px; }
.portfolio-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.06); border-radius: 4px; }
.portfolio-grid::-webkit-scrollbar-thumb { background: rgba(215,25,32,0.55); border-radius: 4px; }
.portfolio-grid::-webkit-scrollbar-thumb:hover { background: rgba(215,25,32,0.8); }

.portfolio-item {
  flex: 0 0 auto;
  width: 18rem;
  scroll-snap-align: start;
  border-radius: 0.875rem;
  overflow: hidden;
  background: linear-gradient(160deg, #1c1c1f 0%, #101012 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 6px 22px rgba(0,0,0,0.14);
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.3s ease;
}
.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: rgba(215,25,32,0.45);
  box-shadow: 0 20px 46px rgba(0,0,0,0.24), 0 0 24px rgba(215,25,32,0.30);
}

.pi-img-wrap { position: relative; overflow: hidden; }
/* Shining reveal — diagonal light sweeps across the image on hover */
.pi-img-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.38) 50%, transparent 100%);
  transform: skewX(-20deg);
  z-index: 3;
  pointer-events: none;
  transition: left 0.7s cubic-bezier(0.16,1,0.3,1);
}
.portfolio-item:hover .pi-img-wrap::after { left: 130%; }

.pi-img {
  width: 100%;
  height: 15rem;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
}
/* darken the photo itself instead of a heavy shade overlay, so the CTA reads */
.portfolio-item:hover .pi-img { transform: scale(1.06); filter: brightness(0.55); }

.pi-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  /* no heavy shade — the image darkens via filter; overlay just reveals content */
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
  z-index: 4;
}
.portfolio-item:hover .pi-overlay { opacity: 1; transform: translateY(0); }

.pi-cat-chip {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.75rem;
}
.pi-overlay h4 {
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.pi-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--red);
  padding: 0.4375rem 1.125rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.pi-cta-btn:hover { background: var(--red); color: #fff; }

.pi-info { padding: 0.875rem 1rem; }
.pi-info .pi-cat {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--red);
  margin-bottom: 0.25rem;
}
.pi-info h4 { font-size: 0.95rem; font-weight: 700; color: #f2f2f2; margin: 0; line-height: 1.3; }

.portfolio-cta-wrap { text-align: center; }

.portfolio-cta-wrap .btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 0;                       /* own stacking context so the fill sits behind the text */
  background-color: var(--black);
  color: var(--white);
  border-color: var(--red);
  transition: color 0.35s ease 0.08s, border-color 0.35s ease,
              transform 0.3s ease, box-shadow 0.3s ease;
}

/* White fill that sweeps left → right on hover — the "progress" wipe */
.portfolio-cta-wrap .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.486);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(.65, 0, .35, 1);
}

.portfolio-cta-wrap .btn-primary:hover,
.portfolio-cta-wrap .btn-primary:focus-visible {
  color: var(--black);
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.109);   /* stays black underneath; ::before does the reveal */
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.portfolio-cta-wrap .btn-primary:hover::before,
.portfolio-cta-wrap .btn-primary:focus-visible::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-cta-wrap .btn-primary::before { transition: none; }
}

/* Portfolio image backgrounds */
.pi-img-1 {
  background-image: url('../images/militaryemb.jpg');
  background-size: fill;
  background-position: center;
}
.pi-img-2 {
  background-image: url('../images/services/digitizing/3d-puff-digitizing/tb-monogram.jpg');
  background-size: cover;
  background-position: center;
}
.pi-img-3 {
  background-image: url('../images/webporavif/vecto.avif');
  background-size: fill;
  background-position: center;
}
.pi-img-4 {
  background-image: url('../images/webporavif/customcaps.webp');
  background-size: fill;
  background-position: center;
}
.pi-img-5 {
  background-image: url('../images/webporavif/pvc.webp');
  background-size: fill;
  background-position: center;
}
.pi-img-6 {
  background-image: url('../images/webporavif/caps.avif');
  background-size: fill;
  background-position: center;
}
.pi-img-7 {
  background-image: url('../images/webporavif/chenille.avif');
  background-size: fill;
  background-position: center;
}
.pi-img-8 {
  background-image: url('../images/webporavif/vec.avif');
  background-size: fill;
  background-position: center;
}
.pi-img-9 {
  background-image: url('../images/Ali Raza Samples 2/Woven Patch/WhatsApp Image 2026-06-12 at 8.31.05 PM.jpeg');
  background-size: cover;
  background-position: center;
}
.pi-img-10 {
  background-image: url('../images/products/Custom patches/leather/leather.webp');
  background-size: cover;
  background-position: center;
}
.pi-img-11 {
  background-image: url('../images/products/Custom patches/DTF-patch/dtf1.webp');
  background-size: cover;
  background-position: center;
}
.pi-img-12 {
  background-image: url('../images/Ali Raza Samples/Sublimated Patch/WhatsApp Image 2026-06-11 at 9.51.01 PM.jpeg');
  background-size: cover;
  background-position: center;
}

/* 13-19: the work types that had no tile yet — the two remaining digitizing
   services, the two remaining vector-art services, and three cap styles. */
.pi-img-13 {
  background-image: url('../images/militaryemb.jpg');
  background-size: cover;
  background-position: center;
}
.pi-img-14 {
  background-image: url('../images/products/Custom patches/chenille/chenille.webp');
  background-size: cover;
  background-position: center;
}
.pi-img-15 {
  background-image: url('../images/webporavif/vector-after.webp');
  background-size: cover;
  background-position: center;
}
.pi-img-16 {
  background-image: url('../images/webporavif/vector-applied.webp');
  background-size: cover;
  background-position: center;
}
.pi-img-17 {
  background-image: url('../images/products/headwear/snapback-cap/new-york-flat-brim.jpeg');
  background-size: cover;
  background-position: center;
}
.pi-img-18 {
  background-image: url('../images/products/headwear/baseball-cap/golf-co-two-tone.jpeg');
  background-size: cover;
  background-position: center;
}
.pi-img-19 {
  background-image: url('../images/products/headwear/snapback-cap/cream-perforated-patch.jpeg');
  background-size: cover;
  background-position: center;
}

@media (max-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  /* Square cards: aspect-ratio forces 1:1, object-fit prevents distortion */
  .pi-img-wrap { aspect-ratio: 1 / 1; }
  .pi-img { height: 100%; object-fit: cover; }
}
@media (max-width: 480px)  {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pi-img-wrap { aspect-ratio: 1 / 1; }
  .pi-img { height: 100%; object-fit: cover; }
  .portfolio-section { padding: 72px 0; }
}


/* ================================================================
   TESTIMONIALS — Slider format
================================================================ */
.testimonials-section {
  padding: 6.25rem 0;
}

.testi-header { text-align: center; margin-bottom: 3.5rem; }
.testi-header .section-tag { display: block; margin-bottom: 0.75rem; }
.testi-header .section-h2  { margin-bottom: 1.5rem; }

.rating-bar {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1.5px solid rgba(215,25,32,0.25);
  border-radius: 100px;
  padding: 0.625rem 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(215,25,32,0.1);
}
.rating-stars { color: #F5A623; font-size: 1.1rem; letter-spacing: 2px; line-height: 1; }
.rating-details { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.rating-score { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.5rem; font-weight: 900; color: #0A0A0A; line-height: 1; }
.rating-out     { font-size: 0.85rem; color: #888; }
.rating-divider { color: #ddd; }
.rating-count   { font-size: 0.85rem; color: #555; font-weight: 500; }

/* Outer wrapper holds the arrows OUTSIDE the clipping viewport, so the arrows
   (which sit in the side gutter) are no longer sliced by overflow:hidden. */
.testi-slider {
  position: relative;
}
.testi-slider-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -4px;
  padding: 0 4px 4px;
}
.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.testi-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
  background: #111111;
  border: 2px solid rgba(215,25,32,0.55);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.testi-card:hover { box-shadow: 0 12px 40px rgba(215,25,32,0.3); transform: translateY(-4px); border-color: var(--red); }
.testi-card--featured { border-color: var(--red); border-width: 2px; box-shadow: 0 6px 28px rgba(215,25,32,0.4); }

.tc-stars { color: #F5A623; font-size: 0.95rem; letter-spacing: 2px; }
.tc-quote { font-size: 0.92rem; line-height: 1.72; color: #ffffff; margin: 0; flex: 1; font-style: italic; }
.tc-quote::before { content: '\201C'; }
.tc-quote::after  { content: '\201D'; }

.tc-author { display: flex; align-items: center; gap: 0.875rem; margin-top: auto; }
.tc-avatar {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;   /* clip the photo into the circle */
}
/* Photo avatars — fill the circle, no distortion */
.tc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tc-author-info strong { display: block; font-size: 0.9rem; font-weight: 600; color: #ffffff; }
.tc-author-info span   { font-size: 0.77rem; color: rgba(255,255,255,0.6); line-height: 1.4; }
.tc-industry {
  display: inline-block;
  background: rgba(215,25,32,0.18);
  color: #ff8080;
  border: 1px solid rgba(215,25,32,0.4);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.1875rem 0.625rem;
  align-self: flex-start;
}

.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #ddd;
  color: #333;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.testi-arrow:hover           { background: var(--red); color: #fff; border-color: var(--red); }
.testi-arrow:disabled        { opacity: 0.35; cursor: default; }
.testi-arrow:disabled:hover  { background: #fff; color: #333; border-color: #ddd; }
.testi-prev { left: -1.375rem; }
.testi-next { right: -1.375rem; }

.testi-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.testi-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 100px;
  background: #d8d8d8;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.testi-dot.active { background: var(--red); width: 1.75rem; }

.trust-logos-strip {
  margin-top: 4rem;
  text-align: center;
  border-top: 1px solid rgba(215,25,32,0.2);
  padding-top: 3rem;
}
.trust-logos-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #000000;
  margin-bottom: 1.5rem;
}
.trust-logos-marquee-wrap {
  overflow: hidden;
  position: relative;
  /* mask-image removed — creates WebKit compositing layer that kills iOS Safari child animations */
}
.trust-logos-marquee-wrap::before,
.trust-logos-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 10%;
  z-index: 2;
  pointer-events: none;
}
.trust-logos-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}
.trust-logos-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}
.trust-logos-track {
  display: flex;
  align-items: center;
  /* Spacing lives on each logo (margin-right) — NOT flex `gap` — so the
     translate distance equals a whole number of logos and the loop is seamless.
     4 identical sets in the markup; animation shifts by exactly one set (-25%). */
  -webkit-animation: trustLogoScroll 10s linear infinite;
  animation: trustLogoScroll 10s linear infinite;
  width: max-content;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
@media (hover: hover) {
  .trust-logos-marquee-wrap:hover .trust-logos-track {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}
@media (hover: none) {
  .trust-logos-track {
    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
  }
}
@-webkit-keyframes trustLogoScroll {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-25%, 0, 0); transform: translate3d(-25%, 0, 0); }
}
@keyframes trustLogoScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-25%, 0, 0); }
}
.trust-logos-track img {
  height: 4.5rem;       /* client: logos read too small — enlarged */
  width: auto;
  max-width: 13rem;
  margin-right: 4rem;   /* spacing that the seamless loop math depends on */
  object-fit: contain;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.35s ease, transform 0.35s ease;
  cursor: default;
  flex-shrink: 0;
}
.trust-logos-track img:hover {
  filter: grayscale(0) opacity(1) drop-shadow(0 0 14px rgba(215,25,32,0.6));
  transform: scale(1.12);
}

/* ── Trust logos touch-scroll mode ───────────────────────────── */
.trust-scroll-mode {
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 4px;
}
.trust-scroll-mode::-webkit-scrollbar { display: none; }

/* Remove fade overlays in scroll mode */
.trust-scroll-mode::before,
.trust-scroll-mode::after { display: none !important; }

/* Kill animation; reset position */
.trust-scroll-mode .trust-logos-track {
  -webkit-animation: none !important;
  animation: none !important;
  -webkit-transform: none !important;
  transform: none !important;
  width: max-content;
  padding: 0.5rem 1rem;
  gap: 2.5rem;
}

/* Logos become full opacity (no grayscale) in scroll mode for better touch UX */
.trust-scroll-mode .trust-logos-track img {
  filter: grayscale(0.2) opacity(0.75);
  margin-right: 0;   /* scroll mode spaces via the track's own gap instead */
}

@media (max-width: 1023px) { .testi-card { flex: 0 0 calc(50% - 0.75rem); } }
@media (max-width: 767px) {
  .testi-card { flex: 0 0 100%; }
  .testi-prev { left: 0; }
  .testi-next { right: 0; }
  .testi-arrow { width: 38px; height: 38px; }
  .trust-logos-track img { height: 3rem; margin-right: 2.5rem; }
  .testimonials-section { padding: 72px 0; }
  .rating-bar { padding: 10px 16px; gap: 0.5rem; border-radius: 16px; }
}


/* ================================================================
   PAYMENT METHODS STRIP
================================================================ */
.payment-strip {
  background: #0d0d0d;
  padding: 4.5rem 0;
  border-top: 2px solid var(--red);
  overflow: hidden;
}

.pay-badge--strip img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Centred block: heading + methods stacked and centred, so the row stays
   symmetric at every width (no left-clustering when it wraps). Bigger badges
   + 5 methods keep it from reading as a small island. */
.payment-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}
.payment-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
}
.payment-lock  { color: #4caf50; flex-shrink: 0; width: 2.6rem; height: 2.6rem; }
.payment-text  { display: flex; flex-direction: column; }
.payment-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.5rem, 1.7vw, 2rem);   /* scales up on 1080p, not tied to ≥1920 */
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.payment-title {
  font-size: clamp(1.5rem, 2.2667vw, 2rem);
}
}
.payment-sub { font-size: clamp(0.9rem, 1vw, 1.05rem); color: #999; margin-top: 0.35rem; }
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.payment-sub { font-size: clamp(0.9rem, 1.3333vw, 1.05rem); }
}

.payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.pay-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 0.875rem;
  padding: 1.15rem 1.6rem;
  min-width: 7.25rem;
  height: 6.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #444;
  filter: grayscale(1) brightness(0.8);
  transition: filter 0.4s ease, transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease, border-color 0.3s ease;
  cursor: default;
  user-select: none;
}

.pay-badge svg {
  display: block;
  height: 2.5rem;
  width: auto;
}
.pay-badge--visa svg {
  height: 1.6rem; /* VISA viewBox is 3:1 — shorter to stay within badge */
}
.pay-badge:hover {
  filter: grayscale(0) brightness(1);
  transform: translateY(-14px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 0 1.5px rgba(215,25,32,0.25);
  border-color: rgba(215,25,32,0.4);
}

.pay-badge--ssl    { color: #22c55e; }
.pay-badge--paypal { color: #003087; }
.pay-badge--visa   { color: #1a1f71; }
.pay-badge--amex   { color: #2E77BC; }
.pay-badge--zelle  { color: #6D1ED4; }
.pay-badge--stripe { color: #635bff; font-style: italic; }

@media (max-width: 767px) {
  .payment-strip  { padding: 52px 0; }
  .payment-inner  { gap: 2rem; }
  .payment-icons  { gap: 0.6rem; }
  .pay-badge      { min-width: 74px; height: 62px; padding: 10px 14px; font-size: 0.7rem; }
  .pay-badge svg  { height: 1.85rem; }
  .pay-badge--visa svg { height: 1.15rem; }
}
@media (max-width: 480px) {
  .payment-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
  }
  .pay-badge {
    min-width: auto;
    width: 100%;
    height: 54px;
    padding: 8px 6px;
    font-size: 0.65rem;
  }
  .pay-badge svg  { height: 1.6rem; }
  .pay-badge--visa svg { height: 1rem; }
}

@media (max-width: 767px) {
  .pay-badge--strip img {
    max-height: 1.85rem;
  }
}

@media (max-width: 480px) {
  .pay-badge--strip img {
    max-height: 1.6rem;
  }
}


/* ================================================================
   CONTACT + FAQ SECTION — 3-column dark redesign
================================================================ */
.contact-faq-section {
  padding: 6.25rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.contact-faq-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at top left, rgba(215,25,32,0.09) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(215,25,32,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.contact-faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}
.contact-faq-header .section-tag {
  display: inline-block;
  background: rgba(215, 25, 31, 0.226);
  color: var(--red);
  border: 1px solid rgba(215,25,32,0.2);
  margin-bottom: 0.75rem;
}
.contact-faq-header .section-h2 { color: #000000; }
.contact-faq-sub {
  color: rgb(4, 4, 4);
  font-size: 0.92rem;
  max-width: 45rem;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
/* Image banner spans full width in row 1; form + FAQ sit below in row 2 */
.contact-center-col { grid-column: 1 / -1; grid-row: 1; }
.contact-col        { grid-row: 2; }
.faq-col            { grid-row: 2; }

/* ── FORM CARD ─────────────────────────────── */
/* Scoped to beat contact.css (.contact-form-card {background:#fff}) which loads after */
.contact-faq-section .contact-form-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: none;
}
.cform-top { margin-bottom: 1.5rem; }
.cform-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.cform-desc { font-size: 0.8rem; color: rgb(255, 255, 255); }

.cform { display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.cf-field { display: flex; flex-direction: column; gap: 0.35rem; }
.cf-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cf-req { color: var(--red); margin-left: 2px; }

.cf-input-wrap { position: relative; display: flex; align-items: center; }
.cf-icon {
  position: absolute;
  left: 0.75rem;
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.498);
  pointer-events: none;
  flex-shrink: 0;
  transition: color 0.22s ease;
}
.contact-faq-section .cf-input {
  width: 100%;
  background: rgba(255,255,255,0.04) !important;
  border: 1.5px solid rgba(255,255,255,0.09);
  border-radius: 0.625rem;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; /* 16px minimum prevents iOS Safari auto-zoom on focus */
  padding: 0.6875rem 0.8125rem 0.6875rem 2.375rem;
  outline: none;
  box-shadow: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.contact-faq-section .cf-input::placeholder { color: rgba(255,255,255,0.28); }
.contact-faq-section .cf-input:focus {
  border-color: var(--red) !important;
  background: rgba(215, 25, 31, 0.113) !important;
  box-shadow: 0 0 0 3px rgba(215,25,32,0.12) !important;
}
.cf-input-wrap:focus-within .cf-icon { color: var(--red); }

.contact-faq-section .cf-textarea {
  padding-left: 0.8125rem;
  resize: vertical;
  min-height: 6rem;
  line-height: 1.65;
}

.cf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: var(--red);
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.cf-submit:hover {
  background: var(--red-deep);
  box-shadow: 0 8px 26px rgba(215,25,32,0.42);
  transform: translateY(-2px);
}
.cf-submit:active { transform: translateY(0); }
.cf-submit .submit-text { display: flex; align-items: center; gap: 0.5rem; }
.cf-submit .submit-loading { display: flex; align-items: center; gap: 0.5rem; }
@keyframes cfSpin { to { transform: rotate(360deg); } }
.cf-spin { animation: cfSpin 0.9s linear infinite; }

.cf-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  justify-content: center;
}
.cf-hint svg { flex-shrink: 0; width: 14px; height: 14px; color: #25D366; }

/* Success state */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2.5rem 1rem;
  flex: 1;
  justify-content: center;
}
.cs-icon {
  width: 3.625rem; height: 3.625rem;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 1.5px solid rgba(34,197,94,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #22c55e;
}
.contact-success h4 { color: #fff; font-size: 1.1rem; font-weight: 700; margin: 0; }
.contact-success p  { color: #ffffff; font-size: 0.85rem; margin: 0; }

/* Contact info strip */
.contact-info-strip {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.38);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.contact-info-item:hover    { color: var(--red); }
.contact-info-item svg      { color: var(--red); flex-shrink: 0; }
.contact-whatsapp:hover     { color: #25D366; }
.contact-whatsapp:hover svg { color: #25D366; }

/* ── CENTER IMAGE CARD ─────────────────────── */
.contact-center-col { display: flex; flex-direction: column; }
.contact-image-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  height: 23.4375rem;
}
.contact-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
/* hover zoom removed per client request */

.contact-img-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 5;
  /* Dark left→transparent right so left-side text stays readable */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 2.5rem;
}

.contact-img-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  border-radius: 100px;
  width: fit-content;
}
.cimg-dot {
  width: 0.4375rem; height: 0.4375rem;
  background: #4CAF50;
  border-radius: 50%;
  box-shadow: 0 0 0 0.1875rem rgba(76,175,80,0.3);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.contact-img-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.cimg-stat-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.875rem;
  padding: 0.75rem 1rem;
}
.cimg-stat { text-align: center; flex: 1; }
.cimg-num {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.cimg-lbl {
  display: block;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.1875rem;
}
.cimg-div { width: 1px; height: 1.75rem; background: rgba(255,255,255,0.12); flex-shrink: 0; }

/* Hidden in horizontal banner mode — visible only if layout is vertical */
.cimg-headline { display: none; }
.cimg-sub      { display: none; }
.cimg-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6875rem 1.125rem;
  border-radius: 0.625rem;
  text-decoration: none;
  width: fit-content;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.cimg-cta:hover {
  background: #1aab53;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transform: translateY(-2px);
}

/* ── FAQ ACCORDION ──────────────────────────── */
.home-faq-accordion {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.faq-col-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  line-height: 1.2;
}
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.055); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 0.875rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.62);
  text-align: left;
  transition: color 0.2s;
  line-height: 1.4;
}
.faq-q:hover          { color: rgba(255,255,255,0.9); }
.faq-item.open .faq-q { color: var(--red); }

.faq-icon {
  width: 1.375rem; height: 1.375rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.32s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  color: rgba(255,255,255,0.4);
  font-style: normal;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-a { max-height: 13.75rem; }

.faq-a p {
  padding-bottom: 0.875rem;
  font-size: 0.82rem;
  line-height: 1.72;
  color: #ffffff;
  margin: 0;
}

/* btn-red kept for any remaining Bootstrap usages */
.btn-red {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
  font-weight: 700;
  transition: background 0.25s ease, box-shadow 0.25s ease !important;
}
.btn-red:hover {
  background: var(--red-deep) !important;
  border-color: var(--red-deep) !important;
  box-shadow: 0 6px 20px rgba(215,25,32,0.3) !important;
  color: #fff !important;
}

/* 1100px: grid already 2-col at desktop; just keep image at full width */
@media (max-width: 1100px) {
  .contact-image-card { height: 220px; }
  .contact-img-overlay { padding: 1.5rem 2rem; gap: 1.5rem; }
}
@media (max-width: 767px) {
  .contact-faq-section { padding: 72px 0; }
  .contact-faq-grid    { grid-template-columns: 1fr; }
  /* Explicit row order in single-column: image(1) → form(2) → FAQ(3), no overlap */
  .contact-center-col  { grid-column: auto; grid-row: 1; }
  .contact-col         { grid-row: 2; }
  .faq-col             { grid-row: 3; }
  .contact-image-card  { height: 220px; }
  /* On narrow screens revert overlay to vertical so content is legible */
  .contact-img-overlay {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.55) 100%);
  }
  .contact-img-content { flex-direction: column; gap: 0.75rem; }
  .cf-row              { grid-template-columns: 1fr; }
  .home-faq-accordion                        { padding: 1.5rem; }
  .contact-faq-section .contact-form-card   { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .cimg-stat-row { padding: 10px 12px; gap: 0.5rem; }
  .cimg-num      { font-size: 1.2rem; }
}


/* ================================================================
   HERO — SCROLL HINT BOUNCE ANIMATION
================================================================ */
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(0.5rem); }
}
.hero-scroll-hint {
  animation: scrollBounce 1.5s ease-in-out infinite;
}


/* ================================================================
   EXTRA-SMALL SCREENS (≤360px) — tighten 2-col card text
================================================================ */
@media (max-width: 360px) {
  .why-cards     { gap: 0.5rem; }
  .why-card      { padding: 0.75rem 0.625rem; }
  .why-card h4   { font-size: 0.85rem; }
  .why-card p    { font-size: 0.72rem; }
}



/* ================================================================
   PREFERS REDUCED MOTION
   Stop looping/decorative animations. Transitions kept so hover
   effects and nav still work for all users.
================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    /* transitions intentionally NOT killed — hover/nav feedback still works */
    scroll-behavior: auto !important;
  }
  /* Stop looping scroll marquees */
  .marquee-track,
  .trust-logos-track,
  .faq-track        { animation: none !important; }
  /* Sections that start opacity:0 via JS IntersectionObserver — show immediately */
  .marquee-section  { opacity: 1 !important; }
  .reveal-up        { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .service-card,
  .why-card         { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* Decorative looping effects */
  .hero-scroll-hint { animation: none !important; }
  .floatImage       { animation: none !important; }
  /* About slide-in — show immediately */
  .about-content,
  .about-visual {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

@media (min-width: 1600px) {
  .hero-badge { max-width: 100%; font-weight: 600; font-size: 1.2rem; letter-spacing: 0.1rem;
  }
  .hero-h1 { font-size: 5rem;  }
  .hero-sub { font-size: 1.5rem; }
  .hero-ctas .btn-primary { font-size: 1.5rem; padding: 1.125rem 2.25rem; }
  .hero-right-img img { max-width: 37rem; max-height: 33rem; }

  /* Trust bar — scaled up to match the larger hero type */
  .hero-trust  { bottom: 2rem; gap: 1.25rem; padding: 1.15rem 2.75rem; font-size: 1.25rem; }
  .trust-stars { font-size: 1.4rem; letter-spacing: 3px; }

  .marquee-label { font-size: 1.25rem; }
  .marquee-line { font-size: 1.25rem; }
  .marquee-track img { height: 4.5rem; }
  .marquee-card { padding: 2.5rem 2.5rem; }
  .mc-icon { width: 3rem; height: 2rem; }
  .mc-title { font-size: 1.5rem; }
  .mc-sub { font-size: 1.125rem; }

  .about-section { padding: 8rem 0; }
  .about-content { gap: 3rem; }
  .section-tag { font-size: 1.2rem; }
  .section-h2 { font-size: 3.5rem; }
  .about-heading { font-size: 3.5rem; }
  .about-body { font-size: 1.3rem; }
  .stat-pill-num { font-size: 2.5rem; }
  .about-cta { font-size: 1.5rem; padding: 1.125rem 2.25rem; }
  .about-badge-num { font-size: 2.5rem; }
  .about-badge-label { font-size: 1rem; }
  
  .service-card h3 { font-size: 2rem; }
  .sc-icon-wrap svg { width: 3.5rem; height: 3.5rem; }
  .service-card p { font-size: 1.125rem; }
  .sc-tags li { font-size: 1rem; }
  .sc-link { font-size: 1.125rem; }
  .about-image-wrap img { max-width: 40rem; max-height: 36rem; }

  .portfolio-section .section-h2 { font-size: 3.5rem; }
  .pf-btn { font-size: 1.2rem; padding: 0.5rem 1.5rem; }

  /* Portfolio cards — scaled up to fill the wide canvas (was 15rem tall) */
  .portfolio-grid   { gap: 1.75rem; }
  .pi-img           { height: 20rem; }                 /* 240px → 320px */
  .pi-overlay       { padding: 2rem; gap: 0.875rem; }
  .pi-cat-chip      { font-size: 0.95rem; padding: 0.35rem 1rem; }
  .pi-overlay h4    { font-size: 1.35rem; }
  .pi-cta-btn       { font-size: 1rem; padding: 0.6rem 1.5rem; }
  .pi-info          { padding: 1.25rem 1.4rem; }
  .pi-info .pi-cat  { font-size: 0.95rem; font-weight: 700; }
  .pi-info h4       { font-size: 1.25rem; }

  .portfolio-cta-wrap .btn-primary { font-size: 1.5rem; padding: 1.125rem 2.25rem; }

  .why-intro { font-size: 1.5rem;  line-height: 1.5 ;  max-width: 60.625rem; }
  .why-card h4 { font-size: 1.6rem; }
  .why-card p { font-size: 1.15rem; }
  .why-card-icon { width: 3.5rem; height: 3.5rem; }
  
  .stat-label { font-size: 1rem; }
  .testi-header .section-h2 { font-size: 3.5rem; }
  .rating-bar { font-size: 1.35rem; }
  .tc-stars { font-size: 1.25rem; }
  .tc-quote { font-size: 1.125rem; }
  .tc-author-info strong { font-size: 1.2rem; }
  .tc-author-info span { font-size: 1rem; }
  .tc-industry { font-size: 0.75rem; }
  .tc-avatar { width: 4rem; height: 4rem; }

  .trust-logos-label { font-size: 1.3rem; }
  .trust-logos-track img { height: 6rem; margin-right: 6rem; }   /* bigger logos + wider spacing fill the band on 1920 */
  .payment-title { font-size: 2rem; }
  .payment-sub { font-size: 1.25rem; }
  /* Bigger badges, and spread them across a wide centred row (space-between)
     so they fill the page instead of a small cluster with big empty sides. */
  .payment-icons       { width: 100%; max-width: 1500px; margin-inline: auto; justify-content: space-between; gap: 2rem; flex-wrap: nowrap; }
  .pay-badge           { min-width: 11rem; height: 8.5rem; padding: 1.4rem 2rem; gap: 0.7rem; font-size: 1.2rem; border-radius: 1.1rem; }
  .pay-badge svg       { height: 3.5rem; }
  .pay-badge--visa svg { height: 2.2rem; }   /* keep VISA's 3:1 ratio in proportion */

  .contact-faq-header .section-h2 { font-size: 3.5rem; }
  .contact-faq-sub { font-size: 1.25rem; }
  .contact-img-tag { font-size: 0.95rem; }
  .cimg-stat-row { padding: 1rem 1.25rem; gap: 0.875rem; }
  .cimg-stat .cimg-num { font-size: 2rem; }
  .cimg-stat .cimg-lbl { font-size: 0.95rem}
  .cimg-cta { font-size: 1.25rem; padding: 0.875rem 1.5rem; }

  /* Bigger image + overlay on large screens (card height drives the image) */
  .contact-image-card  { height: 30rem; }                     /* was 375px → 480px */
  .contact-img-overlay { padding: 2.5rem 3.5rem; gap: 3rem; }
  .contact-img-content { gap: 2rem; }

  /* ── Contact form card — scale labels, fields & placeholder up ── */
  .contact-faq-section .contact-form-card { padding: 2.75rem; }
  .cform-top    { margin-bottom: 2rem; }
  .cform-title  { font-size: 1.9rem; }
  .cform-desc   { font-size: 1rem; }
  .cform        { gap: 1.25rem; }
  .cf-row       { gap: 1rem; }
  .cf-label     { font-size: 1.05rem; }
  .cf-icon      { width: 1.2rem; height: 1.2rem; left: 0.9rem; }
  /* input font-size drives the placeholder text too */
  .contact-faq-section .cf-input    { font-size: 1.125rem; padding: 0.9rem 1rem 0.9rem 2.85rem; }
  .contact-faq-section .cf-textarea { min-height: 8rem; padding-left: 1rem; }
  .cf-submit    { font-size: 1.4rem; padding: 1.15rem 1.75rem; }
  .cf-hint      { font-size: 1rem; margin-top: 0.9rem; }
  .cf-hint svg  { width: 17px; height: 17px; }
  .contact-info-item     { font-size: 1.05rem; gap: 0.7rem; }
  .contact-info-item svg { width: 1.15rem; height: 1.15rem; }

  /* ── FAQ accordion — scale title, questions, answers & icon ── */
  .home-faq-accordion   { padding: 2.75rem; }
  .faq-col-title        { font-size: 1.9rem; }
  .faq-q                { font-size: 1.3rem; padding: 1.2rem 0; }
  .faq-icon             { width: 1.85rem; height: 1.85rem; font-size: 1.35rem; }
  .faq-a p              { font-size: 1.15rem; }
  .faq-item.open .faq-a { max-height: 24rem; }   /* room for the larger answer text */

}
/* ================================================================
   HOMEPAGE DESIGN SYSTEM — PART 1: GLOBAL FOUNDATION
   ----------------------------------------------------------------
   Single source of truth for the homepage. Every section references
   these tokens (wired in section-by-section in the following audits)
   so the page scales fluidly 360px → 1920px+ with ONE consistent
   system — minimal breakpoint-specific overrides.
   Fluid values use clamp(min @360px … max @≈1440px+).
================================================================ */
:root {
  /* ── Fluid type scale ───────────────────────────────── */
  --fs-h1:      clamp(2.125rem, 1.30rem + 3.7vw, 4rem);    /* 34 → 64px */
  --fs-h2:      clamp(2rem,     1.55rem + 2.0vw, 3rem);    /* 32 → 48px */
  --fs-h3:      clamp(1.5rem,   1.21rem + 1.3vw, 2rem);    /* 24 → 32px */
  --fs-h4:      1.5rem;    /* 24px */
  --fs-h5:      1.25rem;   /* 20px */
  --fs-h6:      1.125rem;  /* 18px */
  --fs-lead:    clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem); /* 18 → 20px */
  --fs-body:    clamp(1rem, 0.96rem + 0.20vw, 1.125rem);    /* 16 → 18px */
  --fs-small:   1rem;      /* 16px */
  --fs-caption: 0.875rem;  /* 14px */

  --lh-tight:   1.05;   /* h1 */
  --lh-head:    1.1;    /* h2–h6 */
  --lh-body:    1.7;    /* paragraphs */
  --measure:    42.5rem; /* 680px — max readable text width */

  /* ── Spacing scale (8-pt) ───────────────────────────── */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-6: 1.5rem; --sp-8: 2rem;   --sp-10: 2.5rem; --sp-12: 3rem;
  --sp-14: 3.5rem; --sp-16: 4rem; --sp-20: 5rem;   --sp-24: 6rem;
  --sp-30: 7.5rem; --sp-35: 8.75rem;

  /* ── Section rhythm (fluid) ─────────────────────────── */
  --section-py:  clamp(4rem, 2.6rem + 4.5vw, 8.75rem); /* 64 → 140px */
  --gap-heading: 1rem;    /* heading → paragraph (16px) */
  --gap-cta:     2rem;    /* paragraph → CTA (32px) */
  --gap-title:   3.5rem;  /* section title → content (56px) */
  --gap-cards:   1.5rem;  /* between cards (24px) */
  --gap-card:    1rem;    /* inside a card (16px) */
  --gap-split:   3rem;    /* image ↔ text (48px) */

  /* ── Container ──────────────────────────────────────── */
  --container:    min(92vw, 1440px);
  --container-lg: min(94vw, 1520px); /* UHD */

  /* ── Radius ─────────────────────────────────────────── */
  --r-sm: 12px; --r-md: 16px; --r-lg: 20px; --r-pill: 999px;

  /* ── Elevation (3 levels only) ──────────────────────── */
  --elev-1: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --elev-2: 0 6px 24px rgba(0,0,0,.10);
  --elev-3: 0 20px 60px rgba(0,0,0,.18);

  /* ── Motion ─────────────────────────────────────────── */
  --dur-hover: 180ms; --dur-btn: 200ms; --dur-card: 350ms;
  --dur-reveal: 450ms; --dur-section: 500ms;
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Grid gutters ───────────────────────────────────── */
  --gutter-mobile: 1rem; --gutter-tablet: 1.5rem; --gutter-desktop: 2rem;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
:root {
  --fs-h1:      clamp(2.125rem, 1.30rem + 4.9333vw, 4rem);
  --fs-h2:      clamp(2rem,     1.55rem + 2.6667vw, 3rem);
  --fs-h3:      clamp(1.5rem,   1.21rem + 1.7333vw, 2rem);
  --fs-lead:    clamp(1.125rem, 1.05rem + 0.4667vw, 1.25rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.2667vw, 1.125rem);
  --section-py:  clamp(4rem, 2.6rem + 6vw, 8.75rem);
  --container:    min(122.6667vw, 1440px);
  --container-lg: min(125.3333vw, 1520px);
}
}

/* ================================================================
   HOMEPAGE — LARGE-DESKTOP RESPONSIVENESS (all in home.css)
   ----------------------------------------------------------------
   Fill wider screens without font zoom. The homepage section
   containers widen FLUIDLY:
       <= ~1432px : 1260px  (laptops unchanged, no regression)
          1600px  : ~1408px
          1920px  : 1520px  (caps here)
   Scoped selectors (specificity 0,2,0) so they out-rank
   footer.css `.container` (injected at runtime) with no other-page
   change. Hero is full-bleed and handled in its own section above.
================================================================ */
.about-section        .container,
.services-section     .container,
.portfolio-section    .container,
.testimonials-section .container,
.stats-section        .container,
.payment-strip        .container,
.contact-faq-section  .container,
.marquee-header {
  max-width: clamp(78.75rem, 88vw, 1520px);
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.about-section        .container,
.services-section     .container,
.portfolio-section    .container,
.testimonials-section .container,
.stats-section        .container,
.payment-strip        .container,
.contact-faq-section  .container,
.marquee-header {
  max-width: clamp(78.75rem, 117.3333vw, 1520px);
}
}


/* ================================================================
   EASY PATCH APPLICATION GUIDE
   Dark band with brand-red accents. Sits right after the portfolio
   dark band (matching #141417 top edge) so the two form one dark zone
   before the light "Why" section. Horizontal grid + vertical rhythm
   come from the canonical .container / --sp-* tokens.
================================================================ */
.apply-section {
  padding-block: var(--sp-section);
  background:
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(215,25,32,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #141417 0%, #0d0d0f 55%, #121215 100%);
}

/* ---- Header (centred, flanked by red lines — matches the reference) ---- */
.apply-header {
  text-align: center;
  max-width: 64rem;   /* wide enough to keep the title on one line beside the rules */
  margin: 0 auto var(--sp-header-gap, 3rem);
}
.apply-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}
.apply-line {
  height: 2px;
  width: clamp(2.5rem, 8vw, 6rem);
  border-radius: 2px;
  flex-shrink: 0;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.apply-line {
  width: clamp(2.5rem, 10.6667vw, 6rem);
}
}
.apply-line:first-child { background: linear-gradient(to right, transparent, #D71920); }
.apply-line:last-child  { background: linear-gradient(to left,  transparent, #D71920); }
.apply-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.8rem, 2.9vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.apply-title {
  font-size: clamp(1.8rem, 3.8667vw, 2.6rem);
}
}
.apply-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.7;
  color: #ffffff;
  margin: 0 auto;
  max-width: 40rem;
}
@media (min-width: 1600px) {

  /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.apply-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
}
}

/* ---- Grid ---- */
.apply-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---- Card ---- */
.apply-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1a1a1e 0%, #151518 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.15rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.35s ease, box-shadow 0.4s ease;
}
.apply-card:hover {
  transform: translateY(-8px);
  border-color: rgba(215,25,32,0.55);
  box-shadow: 0 22px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(215,25,32,0.25);
}

/* media (real image on top; a faint icon shows through as a placeholder
   until the client drops in the 4 photos) */
.apply-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 40%, #22222a 0%, #131317 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.apply-card-icon {
  font-size: 2.75rem;
  color: rgba(255,255,255,0.14);
}
.apply-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.apply-card:hover .apply-card-img { transform: scale(1.06); }
/* red accent line grows under the image on hover */
.apply-card-media::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #D71920, rgba(215,25,32,0.25));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}
.apply-card:hover .apply-card-media::after { transform: scaleX(1); }

/* body */
.apply-card-body {
  padding: 1.5rem 1.4rem 1.75rem;
  text-align: center;
  flex: 1;
}
.apply-card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}
.apply-card-title span {
  display: block;
  color: #D71920;
  font-size: 0.95em;
  margin-top: 0.15rem;
}
.apply-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #ffffff;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .apply-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 560px) {
  /* Swipeable row instead of 4 stacked full-image cards — keeps every
     photo visible (unlike a collapsed accordion) while cutting the
     straight-line scroll length. */
  .apply-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 4vw;
    gap: 1rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .apply-grid::-webkit-scrollbar { height: 5px; }
  .apply-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); border-radius: 4px; }
  .apply-grid::-webkit-scrollbar-thumb { background: rgba(215,25,32,0.5); border-radius: 4px; }
  .apply-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .apply-header .apply-sub::after {
    content: 'Swipe to see every method →';
    display: block;
    margin-top: 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
  }
}

/* ── Easy Patch Application Guide — scale up on large (1920+) desktops
   (the base fonts/cards read small on a 1920 canvas next to the rest of
   the site, which scales up here). ── */
@media (min-width: 1600px) {
  .apply-header      { max-width: 82rem; margin-bottom: 4rem; }
  .apply-title       { font-size: clamp(2.6rem, 3vw, 3.4rem); }
  @media (min-width: 1600px) {

    /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
  .apply-title       { font-size: clamp(2.6rem, 4vw, 3.4rem); }
  }
  .apply-sub         { font-size: 1.3rem; line-height: 1.75; max-width: 52rem; }
  .apply-line        { width: clamp(3.5rem, 8vw, 9rem); height: 3px; }
  @media (min-width: 1600px) {

    /* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
  .apply-line        { width: clamp(3.5rem, 10.6667vw, 9rem); }
  }
  .apply-grid        { gap: 2rem; }
  .apply-card-body   { padding: 2rem 1.85rem 2.25rem; }
  .apply-card-title  { font-size: 1.6rem; }
  .apply-card-desc   { font-size: 1.1rem; line-height: 1.75; }
}

/* ============================================================
   MOBILE OVERFLOW SAFETY NET
   Defensive, cascade-final fixes for the hero badge/trust bar
   clipping off the right edge on narrow phones.
   ============================================================ */
@media (max-width: 480px) {
  .hero-badge {
    max-width: calc(100vw - 2rem);
    white-space: normal;
    text-align: center;
  }
  .hero-trust {
    flex-wrap: wrap;
    max-width: calc(100vw - 1.5rem);
  }
  .trust-item,
  .trust-stars { white-space: normal; }
}


/* ================================================================
   PHONE — LEGIBILITY
   A couple of greys measured under the 4.5:1 contrast minimum and
   read as washed out on a phone: the contact card's email/phone
   links (0.38 alpha ≈ 3.6:1) and the review "out of 5" (#888 on
   white ≈ 3.5:1).
================================================================ */
@media (max-width: 768px) {
  .contact-info-item { color: rgba(255,255,255,0.78); }
  .rating-out        { color: #5a5a5a; }
}


/* =============================================================================
   PHONE READABILITY — darker accent text on light backgrounds
   Body copy on the light sections is already near-black. What still reads
   light on a phone is the brand-red accent text (section labels, red heading
   words, quote links): #D71920 is ~4.9:1 on white but only ~3.9:1 on the
   textured/beige sections. On phones those use a deeper red (~6.5:1 on
   white). Scoped to light sections only; dark sections and buttons are untouched.
   ============================================================================= */
@media (max-width: 768px) {
  .about-section .section-tag, .about-heading span,
  .services-section .section-tag, .services-section-h2 span,
  .service-card .sc-link,
  .why-section .section-tag, .why-heading span, .why-intro strong,
  .testimonials-section .section-tag, .testimonials-section .section-h2 span,
  .stat-pill-num, .stat-pill-suffix { color: #a80f16; }
  .rating-out, .rating-count { color: #222; }
}
