/* Shared footer: a consistent grid, with independent tablet and phone layouts. */
.c4-footer-v2 {
  --footer-ink: #302338;
  --footer-muted: #62556a;
  --footer-line: #dcd1e1;
  background: #f5f0f7;
  color: var(--footer-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  padding: 0;
}
.c4-footer-v2 .wp-block-group,
.c4-footer-v2 p,
.c4-footer-v2 figure,
.c4-footer-v2 h2,
.c4-footer-v2 h3,
.c4-footer-v2 nav,
.c4-footer-v2 .wp-block-buttons { margin-block: 0; }
.c4-footer-inner { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.c4-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .62fr) minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(32px, 3.8vw, 60px);
  padding-block: 64px 56px;
}
.c4-footer-main > * { min-width: 0; }
.c4-footer-v2 .c4-footer-brand-logo { width: 178px; margin-bottom: 25px; }
.c4-footer-brand-logo a,
.c4-footer-brand-logo img { display: block; width: 100%; height: auto; }
.c4-footer-v2 .c4-footer-promise {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -.035em;
  margin-bottom: 16px;
}
.c4-footer-v2 .c4-footer-brand-copy { max-width: 270px; color: var(--footer-muted); font-size: 14px; line-height: 1.75; }
.c4-footer-v2 .c4-footer-actions { margin-top: 24px; }
.c4-footer-v2 .c4-footer-whatsapp .wp-block-button__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--c4-purple, #845e84);
  color: #fff;
  font: 600 14px/1.5 "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  transition: background .18s;
}
.c4-footer-v2 .c4-footer-whatsapp .wp-block-button__link:hover { background: #654365; transform: none; }
.c4-footer-v2 .c4-footer-heading {
  margin: 2px 0 20px;
  font: 600 16px/1.5 "Segoe UI", Arial, sans-serif;
  color: var(--footer-ink);
  letter-spacing: 0;
}
.c4-footer-v2 .c4-footer-subheading { margin: 0 0 10px; font: 600 14px/1.5 "Segoe UI", Arial, sans-serif; }
.c4-footer-v2 a { color: inherit; text-decoration: none; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.c4-footer-v2 a:hover { color: #654365; text-decoration: underline; }
.c4-footer-v2 a:focus-visible { outline: 2px solid #845e84; outline-offset: 4px; border-radius: 3px; }
.c4-footer-v2 .c4-footer-links { color: var(--footer-muted); font: 400 15px/1.6 "Segoe UI", Arial, sans-serif; }
.c4-footer-links .wp-block-navigation__container { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.c4-footer-links .wp-block-navigation-item { margin: 0; }
.c4-footer-links .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 36px; padding-block: 6px; }
.c4-footer-reach { color: var(--footer-muted); font-size: 14px; line-height: 1.75; }
.c4-footer-phone a,
.c4-footer-email a { display: inline-flex; min-height: 36px; align-items: center; }
.c4-footer-v2 .c4-footer-email { margin-top: 6px; }
.c4-footer-v2 .c4-footer-address { margin-top: 24px; }
.c4-footer-hours-list { display: grid; gap: 0; }
.c4-footer-hours-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; min-height: 36px; gap: 3px 12px; font-size: 14px; line-height: 1.7; }
.c4-footer-hours-row p:first-child { color: var(--footer-muted); }
.c4-footer-hours-row p:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.c4-footer-v2 .c4-footer-help { margin-top: 28px; color: var(--footer-muted); font-size: 14px; line-height: 1.6; }
.c4-footer-help a { display: inline-flex; align-items: center; min-height: 44px; color: var(--footer-ink); font-weight: 600; text-decoration: underline; }
.c4-footer-v2 .c4-footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid var(--footer-line);
  padding-block: 24px;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .c4-footer-inner { width: calc(100% - 64px); }
  .c4-footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 48px; padding-block: 56px 48px; }
  .c4-footer-v2 .c4-footer-brand-copy { max-width: 320px; }
  .c4-footer-v2 .c4-footer-promise { font-size: 32px; }
  .c4-footer-hours-row { max-width: 340px; min-height: 44px; }
  .c4-footer-links .wp-block-navigation-item__content,
  .c4-footer-phone a,
  .c4-footer-email a { min-height: 44px; }
}
@media (max-width: 599px) {
  .c4-footer-inner { width: calc(100% - 48px); }
  .c4-footer-main { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 44px 36px; }
  .c4-footer-v2 .c4-footer-brand-logo { width: 164px; margin-bottom: 22px; }
  .c4-footer-v2 .c4-footer-promise { font-size: 30px; }
  .c4-footer-v2 .c4-footer-brand-copy { max-width: 330px; }
  .c4-footer-v2 .c4-footer-actions { margin-top: 20px; }
  .c4-footer-v2 .c4-footer-heading { margin: 0 0 14px; }
  .c4-footer-links,
  .c4-footer-links .wp-block-navigation__responsive-container,
  .c4-footer-links .wp-block-navigation__responsive-container-content { width: 100%; }
  .c4-footer-links .wp-block-navigation__container { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .c4-footer-links .wp-block-navigation-item__content { width: 100%; }
  .c4-footer-v2 .c4-footer-address { margin-top: 20px; }
  .c4-footer-hours-row { max-width: none; }
  .c4-footer-v2 .c4-footer-help { margin-top: 24px; }
  .c4-footer-v2 .c4-footer-legal { flex-direction: column; align-items: flex-start; gap: 5px; padding-block: 22px; }
}
