/* ==========================================================================
   Zen Premium Luxury Footer (V2)
   ========================================================================== */

footer {
  background: var(--black-soft);
  padding: 60px 48px 40px;
  position: relative;
  z-index: 25;
  color: var(--white-soft);
}

/* CTA Banner inside footer */
.footer-promo-wrap {
  max-width: 1300px;
  margin: 0 auto 0;
}

.footer-promo-divider {
  height: 1px;
  background: var(--black-border);
  margin: 0 -48px;
}

/* Footer Top Editorial Banner */
.footer-editorial-banner {
  max-width: 1300px;
  margin: 60px auto 60px;
  border-bottom: 1px solid var(--black-border);
  padding-bottom: 50px;
}

.footer-hero-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white); /* Dark charcoal-teal */
  letter-spacing: -0.01em;
  margin: 0;
}

.footer-hero-title em {
  font-family: var(--script);
  font-style: italic;
  color: var(--cyan);
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
}

/* Footer Main Layout */
.footer-container {
  max-width: 1300px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.5fr;
  gap: 60px;
  align-items: flex-start;
}

/* Brand Section */
.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo-svg {
  width: 36px;
  height: 36px;
  transition: transform 0.6s var(--ease-luxury);
}

.footer-logo:hover .footer-logo-svg {
  transform: rotate(360deg);
}

.footer-logo-text {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
}

.footer-brand-tagline {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--white-muted);
  max-width: 320px;
  font-weight: 300;
}

/* Rotating Badge Stamp Animation */
.footer-badge-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-top: 10px;
}

.footer-badge-svg {
  width: 100%;
  height: 100%;
  animation: spinBadge 20s linear infinite;
}

@keyframes spinBadge {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.footer-badge-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

/* Columns General styling */
.footer-links-col {
  display: flex;
  flex-direction: column;
}

.footer-links-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  display: block;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-col ul a {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--white-soft); /* Clean dark slate-teal */
  text-decoration: none;
  font-weight: 300;
  display: inline-block;
  transition: color 0.3s var(--ease-luxury), transform 0.3s var(--ease-luxury);
}

.footer-links-col ul a:hover {
  color: var(--cyan);
  transform: translateX(6px);
}

/* Contact Specific list */
.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--white-soft);
  font-weight: 300;
}

.footer-contact-info li.align-start {
  align-items: flex-start;
}

.footer-contact-info .info-icon {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
}

.footer-contact-info li a {
  padding-left: 0 !important;
  transform: none !important;
}

.footer-contact-info li a:hover {
  color: var(--cyan) !important;
}

/* Newsletter Component */
.footer-newsletter-desc {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--white-muted);
  margin-bottom: 24px;
}

.footer-newsletter-form {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.footer-newsletter-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--black-border);
  padding: 12px 40px 12px 0;
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  transition: border-color 0.3s;
}

.footer-newsletter-input::placeholder {
  color: var(--white-muted);
  opacity: 0.6;
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--cyan);
}

.footer-newsletter-submit {
  position: absolute;
  right: 0;
  bottom: 8px;
  background: none;
  border: none;
  color: var(--white-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s var(--ease-luxury), transform 0.3s var(--ease-luxury);
  padding: 4px;
}

.footer-newsletter-submit:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-socials .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--black-border);
  color: var(--white-muted);
  background: var(--black-card);
  transition: all 0.4s var(--ease-luxury);
}

.footer-socials .social-icon:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(10, 139, 155, 0.08);
}

/* Divider & Bottom */
.footer-divider {
  max-width: 1300px;
  height: 1px;
  background: var(--black-border);
  margin: 0 auto 30px;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom .copyright,
.footer-bottom .powered {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--white-muted);
  font-weight: 300;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--white-soft);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s var(--ease-luxury);
}

.footer-bottom-links a:hover {
  color: var(--cyan);
}

.footer-bottom-links span {
  color: var(--black-border);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  footer {
    padding: 80px 32px 30px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
  }

  .footer-brand-section {
    grid-column: span 2;
    align-items: center;
    text-align: center;
  }

  .footer-brand-tagline {
    max-width: 480px;
  }

  .footer-badge-wrap {
    margin-top: 15px;
  }

  .footer-newsletter-form {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand-section {
    grid-column: span 1;
  }

  .footer-links-col {
    align-items: center;
    text-align: center;
  }

  .footer-contact-info li {
    justify-content: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
