/* ============================================
   VERTEX EDUCATION - Footer Styles
   Professional 6-column layout
   Deep Forest Theme
   ============================================ */

.footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-mid) 100%);
  color: #FFFFFF;
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.3fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

/* Brand Section */
.footer__brand {
  max-width: 320px;
}

.footer__logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.footer__logo span {
  color: var(--accent);
}

.footer__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Footer Title */
.footer__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

/* Links */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  display: inline-block;
}

.footer__link:hover {
  color: var(--accent-light);
}

.footer__link--all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

.footer__link--all:hover {
  color: var(--accent-light);
}

.footer__link--all svg {
  transition: transform 0.2s;
}

.footer__link--all:hover svg {
  transform: translateX(3px);
}

/* Contact Section */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--accent-light);
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer__contact-item a:hover {
  color: var(--accent-light);
}

/* Newsletter */
.footer__newsletter-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer__newsletter {
  display: flex;
  gap: 8px;
}

.footer__newsletter input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s var(--ease);
}

.footer__newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer__newsletter input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  outline: none;
}

.footer__newsletter button {
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__newsletter button:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Social Icons */
.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s var(--ease);
}

.footer__social:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

/* Divider */
.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Legal Links */
.footer__legal {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer__legal-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer__legal-link:hover {
  color: var(--accent-light);
}

.footer__legal-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 4px;
}

/* Payment Icons */
.footer__payment {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__payment-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.footer__payment svg {
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.footer__payment svg:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .footer__brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 32px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  .footer__legal,
  .footer__payment {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__newsletter {
    flex-direction: column;
  }

  .footer__newsletter button {
    width: 100%;
  }
}
