/* Premium Modern Industrial Service Design - Black/White/Red Only */
:root {
  --apex-red: #e63946;
  --jet-black: #000000;
  --pure-white: #ffffff;
  --black-85: rgba(0, 0, 0, 0.85);
}

/* Reset and Base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--pure-white);
  color: var(--jet-black);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Hero Section - Premium Industrial */
.service-hero {
  position: relative;
  height: clamp(320px, 46vh, 450px);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  background: var(--jet-black);
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/360_F_609633549_NQNajuVRRKowWBKVo6skiC21L7R4t8fn.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) contrast(1.2);
  z-index: 0;
}

.service-hero .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), transparent 60%);
}

.service-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-hero h1 {
  font-size: clamp(28px, 5.5vw, 48px);
  font-weight: 900;
  margin: 12px 0;
  letter-spacing: -1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  font-family: 'Montserrat', 'Inter', sans-serif;
}

.service-hero .crumb {
  margin-top: 12px;
  opacity: 0.85;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.badge-red {
  display: inline-block;
  background: var(--apex-red);
  color: var(--pure-white);
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 6px;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
}

/* Service Body - Maximum Negative Space */
.service-body {
  background: var(--pure-white);
  padding: 100px 0;
  position: relative;
}

.service-body .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Service Card - Premium Structure */
.service-card {
  background: var(--pure-white);
  border: 3px solid var(--jet-black);
  border-radius: 0;
  padding: 60px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
}

/* Main Description - Maximum Visual Weight */
.service-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--jet-black);
  font-weight: 500;
  margin-bottom: 60px;
  letter-spacing: -0.2px;
  max-width: 100%;
}

.service-intro strong {
  font-weight: 800;
  color: var(--jet-black);
}

/* Dynamic Image Gallery - Staggered Grid */
.premium-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 80px 0;
  position: relative;
}

.premium-image-item {
  position: relative;
  overflow: hidden;
  background: var(--pure-white);
  border: 3px solid var(--jet-black);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Staggered positioning */
.premium-image-item:nth-child(1) {
  transform: translateY(0);
}

.premium-image-item:nth-child(2) {
  transform: translateY(24px);
}

.premium-image-item:nth-child(3) {
  transform: translateY(0);
}

.premium-image-item:hover {
  transform: translateY(-16px) scale(1.02);
  border-color: var(--apex-red);
  box-shadow: 0 24px 64px rgba(230, 57, 70, 0.25);
  z-index: 10;
}

.premium-image-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s ease;
  filter: grayscale(0%) brightness(0.92) contrast(1.08);
}

.premium-image-item:hover img {
  transform: scale(1.12);
  filter: grayscale(0%) brightness(1) contrast(1.12);
}

/* Red accent overlay on hover */
.premium-image-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0) 0%, rgba(230, 57, 70, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.premium-image-item:hover::before {
  opacity: 1;
}

/* Image captions */
.premium-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7), transparent);
  color: var(--pure-white);
  padding: 24px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.premium-image-item:hover .premium-image-caption {
  transform: translateY(0);
}

/* Four-Column Feature Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 80px 0;
}

.benefit-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--pure-white);
  border: 2px solid var(--jet-black);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--apex-red);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.benefit-item:hover::before {
  transform: scaleX(1);
}

.benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
  border-color: var(--apex-red);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--apex-red);
  font-weight: 900;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 3px solid var(--jet-black);
  position: relative;
}

.benefit-icon::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: var(--apex-red);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--pure-white);
  border-color: var(--apex-red);
}

.benefit-item:hover .benefit-icon::before {
  opacity: 1;
}

.benefit-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--jet-black);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.benefit-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--jet-black);
  font-weight: 400;
  opacity: 0.85;
}

/* Section Divider - Red Accent */
.section-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--apex-red), transparent);
  margin: 80px 0;
}

/* Section Title */
.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--jet-black);
  margin-bottom: 48px;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 5px;
  background: var(--apex-red);
}

/* CTA Buttons - Red Primary */
.service-cta {
  text-align: center;
  margin-top: 80px;
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

/* Responsive grids and spacing */
@media (max-width: 992px) {
  .premium-image-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 40px; }
}
@media (max-width: 576px) {
  .premium-image-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px; }
}

.btn-cta {
  background: var(--apex-red);
  color: var(--pure-white);
  font-weight: 800;
  border: none;
  padding: 18px 48px;
  border-radius: 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--jet-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 0;
}

.btn-cta:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-cta span {
  position: relative;
  z-index: 1;
}

.btn-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(230, 57, 70, 0.5);
  color: var(--pure-white);
}

.btn-cta.secondary {
  background: var(--jet-black);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-cta.secondary::before {
  background: var(--apex-red);
}

.btn-cta.secondary:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Service List - Minimal Clean */
.service-list {
  margin: 40px 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-list li {
  position: relative;
  padding-left: 40px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--jet-black);
  font-weight: 500;
  transition: transform 0.3s ease;
}

.service-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--apex-red);
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  top: 2px;
}

.service-list li:hover {
  transform: translateX(8px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .premium-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .premium-image-item:nth-child(2) {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .service-hero {
    height: 350px;
  }
  
  .service-hero h1 {
    font-size: 32px;
  }
  
  .service-card {
    padding: 40px 24px;
  }
  
  .service-intro {
    font-size: 16px;
  }
  
  .premium-image-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .premium-image-item {
    transform: translateY(0) !important;
  }
  
  .premium-image-item img {
    aspect-ratio: 1 / 1;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .service-list {
    grid-template-columns: 1fr;
  }
  
  .service-cta {
    flex-direction: column;
  }
  
  .btn-cta {
    width: 100%;
    max-width: 320px;
  }
  
  .section-title {
    font-size: 26px;
  }
}

/* Print Styles */
@media print {
  .service-hero {
    height: auto;
    padding: 40px 0;
  }
  
  .service-card {
    border: 2px solid var(--jet-black);
    box-shadow: none;
  }
  
  .premium-image-item {
    page-break-inside: avoid;
  }
}
