/* ==========================================
   GLOBAL FOOTER (SIGNATURE LUXURY DARK - EXACT REFERENCE MATCH)
   Elite Serenity Infra
   ========================================== */
.footer,
.footer-dark-buffer {
  background-color: #06131c;
  color: #f1f5f9;
  padding: 48px 0 36px 0;
  font-size: 0.9rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  overflow: hidden;
  position: relative;
}

/* Subtle architectural ambient aura */
.footer-dark-buffer::before {
  content: '';
  position: absolute;
  top: -150px;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 146, 43, 0.08) 0%, rgba(3, 54, 34, 0) 70%);
  pointer-events: none;
}

/* Top Row: Brand Logo | Social Circles */
.footer-ref-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  gap: 24px;
}

.footer-ref-logo-wrap {
  display: flex;
  align-items: center;
}

.footer-ref-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 8px 18px 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-ref-logo-link:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.4);
}

.footer-brand-logo {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: none;
  transition: transform 0.25s ease;
}

.footer-ref-logo-link:hover .footer-brand-logo {
  transform: scale(1.02);
}

.footer-ref-monogram {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #e4a73b;
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer-ref-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-ref-brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.12em;
}

.footer-ref-brand-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e4a73b;
  letter-spacing: 0.24em;
}

.footer-ref-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  flex-wrap: wrap;
}

.footer-ref-nav a {
  color: #d1dbe5;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-ref-nav a:hover {
  color: #e4a73b;
}

.footer-ref-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-ref-social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.2px solid rgba(228, 167, 59, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-ref-social-circle:hover {
  border-color: #e4a73b;
  background: rgba(228, 167, 59, 0.15);
  color: #e4a73b;
  transform: translateY(-2px);
}

.footer-ref-social-circle svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-ref-divider {
  height: 1px;
  width: 100%;
  background: rgba(228, 167, 59, 0.2);
  margin: 16px 0 36px 0;
}

/* Reference Image Bottom Row: Copyright | Legal Links | Tagline */
.footer-ref-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #8c9ea8;
}

.footer-ref-copy {
  color: #8c9ea8;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.footer-ref-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-ref-legal-links a {
  color: #a4b5bf;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-ref-legal-links a:hover {
  color: #e4a73b;
}

.footer-ref-legal-links .sep {
  color: rgba(228, 167, 59, 0.4);
}

.footer-ref-tagline {
  color: #e4a73b;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.footer-buffer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 36px;
}

.footer-buffer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

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

.footer-buffer-links a {
  color: #9eb5aa;
  text-decoration: none;
  font-size: 0.885rem;
  font-weight: 400;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-buffer-links a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* Middle Highlight Bar: Footer Private Invitation / Newsletter */
.footer-buffer-middle {
  border-top: 1px solid rgba(196, 146, 43, 0.18);
  padding: 36px 0 28px 0;
}

.footer-signup-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-signup-text {
  max-width: 560px;
}

.footer-signup-title {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.footer-signup-subtitle {
  color: #9eb5aa;
  font-size: 0.925rem;
  line-height: 1.5;
}

.footer-signup-form {
  display: flex;
  align-items: center;
  background: #032b1c;
  border: 1.5px solid rgba(196, 146, 43, 0.35);
  border-radius: 9999px;
  padding: 4px 4px 4px 20px;
  max-width: 490px;
  width: 100%;
  transition: all 0.2s ease;
}

.footer-signup-form:hover {
  border-color: var(--accent);
}

.footer-signup-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 146, 43, 0.25), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.footer-signup-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-family: inherit;
  min-width: 0;
  padding: 10px 0;
}

.footer-signup-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-signup-btn {
  background: linear-gradient(135deg, #d3a035 0%, var(--accent) 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.925rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(196, 146, 43, 0.3);
}

.footer-signup-btn:hover {
  background: linear-gradient(135deg, #e0ad42 0%, #ad7d1e 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(196, 146, 43, 0.45);
}

/* Bottom Bar */
.footer-buffer-bottom {
  border-top: 1px solid rgba(196, 146, 43, 0.18);
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-buffer-logo-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.footer-logo-link:hover .footer-logo-badge {
  transform: translateY(-2px);
}

.footer-logo-buffer {
  height: 64px;
  max-height: 70px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.footer-tagline {
  color: #7d968b;
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-buffer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer-buffer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(196, 146, 43, 0.25);
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: default;
  user-select: none;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

.footer-social-icon:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-legal-row {
  color: #7d968b;
  font-size: 0.825rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-legal-row a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-row a:hover {
  color: var(--accent);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-buffer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .footer-ref-nav {
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .footer-ref-top-row {
    gap: 20px;
  }
  .footer-ref-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .footer,
  .footer-dark-buffer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 38px 0 28px 0;
  }
  .footer-ref-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-ref-socials {
    width: 100%;
    justify-content: flex-start;
  }
  .footer-ref-logo-link {
    padding: 6px 14px;
    border-radius: 10px;
  }
  .footer-brand-logo {
    height: 40px;
    max-width: 190px;
  }
  .footer-buffer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-buffer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-buffer-right {
    align-items: flex-start;
    width: 100%;
  }
}
