/* ═══════════════════════════════════════════════════════════
   MAGIA PIURA — Página "Otros Servicios"
   Estilos específicos. Primitivos compartidos en styles.css
   (.section-title, .body-text, .page-hero).
   Frame de Figma "Otros Servicios" (node 1566:108) · Mobile-first · BEM
═══════════════════════════════════════════════════════════ */

/* Hero con fondo degradado claro (la imagen ocupa la mitad derecha) */
.page-hero--gradient {
  background: linear-gradient(
    180deg,
    rgb(244, 233, 231) 0%,
    rgb(248, 240, 238) 31.76%,
    rgb(239, 225, 223) 63.51%,
    rgb(228, 210, 206) 100%
  );
}

/* ═══════════════════════════════════════════════════════════
   BARRA DE CARACTERÍSTICAS (3 ítems con icono)
═══════════════════════════════════════════════════════════ */
.features-bar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px var(--gutter);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 41px;
  height: 41px;
}

.feature-item__icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-tan);
}

.feature-item__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--color-tan);
  line-height: 1.4;
}

.feature-item__desc {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--color-tan);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   COLECCIÓN DE SERVICIOS
═══════════════════════════════════════════════════════════ */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px var(--gutter) 48px;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.service-card__media {
  width: 100%;
  aspect-ratio: 396 / 361;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 32px);
  color: var(--color-brown);
  text-align: center;
  line-height: 1.35;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  /* Los 3 ítems de características en fila */
  .features-bar {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    padding: 24px 88px;
  }
  .feature-item {
    max-width: 300px;
  }
}

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