/* ===== SERVICES PAGE ===== */

.services-section { padding: 48px 0 56px; }

.services-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px; max-width: var(--max-width);
  margin: 0 auto; padding: 0 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(27,42,74,0.04);
  transition: all var(--transition);
  text-align: center;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--navy-light));
  opacity: 0; transition: opacity 0.1s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--blue-tint), var(--accent-50));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.1s ease;
  color: var(--accent-dark);
}
.service-icon svg {
  width: 28px; height: 28px;
}
.service-icon i {
  font-size: 26px;
  line-height: 1;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent-50), var(--navy-50));
  transform: scale(1.08);
  color: var(--navy);
}

.service-card h3 {
  font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.service-card p {
  font-size: 14.5px; color: var(--text-secondary); line-height: 1.7;
}

/* Detailed service section */
.services-detail { padding: 56px 0; background: var(--blue-tint); }
.services-detail.bg-navy { background: var(--navy); }
.bg-navy .service-text h3 { color: #fff; }
.bg-navy .service-text p { color: rgba(255,255,255,0.75); }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  max-width: var(--max-width);
  margin: 0 auto 56px; padding: 0 24px;
}
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
  color: var(--navy); margin-bottom: 14px;
}
.service-text p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
}
.service-image {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-image img {
  width: 100%; height: 280px;
  object-fit: cover; transition: transform 0.12s ease-out;
}
.service-image:hover img { transform: scale(1.05); }

@media (max-width: 1024px) {
  .service-row {
    grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px;
  }
  .service-row.reverse { direction: ltr; }
  .service-image img { height: 220px; }
  .services-overview { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 1024px) {
  .services-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-section { padding: 40px 0 56px; }
  .services-detail { padding: 56px 0; }
  .service-card { padding: 24px 20px; }
  .service-card h3 { font-size: 16px; }
  .service-text h3 { font-size: 20px; }
  .service-image img { height: 200px; }
}
