/* ================= CONTACTO PREMIUM ================= */

.contact-section {
  background: linear-gradient(135deg, #f3f4f6, #ffffff);
  padding: 100px 20px;
  position: relative;
}

/* CONTENEDOR */
.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start; /* 🔥 evita espacios raros */
}

/* ================= FORMULARIO ================= */

.contact-form {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

/* 🔥 BARRA SUPERIOR PREMIUM */
.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #7b2121, #a83232);
}

/* TITULOS */
.contact-form h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #7b2121;
}

.contact-form p {
  margin-bottom: 25px;
  color: #6b7280;
}

/* INPUTS */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  font-size: 14px;
  transition: all 0.25s ease;
}

/* HOVER SUAVE */
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #d1d5db;
}

/* FOCUS PRO */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #7b2121;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(123, 33, 33, 0.08);
}

/* BOTÓN PRO */
.contact-form button {
  background: linear-gradient(135deg, #7b2121, #a83232);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(123, 33, 33, 0.25);
}

/* HOVER BOTÓN */
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(123, 33, 33, 0.35);
}

/* CLICK EFECTO */
.contact-form button:active {
  transform: scale(0.98);
}
/* ================= CARDS DERECHA ================= */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background: linear-gradient(135deg, #4d0505, #7b2121);
  padding: 25px;
  border-radius: 15px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: 0.3s;
}

/* EFECTO BRILLO */
.info-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
  transform: rotate(25deg);
  transition: 0.5s;
}

.info-card:hover::before {
  left: 100%;
}

.info-card:hover {
  transform: translateY(-6px);
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.info-card p {
  color: #e5e7eb;
  line-height: 1.6;
}


/* ================= ICONOS PRO ================= */

/* contenedor icono */


.icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  background: rgba(255,255,255,0.15);
  font-size: 20px;
}

/* CARDS HORIZONTALES */

.info-card.horizontal {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
}

/* ICONO MÁS PRO */
.info-card.horizontal .icon {
  min-width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  font-size: 20px;
}

/* TEXTO */
.info-text h3 {
  margin: 0;
  font-size: 18px;
}

.info-text p {
  margin-top: 5px;
  font-size: 14px;
}
/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}