/* ===== Layout ENTREGA optimizado (2025-10 versión estable) ===== */
.entrega {
  background: #fff;
  padding: clamp(32px, 6vw, 72px) 0;
  position: relative;
  z-index: 10;
}

/* CONTENEDOR PRINCIPAL */
.entrega__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  gap: clamp(32px, 4vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}

/* ORDEN RESPONSIVO */
.entrega__text {
  order: 2;
}

.entrega__truck {
  position: relative;
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 960px) {
  .entrega__wrap {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px;
  }
  .entrega__truck { order: 1; }
  .entrega__text { order: 2; }
}

/* IMAGEN DEL CAMIÓN */
.entrega__truck-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.12));
}

/* ===== TEXTO Y TÍTULO ===== */
.entrega__text {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.entrega__title {
  color: #4b0082;
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-bottom: 0.6em;
  line-height: 1.2;
}

@media (min-width: 960px) {
  .entrega__text { text-align: left; }
  .entrega__title { text-align: left; }
}

/* LÍNEA DECORATIVA IZQUIERDA */
.entrega__line {
  position: absolute;
  left: -16px;
  top: 8px;
  bottom: 8px;
  width: 5px;
  background: #ff8a00;
  border-radius: 5px;
  box-shadow: 0 0 0 2px rgba(255,138,0,.12);
}

@media (max-width: 960px) {
  .entrega__line { left: 0; }
}

/* ===== LISTA ===== */
.entrega__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-left: 1.4rem;
  text-align: left;
  width: 100%;
}

.entrega__item {
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
}


.entrega__item strong {
  color: #ff8a00;
  font-weight: 700;
  white-space: nowrap; /* ← Esto mantiene "sin costo" junto */
}

.entrega__text-content {
  display: inline;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* BULLETS */
/* ===== LISTA Y BULLETS CORREGIDOS ===== */
.entrega__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-left: 0;
  text-align: left;
  width: 100%;
  list-style: none;
}

.entrega__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
  position: relative;
}

/* BULLETS VISIBLES Y POSICIONADOS CORRECTAMENTE */
.entrega__item .bullet {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  min-width: 10px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: #ff8a00;
  transition: background .25s, transform .25s;
  display: block !important;
  visibility: visible !important;
}

.entrega__item:hover .bullet {
  background: #4b0082;
  transform: scale(1.1);
}

.entrega__item strong {
  color: #ff8a00;
  font-weight: 700;
  white-space: nowrap;
}

.entrega__text-content {
  display: inline;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  flex: 1;
}


/* ===== CTA ===== */
.entrega__cta {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  width: 100%;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 380px);
  padding: 0.9rem 1.8rem;
  border-radius: 9999px;
  border: 2px solid #4b0082;
  background: #fff;
  color: #4b0082;
  font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  letter-spacing: 0.2px;
  box-shadow: 0 8px 22px rgba(75,0,130,.12);
  transition: all 0.25s ease;
  text-align: center;
}

.btn-outline:hover {
  background: #4b0082;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(75,0,130,.25);
}

.entrega__nota {
  text-align: center;
  font-size: clamp(0.8rem, 2.3vw, 0.95rem);
  opacity: 0.75;
  max-width: 400px;
  line-height: 1.4;
  padding: 0 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 959px) {
  .entrega__wrap { padding: 0 24px; }
  .entrega__item { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .entrega__wrap { padding: 0 16px; }
  .entrega__item {
    line-height: 1.6;
    font-size: 0.9rem;
  }
  .entrega__title { font-size: 1.8rem; }
}


/* ===== FIX MOBILE TEXT ENTREGA ===== */
@media (max-width: 640px) {
  .entrega__wrap {
    padding: 0 20px;
    gap: 2rem; /* más aire entre texto y camión */
  }

  .entrega__text {
    text-align: left;        /* mejora lectura */
    padding: 0 10px;         /* evita bordes pegados */
  }

  .entrega__line {
  left: 4px;
  width: 3px;
  background: linear-gradient(to bottom, #ff8a00, #ffb347);
}

  .entrega__item {
    font-size: 0.9rem;
    line-height: 1.45;
    word-wrap: break-word;
  }

  .entrega__title {
    font-size: 1.6rem;
    text-align: center;      /* mantiene simetría */
    margin-bottom: 1rem;
  }

  .entrega__cta {
    margin-top: 1.8rem;
  }
}
