/* ==========================================================================
   SWARAJ MHE INDIA — PREMIUM EQUIPMENT SECTION (#products)
   Matches exact reference design: 
   - Center heading with yellow accent lines
   - Asymmetric 5-card layout: Tall 01 (Left), Wide 02 (Center Top), Half 04 & 05 (Center Bottom), Tall 03 (Right)
   - Bottom centered EXPLORE THE FULL FLEET button
   - Industrial warehouse atmosphere with yellow corner chevrons
   ========================================================================== */

.product-section {
  position: relative;
  background-color: #ffffff !important;
  padding-block: 85px 95px;
  overflow: hidden;
  isolation: isolate;
  clear: both;
}

/* Atmospheric Warehouse Background & Yellow Geometric Accents hidden for clean white background */
.equipment-bg,
.equipment-facet-left,
.equipment-facet-right {
  display: none !important;
}

/* Centered Section Heading */
.equipment-center-heading {
  text-align: center;
  margin: 0 auto 46px;
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.equipment-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.equipment-eyebrow-wrap .eyebrow-accent-line {
  display: inline-block;
  width: 44px;
  height: 2.5px;
  background: #f3b218;
  border-radius: 1px;
  transform-origin: center center;
  will-change: transform, opacity;
}

.equipment-kicker {
  font-family: 'Plus Jakarta Sans', var(--body, 'DM Sans', -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #121416 !important;
  text-transform: uppercase;
  margin: 0;
  will-change: transform, opacity;
}

.equipment-title {
  font-family: Impact, 'Barlow Condensed', -apple-system, sans-serif;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #121416;
  margin: 0;
  text-transform: uppercase;
}

.equipment-title .title-line {
  display: block;
  will-change: transform, opacity;
}

.equipment-title .title-line-yellow,
.equipment-title .title-line:nth-child(2) {
  color: #121416 !important; /* Pure black text as requested */
}

/* ==========================================================================
   ASYMMETRIC 5-CARD GRID
   ========================================================================== */
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1.83fr 1fr;
  gap: 20px;
  align-items: start;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Center Stack: Wide Top Card + Row of 2 */
.equipment-center-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.equipment-center-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

/* Base Card Styling */
.equipment-card {
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  padding: 0 !important;
  margin: 0;
  box-shadow: 
    0 10px 24px rgba(0, 0, 0, 0.08),
    0 0 16px rgba(255, 198, 41, 0.12);
  transition: 
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1), 
    box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(255, 198, 41, 0.3);
}

.equipment-card.card-tall {
  aspect-ratio: 247 / 397;
  min-height: unset !important;
  height: auto !important;
}

.equipment-card.card-wide {
  aspect-ratio: 452 / 194;
  min-height: unset !important;
  height: auto !important;
}

.equipment-card.card-half {
  aspect-ratio: 226 / 218;
  min-height: unset !important;
  height: auto !important;
}

.equipment-card .card-full-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.card-corner-accent {
  display: none !important;
}

/* Card Badge (/ 01, / 02, etc.) */
.card-badge {
  font-family: var(--body, 'DM Sans', -apple-system, sans-serif);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffc629;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-shadow: none;
}

.card-badge .badge-slash {
  color: #ffc629;
  font-weight: 900;
  font-size: 16px;
}

/* Yellow Corner Diagonal Accent */
.card-corner-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  z-index: 3;
  pointer-events: none;
  transform-origin: top right;
  will-change: transform, opacity;
}

.card-corner-accent svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Circular Yellow Action Button */
.card-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffc629;
  color: #151613;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 198, 41, 0.35);
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 350ms ease;
  will-change: transform;
}

.card-arrow-circle svg {
  width: 16px;
  height: 16px;
  stroke: #151613;
}

/* Product Typography */
.equipment-card .card-heading {
  font-family: Impact, 'Barlow Condensed', -apple-system, sans-serif !important;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #121416 !important;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  text-shadow: none;
}

.equipment-card .card-description {
  font-family: var(--body, 'DM Sans', -apple-system, sans-serif);
  font-size: 13px;
  line-height: 1.45;
  color: #4b5563 !important;
  font-weight: 500;
  margin: 0;
  text-shadow: none;
}

/* Image Wrappers & Product Imagery */
.card-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0;
  mix-blend-mode: normal !important;
}

/* Floor contact shadow directly grounding equipment on the showroom floor */
.card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(15, 20, 30, 0.45) 0%, rgba(15, 20, 30, 0.14) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.card-product-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 14px 18px rgba(12, 16, 24, 0.26)) drop-shadow(0 3px 6px rgba(12, 16, 24, 0.12));
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.card-02 .card-product-img,
.card-03 .card-product-img,
.card-04 .card-product-img {
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 14px 18px rgba(12, 16, 24, 0.26)) drop-shadow(0 3px 6px rgba(12, 16, 24, 0.12));
}

