/* ===== Página de Contacto ===== */

/* HERO */
.contacto-hero {
  position: relative;
  background: radial-gradient(circle at 30% 20%, rgba(77, 208, 225, 0.12), transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(171, 71, 188, 0.10), transparent 50%),
              linear-gradient(180deg, #0a0e1a 0%, #050810 100%);
  padding-top: 80px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .contacto-hero {
    padding-top: 0;
  }
}

.contacto-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(77, 208, 225, 0.08), transparent 60%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--starlight);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--starlight);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(248, 247, 243, 0.8);
  font-weight: 600;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* SECCIÓN PRINCIPAL */
.contacto-main-section {
  background: linear-gradient(180deg, #f8f7f3 0%, #e8e7e3 100%);
  padding: 6rem 0;
}

/* FORMULARIO */
.form-container {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.form-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--areya-text);
  margin-bottom: 0.8rem;
}

.form-subtitle {
  color: var(--areya-muted);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.8rem;
}

.form-label {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--areya-text);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.form-label i {
  color: var(--liquid-cyan);
  font-size: 1.1rem;
}

.required {
  color: #ef4444;
  font-weight: 800;
}

.optional {
  color: var(--areya-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Form Controls */
.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--areya-text);
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  background: white;
  border-color: var(--liquid-cyan);
  box-shadow: 0 0 0 4px rgba(77, 208, 225, 0.1);
}

.form-control::placeholder {
  color: #adb5bd;
  font-weight: 500;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
  padding-right: 3rem;
}

/* Character Counter */
.char-counter {
  text-align: right;
  font-size: 0.85rem;
  color: var(--areya-muted);
  margin-top: 0.5rem;
  font-weight: 600;
}

#charCount {
  font-weight: 800;
  color: var(--liquid-cyan);
}

/* Checkbox */
.form-check {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.form-check-input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: var(--liquid-cyan);
  border-color: var(--liquid-cyan);
}

.form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(77, 208, 225, 0.1);
}

.form-check-label {
  font-weight: 600;
  color: var(--areya-text);
  font-size: 0.95rem;
  line-height: 1.6;
  cursor: pointer;
}

.form-check-label a {
  color: var(--liquid-cyan);
  text-decoration: underline;
  font-weight: 700;
}

/* Validation */
.form-control.is-invalid {
  border-color: #ef4444;
}

.form-control.is-valid {
  border-color: #22c55e;
}

.invalid-feedback {
  display: none;
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* Form Message */
.form-message {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid #22c55e;
  color: #16a34a;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
  color: #dc2626;
}

/* Button Loading State */
.btn-loading {
  display: inline-flex;
  align-items: center;
}

/* INFO CARDS */
.info-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.info-header i {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--liquid-cyan), var(--liquid-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-header h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--areya-text);
  margin: 0;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(77, 208, 225, 0.1), rgba(171, 71, 188, 0.1));
  border: 2px solid rgba(77, 208, 225, 0.3);
  font-size: 1.3rem;
  color: var(--liquid-cyan);
}

.info-content {
  flex: 1;
}

.info-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--areya-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.info-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--areya-text);
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.info-value:hover {
  color: var(--liquid-cyan);
}

/* Social */
.info-social {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(0, 0, 0, 0.06);
}

.social-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--areya-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(77, 208, 225, 0.1), rgba(171, 71, 188, 0.1));
  border: 2px solid rgba(77, 208, 225, 0.3);
  color: var(--liquid-cyan);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-btn:hover {
  background: linear-gradient(135deg, var(--liquid-cyan), var(--liquid-purple));
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}

/* Highlight Card */
.info-card--highlight {
  background: linear-gradient(135deg, rgba(77, 208, 225, 0.1), rgba(171, 71, 188, 0.08));
  border: 2px solid rgba(77, 208, 225, 0.3);
  text-align: center;
}

.info-highlight-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--liquid-cyan), var(--liquid-purple));
  color: white;
  font-size: 2rem;
}

.info-highlight-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--areya-text);
  margin-bottom: 1rem;
}

.info-highlight-text {
  color: var(--areya-muted);
  font-weight: 600;
  line-height: 1.7;
  margin: 0;
}

/* Secondary Card */
.info-card--secondary {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
}

.info-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--areya-text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--areya-text);
  line-height: 1.6;
}

.info-list i {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #22c55e;
  margin-top: 0.1rem;
}

/* FAQ RÁPIDO */
.faq-contacto-section {
  background-image: url("../img/fondos/img1.webp");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  color: var(--starlight);
  overflow: hidden;
}

@media (max-width: 991.98px) { 
  .faq-contacto-section { background-attachment: scroll; } 
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--liquid-cyan);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: white;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: white;
  font-weight: 600;
}

.faq-quick-card {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.faq-quick-card:hover {
  background: white;
  border-color: rgba(77, 208, 225, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(77, 208, 225, 0.1);
}

.faq-quick-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.faq-quick-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--areya-text);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.faq-quick-text {
  color: var(--areya-muted);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

.faq-footer-text {
  font-size: 1.15rem;
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .form-container {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .form-container {
    padding: 1.5rem;
  }

  .form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* ANIMACIONES */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.form-control.is-invalid {
  animation: shake 0.5s;
}

/* REDUCE MOTION */
@media (prefers-reduced-motion: reduce) {
  .form-control.is-invalid {
    animation: none;
  }
}