/* --- Sección Principal --- */

.contact-section {
  position: relative;
  width: 100%;
  padding: 120px 0;
  background-color: #050505;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.glow-orb-contact {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(74, 144, 226, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.contact-container {
  position: relative;
  z-index: 1;
}

/* --- Tipografía General --- */

.pre-title-contact {
  display: inline-block;
  color: #7ca317;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.hero-title-contact {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-subtitle-contact {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle-contact strong {
  color: #ffffff;
}

.microcopy-contact {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.check-icon {
  color: #4a90e2;
  margin-right: 5px;
}

.dot-separator {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.2);
}

/* --- Paneles de Cristal --- */

.glass-form-panel, .glass-contact-info {
  background: rgba(20, 25, 35, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.2);
  border-left-color: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
  height: 100%;
}

/* --- Formulario --- */

.form-title, .info-title {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.form-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.form-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.required {
  color: #b0d552;
}

.custom-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.custom-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(159,203,45,0.45);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.2);
  color: #ffffff;
  outline: none;
}

.custom-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.custom-input option {
  background-color: #141923;
  color: #ffffff;
}

select.custom-input[multiple] {
  padding: 10px;
}

select.custom-input[multiple] option {
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 2px;
}

select.custom-input[multiple] option:checked {
  background-color: rgba(74, 144, 226, 0.4);
}

.file-input {
  padding: 10px 16px;
}

.file-input::file-selector-button {
  background: rgba(74, 144, 226, 0.2);
  border: 1px solid rgba(74, 144, 226, 0.4);
  color: #ffffff;
  border-radius: 6px;
  padding: 6px 12px;
  margin-right: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.file-input::file-selector-button:hover {
  background: rgba(74, 144, 226, 0.4);
}

.form-hint {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin-top: 5px;
  display: block;
}

/* Checkboxes personalizados */

.custom-checkbox {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.custom-checkbox .form-check-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.custom-checkbox .form-check-input:checked {
  background-color: #4a90e2;
  border-color: #4a90e2;
}

.custom-checkbox .form-check-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
  cursor: pointer;
}

.privacy-link {
  color: #b0d552;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #ffffff;
}

/* Botón de Envío */

.btn-submit-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, #b0d552 0%, #1f6d0a 100%);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(148,235,37,0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-submit-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-submit-contact:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(159,203,45,0.45), 0 0 20px rgba(74, 144, 226, 0.4);
}

.btn-submit-contact:hover::before {
  left: 100%;
}

.btn-submit-contact:active {
  transform: translateY(0) scale(0.98);
}

.form-microcopy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  text-align: center;
  margin-top: 15px;
  line-height: 1.5;
}

/* Mensajes de éxito y error */

.form-message {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.success-message {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #ffffff;
}

.error-message {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ffffff;
}

.form-message h4 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.form-message a {
  color: #4a90e2;
  text-decoration: underline;
}

/* --- Columna de Información de Contacto --- */

.info-title {
  margin-bottom: 30px;
}

.info-block {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74,144,226,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.info-icon-box.whatsapp-icon {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
}

.info-block:hover .info-icon-box {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.2);
}

.info-block:hover .info-icon-box.whatsapp-icon {
  box-shadow: 0 0 15px rgba(37,211,102,0.2);
}

.info-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-content h4 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.info-content p {
  margin-bottom: 5px;
}

.info-content p a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.info-content p a:hover {
  color: rgba(178,238,102,0.6);
}

.info-detail {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
}

/* Redes Sociales */

.social-block {
  flex-direction: column;
  gap: 15px;
}

.social-block h4 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.4);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon-box {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.social-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- FAQ Section --- */

.section-title-faq {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}

.section-subtitle-faq {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.faq-container {
  margin-top: 40px;
}

.faq-item {
  background: rgba(20, 25, 35, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-item:hover {
  border-color: rgba(74, 144, 226, 0.3);
  background: rgba(30, 40, 55, 0.5);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
  color: #9cc62d;
}

.faq-chevron {
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.4s ease, color 0.3s ease;
  display: flex;
  align-items: center;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #4a90e2;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease;
  padding: 0 25px;
}

.faq-body p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  padding-bottom: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}

.faq-item.active .faq-body {
  max-height: 300px;
}

/* Placeholders temporales para iconos */

.icon-placeholder {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

/* --- Responsive --- */

@media (max-width: 991px) {
  .glass-form-panel, .glass-contact-info {
    padding: 30px 20px;
  }
}

@media (max-width: 991px) {
  .hero-title-contact {
    font-size: 2.5rem;
  }
}

@media (max-width: 991px) {
  .section-title-faq {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .hero-title-contact {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-subtitle-contact {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .info-block {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .social-links {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .social-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .faq-header {
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
  }
}

