/* ═══════════════════════════════════════════════════
   KAVE — Footer (Dark Theme)
   ═══════════════════════════════════════════════════ */

.footer {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  font-family: var(--font-body);
}

/* ── Top Band — statement + newsletter ── */
.ft-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 90px var(--gutter) 70px;
  border-bottom: 1px solid var(--color-line-light);
}

.ft-top .eyebrow {
  color: var(--color-text-light-muted);
}

.ft-top h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.5px;
  max-width: 520px;
}

/* Newsletter */
.ft-news {
  max-width: 440px;
  width: 100%;
  justify-self: end;
}

.ft-news p {
  font-family: var(--font-body);
  color: var(--color-text-light-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ft-news form {
  position: relative;
  border-bottom: 1px solid rgba(242, 242, 242, 0.2);
  padding-bottom: 14px;
  transition: border-color var(--duration-slow) var(--ease);
}

.ft-news form:focus-within { border-color: #f2f2f2; }

.ft-news input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #f2f2f2;
  font-family: var(--font-body);
  font-size: 14px;
  padding-right: 52px;
  letter-spacing: 0.2px;
}

.ft-news input::placeholder { color: var(--color-text-light-muted); }

.ft-news button {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-70%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: #f2f2f2;
  border: 1px solid rgba(242, 242, 242, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-slow) var(--ease), color var(--duration-slow) var(--ease), border-color var(--duration-slow) var(--ease);
  overflow: hidden;
}

.ft-news button:hover { background: #f2f2f2; color: #111D29; border-color: #f2f2f2; }
.ft-news button svg { width: 13px; height: 13px; transition: transform 0.5s var(--ease); }
.ft-news button:hover svg { transform: translateX(3px); }

/* ── Columns ── */
.ft-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 70px var(--gutter) 80px;
  border-bottom: 1px solid var(--color-line-light);
}

.ft-col .label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-text-light-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 22px;
}

.ft-col address {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: #f2f2f2;
}

.ft-col address .muted {
  color: var(--color-text-light-muted);
  font-size: 13px;
  display: block;
  margin-top: 10px;
}

/* Split-flap links */
.flap {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: #f2f2f2;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  overflow: hidden;
  height: 1.7em;
  position: relative;
}

.flap span {
  display: block;
  transition: transform 0.7s var(--ease);
}

.flap span:nth-child(2) { color: var(--color-text-light-muted); }
.flap:hover span { transform: translateY(-100%); }
.ft-col .links { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }

/* ── Bottom Bar ── */
.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 32px var(--gutter) 38px;
  flex-wrap: wrap;
}

.ft-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.6px;
  color: #f2f2f2;
  text-decoration: none;
}

.ft-logo-img {
  height: 22px;
  width: auto;
  display: block;
}

.ft-legal {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-light-muted);
  font-weight: 500;
}

.ft-legal a {
  color: var(--color-text-light-muted);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease);
}

.ft-legal a:hover { color: #f2f2f2; }
.ft-legal .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--color-text-light-muted); opacity: 0.6; }

.ft-lang { display: flex; gap: 14px; align-items: center; }
.ft-lang span {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-light-muted);
  cursor: pointer;
  transition: color var(--duration-base) var(--ease);
  font-weight: 500;
}

.ft-lang span.active { color: #f2f2f2; }
.ft-lang span:hover { color: #f2f2f2; }

/* ═══ Responsive ═══ */
@media (max-width: 1100px) {
  .ft-cols { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
}

@media (max-width: 960px) {
  .ft-top { padding: 70px var(--gutter) 56px; grid-template-columns: 1fr; gap: 44px; }
  .ft-news { justify-self: start; }
  .ft-cols { padding: 56px var(--gutter) 64px; gap: 44px 32px; }
  .ft-bottom { padding: 26px var(--gutter) 32px; }
}

@media (max-width: 640px) {
  .ft-top { padding: 60px var(--gutter) 48px; gap: 36px; }
  .ft-top h2 { font-size: 28px; }
  .ft-cols { grid-template-columns: 1fr; gap: 38px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 22px; }
}
