/* ========== TYPOGRAPHY BASE ========== */
:root{
--red:#e35656;

}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.6;
}

/* Enlaces, listas y pequeños ajustes */
a { text-decoration: none; color: var(--text-dark); }
ul, ol { margin: 0 0 1rem 1.5rem; }


.text-primary {
  color: var(--yellow);
}

.text-secondary {
  color: var(--red);
}


/* === BASE DE SECCIÓN === */
.process-steps {
  background: var(--secondary);
  position: relative;
  padding: 10rem 1.5rem;
  overflow: hidden;
}

/* === CONTENEDOR CENTRAL === */
.process-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
  gap: 2rem;
}

/* === TÍTULO DE SECCIÓN === */
.process-steps .text-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.process-steps .text-content .subtitle {
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.process-steps .text-content .subtitle.proceso {
  color: var(--yellow); 
}

.process-steps .text-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.process-steps .text-content .text-primary {
  color: var(--yellow);
}

.process-steps .text-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === SECCIÓN PADRE === */
.process-steps {
  background: var(--secondary);
  padding: 6rem 1.5rem;
}

/* === CABECERA DE SECCIÓN === */
.process-steps .text-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.process-steps .text-content .subtitle {
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.process-steps .text-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}



.process-steps .text-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-steps {
  background: var(--secondary);
  padding: 4rem 1rem;
}

.process-steps .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Cada paso: flex horizontal, centrado verticalmente */
.process-steps .step {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Hover suave */
.process-steps .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Alternar imágenes/texto para .reverse */
.process-steps .step.reverse {
  flex-direction: row-reverse;
}

/* Imagen: ocupa el 40% del ancho, recorte limpio */

.process-steps .step-image {
  position: relative;
  flex: 0 0 40%;
  aspect-ratio: 4 / 3;      /* todas las cajas 4:3 */
  overflow: hidden;
  border-radius: 0.5rem;
}

.process-steps .step-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* recorta para llenar */
}

/* Texto: ocupa el resto, con espacio interior */
.process-steps .step-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Número: resaltado encima del título */
.process-steps .step-number {
  background: var(--yellow);
  color: var(--black);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50%;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Títulos y párrafos */
.process-steps .step-text h3 {
  margin: 0;
  font-size: 1.5rem;
}
.process-steps .step-text p {
  margin: 0;
  line-height: 1.6;
  flex: 1; /* ocupa todo el espacio sobrante */
}

/* RESPONSIVE: apilar en móvil */
@media (max-width: 768px) {
  .process-steps .container {
    gap: 2rem;
  }
  .process-steps .step {
    flex-direction: column;
    text-align: center;
  }
  .process-steps .step.reverse {
    flex-direction: column;
  }
  .process-steps .step-image,
  .process-steps .step-text {
    width: 100%;
    flex: none;
  }
  .process-steps .step-text {
    gap: .75rem;
  }
}

/* ==========================
   Sección de Personalización
   ========================== */
.customization-section {
  padding: 6rem 1.5rem;
  background: var(--white);
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Texto */
.custom-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.custom-text .subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color, #c99d66);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.custom-text .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
  line-height: 1.2;
}

.custom-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.custom-text .btn {
  align-self: start;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Imagen */
.custom-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
}

.custom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Decorativo */
.decor-shape {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color, #c99d66);
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

/* ===================
   CTA final (ajustes)
   =================== */
.process-cta {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, var(--yellow), var(--red));
  color: #fff;
  text-align: center;
}

.process-cta h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.process-cta p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.process-cta .btn {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

/* ============
   Responsivo
   ============ */
@media (max-width: 768px) {
  .custom-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .custom-text {
    align-items: center;
  }
  .custom-text .btn {
    align-self: center;
  }
}