/* Individual Card Proportions & Fit */
.equipment-card.card-tall {
  aspect-ratio: 247 / 397 !important;
  min-height: unset !important;
  height: auto !important;
}

.equipment-card.card-wide {
  aspect-ratio: 452 / 194 !important;
  min-height: unset !important;
  height: auto !important;
}

.equipment-card.card-half {
  aspect-ratio: 226 / 218 !important;
  min-height: unset !important;
  height: auto !important;
}


/* --------------------------------------------------------------------------
   STAGE 05: INDUSTRIAL PRODUCT SPOTLIGHT (Hover Interaction)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (min-width: 769px) {
  .equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: 
      0 18px 40px rgba(0, 0, 0, 0.08),
      0 2px 8px rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 198, 41, 0.5);
  }

  .equipment-card:hover .card-product-img {
    transform: translateY(-3px) scale(1.04);
  }

  .equipment-card:hover .card-arrow-circle {
    transform: translateX(4px);
    background-color: #ffd454;
  }
}

/* --------------------------------------------------------------------------
   BOTTOM CTA BUTTON
   -------------------------------------------------------------------------- */
.equipment-bottom-cta {
  text-align: center;
  margin-top: 48px;
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

.equipment-fleet-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffbe18;
  color: #111111;
  padding: 16px 42px;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', var(--body, 'DM Sans', -apple-system, sans-serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(248, 187, 26, 0.38);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.equipment-fleet-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(248, 187, 26, 0.55);
}

.equipment-fleet-btn .btn-arrow {
  display: inline-block;
  font-size: 16px;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.equipment-fleet-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE LAYOUTS: DESKTOP, TABLET (TAB VIEW), & MOBILE VIEW
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .equipment-grid {
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 820px) {
  .equipment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .equipment-card.card-tall.card-left {
    grid-column: 1 / 2;
  }
  .equipment-card.card-tall.card-right {
    grid-column: 2 / 3;
  }
  .equipment-center-stack {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .product-section {
    padding-block: 55px 65px;
  }
  .equipment-center-heading {
    margin-bottom: 28px;
  }
  .equipment-title {
    font-size: clamp(28px, 8vw, 42px);
  }
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .equipment-card.card-tall.card-left,
  .equipment-card.card-tall.card-right,
  .equipment-center-stack {
    grid-column: 1 / -1;
  }
  .equipment-center-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .equipment-fleet-btn {
    padding: 14px 28px;
    font-size: 13px;
  }
}

/* ==========================================================================
   SWARAJ MHE INDIA — PREMIUM EQUIPMENT SHOWROOM & ANIMATIONS (#complete-range)
   Matches exact reference design (3 white cards with yellow accents & bottom bar)
   Stages 01 - 05 Cinematic System
   ========================================================================== */

#complete-range {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding-block: 65px 75px;
}

#complete-range .equipment-showroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  width: 100%;
}

/* Individual Showroom Card Frame */
.eq-showroom-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e8eaed;
  box-shadow: 
    0 4px 18px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  position: relative;
  will-change: transform, opacity;
  transition: 
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), 
    box-shadow 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.eq-card-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* Media Stage (Product Image Container) */
.eq-media-stage {
  position: relative;
  width: 100%;
  height: 255px;
  background: #f7f8fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.eq-image-mask {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: clip-path;
}

