/* ==========================================================================
   FOOTER SECTION STYLES — HARMONIOUS, PROPORTIONATE & NEXT-GEN TECH AESTHETIC
   ========================================================================== */

.site-footer {
  background-color: #F8FAFC !important;
  color: #475569 !important;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid #E2E8F0 !important;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient backdrop illumination */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 220px;
  background: radial-gradient(ellipse at top, rgba(255, 122, 0, 0.05) 0%, rgba(37, 99, 235, 0.03) 50%, transparent 80%);
  pointer-events: none;
}

/* Four-Column Proportional Grid */
.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem 2rem;
    align-items: stretch;
  }

  .footer-col {
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.3fr 1.05fr 1.15fr 1.2fr;
    gap: 2.75rem;
    align-items: stretch;
  }
}

/* --------------------------------------------------------------------------
   COLUMN 1: BRAND IDENTITY & SOCIAL CONNECT
   -------------------------------------------------------------------------- */
.brand-col .footer-logo {
  display: block;
  margin-bottom: 1.15rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-logo-link:hover {
  transform: translateY(-2px) scale(1.03);
  opacity: 1;
}

.footer-brand-logo-img {
  display: block;
  width: 100%;
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569 !important;
  margin-bottom: 1rem;
}

.footer-location-brief {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #334155 !important;
  margin-bottom: 1.25rem;
}

.footer-icon {
  width: 15px;
  height: 15px;
  color: var(--color-brand, #FF7A00);
  flex-shrink: 0;
}

/* Social Media Icons (Integrated in Brand Column) */
.footer-social-section {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .brand-col .footer-social-section {
    margin-top: auto;
    padding-top: 1.25rem;
  }
}

.footer-social-heading {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748B !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  flex-shrink: 0;
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.22s ease, fill 0.22s ease;
}

.footer-social-btn.social-whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.5);
  color: #25D366;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.footer-social-btn.social-facebook:hover {
  background: rgba(24, 119, 242, 0.15);
  border-color: rgba(24, 119, 242, 0.5);
  color: #1877F2;
  box-shadow: 0 0 14px rgba(24, 119, 242, 0.35);
  transform: translateY(-2px);
}

.footer-social-btn.social-instagram:hover {
  background: rgba(225, 48, 108, 0.15);
  border-color: rgba(225, 48, 108, 0.5);
  color: #E1306C;
  box-shadow: 0 0 14px rgba(225, 48, 108, 0.35);
  transform: translateY(-2px);
}

.footer-social-btn.is-unlinked {
  cursor: default;
  opacity: 0.75;
}

.footer-social-btn.is-unlinked.social-linkedin:hover {
  background: rgba(10, 102, 194, 0.15);
  border-color: rgba(10, 102, 194, 0.5);
  color: #0A66C2;
  box-shadow: 0 0 14px rgba(10, 102, 194, 0.35);
  transform: translateY(-2px);
  opacity: 1;
}

.footer-social-btn.social-youtube:hover,
.footer-social-btn.is-unlinked.social-youtube:hover {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.5);
  color: #FF0000;
  box-shadow: 0 0 14px rgba(255, 0, 0, 0.35);
  transform: translateY(-2px);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   COLUMN HEADINGS & NAVIGATION LINKS
   -------------------------------------------------------------------------- */
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A !important;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
  position: relative;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  color: #475569 !important;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.45;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-block;
}

.footer-nav a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   COLUMN 4: CONTACT & VISIT
   -------------------------------------------------------------------------- */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-list li {
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-contact-list strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1E293B !important;
  margin-bottom: 0.15rem;
}

.footer-cta-li {
  margin-top: 0.65rem;
}

@media (min-width: 640px) {
  .footer-contact-list {
    flex: 1;
  }

  .footer-cta-li {
    margin-top: auto;
    padding-top: 0.85rem;
  }
}

.footer-cta-li .btn {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  justify-content: center;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   BOTTOM FOOTER: DISCLAIMER & COPYRIGHT
   -------------------------------------------------------------------------- */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
}

.footer-disclaimer p {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.disclaimer-mobile {
  display: none;
}

.footer-disclaimer strong {
  color: #94A3B8;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.footer-copyright p,
.footer-bottom-meta p {
  margin: 0;
  font-size: 0.78rem;
  color: #64748B !important;
}

  .footer-legal-links {
    gap: 0.45rem;
  }

  .footer-legal-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.78rem;
  color: #64748B !important;
  cursor: pointer;
  text-decoration: underline;
}
}

@media (max-width: 440px) {
  .footer-contact-list {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }
}

@media (max-width: 360px) {
  .site-footer {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .footer-top-grid {
    gap: 1.25rem 0.75rem;
  }

  .footer-heading {
    font-size: 0.84rem;
  }

  .footer-nav a {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   LEGAL LINKS & MODALS (PRIVACY POLICY & TERMS OF SERVICE)
   ========================================================================== */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-legal-link {
  background: none;
  border: none;
  color: #64748B;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--color-brand, #FF7A00);
}

.legal-sep {
  color: #475569;
  font-size: 0.75rem;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-content {
  position: relative;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.65;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 122, 0, 0.1);
}

.legal-modal-content h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.legal-modal-content ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.legal-modal-content li {
  margin-bottom: 0.5rem;
}

.legal-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.legal-modal-close:hover {
  background: #FF7A00;
  border-color: #FF7A00;
}

