/* ===== Página RECETA – layout general ===== */

.receta-page .content{
  background: #f9fafb;
  padding-bottom: 0;
}

.receta-page .site-footer{
  margin-top: 0;   /* pegado a la última sección */
}

/* ===================== PROCESO (HERO) ===================== */

.proceso{
  padding: 80px 10% 48px;
  text-align: center;
  background: radial-gradient(circle at top left, #e0fbf2, #f9fafb 52%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.proceso h2{
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #1f2933;
}

.proceso-subtitle{
  max-width: 780px;
  margin: 0 auto 28px;
  color: #4b5563;
  line-height: 1.65;
}

/* Tarjetas de pasos */

.proceso-steps{
  max-width: 1100px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.proceso-step{
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px 16px;
  box-shadow: 0 12px 32px rgba(15,23,42,0.08);
}

.proceso-step h3{
  margin-bottom: 8px;
  color: #111827;
}

.proceso-step p{
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

/* CTA principal */

.btn-container{
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.receta-btn-main{
  box-shadow: 0 14px 34px rgba(249,115,22,0.45);
}

/* ===================== SECCIONES GENERALES ===================== */

.receta-page .section{
  padding: 56px 10%;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.receta-page .section h2{
  font-size: 1.9rem;
  margin-bottom: 14px;
  color: #111827;
}

.receta-page .section p{
  max-width: 900px;
  color: #374151;
  line-height: 1.7;
}

/* ===================== ¿POR QUÉ ES NECESARIA…? ===================== */

.section-why{
  position: relative;
}

/* franja suave arriba para separar del hero */
.section-why::before{
  content: "";
  position: absolute;
  inset: 0;
  top: -24px;
  background: linear-gradient(to bottom, rgba(15,118,110,0.05), transparent 42%);
  pointer-events: none;
  z-index: 0;
}

.section-why > *{
  position: relative;
  z-index: 1;
}

/* título y subtítulo centrados */
.section-why h2{
  text-align: center;
}

.section-why > p:first-of-type{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

/* Beneficios: grid 2x2 */

.benefits{
  max-width: 1100px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.benefit-card{
  background: radial-gradient(circle at top left, #ecfdf5, #f9fafb);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 26px rgba(15,23,42,0.06);
  border: 1px solid rgba(16,185,129,0.18);
}

.benefit-card h3{
  margin-bottom: 6px;
  color: #065f46;
}

.benefit-card p{
  margin: 0;
  color: #374151;
}

/* ===================== LEYES CHILENAS ===================== */

.section-leyes{
  background: #ffffff;
}

/* título centrado */
.section-leyes h2{
  text-align: center;
}

/* Bloque de advertencia */

.disclaimer{
  margin-top: 16px;
  max-width: 1100px;
  background: #fff7e6;
  border-radius: 16px;
  padding: 18px 20px 16px;
  box-shadow: 0 10px 28px rgba(249,115,22,0.20);
  color: #7c2d12;
}

.disclaimer p{
  margin: 8px 0;
  color: #7c2d12;
}

.disclaimer strong{
  font-weight: 700;
}

/* Links a leyes */

.disclaimer-links{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.disclaimer-links a{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #c2410c;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(194,65,12,0.28);
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.disclaimer-links a:hover{
  background: #ffedd5;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(194,65,12,0.26);
}

/* Última sección pegada al footer */

.receta-page .section.section-leyes{
  margin-bottom: 0;
  padding-bottom: 40px;
  border-bottom: none;
}

/* ===================== RESPONSIVO ===================== */

@media (max-width: 900px){
  .proceso{
    padding-inline: 8%;
  }
  .proceso-steps{
    grid-template-columns: 1fr;
  }
  .benefits{
    grid-template-columns: 1fr;
  }
}

/* RECETA – centrar bloque "¿Por qué es necesaria...?" */
.receta-page .content > section:nth-of-type(2) h2,
.receta-page .content > section:nth-of-type(2) > p:first-of-type {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* RECETA – centrar título de "Leyes chilenas" */
.receta-page .content > section:nth-of-type(3) h2 {
  text-align: center;
}

