/* Footer-specific styles for ELLWARTD SEA ESTATE */

.site-footer {
  background-color: #020617;
  color: #e5e7eb;
}

.footer-main {
  display: grid;
  gap: var(--space-32);
}

@media (min-width: 900px) {
  .footer-main {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: flex-start;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.footer-logo-initials {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-logo-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-description {
  font-size: 0.9rem;
  color: #e5e7eb;
  max-width: 28rem;
}

.footer-contact {
  font-size: 0.85rem;
  color: #cbd5f5;
}

.footer-contact a {
  color: #bfdbfe;
}

.footer-contact a:hover {
  color: #e0f2fe;
}

.footer-links-grid {
  display: grid;
  gap: var(--space-24);
}

@media (min-width: 640px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-heading {
  font-size: 0.95rem;
  margin-bottom: var(--space-12);
  color: white;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li + li {
  margin-top: 0.35rem;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.footer-links-list a:hover,
.footer-links-list a:focus-visible {
  color: #bfdbfe;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  margin-top: var(--space-32);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: var(--space-16);
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copyright,
.footer-powered {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  background-color: #020617;
  color: #e5e7eb;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.45);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-slow), opacity var(--transition-slow),
    visibility var(--transition-slow);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding-block: var(--space-16);
}

@media (min-width: 768px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-24);
  }
}

.cookie-banner-title {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.cookie-banner-description {
  font-size: 0.85rem;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.cookie-banner-link {
  font-size: 0.8rem;
  color: #bfdbfe;
  text-decoration: underline;
}

.cookie-banner-link:hover {
  color: #e0f2fe;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

.cookie-btn {
  font-size: 0.8rem;
  padding-inline: 1rem;
}

.cookie-btn-reject {
  background-color: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.cookie-btn-reject:hover {
  background-color: rgba(148, 163, 184, 0.15);
}
