/* ==========================================================================
   MODERN DARK BRUTALIST FOOTER — EXCELIUM
   Matching the black navbar (ek-*) design system
   ========================================================================== */

/* ─── Variables (shared with navbar) ─── */
.ek-footer {
  --ek-bg:          #09090b;
  --ek-bg-col:      #0e0e10;
  --ek-border:      rgba(255,255,255,0.10);
  --ek-text-main:   #ffffff;
  --ek-text-muted:  #71717a;
  --ek-text-link:   #a1a1aa;
  --ek-font:        'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  position: relative;
  background-color: var(--ek-bg);
  font-family: var(--ek-font);
  overflow: hidden;
  border-top: 1px solid var(--ek-border);
}

/* ─── Container ─── */
.ek-footer-container {
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 768px) {
  .ek-footer-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ─── Body (widget columns) ─── */
.ek-footer-body {
  padding-top: 72px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.ek-footer-row {
  border-top: 1px solid var(--ek-border);
}

/* ─── Column dividers ─── */
.ek-footer-col {
  border-right: 1px solid var(--ek-border);
  padding: 48px 36px 48px 36px;
}

.ek-footer-col:first-child {
  padding-left: 0;
}

.ek-footer-col:last-child {
  border-right: none;
}

@media (max-width: 991px) {
  .ek-footer-col {
    border-right: none;
    border-bottom: 1px solid var(--ek-border);
    padding: 32px 16px;
  }
}

/* ─── Widget ─── */
.ek-footer-widget {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── Logo / Brand ─── */
.ek-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ek-text-main);
  transition: opacity 0.2s;
}

.ek-footer-logo-link:hover {
  opacity: 0.85;
  color: var(--ek-text-main);
}

.ek-footer-brand-icon {
  width: 32px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ek-footer-logo-img {
  width: auto;
  height: 100%;
  max-height: 36px;
  max-width: 34px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.12));
}

.ek-footer-brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ek-footer-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.ek-footer-brand-top,
.ek-footer-brand-sub {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ek-text-main);
}

/* ─── Description ─── */
.ek-footer-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ek-text-muted);
  margin: 0;
  max-width: 280px;
}

/* ─── Social Icons ─── */
.ek-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.ek-footer-socials li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ek-border);
  border-radius: 50%;
  color: var(--ek-text-muted);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ek-footer-socials li a:hover {
  color: var(--ek-text-main);
  border-color: rgba(255,255,255,0.4);
  background-color: rgba(255,255,255,0.06);
}

/* ─── Column Titles ─── */
.ek-footer-col-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ek-text-muted);
  margin: 0 0 4px;
}

/* ─── Navigation Links ─── */
.ek-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ek-footer-links li a {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ek-text-link);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.ek-footer-links li a:hover {
  color: var(--ek-text-main);
}

/* ─── Contact List ─── */
.ek-footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ek-footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ek-contact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ek-text-muted);
}

.ek-footer-contact-list li a,
.ek-footer-contact-list li span:not(.ek-contact-label) {
  font-size: 13.5px;
  color: var(--ek-text-link);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.ek-footer-contact-list li a:hover {
  color: var(--ek-text-main);
}

/* ─── Watermark ─── */
.ek-footer-watermark {
  position: relative;
  z-index: 1;
  overflow: hidden;
  line-height: 0.85;
  padding: 0 40px;
  pointer-events: none;
  user-select: none;
}

.ek-footer-watermark span {
  display: block;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
}

/* ─── Bottom Bar ─── */
.ek-footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--ek-border);
  padding: 22px 0;
}

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

.ek-footer-copy {
  font-size: 12px;
  color: var(--ek-text-muted);
  margin: 0;
  letter-spacing: 0.03em;
}

.ek-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ek-footer-bottom-links li::after {
  content: '·';
  color: var(--ek-text-muted);
  padding-left: 4px;
  font-size: 11px;
}

.ek-footer-bottom-links li:last-child::after {
  display: none;
}

.ek-footer-bottom-links li a {
  font-size: 12px;
  color: var(--ek-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.ek-footer-bottom-links li a:hover {
  color: var(--ek-text-main);
}

@media (max-width: 576px) {
  .ek-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ek-footer-watermark {
    padding: 0 20px;
  }
}
