/*============================================
  SECCIÓN CONTACTO
============================================*/
.contacto-form {
  padding: 80px 20px;
  background: #090A20;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark .contacto-form {
  background: #000000;
  color: #CF621B;
}

.contacto-form h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background 0.3s ease;
}

body.dark .contacto-form h2 {
  background: #CF621B;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#formularioContacto {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(207, 98, 27, 0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

body.dark #formularioContacto {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(207, 98, 27, 0.5);
  box-shadow: 0 2px 8px rgba(207, 98, 27, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

body.dark .form-group label {
  color: #CF621B;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: all 0.3s ease;
}

body.dark .form-group input,
body.dark .form-group textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(207, 98, 27, 0.4);
  color: #CF621B;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #CF621B;
  outline: none;
  box-shadow: 0 0 0 2px rgba(207, 98, 27, 0.2);
}

body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
  border-color: #CF621B;
  box-shadow: 0 0 0 2px rgba(207, 98, 27, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder {
  color: rgba(207, 98, 27, 0.6);
}

.form-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.form-buttons button {
  flex: 1 1 200px;
  padding: 0.8rem 1.2rem;
  background: transparent;
  color: #CF621B;
  border: 1px solid rgba(207, 98, 27, 0.5);
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

body.dark .form-buttons button {
  color: #CF621B;
  border: 1px solid rgba(207, 98, 27, 0.7);
  background: rgba(207, 98, 27, 0.1);
}

.form-buttons button:hover {
  background: #CF621B;
  color: #1d1b34;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(207, 98, 27, 0.3);
}

body.dark .form-buttons button:hover {
  background: #CF621B;
  color: #000000;
  box-shadow: 0 10px 30px rgba(207, 98, 27, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .contacto-form h2 { 
    font-size: 2em; 
    margin-bottom: 40px; 
  }
  #formularioContacto { 
    padding: 1.5rem; 
  }
  .form-buttons button { 
    flex: 1 1 100%; 
  }
}

/*============================================
   NOTIFICACIONES - ESTILO COHERENTE CON FORMULARIO
============================================ */

/* Contenedor de notificaciones */
.notificacion {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 350px;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  background: rgba(207, 98, 27, 0.9);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 238, 88, 0.3);
  backdrop-filter: blur(5px);
  transform: translateX(150%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.dark .notificacion {
  background: rgba(207, 98, 27, 0.95);
  border: 1px solid rgba(255, 238, 88, 0.4);
  box-shadow: 0 4px 15px rgba(207, 98, 27, 0.3);
}

/* Mostrar notificación */
.notificacion.mostrar {
  transform: translateX(0);
}

/* Icono de notificación */
.notificacion__icono {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Contenido de la notificación */
.notificacion__contenido {
  flex-grow: 1;
}

.notificacion__titulo {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #1d1b34;
  transition: color 0.3s ease;
}

body.dark .notificacion__titulo {
  color: #000000;
}

.notificacion__mensaje {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* Barra de progreso */
.notificacion__progreso {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(29, 27, 52, 0.2);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.notificacion__progreso::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #1d1b34;
  animation: progreso 3s linear forwards;
  transform-origin: left;
}

body.dark .notificacion__progreso::before {
  background: #000000;
}

/* Tipos de notificaciones */
.notificacion--exito {
  background: rgba(40, 167, 69, 0.9);
  border-color: rgba(72, 255, 111, 0.3);
}

body.dark .notificacion--exito {
  background: rgba(40, 167, 69, 0.95);
  border-color: rgba(72, 255, 111, 0.4);
}

.notificacion--error {
  background: rgba(220, 53, 69, 0.9);
  border-color: rgba(255, 100, 120, 0.3);
}

body.dark .notificacion--error {
  background: rgba(220, 53, 69, 0.95);
  border-color: rgba(255, 100, 120, 0.4);
}

.notificacion--advertencia {
  background: rgba(255, 193, 7, 0.9);
  border-color: rgba(255, 230, 100, 0.3);
  color: #1d1b34;
}

body.dark .notificacion--advertencia {
  background: rgba(255, 193, 7, 0.95);
  border-color: rgba(255, 230, 100, 0.4);
  color: #000000;
}

/* Animación de la barra de progreso */
@keyframes progreso {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

/* Efecto al pasar el mouse */
.notificacion:hover {
  opacity: 0.95;
  transform: translateX(0) scale(1.02);
}

.notificacion:hover .notificacion__progreso::before {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .notificacion {
    max-width: calc(100% - 40px);
    right: 20px;
    left: 20px;
  }
}