/* ══════════════════════════════════════
   footer.css
   Footer Styles – Clínica Peruano Suiza
   ══════════════════════════════════════ */

/* =========================
   FOOTER
========================= */
.footer {
  background: var(--blue-900);
  padding: 32px 24px 22px;
  color: rgba(255, 255, 255, .75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 28px;
  align-items: start;
}

/* ── Col 1: Brand ── */
.foot-brand {
  /* no grid-column span — sits in col 1 */
}

.foot-logo img {
  height: 38px;
  margin-bottom: 8px;
  filter: brightness(10);
}

.foot-desc {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .6);
}

.foot-social {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.foot-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.foot-social a:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

.foot-social svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: rgba(255, 255, 255, .8);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.foot-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
}

/* ── Col 2 & 3: Link columns ── */
.foot-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.foot-title svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.foot-col ul {
  list-style: none;
}

.foot-col ul li {
  margin-bottom: 6px;
}

.foot-col ul li a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  font-size: 12.5px;
  transition: color .2s;
}

.foot-col ul li a:hover {
  color: #fff;
}

/* ── Col 4: Contacto / Mapa ── */
.foot-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #b02222;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 14px;
  white-space: nowrap;
  transition: background .2s;
}

.foot-phone:hover {
  background: #8b1a1a;
}

.foot-phone svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.foot-map-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.foot-map {
  border-radius: 8px;
  overflow: hidden;
}

.foot-map iframe {
  display: block;
}

/* ── Footer Pink Variant (Dulce Espera) ── */
.footer--dulce {
  background: linear-gradient(90deg, #8b0054 0%, #c0247a 50%, #d63384 100%);
}

/* ── Footer Responsive ── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 24px 16px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .foot-brand {
    grid-column: auto;
  }

  .foot-phone {
    font-size: 11px;
    white-space: normal;
  }

  .foot-map iframe {
    height: 140px !important;
  }
}
