/* ==========================================================================
   SECCIÓN DE CONTACTO Y FOOTER (TEMA CLARO ARQUITECTÓNICO & WHATSAPP FLOTANTE)
   ========================================================================== */

#contacto {
  padding: 5rem 0;
  background-color: #F8FAFC;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjeta de Información Directa */
.contact-info-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-top: 4px solid #091A36;
  border-radius: 16px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 10px 30px rgba(9, 26, 54, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #FFFFFF;
  border-color: #091A36;
  box-shadow: 0 4px 15px rgba(9, 26, 54, 0.06);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #091A36;
  color: #E2B857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #091A36;
  margin-bottom: 0.2rem;
}

.contact-details p,
.contact-details a {
  font-size: 0.9rem;
  color: #475569;
  text-decoration: none;
}

.contact-details a:hover {
  color: #091A36;
  font-weight: 600;
}

/* Tarjeta del Formulario */
.contact-form-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-top: 4px solid #E2B857;
  border-radius: 16px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 10px 30px rgba(9, 26, 54, 0.05);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #091A36;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  color: #091A36;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #091A36;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(9, 26, 54, 0.1);
}

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

/* Footer Corporativo Profundo */
.footer {
  background: #091A36;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-desc {
  color: #CBD5E1;
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 400px;
}

.footer-title {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #CBD5E1;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #94A3B8;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (FIJO EN ESQUINA INFERIOR DERECHA)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-4px);
  background-color: #1EBE5D;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #091A36;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid #E2B857;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

/* Responsive para Contacto */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .whatsapp-float-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}
