/**
 * YAZ Theme — Footer
 */

.yaz-footer-luxe {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: auto;
  background:
    linear-gradient(
      168deg,
      color-mix(in srgb, var(--yaz-heading) 96%, #2a302f) 0%,
      var(--yaz-footer-bg, var(--yaz-heading)) 45%,
      color-mix(in srgb, var(--yaz-heading) 88%, var(--yaz-sage)) 100%
    );
  color: var(--yaz-bg);
}

.yaz-footer__topline {
  height: 3px;
  background: var(--yaz-gradient-nav);
  opacity: 0.9;
}

.yaz-footer__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 50% at 10% 0%, color-mix(in srgb, var(--yaz-blush) 14%, transparent), transparent 60%),
    radial-gradient(ellipse 36% 44% at 90% 20%, color-mix(in srgb, var(--yaz-sage) 16%, transparent), transparent 58%);
}

.yaz-footer-luxe .yaz-footer-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.25rem, 3vw, 1.75rem);
}

.yaz-footer-luxe .yaz-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid color-mix(in srgb, var(--yaz-white) 12%, transparent);
}

.yaz-footer-luxe .yaz-footer-site-title {
  margin: 0 0 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  line-height: 1.1;
}

.yaz-footer-luxe .yaz-footer-site-title a {
  color: var(--yaz-white);
  text-decoration: none;
}

.yaz-footer-luxe .yaz-footer-tagline {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yaz-footer-accent, var(--yaz-sage));
}

.yaz-footer-luxe .yaz-footer-about {
  margin: 0 0 1.25rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--yaz-white) 72%, transparent);
}

.yaz-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.yaz-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: 2.125rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--yaz-white);
  background: color-mix(in srgb, var(--yaz-white) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--yaz-white) 18%, transparent);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.yaz-footer-social a:hover {
  background: color-mix(in srgb, var(--yaz-accent) 35%, transparent);
  border-color: color-mix(in srgb, var(--yaz-accent) 55%, transparent);
  transform: translateY(-1px);
}

.yaz-footer-luxe h4 {
  margin: 0 0 1rem;
  font-family: 'Tajawal', sans-serif;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yaz-footer-accent, var(--yaz-sage));
}

.yaz-footer-luxe .yaz-menu-footer {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.yaz-footer-luxe .yaz-menu-footer a {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--yaz-white) 78%, transparent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.yaz-footer-luxe .yaz-menu-footer a:hover {
  color: var(--yaz-blush);
}

.yaz-footer-luxe .yaz-footer-contact {
  font-size: 0.875rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--yaz-white) 72%, transparent);
}

.yaz-footer-luxe .yaz-footer-bottom {
  padding-top: 1.25rem;
  text-align: center;
}

.yaz-footer-luxe .yaz-footer-bottom p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--yaz-white) 52%, transparent);
}

@media (max-width: 860px) {
  .yaz-footer-luxe .yaz-footer-grid {
    grid-template-columns: 1fr;
  }
}
