/* ── Home hero — exact rebuild of old Elementor hero (section 3e9fd5d1) ── */

.hero {
  position: relative;
  background-color: var(--c-blue);
  color: #fff;
  /* Clears the absolute pill header (old section used padding-top:186px) */
  padding: 186px 0 80px;
  overflow: hidden;
}
/* Texture overlay provided by .bg-blue-tex::before (added to section class). */
/* z-index layering: container must sit above the ::before pseudo-element. */
.hero .container { position: relative; z-index: 1; }

/* ── Top row: H1 (left) + big lion photo (right) ── */
.hero-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 28px;
}

/* WELCOME chip */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-10);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--glass-08);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero-chip::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-orange);
}

/* H1 — three visual lines, orange arrow circle inline after EMBROIDERY */
.hero h1 {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: .005em;
  font-size: clamp(2.2rem, 6vw, 5rem);
  margin: 0;
}
.hero h1 .line { display: block; }
.hero h1 .line-2 { display: flex; align-items: center; gap: .3em; flex-wrap: wrap; }

/* Orange arrow circle (↗) */
.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
}
.arrow-circle svg { width: 30px; height: 30px; display: block; }
.arrow-circle--sm { width: 38px; height: 38px; background: var(--c-grey); }
.arrow-circle--sm svg { width: 18px; height: 18px; }

/* Big right photo card — background slideshow */
.hero-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero slideshow (matches old Elementor: 5s slides, .5s fade, Ken Burns zoom-in) */
.hero-slideshow {
  position: relative;
  aspect-ratio: 11 / 12; /* old site card: slightly taller than wide */
}
.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.hero-slideshow .slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slideshow .slide.is-active { animation: kenburns 7s ease-out forwards; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }

/* ── Bento row ── */
.hero-bento {
  display: grid;
  grid-template-columns: 1.25fr .85fr .9fr;
  gap: 24px;
  align-items: stretch;
}

/* Left bento column: machine photo + rotating badge + manufacturing card */
.bento-machine { position: relative; }
.machine-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
}
.machine-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Rotating badge overlapping machine photo top-right */
.spin-badge {
  position: absolute;
  top: -26px;
  right: 18px;
  width: 130px;
  height: 130px;
  z-index: 3;
}
.spin-badge .badge-disc {
  position: absolute;
  inset: 0;
  background: var(--c-navy);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.spin-badge svg.badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 12s linear infinite;
}
.spin-badge .badge-ring text {
  fill: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.spin-badge .badge-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Steel "Custom Manufacturing" card overlapping machine bottom */
.mfg-card {
  position: relative;
  margin-top: -56px;
  margin-left: 18px;
  margin-right: 18px;
  background: var(--steel-card);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-19);
  border-radius: 20px;
  padding: 22px 24px;
  z-index: 2;
}
.mfg-card p.mfg-title {
  color: #fff;
  font-size: 18px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mfg-list { list-style: none; margin: 0; padding: 0; }
.mfg-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 10px;
}
.mfg-list li:last-child { margin-bottom: 0; }
.mfg-list li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--c-orange); }

/* Counters strip under manufacturing card */
.hero-counters {
  display: flex;
  gap: 28px;
  margin-top: 18px;
  padding-left: 18px;
}
.hero-counters .count-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  line-height: 1;
}
.hero-counters .count-label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #E8EEF5;
  margin-top: 6px;
}

