/* Our Services Section Styles */

.services-section {
  padding: 60px 20px;
  background: #f7f7f7;
}

.services-section .services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-section .services-header {
  text-align: center;
  margin-bottom: 36px;
}

.services-section .services-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.services-section .services-subtitle {
  font-size: 1.0625rem;
  color: #666;
  margin: 0;
}

/* Grid */
.services-section .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-section .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services-section .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.services-section .service-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.services-section .service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eee;
}

/* For browsers without aspect-ratio support, keep image responsive */
.services-section .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-section .service-content {
  padding: 18px 18px 22px;
}

.services-section .service-title {
  font-size: 1.125rem;
  margin: 0 0 8px;
}

.services-section .service-text {
  margin: 0 0 14px;
}

/* CTA Button */
.services-section .button,
.services-section .service-cta .button {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  background: #222;
  color: #fff;
  border: 1px solid #222;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.services-section .button:hover,
.services-section .button:focus {
  background: #000;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

/* Placeholders for Customizer preview */
.services-section .service-card--placeholder {
  border: 1px dashed rgba(0, 0, 0, 0.2);
  background: repeating-linear-gradient(
    45deg,
    #fafafa,
    #fafafa 10px,
    #f5f5f5 10px,
    #f5f5f5 20px
  );
}

.services-section .service-image--placeholder {
  width: 100%;
  height: 100%;
}
