/* ============================================================
   EasyCab V2.1 — footer.css
   Footer · CTA strip · Base legal row
   ============================================================ */

/* ===== Footer ===== */
footer {
  background: var(--ink); color: var(--paper); padding: 80px 0 28px;
}
footer a { text-decoration: none; color: inherit; }
.foot {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot h5 {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  color: #8b8779; font-weight: 500; margin-bottom: 18px;
}
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { font-size: 14.5px; color: #cfcabd; transition: color .2s var(--ease); }
.foot ul a:hover { color: var(--paper); }
.foot .lead { display: flex; flex-direction: column; gap: 18px; max-width: 36ch; }
.foot .brand-word { color: var(--paper); }
.foot .brand-word .cab { color: var(--orange); }
.foot p { color: #cfcabd; font-size: 14.5px; line-height: 1.55; }

/* Newsletter row */
.foot .news {
  display: flex; gap: 8px;
  background: rgba(255,255,255,.06); border-radius: 999px;
  padding: 6px; border: 1px solid rgba(255,255,255,.08); max-width: 340px;
}
.foot .news input {
  background: transparent; border: 0; flex: 1;
  color: var(--paper); padding: 0 14px; font-size: 14px; outline: 0;
}
.foot .news input::placeholder { color: #8b8779; }
.foot .news button {
  background: var(--orange); color: #fff; border-radius: 999px;
  padding: 10px 16px; font-size: 13px; font-weight: 500;
  transition: background .25s var(--ease);
}
.foot .news button:hover { background: #cf4b14; }

/* Contact chips */
.foot-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.foot-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  font-size: 14px; color: #cfcabd;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.foot-chip:hover { background: rgba(255,255,255,.1); color: var(--paper); }
.foot-chip svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--orange); }

/* ===== Footer base / legal bar ===== */
.foot-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; color: #8b8779; font-size: 12.5px;
  flex-wrap: wrap; gap: 12px;
}
.foot-base .links { display: flex; gap: 22px; }
.foot-base a:hover { color: var(--paper); }
.foot-base .reg {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace; font-size: 10.5px;
  letter-spacing: .12em;
}
.foot-base .reg-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0;
}

/* ===== CTA strip (before footer) ===== */
.cta-strip {
  background: var(--paper-2); border-top: 1px solid var(--line);
  padding: 72px 0; text-align: center;
}
.cta-strip h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(42px,5vw,72px); line-height: 1.02; letter-spacing: -.02em;
  margin-top: 18px;
}
.cta-strip h2 em { font-style: italic; color: var(--green); }
.cta-strip .sub { font-size: 16px; color: var(--ink-2); margin: 16px auto 32px; max-width: 48ch; line-height: 1.55; }
.cta-strip .row {
  display: inline-flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; align-items: center;
}
.cta-strip .btn-green { box-shadow: 0 14px 30px -14px rgba(26,74,53,.55); }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .foot { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .foot { grid-template-columns: 1fr; }
  footer { padding: 60px 0 24px; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .foot-base .links { flex-wrap: wrap; gap: 14px; }
}

/* Wide-screen scale-up — matches index.html */
@media (min-width: 1800px) {
  footer { padding: 100px 0 36px; }
}
