/* ==========================================================================
   ESTILOS ESPECÍFICOS - PÁGINA DE CONTACTO
   ========================================================================== */
/* Hero Section - Banner de Contacto */
   .contacto-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 30px;
    overflow: hidden;
    color: #fff;
  }
  
  .contacto-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 8s ease;
  }
  
  .contacto-hero:hover .contacto-hero-image {
    transform: scale(1.05);
  }
  
  .contacto-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35));
  z-index: 2;
}
  
  .contacto-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  h1 {
    color: white !important;
  } 
  
  .contacto-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .contacto-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  /* Sección: Información de Contacto
     ========================================================================== */
  .contacto-info {
    background-color: #fff;
    padding: 80px 0;
  }
  
  .contacto-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
  }
  
  .contacto-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-top: 4px solid var(--primary-color);
  }
  
  .contacto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  .contacto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: var(--primary-color);
    opacity: 0.05;
    transition: height 0.3s ease;
    z-index: 0;
    border-radius: 6px 6px 0 0;
  }
  
  .contacto-card:hover::before {
    height: 100%;
    border-radius: 10px;
  }
  
  .contacto-card-icon {
    background-color: var(--primary-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
  }
  
  .contacto-card-content {
    position: relative;
    z-index: 1;
  }
  
  .contacto-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 10px;
  }
  
  .contacto-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
  }
  
  .contacto-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .contacto-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .contacto-card ul li:last-child {
    margin-bottom: 0;
  }
  
  .contacto-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
  }
  
  .contacto-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contacto-card a:hover {
    color: var(--primary-color);
  }
  
  /* Sección: Formulario de Contacto
     ========================================================================== */
  .contacto-form {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
  }
  
  .contacto-form::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    top: -100px;
    right: -100px;
  }
  
  .contacto-form::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.03;
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
  }
  
  #contact-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .form-status {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: none;
  }
  
  .form-status.success {
    background-color: rgba(0, 128, 0, 0.1);
    color: #006400;
    border: 1px solid rgba(0, 128, 0, 0.2);
    display: block;
  }
  
  .form-status.error {
    background-color: rgba(255, 0, 0, 0.1);
    color: #8b0000;
    border: 1px solid rgba(255, 0, 0, 0.2);
    display: block;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--heading-color);
  }
  
  .required {
    color: #e74c3c;
    margin-left: 3px;
  }
  
  .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .input-icon {
    position: absolute;
    left: 15px;
    color: #888;
    transition: color 0.3s ease;
  }
  
  .textarea-icon {
    top: 15px;
  }
  
  #contact-form input,
  #contact-form textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
  }
  
  #contact-form input:focus,
  #contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
  }
  
  #contact-form input:focus + .input-icon,
  #contact-form textarea:focus + .input-icon {
    color: var(--primary-color);
  }
  
  .captcha {
    background-color: rgba(var(--primary-color-rgb), 0.03);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
  }
  
  .captcha #captcha-question {
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .form-buttons {
    display: flex;
    justify-content: flex-end;
  }
  
  .btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-size: 1rem;
  }
  
  .btn i {
    margin-right: 8px;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: #fff;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
  }
  
  .btn-primary:active {
    transform: translateY(0);
  }
  
  /* Animaciones
     ========================================================================== */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .slide-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Media Queries
     ========================================================================== */
  @media (max-width: 992px) {
    .contacto-hero {
      height: 40vh;
    }
    
    .contacto-hero-content h1 {
      font-size: 2.8rem;
    }
  }
  
  @media (max-width: 768px) {
    .contacto-hero {
      height: 30vh;
    }
    
    .contacto-hero-content h1 {
      font-size: 2.4rem;
    }
    
    .contacto-hero-content p {
      font-size: 1rem;
    }
    
    #contact-form {
      padding: 30px;
    }
    
    .contacto-info, .contacto-form {
      padding: 60px 0;
    }
  }
  
  @media (max-width: 576px) {
    .contacto-hero-content h1 {
      font-size: 2rem;
    }
    
    #contact-form {
      padding: 20px;
    }
    
    .form-buttons {
      justify-content: center;
    }
    
    .btn {
      width: 100%;
    }
  }

/* Estilos para las imágenes de perfil 
  ========================================================================== */
.contacto-card-icon.profile-image {
  background-color: transparent;
  overflow: hidden;
  padding: 0;
  width: 80px;
  height: 80px;
  border: 3px solid var(--primary-color);
  position: relative;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Efecto hover en la imagen */
.contacto-card:hover .profile-photo {
  transform: scale(1.1);
}

/* Efecto de brillo */
.contacto-card-icon.profile-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.75s ease;
}

.contacto-card:hover .contacto-card-icon.profile-image::after {
  left: 100%;
}

/* Modificación del efecto "pulse" para imágenes */
@keyframes pulse-image {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
  }
}

.contacto-card-icon.profile-image.pulse {
  animation: pulse-image 1.5s infinite;
}