.eq-product-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  will-change: transform;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Seamless Studio Machine Blending */
.eq-product-img.img-scissor {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.eq-product-img.img-ramp {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  transform: scale(1.06);
}

.eq-product-img.img-service {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

/* Card 1 & 2 have the yellow industrial chevron rendered directly into the studio artwork */
.card-scissor .eq-yellow-accent,
.card-ramp .eq-yellow-accent {
  display: none;
}

/* Yellow Geometric Side Accent */
.eq-yellow-accent {
  position: absolute;
  left: 0;
  top: 48%;
  transform: translateY(-50%);
  width: 48px;
  height: 120px;
  z-index: 3;
  pointer-events: none;
  will-change: clip-path, opacity, filter;
  transition: filter 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.eq-yellow-accent svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Card Content Area */
.eq-card-content {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  background: #ffffff;
}

.eq-card-title {
  font-family: var(--display, 'Barlow Condensed', -apple-system, sans-serif);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #151613;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  will-change: transform, opacity;
}

.eq-card-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
}

.eq-card-link-text {
  font-family: var(--body, 'DM Sans', -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: #555555;
  text-decoration: none;
  transition: color 300ms ease;
  will-change: transform, opacity;
}

.eq-card-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ebd593;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #151613;
  flex-shrink: 0;
  will-change: transform, opacity;
  transition: 
    border-color 500ms cubic-bezier(0.2, 0.8, 0.2, 1), 
    box-shadow 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.eq-card-arrow-btn svg {
  display: block;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* STAGE 04: Interactive Product Spotlight (Desktop Hover) */
@media (hover: hover) and (min-width: 769px) {
  .eq-showroom-card:hover {
    transform: translateY(-4px);
    box-shadow: 
      0 16px 36px rgba(0, 0, 0, 0.08), 
      0 2px 6px rgba(0, 0, 0, 0.03);
    border-color: #dcdfe4;
  }

  .eq-showroom-card:hover .eq-product-img {
    transform: scale(1.025) translateY(-3px);
  }

  .eq-showroom-card:hover .eq-yellow-accent {
    filter: brightness(1.08) drop-shadow(0 2px 8px rgba(245, 186, 24, 0.35));
  }

  .eq-showroom-card:hover .eq-card-link-text {
    color: #151613;
  }

  .eq-showroom-card:hover .eq-card-arrow-btn {
    border-color: #f5ba18;
    box-shadow: 0 0 10px rgba(245, 186, 24, 0.25);
  }

  .eq-showroom-card:hover .eq-card-arrow-btn svg {
    transform: translateX(4px);
  }
}

/* ==========================================================================
   STAGE 05: Complete Equipment Range Bar (#complete-range .eq-range-bar)
   ========================================================================== */

#complete-range .eq-range-bar {
  margin-top: 22px;
  border: none;
  padding: 0;
  will-change: transform, opacity;
}

#complete-range .eq-bar-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  border: 1px solid #e7e9ed;
  border-radius: 12px;
  padding: 0 18px 0 0;
  min-height: 60px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 
    border-color 450ms cubic-bezier(0.2, 0.8, 0.2, 1), 
    box-shadow 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

#complete-range .eq-bar-summary::-webkit-details-marker {
  display: none;
}

#complete-range .eq-bar-left {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

#complete-range .eq-bar-accent {
  width: 54px;
  height: 60px;
  display: block;
  flex-shrink: 0;
  will-change: clip-path, opacity, filter;
  transition: filter 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

#complete-range .eq-bar-accent svg {
  display: block;
  width: 100%;
  height: 100%;
}

#complete-range .eq-bar-title {
  font-family: var(--display, 'Barlow Condensed', -apple-system, sans-serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #151613;
  text-transform: uppercase;
  margin-left: 18px;
  will-change: opacity;
}

#complete-range .eq-bar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ebd593;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #151613;
  flex-shrink: 0;
  transition: 
    border-color 450ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

#complete-range .eq-plus-icon {
  font-family: var(--body, 'DM Sans', -apple-system, sans-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  display: inline-block;
  will-change: transform, opacity;
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Stage 05 Hover */
@media (hover: hover) and (min-width: 769px) {
  #complete-range .eq-bar-summary:hover {
    border-color: #dcdfe4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  }

  #complete-range .eq-bar-summary:hover .eq-bar-accent {
    filter: brightness(1.08) drop-shadow(0 0 8px rgba(245, 186, 24, 0.35));
  }

  #complete-range .eq-bar-summary:hover .eq-bar-btn {
    border-color: #f5ba18;
    box-shadow: 0 0 10px rgba(245, 186, 24, 0.25);
  }

  #complete-range .eq-bar-summary:hover .eq-plus-icon {
    transform: rotate(90deg);
  }
}

/* Accordion Open State */
#complete-range .eq-range-bar[open] .eq-bar-summary {
  border-radius: 12px 12px 0 0;
  border-bottom-color: #e7e9ed;
}

#complete-range .eq-range-bar[open] summary .eq-bar-title,
#complete-range .eq-range-bar[open] summary .eq-bar-left,
#complete-range .eq-range-bar[open] summary div {
  transform: none !important;
}

#complete-range .eq-range-bar[open] .eq-plus-icon {
  transform: rotate(45deg);
}

#complete-range .eq-range-dropdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
  padding: 24px 28px 18px;
  background: #ffffff;
  border: 1px solid #e7e9ed;
  border-top: none;
  border-radius: 0 0 12px 12px;
}

#complete-range .eq-range-dropdown a {
  font-family: var(--body, 'DM Sans', -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  border-bottom: 1px solid #eeeeee;
  padding: 10px 0;
  transition: color 250ms ease, border-color 250ms ease;
}

#complete-range .eq-range-dropdown a:hover {
  color: #d4a017;
  border-color: #d4a017;
}

/* Responsive Showroom Rules */
@media (max-width: 900px) {
  #complete-range .equipment-showroom-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .eq-media-stage {
    height: 250px;
  }

  #complete-range .eq-range-dropdown {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .eq-card-title {
    font-size: 20px;
  }

  #complete-range .eq-bar-title {
    font-size: 16px;
    margin-left: 12px;
  }

  #complete-range .eq-range-dropdown {
    grid-template-columns: 1fr;
    padding: 16px 20px;
  }
}

/* Card 03: Hydraulic Stacker card matching Card 01 styling */
.equipment-card.card-03 {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #111315;
}
.equipment-card.card-03 .card-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  display: block;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.equipment-card.card-03:hover .card-full-img {
  transform: scale(1.04);
}


