/* ============================================
   ORION IPJ — Services Page (services.css)
   Professional Card-Based Layout
   ============================================ */

/* ─── PAGE HEADER ─── */
.page-header {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.png') center/cover;
  opacity: 0.15;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  font-family: Montserrat;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeUp 0.8s ease both;
}

.page-header p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  animation: fadeUp 0.8s ease 0.15s both;
}

/* ─── SERVICES BLOCK ─── */
.services-block {
  background: var(--navy);
  padding: 80px 0 60px;
}

.services-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -36px;
  margin-bottom: 48px;
}

/* ─── CARD GRID ─── */
.svc-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc-grid--1 { grid-template-columns: 1fr; }

/* ─── SERVICE CARD ─── */
.svc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 36px 32px 32px;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent);
  border-radius: 0 0 2px 2px;
}

.svc-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

/* ─── CARD HEADING ─── */
.svc-heading {
  font-family: Montserrat;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 24px;
}

/* ─── SERVICE LIST ─── */
.svc-list {
  list-style: none;
}

.svc-list li {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  padding: 7px 0 7px 20px;
  position: relative;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  transition: width 0.2s ease, background 0.2s ease;
}

.svc-card:hover .svc-list li::before,
.svc-featured:hover .svc-list li::before {
  width: 10px;
  background: rgba(255,255,255,0.7);
}

.svc-card:hover .svc-list li,
.svc-featured:hover .svc-list li {
  color: rgba(255,255,255,0.88);
}

/* 2-column list for inspection services */
.svc-list--2col {
  columns: 2;
  column-gap: 48px;
}

.svc-list--2col li {
  break-inside: avoid;
}

/* ─── FEATURED CARD (Vessel Lay-Up) ─── */
.svc-featured {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 36px 32px 32px;
  margin-bottom: 24px;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.svc-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2), transparent);
  border-radius: 0 0 2px 2px;
}

.svc-featured:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.svc-featured-header {
  margin-bottom: 28px;
}

.svc-featured-header .svc-heading {
  margin-bottom: 8px;
}

.svc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 5px 12px;
}

.svc-featured-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}

.svc-featured-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  margin: 8px 0;
}

.svc-sub-heading {
  font-family: Montserrat;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ─── WAVE DIVIDER ─── */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }

/* ─── CLIENTS BLOCK ─── */
.clients-block {
  background: var(--navy-mid);
  padding: 80px 0;
}

.clients-list {
  columns: 2;
  column-gap: 48px;
  list-style: none;
}

.clients-list li {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  padding: 7px 0 7px 20px;
  position: relative;
  break-inside: avoid;
  line-height: 1.5;
}

.clients-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: rgba(255,255,255,0.35);
}

/* ─── RESPONSIVE — TABLET (max 900px) ─── */
@media (max-width: 900px) {
  .svc-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-grid--3 .svc-card:last-child {
    grid-column: 1 / -1;
  }

  .svc-featured-cols {
    grid-template-columns: 1fr auto 1fr;
  }

  .svc-list--2col {
    columns: 1;
  }

  .clients-list { columns: 1; }
}

/* ─── RESPONSIVE — MOBILE (max 600px) ─── */
@media (max-width: 600px) {
  .page-header { padding: 120px 0 56px; }

  .services-block { padding: 56px 0 40px; }
  .clients-block  { padding: 56px 0; }

  .services-tagline {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .svc-grid--3 {
    grid-template-columns: 1fr;
  }

  .svc-grid--3 .svc-card:last-child {
    grid-column: auto;
  }

  .svc-card {
    padding: 28px 24px 24px;
  }

  .svc-card::before {
    left: 24px;
    right: 24px;
  }

  .svc-featured {
    padding: 28px 24px 24px;
  }

  .svc-featured::before {
    left: 24px;
    right: 24px;
  }

  .svc-featured-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .svc-featured-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .svc-list--2col {
    columns: 1;
  }
}
