.informacion-C {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5%;
  padding: 60px 0;
}

.contacto {
  flex: 1;
  max-width: 500px;
  background-color: #AB5563;
  color: #ffffff;
  opacity: 0.9;
  padding: 30px;
  border-radius: 6px;
  backdrop-filter: blur(3px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto h1,
.contacto > p {
  text-align: center;
}

.contacto h1 {
  margin-bottom: 10px;
}

.contacto > p {
  margin-bottom: 35px;
}

.contacto:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.contacto .section-divider {
  background-color: #0F0F0F;
}

.contactos {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contactos div {
    width: 45%;
    box-sizing: border-box;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contactos div span:first-child {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.8;
}

.contactos div span:last-child {
  color: #0F0F0F;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contacto div span {
    display: block;
}

.contacto div span {
  display: flex;
  align-items: flex-start;
}

.contacto div span i {
  margin-top: 3px;
}

.contacto div span i {
    margin-right: 10px;
    color: #0F0F0F;
}

.boton-envio {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: 8px;
  background-color: #d42233;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.boton-envio:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/*--------------------------------------------------------------------*/


.consulta {
    max-width: 600px;
    width: 90%;
    margin: 20px auto;
    padding: 40px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    border-left: 4px solid #1a237e;
    border-top: 5px solid #1a237e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.consulta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.consulta h1 {
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.subtitulo {
  text-align: center;
  color: #666;
  margin-bottom: 35px;
}

.consulta .section-divider {
  margin: 15px auto 30px auto;
}

.consulta-datos {
    display: flex;
    gap: 30px;
}

.dato input{
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.dato p,
.preferencia-contacto p,
.consulta-mensaje p {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  color: #333;
}

.consulta-mensaje textarea {
    min-height: 150px;
    height: 100%;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}


.preferencia-contacto label {
  display: block;
  margin: 6px 20px 16px 10px;
  cursor: pointer;
}

.dato,
.consulta-mensaje,
.preferencia-contacto {
  margin-bottom: 20px;
}

.dato,
.consulta-datos,
.consulta-mensaje {
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.consulta-datos:last-child,
.consulta-mensaje:last-child {
  border-bottom: none;
}

.campo {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.campo[style*="none"] {
  opacity: 0;
  transform: translateY(-5px);
}

.auto-save-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a237e;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    animation: fadeInOut 2s ease;
    z-index: 1000;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    20%, 80% { opacity: 1; transform: translateY(0); }
}




/*--------------------------------------------------------------------*/




.formulario {
  flex: 1;
  max-width: 500px;
  background-color: #ffffff;
  border-radius: 8px;
  border: crimson 1px solid;
  padding: 30px;
}

.formulario h1 {
  display: flex;
  justify-content: center;
}

.formulario p {
  width: 80%;
  margin: 0 auto 20px auto;
  text-align: center;
}

.formulario input,
.formulario textarea {
  width: 100%;
  height: 50%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.formulario input:focus,
.formulario textarea:focus {
  outline: none;
  border-color: #d42233;
  box-shadow: 0 0 0 2px rgba(212, 34, 51, 0.2);
}


.formulario div {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.formulario input::placeholder,
textarea::placeholder {
  color: #999;
  font-style: italic;
  font-size: 14px;
}

/* Botón favoritos */
#btn-favoritos {
  margin-top: 10px;
  margin-bottom: 15px;
  padding: 10px 18px;
  border-radius: 25px;
  border: 2px solid #c2185b;
  background: white;
  color: #c2185b;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#btn-favoritos:hover {
  background: #c2185b;
  color: white;
  transform: translateY(-2px);
}

#btn-favoritos:active {
  transform: scale(0.96);
}

.error {
  color: #d42233;
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: block;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.activo {
  display: flex;
}

.modal-contenido {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 550px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  animation: aparecer 0.25s ease;
}

@keyframes aparecer {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-contenido h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.cerrar-modal {
  float: right;
  font-size: 22px;
  cursor: pointer;
  transition: 0.2s;
}

.cerrar-modal:hover {
  transform: scale(1.2);
  color: #c2185b;
}

.fila-favorito {
  display: grid;
  grid-template-columns: 25px 1fr 90px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.fila-favorito span {
  font-size: 14px;
}

.check {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.cantidad {
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: 0.2s;
}

.cantidad:focus {
  outline: none;
  border-color: #c2185b;
  box-shadow: 0 0 0 2px rgba(194, 24, 91, 0.15);
}

#generar {
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: #c2185b;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  width: 100%;
}

#generar:hover {
  background: #a3154a;
}

#generar:active {
  transform: scale(0.97);
}

@media (max-width: 1000px) {
  .informacion-C {
    flex-direction: column;
    align-items: center;
  }

  .contacto,
  .formulario {
    max-width: 90%;
  }
}

