* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #f5f0ff;
}

/* ── FOOTER ── */
.footer {
  background: linear-gradient(135deg, #4C00B0 0%, #260058 100%);
  padding: 60px 60px 40px;
  color: #f5f0ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 1160px;
  margin: auto;
}

/* ── BRAND COL ── */
.footer-logo {
  width: 90px;
  height: 90px;
  background: rgba(168, 85, 247, 0.35);
  border-radius: 50%;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #f5f0ff;
  border: 2px solid rgba(168, 85, 247, 0.5);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 280px;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background .2s, border-color .2s;
  cursor: pointer;
}

.footer-social:hover {
  background: #5a42f7ce;
  border-color: rgba(168, 85, 247, 0.8);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── LINK COLS ── */
.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5f0ff;
  margin-bottom: 22px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #f5f0ff;
  text-decoration: none;
  transition: color .18s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: ease-out 0.3s;
}

.footer-col ul li a::before {
  content: '>';
  color: #A99CFD;
  font-weight: 600;
  font-size: 13px;
}

.footer-col ul li a:hover {
  color: #A99CFD;
  letter-spacing: 0.1rem;
}

/* ── BOTTOM BAR ── */
.footer-bottom {
  background: #f0eaff;
  padding: 16px 60px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1360px;
  margin: 0 auto;
}

.footer-bottom-copy {
  text-align: right;
  font-size: 13.5px;
  color: #3b0764;
}

.footer-bottom-design {
  text-align: right;
  font-size: 13.5px;
  color: #3b0764;
}

.footer-bottom-copy span {
  font-weight: 700;
  transition: ease-out 0.3s;
}

.footer-bottom-copy span:hover {
  color: #8572fd;
  cursor: pointer;
}

.footer-bottom-design span {
  font-weight: 700;
  transition: ease-out 0.3s;
}

.footer-bottom-design span:hover {
  color: #8572fd;
  cursor: pointer;
}

/* ── RESPONSIVE ── */

/* Desktop fix: 1100px+ */
/* @media (min-width: 1101px) {
  .footer {
    padding: 60px 60px 40px;
    display: flex;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1160px;
  }
} */

/* Tablet landscape: 901px – 1100px */
@media (max-width: 1100px) and (min-width: 851px) {
  .footer {
    padding: 52px 36px 36px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 24px;
  }
}

/* Tablet portrait: 561px – 900px
     Row 1: brand (centered, full width)
     Row 2: Quick Links + Navigations + Policies  */
@media (max-width: 850px) and (min-width: 538px) {
  .footer {
    padding: 48px 32px 32px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px 28px;
  }

  /* Brand spans all 3 columns, centered */
  .footer-brand {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    width: 80px;
    height: 80px;
    font-size: 30px;
    margin-bottom: 18px;
  }

  .footer-desc {
    max-width: 480px;
    margin-bottom: 20px;
    font-size: 14px;
  }

  .footer-socials {
    justify-content: center;
  }

  /* Quick Links — row 2 col 1 */
  .footer-col:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
  }

  /* Navigations — row 2 col 2 */
  .footer-col:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
  }

  /* Policies — row 2 col 3 */
  .footer-col:nth-of-type(3) {
    grid-column: 3;
    grid-row: 2;
  }

  .footer-bottom {
    padding: 14px 32px;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
  }
}

/* Mobile: ≤ 560px — single column */
@media (max-width: 537px) {
  .footer {
    padding: 40px 20px 28px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 32px 20px;
  }

  /* Brand — row 1, full width, centered */
  .footer-brand {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Quick Links — row 2 col 1 */
  .footer-grid>.footer-col:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  /* Navigations — row 2 col 2 */
  .footer-grid>.footer-col:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  /* Policies — row 3, full width */
  .footer-grid>.footer-col:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .footer-logo {
    width: 64px;
    height: 64px;
    font-size: 24px;
    margin-bottom: 16px;
  }

  .footer-desc {
    max-width: 100%;
    font-size: 13.5px;
    margin-bottom: 18px;
  }

  .footer-socials {
    justify-content: center;
    gap: 10px;
  }

  .footer-social {
    width: 36px;
    height: 36px;
  }

  .footer-social svg {
    width: 16px;
    height: 16px;
  }

  .footer-col-title {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .footer-col ul li a {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 13px 20px;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
  }

  .footer-bottom-copy {
    font-size: 12.5px;
    text-align: center;
    line-height: 1.6;
  }

  .footer-bottom-design {
    font-size: 12.5px;
    text-align: center;
    line-height: 1.6;
  }
}