/* ═══════════════════════════════════════════════════════════════════
   FOOTER — shared stylesheet for new 4-column footer used across the site
   Loaded from <head> on every page that uses <footer class="quote-strip">.
   Palette: navy gradient (existing) + gold accent #C9A368 / #E8C896.
   ═══════════════════════════════════════════════════════════════════ */

/* Reset paddings — we own layout here.
   Тёмный navy-фон задаём здесь (общий для всех страниц): раньше он был
   инлайном только на index.html, из-за чего футеры страниц без него
   (appointment, страницы болезней, цены, политика) выходили светлыми и текст пропадал. */
footer.quote-strip {
  background: linear-gradient(135deg, #0B2D5C 0%, #1a4a8a 100%);
  color: #ffffff;
  padding: 3.5rem 1.5rem 1.5rem;
}
@media (min-width: 768px) {
  footer.quote-strip {
    padding: 4rem 2rem 1.75rem;
  }
}

/* Column heading: gold uppercase with short dash before */
.footer-h {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E8C896;
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
}
.footer-h::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #C9A368 0%, rgba(201,163,104,0.30) 100%);
  margin-right: 10px;
  border-radius: 2px;
}

/* Navigation link */
.footer-link {
  color: rgba(214, 232, 247, 0.85);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* Bottom row link (privacy etc.) */
.footer-link-sm {
  color: rgba(214, 232, 247, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link-sm:hover {
  color: #E8C896;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Icon square for contacts (pin / phone / clock) */
.footer-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #C9A368;
}
.footer-icon svg {
  width: 16px;
  height: 16px;
}

/* Round social pill (WhatsApp / Instagram / 2GIS) */
.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social:hover {
  border-color: #C9A368;
  color: #E8C896;
  background: rgba(201, 163, 104, 0.06);
}
.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Highlighted CTA card on the right */
.footer-cta-card {
  border: 1.5px solid rgba(201, 163, 104, 0.55);
  border-radius: 18px;
  padding: 22px 22px;
  background: linear-gradient(160deg, rgba(201, 163, 104, 0.07) 0%, rgba(11, 45, 92, 0) 100%);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.footer-cta-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(201, 163, 104, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.footer-cta-card > * { position: relative; z-index: 1; }

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(201, 163, 104, 0.85);
  color: #E8C896;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-cta-btn:hover {
  background: linear-gradient(135deg, #C9A368 0%, #B0884A 100%);
  color: #0B2D5C;
  border-color: #C9A368;
}
.footer-cta-btn svg {
  width: 16px;
  height: 16px;
}

/* Bottom row */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.footer-disclaimer {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(214, 232, 247, 0.55);
  max-width: 70rem;
}

/* Mobile — single column, tighter padding.
   We override top/left/right only; mobile-redesign.css owns padding-bottom
   to clear the floating sticky bar (84px). */
@media (max-width: 767px) {
  footer.quote-strip {
    padding-top: 2.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .footer-h {
    font-size: 0.72rem;
    margin-bottom: 0.85rem;
  }
  .footer-cta-card {
    padding: 18px;
  }
  .footer-bottom {
    margin-top: 2rem;
  }
  .footer-disclaimer {
    font-size: 0.68rem;
  }
}
