/* MedicaDent footer. Colors remain editable through the shared footer config. */
.site-footer--pro {
  background: var(--tc-footer-bg-value, #f4f7f8);
  color: var(--tc-footer-text, #253b42);
  border-top: 1px solid var(--tc-footer-line, #dbe4e7);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer--pro .footer-main { padding: 56px 0 36px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.footer-grid > * { min-width: 0; }

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-brand__logo-img {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer-brand__logo--bundled {
  padding: 6px 12px;
  border-radius: 4px;
  background: #fff;
}

.site-footer--light .footer-brand__logo--bundled { padding: 0; background: transparent; }

.footer-brand__wordmark { display: flex; align-items: center; gap: 10px; }
.footer-brand__emblem { width: 40px; height: 40px; display: grid; place-items: center; background: var(--tc-footer-accent, #0b8796); border-radius: 4px; }
.footer-brand__name-wrap { display: flex; flex-direction: column; }
.footer-brand__name { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.footer-brand__accent { color: var(--tc-footer-accent, #0b8796); }
.footer-brand__name-sub { font-size: 11px; color: var(--tc-footer-muted, #5d7178); }

.footer-brand__tagline {
  max-width: 34ch;
  margin: 0 0 22px;
  color: var(--tc-footer-muted, #5d7178);
  font-size: 14px;
  line-height: 1.7;
}

.footer-brand__meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.footer-brand__meta-row { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.footer-brand__meta-row > svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; stroke: var(--tc-footer-accent, #0b8796); }
.footer-brand__meta-row > a, .footer-brand__meta-row > span { min-width: 0; overflow-wrap: anywhere; }
.footer-brand__meta-row a { font-weight: 500; color: inherit; }
.footer-brand__meta-row a:hover { color: var(--tc-footer-accent, #0b8796); }

.footer-socials { display: flex; gap: 10px; align-items: center; }
.footer-social { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--tc-footer-line, #dbe4e7); border-radius: 4px; background: transparent; }
.footer-social:hover { border-color: var(--tc-footer-accent, #0b8796); background: rgba(11, 135, 150, 0.06); }
.footer-social__icon, .footer-social > svg { width: 18px; height: 18px; object-fit: contain; }

.footer-col h4 {
  margin: 8px 0 22px;
  color: var(--tc-footer-text, #253b42);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 12px; }
.footer-links a {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tc-footer-muted, #5d7178);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.footer-links a:hover { color: var(--tc-footer-accent, #0b8796); }

.footer-hours { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--tc-footer-line, #dbe4e7); }
.footer-hours__label { color: var(--tc-footer-accent, #0b8796); font-size: 12px; font-weight: 500; }

.footer-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--tc-footer-line, #dbe4e7);
}
.footer-benefit { display: flex; align-items: flex-start; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.footer-benefit__icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; color: var(--tc-footer-accent, #0b8796); }
.footer-benefit__icon svg, .footer-benefit__icon img { width: 25px; height: 25px; object-fit: contain; }
.footer-benefit__title { margin: 0 0 5px; color: var(--tc-footer-text, #253b42); font-size: 14px; font-weight: 600; line-height: 1.5; }
.footer-benefit__desc { max-width: 40ch; margin: 0; color: var(--tc-footer-muted, #5d7178); font-size: 13px; line-height: 1.6; }
a.footer-benefit:hover .footer-benefit__title { color: var(--tc-footer-accent, #0b8796); }

.footer-bottom { background: var(--tc-footer-bottom-bg, #fff); border-top: 1px solid var(--tc-footer-line, #dbe4e7); }
.site-footer--pro .footer-bottom__inner { display: block; padding: 20px; }
/* Generic container clearfix pseudo-elements must not become layout items. */
.site-footer--pro .footer-bottom__inner::before,
.site-footer--pro .footer-bottom__inner::after { content: none; display: none; }
.md-footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 0; }
.md-footer-bottom-row > .footer-bottom__legal { flex: 1 1 0; }
.md-footer-bottom-trust { display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex: 0 0 auto; min-width: 0; }
.footer-bottom__legal { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--tc-footer-muted, #5d7178); font-size: 12px; line-height: 1.6; }
.site-footer--pro .tc-footer-cookie-settings { width: fit-content; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.site-footer--pro .tc-footer-cookie-settings:hover { color: var(--tc-footer-accent, #0b8796); }

.footer-bank-transfer { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 250px; }
.footer-bank-transfer > svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--tc-footer-accent, #0b8796); }
.footer-bank-transfer > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.footer-bank-transfer strong { color: var(--tc-footer-text, #253b42); font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }

.footer-anpc-badges { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 0 auto; }
.footer-anpc-badges > a { display: block; width: 200px; max-width: 100%; padding: 5px; border: 1px solid #dbe4e7; border-radius: 4px; background: #fff; }
.footer-anpc-badges img { display: block; width: 100%; height: 44px; object-fit: contain; }

.site-footer--pro a:focus-visible, .site-footer--pro button:focus-visible { outline: 2px solid var(--tc-footer-accent, #0b8796); outline-offset: 4px; }

@media (max-width: 1050px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
  .footer-benefits { gap: 24px; }
}

@media (max-width: 768px) {
  .site-footer--pro .footer-main { padding: 36px 0 28px; }
  .footer-grid { gap: 26px 24px; }
  .footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
  .footer-brand__tagline { max-width: 44ch; }
  .footer-col h4 { margin: 0 0 18px; font-size: 14px; }
  .footer-links a { font-size: 13px; }
  .footer-benefits { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 28px; padding-top: 24px; }
  .footer-benefit__desc { max-width: none; }
  .site-footer--pro .footer-bottom__inner { padding: 22px 20px 76px; }
  .md-footer-bottom-row { flex-direction: column; align-items: stretch; gap: 20px; }
  .md-footer-bottom-row > .footer-bottom__legal { flex: 0 0 auto; }
  .md-footer-bottom-trust { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 16px; width: 100%; }
  .footer-bank-transfer { gap: 8px; }
  .footer-bank-transfer strong { font-size: 13px; }
  .footer-anpc-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 412px; }
  .footer-anpc-badges > a { width: 100%; min-width: 0; padding: 4px; }
}

@media (min-width: 769px) and (max-width: 1050px) {
  .md-footer-bottom-row { flex-direction: column; align-items: stretch; gap: 18px; }
  .md-footer-bottom-trust { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .footer-grid { gap: 24px 16px; }
  .footer-col h4 { font-size: 13px; }
  .md-footer-bottom-trust { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
