﻿:root {
  --footer-bg: #231f20;
  --footer-primary: #16aaff;
  --footer-secondary: #80d0ff;
  --footer-text: #eef7ff;
  --footer-muted: rgba(238, 247, 255, 0.72);
  --footer-border: rgba(128, 208, 255, 0.2);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.site-footer a {
  color: var(--footer-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--footer-primary);
}

.footer-glow {
  position: absolute;
  inset: -45% -25% -35% -25%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(128, 208, 255, 0.55), transparent 65%),
    radial-gradient(ellipse at 80% 40%, rgba(22, 170, 255, 0.35), transparent 70%);
  filter: blur(60px);
  opacity: 0.85;
  pointer-events: none;
}

.footer-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.5rem, 6vw, 3.5rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.footer-hero {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-eyebrow {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--footer-secondary);
  font-weight: 600;
}

.footer-title {
  margin: 0;
  font-family: "BBH Sans Bartle", "Poppins", sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.05;
}

.footer-description {
  margin: 0;
  font-size: 1rem;
  color: var(--footer-muted);
  line-height: 1.7;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--footer-primary), var(--footer-secondary));
  color: #231f20;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-cta::after {
  content: '>';
  font-size: 1rem;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(22, 170, 255, 0.32);
}

.footer-cta.secondary {
  background: rgba(128, 208, 255, 0.12);
  color: var(--footer-secondary);
  border: 1px solid var(--footer-border);
}

.footer-cta.secondary::after {
  content: '';
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.f-col h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--footer-secondary);
}

.f-col p {
  margin: 0;
  line-height: 1.7;
  color: var(--footer-muted);
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 1rem;
}

.ig-item {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--footer-border);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(135deg, rgba(128, 208, 255, 0.18), rgba(22, 170, 255, 0.12));
}

.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  background: rgba(128, 208, 255, 0.12);
  color: var(--footer-secondary);
  border: 1px solid var(--footer-border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.btn-ig::after {
  content: '↗';
  font-size: 0.9rem;
}

.btn-ig:hover {
  transform: translateY(-2px);
  border-color: var(--footer-primary);
  color: var(--footer-primary);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.35rem;
}

.contact-list span {
  color: var(--footer-muted);
  font-weight: 600;
}

.legal {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--footer-muted);
  flex-wrap: wrap;
}

.footer-bar {
  position: relative;
  border-top: 1px solid var(--footer-border);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--footer-muted);
  backdrop-filter: blur(6px);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .f-col.about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer-hero {
    max-width: none;
  }

  .footer-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .footer-cta {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-wrap {
    padding: clamp(3rem, 8vw, 4rem) clamp(1.2rem, 5vw, 2rem);
  }
  
  .footer-title {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }
}

@media (max-width: 520px) {
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-description {
    font-size: 0.95rem;
  }
  
  .f-col h3 {
    font-size: 1rem;
  }
  
  .f-col p {
    font-size: 0.9rem;
  }
  
  .contact-list {
    font-size: 0.9rem;
  }
  
  .legal {
    font-size: 0.85rem;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .footer-wrap {
    padding: 2.5rem 1rem;
    gap: 2rem;
  }
  
  .footer-hero {
    gap: 1.2rem;
  }
  
  .footer-cta {
    padding: 0.75rem 1.3rem;
    font-size: 0.9rem;
  }
  
  .ig-grid {
    gap: 8px;
  }
}