/* =============================
   SERVICE HERO (TEXT + IMAGE)
============================== */

.service-hero {
  padding: 90px 7vw 50px;
  background: #ffffff;
}

.service-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.service-hero-text {
  flex: 1 1 45%;
}

.service-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #d40000;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  margin-bottom: 14px;
}

.service-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-family: var(--font-heading);
  line-height: 1.25;
  margin-bottom: 22px;
}

.service-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

.service-hero-image {
  flex: 1 1 48%;
}

.service-hero-image img {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

/* =============================
   USP BAR UNDER TEXT + IMAGE
============================== */

.service-usps-bar {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* USP CARD DESIGN */
.usp-card {
  background: #ffffff;
  padding: 22px 20px 26px;
  border-radius: 22px;
  text-align: left;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

/* ICON STYLES */
.usp-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.usp-icon-1 { background: linear-gradient(135deg, #c71b1b, #ff4d4d); }
.usp-icon-2 { background: linear-gradient(135deg, #f08c00, #ffbf3c); }
.usp-icon-3 { background: linear-gradient(135deg, #0f7b6c, #1fc4a5); }
.usp-icon-4 { background: linear-gradient(135deg, #004ca3, #3f8cff); }

/* USP TEXT */
.usp-card h3 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.88rem;
  font-family: var(--font-heading);
}

.usp-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .service-usps-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .service-hero-inner {
    flex-direction: column;
  }

  .service-usps-bar {
    grid-template-columns: 1fr;
  }
}

/* ============= PROCESS SECTION ============= */

.process-section {
  background: #f8f8fa;          /* full-bleed grey band */
  padding: 80px 7vw 90px;
}

.process-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.process-header {
  max-width: 800px;
  margin-bottom: 24px;
}

.process-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--primary-color, #d40000);
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 500;
}

.process-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.process-intro {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.7;
  color: #555;
}

/* Rail + Crate */

.process-visual {
  position: relative;
  margin: 46px 0 40px;
  height: 130px;
}

.process-track {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 60%;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.04),
    rgba(0, 0, 0, 0.16),
    rgba(0, 0, 0, 0.04)
  );
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

/* draggable handle */
.process-crate {
  position: absolute;
  top: 60%;
  left: 0; /* updated via JS */
  transform: translate(-50%, -50%);
  cursor: grab;
  z-index: 2;
  transition: transform 0.15s ease;
  touch-action: pan-y;
}

.process-crate:active {
  cursor: grabbing;
}

.process-crate-box {
  width: 120px;
  height: 90px;
  border-radius: 18px;
  background: linear-gradient(135deg, #b66a1e, #f3a64a);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  position: relative;
}

.process-crate-box::before,
.process-crate-box::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 2px;
  background: rgba(0, 0, 0, 0.18);
  top: 20px;
  border-radius: 999px;
}

.process-crate-box::after {
  top: 26px;
}

.process-crate-logo {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff7e8;
}

/* little bounce when snapping to a step */
.process-crate.is-bouncing {
  animation: processCrateBounce 0.32s ease;
}

@keyframes processCrateBounce {
  0%   { transform: translate(-50%, -50%) scale(1); }
  35%  { transform: translate(-50%, -55%) scale(1.04); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* Swipe hint */

.process-swipe-hint {
  position: absolute;
  right: 6%;
  top: 12%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #444;
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.process-swipe-hint.is-hidden {
  opacity: 0;
  transform: translateY(-6px);
}

.hint-arrow {
  animation: hintArrowPulse 1s infinite ease-in-out;
}

@keyframes hintArrowPulse {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* Steps row – horizontal slider */

.process-steps {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  margin-top: 10px;
  padding-left: 10px;
}

/* show first card centred-ish; next card peeks */
.process-step:first-of-type {
  margin-left: 70px;
}

/* hide scrollbar visually */
.process-steps::-webkit-scrollbar {
  display: none;
}
.process-steps {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Each card takes ~80% width so next one peeks in */
.process-step {
  flex: 0 0 80%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 18px 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
  opacity: 0.7;
}

.process-step.is-active {
  border-color: rgba(212, 0, 0, 0.35);
  box-shadow: 0 20px 50px rgba(212, 0, 0, 0.12);
  transform: translateY(-3px) scale(1.02);
  opacity: 1;
}

.step-index {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 6px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.step-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

/* Responsive tweaks */

@media (max-width: 1024px) {
  .process-swipe-hint {
    top: auto;
    bottom: -4px;
    right: 50%;
    transform: translate(50%, 0);
  }

  .process-swipe-hint.is-hidden {
    transform: translate(50%, 6px);
  }
}

@media (max-width: 640px) {
  .process-section {
    padding: 60px 6vw 70px;
  }

  .process-visual {
    height: 110px;
  }

  .process-steps {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-left: 0;
  }

  .process-step {
    flex: none;
    max-width: 100%;
    transform: none;
  }

  .process-step:first-of-type {
    margin-left: 0;
  }
}

/* ==========================================
   OUR PACKAGING SOLUTIONS (GRID OF BOX TYPES)
========================================== */

.solution-types-section {
  padding: 80px 3vw 10px;
  background: #ffffff;
}

.solution-types-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.solution-types-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.solution-types-kicker {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d40000;
  margin-bottom: 10px;
}

.solution-types-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 0 0 14px;
}

.solution-types-text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Grid of cards */

.solution-types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* Card design */

.solution-type-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.solution-type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

/* Image */

.solution-type-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: saturate(1.02);
}

.solution-type-card:hover .solution-type-image {
  transform: scale(1.1);
  filter: saturate(1.1);
}

/* Dark gradient overlay with text */

.solution-type-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.05)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px 20px;
  color: #ffffff;
  pointer-events: none;
}

/* Title */

.solution-type-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

/* Responsive */

@media (max-width: 1024px) {
  .solution-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .solution-types-section {
    padding: 60px 6vw 70px;
  }

  .solution-types-grid {
    grid-template-columns: 1fr;
  }

  .solution-type-image {
    height: 230px;
  }
}

/* ==========================
   OUR SOLUTIONS SECTION
========================== */

.solutions-section {
  padding: 20px 7vw;
}

.solutions-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.solutions-header h2 span {
  color: #d40000;
}

.solutions-header p {
  max-width: 780px;
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #555;
}

/* SLIDER WRAPPER */
.solutions-wrapper {
  position: relative;
  margin-top: 40px;
}

/* TRACK */
.solutions-slider-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}

.solutions-slider-track::-webkit-scrollbar {
  display: none;
}

/* CARD */
.solution-card {
  min-width: 320px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  transition: 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.solution-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  padding: 18px 24px 4px;
}

.sol-link {
  display: block;
  padding: 0 24px 24px;
  color: #d40000;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ARROWS */
.solutions-arrow {
  position: absolute;
  top: -60px;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.2s;
}

.solutions-arrow.left {
  right: 60px;
}

.solutions-arrow:hover {
  transform: scale(1.1);
}
/* Dots along the rail */
.process-dots {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 60%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  pointer-events: none; /* individual dots re-enable pointer events */
}

.process-dot {
  pointer-events: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.22);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.process-dot:hover {
  transform: scale(1.15);
  border-color: rgba(212, 0, 0, 0.6);
}

.process-dot.is-active {
  background: #d40000;
  border-color: #d40000;
  transform: scale(1.25);
  box-shadow: 0 8px 22px rgba(212, 0, 0, 0.35);
}
