/**
 * Seaplast Theme State-Of-The-Art Manufacturing Facility Section Stylesheet
 * 100% Identical to reference target design: Aerial plant background with white vignette fade, bullet points, CTA button, & 4 floating metric cards.
 */

.sp-facility-section {
  position: relative;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 80px 0 60px 0;
  overflow: hidden;
  color: #0F172A;
  min-height: 480px;
}

/* White Vignette Fade Overlay on the left side */
.sp-facility-vignette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 55%;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 65%, rgba(255, 255, 255, 0.85) 80%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.sp-facility-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.sp-facility-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

/* Left Content Box */
.sp-facility-content {
  max-width: 480px;
}

.sp-facility-title {
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0 0 24px 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.sp-fac-prefix {
  font-size: 22px;
  font-weight: 800;
  color: #0F2B48;
  letter-spacing: 1.5px;
}

.sp-fac-highlight {
  font-size: 26px;
  font-weight: 900;
  color: #00A8C6;
  letter-spacing: 1.5px;
}

/* Checklist Bullets */
.sp-facility-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-facility-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0F2B48;
}

.sp-check-icon {
  flex-shrink: 0;
}

/* CTA Button */
.sp-btn-facility-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%);
  color: #FFFFFF;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-btn-facility-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.5);
  color: #FFFFFF;
}

/* Bottom Floating Metric Badges Row */
.sp-facility-badges-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 40px;
}

.sp-fac-badge-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #00A8C6;
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 168, 198, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  min-width: 200px;
}

.sp-fac-badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 168, 198, 0.35);
  background: #FFFFFF;
}

.sp-fac-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-fac-badge-text {
  display: flex;
  flex-direction: column;
}

.sp-fac-num {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #0F2B48;
  line-height: 1.1;
}

.sp-fac-lbl {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  margin-top: 2px;
  white-space: nowrap;
}

/* -------------------------------------------------------------
 * RESPONSIVE MEDIA QUERIES
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sp-facility-vignette-overlay {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
  }

  .sp-facility-badges-row {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
  }

  .sp-fac-badge-card {
    min-width: 180px;
  }
}

@media (max-width: 640px) {
  .sp-facility-section {
    padding: 40px 0 32px 0;
  }

  .sp-fac-prefix {
    font-size: 18px;
  }

  .sp-fac-highlight {
    font-size: 21px;
  }

  .sp-facility-checklist li {
    font-size: 14px;
  }

  .sp-facility-badges-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .sp-fac-badge-card {
    min-width: auto;
    padding: 10px 12px;
  }

  .sp-fac-num {
    font-size: 15px;
  }

  .sp-fac-lbl {
    font-size: 11px;
  }
}
