/* =============================================
   SK BUILDERS — Services Page Styles
   ============================================= */

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  position: relative;
  height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

/* Background image layer */
.service-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--dark-2);
}

.service-bg-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201, 168, 76, 0.25);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  /* Hidden when real bg image loads */
  pointer-events: none;
}

/* Hide placeholder if background-image is set (real image) */
.service-bg[style*="url('"]  .service-bg-placeholder,
.service-bg[style*='url("']  .service-bg-placeholder {
  display: none;
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(10, 10, 10, 0.2) 100%
  );
  transition: background var(--transition);
}

.service-card:hover .service-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.98) 0%,
    rgba(10, 10, 10, 0.65) 60%,
    rgba(10, 10, 10, 0.35) 100%
  );
}

.service-card:hover .service-bg {
  transform: scale(1.06);
}

.service-content {
  position: relative;
  z-index: 1;
  padding: 28px 28px 32px;
  width: 100%;
  transition: transform var(--transition);
}

.service-card:hover .service-content {
  transform: translateY(-6px);
}

.service-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  border-color: #0ea5e9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--gold);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: #0ea5e9;
  color: #fff;
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.service-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-arrow {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0ea5e9;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
  display: inline-block;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── CTA BAND ── */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 300px;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
    align-items: flex-start;
  }
}
