/* ========================================
   CONTACTO - DISEÑO MODERNO
   Speck Developers - Paleta Azul y Blanco
   ======================================== */

/* Hero / Breadcrumb */
.contact-hero {
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-hero h1 {
  color: #ffffff;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.breadcrumb-nav a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-nav span {
  color: rgba(255, 255, 255, 0.6);
}

/* Sección de contacto */
.contact-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

/* Wrapper del formulario */
.contact-form-wrapper {
  background: #ffffff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.form-header {
  margin-bottom: 30px;
}

.form-header h3 {
  color: #1E5F8C;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.form-header p {
  color: #666666;
  font-size: 15px;
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Form groups */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #333333;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Input group con icono */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 15px;
  z-index: 1;
  color: #1E5F8C;
  font-size: 18px;
  pointer-events: none;
}

/* Inputs y textarea */
.form-control {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-control:focus {
  outline: none;
  border-color: #1E5F8C;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 95, 140, 0.1);
}

textarea.form-control {
  padding-left: 15px;
  resize: vertical;
  min-height: 150px;
}

/* Botón de envío */
.btn-submit {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(30, 95, 140, 0.3);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #2B7BA9 0%, #1E5F8C 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(30, 95, 140, 0.4);
}

.btn-submit i {
  font-size: 18px;
}

/* Información de contacto */
.contact-info-wrapper {
  background: #ffffff;
  border-radius: 15px;
  padding: 35px 30px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.info-header {
  margin-bottom: 30px;
}

.info-header h3 {
  color: #1E5F8C;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.info-header p {
  color: #666666;
  font-size: 14px;
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Lista de info */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

/* Item de info */
.info-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #1E5F8C;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: #f0f7fb;
  transform: translateX(5px);
}

.info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
}

.info-content h4 {
  color: #1E5F8C;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.info-content a {
  color: #333333;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  display: block;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: #1E5F8C;
}

.info-note {
  color: #999999;
  font-size: 13px;
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Redes sociales */
.social-links {
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
}

.social-links h4 {
  color: #1E5F8C;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E5F8C;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-icon:hover {
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(30, 95, 140, 0.3);
}

/* Alertas de mensajes */
.alert {
  padding: 15px 20px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 15px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert i {
  font-size: 20px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets */
@media (max-width: 991px) {
  .contact-hero {
    padding: 60px 0 40px;
  }

  .contact-hero h1 {
    font-size: 32px;
  }

  .contact-hero p {
    font-size: 16px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 30px 25px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .contact-hero {
    padding: 50px 0 30px;
  }

  .contact-hero h1 {
    font-size: 28px;
  }

  .contact-hero p {
    font-size: 15px;
  }

  .contact-section {
    padding: 50px 0;
  }

  .contact-form-wrapper {
    margin-bottom: 30px;
  }

  .form-header h3 {
    font-size: 24px;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 24px;
  }

  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 25px 20px;
  }

  .form-header h3 {
    font-size: 22px;
  }

  .btn-submit {
    padding: 14px 25px;
    font-size: 15px;
  }

  .info-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}