/* Middle bento: lighter-blue "01. Best Printing" card */
.print-card {
  background: var(--glass-10);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--glass-19);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.print-card .print-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.print-card .print-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #fff;
}
.print-card p.card-title {
  color: #fff;
  font-size: 20px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.print-card p {
  color: #E8EEF5;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* Right bento: two stacked glass pill cards */
.hero-pills { display: flex; flex-direction: column; gap: 20px; }
.pill-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--glass-10);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--glass-19);
  border-radius: 22px;
  padding: 20px;
}
.pill-card .pill-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pill-card .pill-icon svg { width: 22px; height: 22px; }
.pill-card p.card-title {
  color: #fff;
  font-size: 16px;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.pill-card p {
  color: #E8EEF5;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* ── Scroll-reveal (matches old site's Elementor fade-ups) ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive: stack columns at <=1080px in mobile order ── */
@media (max-width: 1080px) {
  .hero { padding-top: 150px; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-photo { max-height: 420px; }
  .hero-bento { grid-template-columns: 1fr; }
  .hero-works { grid-column: 1 / -1; grid-row: auto; }
  .bento-machine { grid-row: auto; }
  .mfg-card { margin-left: 0; margin-right: 0; }
  .hero-counters { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .spin-badge svg.badge-ring { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   Below-hero sections — rebuilt to match the old Elementor home
   ════════════════════════════════════════════════════════════ */

/* ── Scrolling marquee strip (grey band, old #777) ── */
.marquee {
  background: #707070; /* darkened from #777 for contrast */
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-item {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
  padding: 0 22px;
}
.marquee-sep { display: inline-flex; flex: 0 0 auto; }
.marquee-sep svg { width: 18px; height: 18px; fill: var(--c-orange); display: block; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ── Service feature sections (blue-textured) ── */
.svc-section { padding: 80px 0; color: #fff; }
.svc-section .container { position: relative; z-index: 1; }

/* ── Embroidery section: old-site split layout ── */
.svc-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

/* White chip with orange dot (old icon-list pill) */
.chip-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--c-navy);
  font-size: 14px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
  padding: 8px 20px; border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.chip-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-orange); }

/* Learn More grey pill + double chevron */
.svc-actions { display: flex; align-items: center; gap: 28px; margin: 36px 0 0; }
.btn-pill-grey {
  display: inline-flex; align-items: center; gap: 10px;
  background: #6b6f73; color: #fff;
  font-size: 15px; font-weight: 400;
  padding: 14px 34px; border-radius: var(--radius-pill);
  transition: background .2s, transform .2s;
}
.btn-pill-grey:hover { background: #7b7f83; transform: scale(1.04); }
.btn-pill-grey svg { width: 18px; height: 18px; }
.play-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--c-orange); color: #fff;
  transition: background .2s, transform .2s;
}
.play-circle:hover { background: var(--c-orange-2); transform: scale(1.06); }
.play-circle svg { width: 26px; height: 26px; }

.svc-divider {
  border: 0; border-top: 1px solid rgba(255, 255, 255, .45);
  margin: 38px 0 30px;
}

/* "Our Work" carousel — 3 visible, arrows inside */
.work-carousel { position: relative; }
.work-track {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track .gallery-img {
  flex: 0 0 calc((100% - 32px) / 3);
  width: calc((100% - 32px) / 3);
  min-width: 0; /* images won't shrink in flex without this */
  scroll-snap-align: start;
  border-radius: 29px;
}
/* Hero "Our Works" strip — packs into the bento grid under the cards,
   beside the machine column, so no blank space is left at any width */
.hero-works {
  grid-column: 2 / -1;
  grid-row: 2;
  align-self: end;
  min-width: 0;
}
.bento-machine { grid-row: 1 / 3; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .85); color: var(--c-navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: background .2s;
}
.carousel-arrow:hover { background: #fff; }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* Right column: stacked cards + photo */
.svc-right {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.svc-cards { display: flex; flex-direction: column; gap: 24px; }

/* Grey UV card with overlapping blue-ring badge */
.uv-card {
  position: relative;
  background-color: var(--c-grey);
  border-radius: 30px;
  padding: 64px 28px 36px;
  margin-top: 44px;
  overflow: visible;
  flex: 1;
}
.uv-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: 30px;
  background: var(--bg-blue-img) center / cover;
  opacity: .58; mix-blend-mode: multiply;
}
.uv-card > * { position: relative; z-index: 1; }
.uv-badge {
  position: absolute; top: -44px; right: 24px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 50%;
  background: #fff; color: var(--c-grey);
  border: 15px solid var(--c-blue);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.uv-badge svg { width: 30px; height: 30px; }
.uv-card h3 {
  color: #fff; font-size: 20px; line-height: 1.3;
  margin: 0 0 16px;
}
.uv-card p { color: #E8EEF5; font-size: 15px; line-height: 1.6; margin: 0; }

/* Orange counter card: 345 | Branded Uniforms */
.counter-card {
  position: relative;
  display: flex; align-items: center; gap: 22px;
  background-color: var(--c-orange);
  border-radius: 30px;
  padding: 28px 24px;
  overflow: hidden;
  flex: 1;
}
.counter-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--bg-blue-img) center / cover;
  opacity: .58; mix-blend-mode: multiply;
}
.counter-card > * { position: relative; z-index: 1; }
.counter-num {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.4rem, 3.4vw, 3.4rem); font-weight: 300;
  color: #fff; line-height: 1;
  padding-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, .6);
}
.counter-copy h3 {
  color: #fff; font-size: 15px; letter-spacing: .03em;
  margin: 0 0 6px;
}
.counter-copy p { color: #fff; font-size: 13.5px; line-height: 1.55; margin: 0; }

/* Tall photo: cap background w/ blue overlay, machine img anchored bottom */
.svc-photo {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 30px; overflow: hidden;
  background: url('/assets/img/home/capembroidery.jpg') center top / cover;
  min-height: 540px;
}
.svc-photo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--c-blue); opacity: .5;
}
.svc-photo img {
  position: relative; z-index: 1;
  width: calc(100% - 20px); margin: 0 10px 10px;
  border-radius: 24px; display: block;
}

.svc-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.svc-feature--rev .svc-copy { order: 2; }
.svc-feature--rev .svc-media { order: 1; }

.svc-eyebrow {
  display: inline-block;
  color: #fff; /* old home: white eyebrows on the grey/orange section grounds */
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 14px;
}
.svc-title {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 20px;
}
.svc-body {
  color: #E8EEF5;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 560px;
}
.svc-body strong { color: #fff; font-weight: 600; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}
/* Old home used grey (#777, --e-global-color-8d48211) for these small arrows —
   reads on both the grey and orange section grounds. */
.svc-link .arrow-circle--sm { background: var(--c-grey); }
.svc-link:hover .arrow-circle--sm { background: var(--c-orange); }

/* Feature media: photo + overlapping tag cards */
.svc-media { position: relative; }
.svc-media > img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  display: block;
}
.svc-tags {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
/* Old-home tag-cards: textured ground (the bg-1 texture at full opacity, multiply)
   over a solid colour, with white text. The named accent card in each section
   (Branded Uniforms / Vibrant Transfers / Unique Designs) is orange #F99F1C in
   the old design; our rebuild's extra second card has no old equivalent, so it
   takes the section grey (#777) for contrast. */
.svc-tag {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 18px 20px;
  background-color: var(--c-orange); /* first / named accent card */
}
.svc-tag:nth-child(n+2) { background-color: var(--c-grey); }
.svc-tag::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--bg-blue-img) center / cover;
  opacity: 1; mix-blend-mode: multiply;
}
.svc-tag > * { position: relative; z-index: 1; }
.svc-tag h3,
.svc-tag .svc-tag-eyebrow {
  color: #fff;
  font-size: 16px;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.svc-tag .svc-tag-eyebrow { color: #fff; letter-spacing: .1em; font-weight: 600; }
.svc-tag p {
  color: #fff;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* ── "Our Work :" label + galleries ── */
.our-work-label {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 22px;
}
.work-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.work-gallery--7 { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 1080px) {
  .work-gallery,
  .work-gallery--7 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .work-gallery,
  .work-gallery--7 { grid-template-columns: repeat(3, 1fr); }
}

/* Shared square gallery thumbnail (migrated from old inline style) */
.gallery-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

@media (max-width: 880px) {
  .svc-section { padding: 56px 0; }
  .svc-split { grid-template-columns: 1fr; gap: 32px; }
  .svc-right { grid-template-columns: 1fr; }
  .svc-photo { min-height: 420px; }
  .play-circle { width: 60px; height: 60px; }
  .work-track .gallery-img { flex-basis: calc((100% - 16px) / 2); }
  .svc-feature { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .svc-feature--rev .svc-copy { order: 1; }
  .svc-feature--rev .svc-media { order: 2; }
}

/* ── Stats band (light section, restyled) ── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  padding: 8px 0;
}
@media (max-width: 639px) { .stats-band { grid-template-columns: 1fr; } }
.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--c-blue);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-navy);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Testimonials (verified Google reviews, re-skinned) ── */
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid--2 { grid-template-columns: 1fr; } }
.testimonial-grid { max-width: 860px; margin-inline: auto; }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial-card .quote-mark {
  font-size: 48px;
  line-height: 1;
  color: var(--c-orange);
  opacity: .45;
  margin-bottom: 8px;
}
.testimonial-card p {
  font-size: 15px;
  color: var(--c-slate);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--c-navy);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.testimonial-stars {
  color: var(--c-orange);
  font-size: 16px;
  margin-bottom: 12px;
}

/* ── CTA band (blue-textured, restyled) ── */
.cta-band {
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: #E8EEF5; margin-bottom: 32px; }
.cta-band .btn { font-size: 16px; padding: 14px 36px; }
