/* HERO CONTACTO */
.contact-hero {
  background: linear-gradient(135deg, #0a0f2c, #1a1f4b);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

/* GRID CONTACTO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 60px;
}

/* FORMULARIO */
.contact-form {
  display: flex;
  flex-direction: column;
}

/* INPUTS */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}

.input-group label {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #888;
  transition: 0.3s;
  pointer-events: none;
}

.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:valid + label,
.input-group textarea:valid + label {
  top: -10px;
  left: 8px;
  font-size: 12px;
  color: #7b5cff;
  background: white;
  padding: 0 5px;
}

/* ERRORES */
.error {
  color: red;
  font-size: 12px;
  display: none;
}

.input-error input,
.input-error textarea {
  border-color: red;
}

.input-error .error {
  display: block;
}

/* BOTÓN LOADING */
.loader {
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: none;
  margin-left: 10px;
}

button.loading .loader {
  display: inline-block;
  animation: spin 1s linear infinite;
}

button.loading span {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* MENSAJE SUCCESS */
.success-msg {
  color: green;
  display: none;
  margin-top: 15px;
}

/* BLOQUE DERECHA (INFO) */
.contact-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.contact-subtitle {
  color: #666;
  margin-bottom: 25px;
}

.contact-actions {
  margin-bottom: 25px;
}

/* BOTÓN WHATSAPP */
.whatsapp-btn {
  display: inline-block;
  background: linear-gradient(135deg, #25D366, #1ebe5d);
}

/* EMAIL */
.contact-email {
  background: #f4f6fb;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.contact-email span {
  font-size: 12px;
  color: #888;
}

.contact-email p {
  font-weight: 600;
}

/* BENEFICIOS CONTACTO */
.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 18px;
  border-radius: 12px;
  transition: 0.3s;
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.icon {
  font-size: 20px;
}

/* EMAIL PRO (extra visual) */
.contact-email-pro {
  background: linear-gradient(135deg, #ffffff, #f7f9fc);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #eaeaea;
  margin-bottom: 25px;
  transition: 0.3s;
}

.contact-email-pro:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.email-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.email-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.email-status {
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
}

.email-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #eee;
  margin-bottom: 10px;
}

.email-icon {
  font-size: 18px;
}

.email-link {
  font-weight: 600;
  text-decoration: none;
  color: #111;
  transition: 0.3s;
}

.email-link:hover {
  color: #4f46e5;
}

.email-note {
  font-size: 0.9rem;
  color: #666;
}
/* ===== FOOTER PREMIUM ===== */

.footer-pro {
  background: #0b0d12;
  color: #aaa;
  padding: 80px 20px 40px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-pro h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-pro a {
  display: block;
  text-decoration: none;
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer-pro a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
