/* ============================================================
   ESTUDIO MARTINI — Servicios
   ============================================================ */

/* ─── Service Section (alternating) ─────────────────────── */
.service-section {
  padding-block: var(--space-24);
  border-bottom: var(--border-thin);
}

.service-section:first-of-type {
  border-top: var(--border-thin);
  margin-top: var(--space-20);
}

.service-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

/* Reverse: image goes left */
.service-section--reverse .service-section__visual {
  order: -1;
}

/* ─── Service Visual ─────────────────────────────────────── */
.service-section__visual {
  position: relative;
}

.service-section__image-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-section__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.service-section__image-wrap:hover img {
  transform: scale(1.04);
}

/* Decorative accent */
.service-section__accent {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid var(--color-gray-200);
  pointer-events: none;
  z-index: -1;
}

.service-section__accent--tl {
  top: calc(-1 * var(--space-5));
  left: calc(-1 * var(--space-5));
}

.service-section__accent--br {
  bottom: calc(-1 * var(--space-5));
  right: calc(-1 * var(--space-5));
}

/* ─── Service Content ────────────────────────────────────── */
.service-section__content {}

.service-section__number {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-gray-800);
  letter-spacing: 0.12em;
  margin-bottom: var(--space-5);
  display: block;
}

.service-section__title {
  margin-bottom: var(--space-6);
}

.service-section__text {
  margin-bottom: var(--space-5);
}

.service-section__text:last-of-type {
  margin-bottom: var(--space-8);
}

/* Feature list */
.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding-top: var(--space-6);
  border-top: var(--border-thin);
}

.service-feature {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  font-weight: 300;
}

.service-feature::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 1px;
  background: var(--color-gray-400);
  position: relative;
  top: -2px;
}

/* ─── Process Strip ──────────────────────────────────────── */
.process-strip {
  padding-block: var(--space-20);
  background-color: var(--color-off-white);
}

.process-strip__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.process-strip__header h2 {
  margin-bottom: var(--space-4);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--color-gray-200);
  border: 1px solid var(--color-gray-200);
}

.process-step {
  background: var(--color-off-white);
  padding: var(--space-8) var(--space-6);
  transition: background var(--dur-base) var(--ease-out);
}

.process-step:hover {
  background: var(--color-white);
}

.process-step__num {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-gray-200);
  line-height: 1;
  margin-bottom: var(--space-6);
}

.process-step__title {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}

.process-step__text {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-section__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .service-section--reverse .service-section__visual {
    order: 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .service-section:first-of-type {
    margin-top: var(--space-12);
  }
}
