/* ============================================================
   FOOTER v2 — cleaner layout, mobile accordions
   ============================================================ */

.footer {
  background: #080808;
  color: #fff;
  padding: 0 0 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 138, 0, 0.12);
  width: 100%;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 138, 0, 0.07) 0%, transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(229, 46, 113, 0.06) 0%, transparent 38%);
  pointer-events: none;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

/* ---------- CTA BAR ---------- */
.footer-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.1), rgba(229, 46, 113, 0.08));
  border: 1px solid rgba(255, 138, 0, 0.18);
}

.footer-cta-copy h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.footer-cta-copy p {
  color: #aaa;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 28rem;
}

.footer-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.footer-cta-btn--primary {
  background: linear-gradient(115deg, #ff8a00, #e52e71);
  color: #fff;
}

.footer-cta-btn--primary:hover {
  transform: translateY(-2px);
  color: #fff;
}

.footer-cta-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-cta-btn--ghost:hover {
  border-color: #25d366;
  color: #25d366;
}

/* ---------- MAIN GRID ---------- */
.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(150px, 0.75fr) minmax(280px, 1.5fr) minmax(180px, 0.85fr);
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
  align-items: start;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(255, 138, 0, 0.25));
}

.footer-brand-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(120deg, #ff8a00, #e52e71);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.footer-tagline {
  display: block;
  color: #888;
  font-size: 0.78rem;
  margin-top: 0.2rem;
  line-height: 1.4;
}

.footer-brand-desc {
  color: #aaa;
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 26rem;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-social-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.footer-social-icon:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 138, 0, 0.5);
  color: #ff8a00;
}

.footer-social-icon:nth-child(1):hover { background: rgba(225, 48, 108, 0.2); border-color: #e1306c; color: #e1306c; }
.footer-social-icon:nth-child(2):hover { background: rgba(10, 102, 194, 0.2); border-color: #0a66c2; color: #0a66c2; }
.footer-social-icon:nth-child(3):hover { background: rgba(37, 211, 102, 0.2); border-color: #25d366; color: #25d366; }
.footer-social-icon:nth-child(4):hover { background: rgba(24, 119, 242, 0.2); border-color: #1877f2; color: #1877f2; }
.footer-social-icon:nth-child(5):hover { background: rgba(255, 0, 0, 0.2); border-color: #ff0000; color: #ff0000; }

/* Column titles & accordions */
.footer-accordion {
  border: none;
}

.footer-accordion summary {
  list-style: none;
  cursor: default;
  pointer-events: none;
}

.footer-accordion summary::-webkit-details-marker {
  display: none;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff8a00;
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(255, 138, 0, 0.25);
  display: block;
  letter-spacing: 0.02em;
}

.footer-accordion--legal {
  margin-top: 1.75rem;
}

/* Link lists */
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-list li {
  margin-bottom: 0.55rem;
}

.footer-link-list a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.4;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-list a i {
  width: 16px;
  font-size: 0.82rem;
  color: #ff8a00;
  flex-shrink: 0;
}

.footer-link-list a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-link-list--compact a {
  font-size: 0.82rem;
  gap: 0;
}

.footer-link-list--compact li {
  margin-bottom: 0.4rem;
}

.footer-link-list--contact a {
  word-break: break-all;
}

/* Services grid */
.footer-services-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.25rem;
}

.footer-cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 0.5rem;
}

/* ---------- BOTTOM BAR ---------- */
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.82rem;
  color: #777;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.footer-bottom-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #ff8a00;
}

.footer-dot {
  color: #444;
  user-select: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }

  .footer-col-services {
    grid-column: 1 / -1;
  }

  .footer-services-cats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta-btns {
    width: 100%;
  }

  .footer-cta-btn {
    flex: 1;
    min-width: 140px;
  }

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

  .footer-col-brand {
    max-width: none;
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-accordion summary {
    cursor: pointer;
    pointer-events: auto;
    padding: 1rem 0;
    margin-bottom: 0;
    position: relative;
    padding-right: 1.75rem;
  }

  .footer-accordion summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 300;
    color: #ff8a00;
    transition: transform 0.25s ease;
  }

  .footer-accordion[open] summary::after {
    content: '−';
  }

  .footer-col-title {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer-accordion:not([open]) .footer-link-list,
  .footer-accordion:not([open]) .footer-services-cats {
    display: none;
  }

  .footer-accordion .footer-link-list,
  .footer-accordion .footer-services-cats {
    padding-bottom: 1rem;
  }

  .footer-accordion--legal {
    margin-top: 0;
  }

  .footer-services-cats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-services-cats {
    grid-template-columns: 1fr;
  }

  .footer-cta-btns {
    flex-direction: column;
  }

  .footer-cta-btn {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .footer-accordion .footer-link-list,
  .footer-accordion .footer-services-cats {
    display: block !important;
  }
}
