.bg-gris-bg { background-color: var(--gris-bg); }         /* :contentReference[oaicite:0]{index=0} */
.bg-itrio-alt { background-color: var(--azul-itrio-alt); } /* :contentReference[oaicite:1]{index=1} */

.btn-itrio {
  background-color: var(--azul-itrio);
  border: none;
  color: #fff;
}
.btn-itrio:hover {
  background-color: var(--azul-itrio-oscuro);
}

.contact-card {
  border-radius: 1rem;
  overflow: hidden;
}

.cta-pill-wrapper {
  position: absolute;
  top: 0;
  left: 60%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.cta-pill {
  display: inline-block;
  padding: .75rem 2rem;
  background-color: var(--azul-itrio);
  border-radius: 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  color: var(--azul-itrio);
}
.contact-icon-circle {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--azul-itrio);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.title-contacto{
  font-size: 2.5rem;
  color: var(--azul-itrio-oscuro);
  font-style: normal;
  font-weight: 700;    
  text-transform: uppercase;
}

.subtitle-contacto{
  font-size: 1.5rem;
  color: var(--azul-itrio-oscuro);
  font-style: normal;
  font-weight: 700;    
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .colbot{
      margin-top: 3rem;
  }
  .col-lg-6 {
      border-radius: 1rem;
  }
}
   
@media (max-width: 576px) {
  .cta-pill-wrapper {
      left: 50%;
      width: 85%;
  }
  .cta-pill {
      padding: .75rem 1.25rem;
      font-size: 1rem;
  }
  .title-contacto{
      font-size: 2rem;
  }
}

form {
  display: contents;
}

/* Estilos para mensajes de validación */
.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #28a745;
    font-weight: 500;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
    font-weight: 500;
}

/* Mejoras en los campos del formulario */
.form-control.is-valid,
.form-select.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    transition: all 0.3s ease;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    transition: all 0.3s ease;
}

/* Animaciones para los campos */
.form-control,
.form-select {
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    transform: translateY(-1px);
}

/* Estilos para el botón de carga */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mejoras en los iconos de validación */
.valid-feedback i,
.invalid-feedback i {
    margin-right: 5px;
    font-size: 0.9em;
}

/* Animación para mostrar/ocultar mensajes */
.valid-feedback,
.invalid-feedback {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras en el diseño responsivo */
@media (max-width: 768px) {
    .valid-feedback,
    .invalid-feedback {
        font-size: 0.8em;
    }
    
    .btn-loading::after {
        width: 14px;
        height: 14px;
    }
}

/* Estilos para notificaciones (si no se cargan dinámicamente) */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    animation: slideInRight 0.5s ease-out;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 500;
}

.notification-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.notification-error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
}

.notification-warning {
    background: linear-gradient(135deg, #ffc107, #f39c12);
    color: #333;
}

.notification-info {
    background: linear-gradient(135deg, #17a2b8, #3498db);
    color: white;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    margin-left: 10px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mejoras en el hover de los campos */
.form-control:hover,
.form-select:hover {
    border-color: #007bff;
}

/* Estilos para campos deshabilitados */
.form-control:disabled,
.form-select:disabled {
    background-color: #e9ecef;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mejoras en el botón principal */
.btn-itrio {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-itrio:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-itrio:active {
    transform: translateY(0);
}

/* Efecto de ripple para el botón */
.btn-itrio::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-itrio:active::before {
    width: 300px;
    height: 300px;
} 