/* Shared brand lockup and social links for every public page. */
@font-face {
  font-family: "Gruppo";
  src: url("fonts/Gruppo/Gruppo-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.ddc-footer-brand {
  position: relative;
  display: block;
  width: 180px;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 0;
  padding: 0;
  margin-bottom: 16px;
  line-height: 1;
  color: inherit;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
.ddc-footer-brand__arch {
  position: absolute;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: currentColor;
}
.ddc-footer-brand__art {
  position: absolute;
  top: 6%;
  left: 14%;
  width: 72%;
  aspect-ratio: 1;
}
.ddc-footer-brand .ddc-footer-brand__mascot {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  transform-origin: 50% 75%;
}
.ddc-footer-brand__name {
  font-family: "Gruppo", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.ddc-footer-brand.ddc-in-view .ddc-footer-brand__arch { animation: ddc-footer-arch-reveal 1s ease-out both; }
.ddc-footer-brand.ddc-in-view .ddc-footer-brand__mascot { animation: ddc-footer-scrub 1.2s ease-in-out both; }

.ddc-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.ddc-footer-socials .ddc-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 650 12px/1.3 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}
.ddc-footer-social > svg { width: 16px; height: 16px; flex-shrink: 0; }
.ddc-footer-socials a:hover { transform: translateY(-2px); background: rgba(128, 178, 145, .1); }
.ddc-footer-brand:focus-visible,
.ddc-footer-socials a:focus-visible,
.ddc-social-cards a:focus-visible { outline: 3px solid #1482a0; outline-offset: 5px; }

/* A small, connected social destination within the reviews section. */
.home-refresh .ddc-social-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 48px);
  width: min(1160px, 100%);
  margin: clamp(40px, 6vw, 68px) auto 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid #d5e4df;
  border-radius: 24px;
  background: linear-gradient(120deg, #f0f6ef, #f7faf6 45%, #edf6f7);
  text-align: left;
  box-sizing: border-box;
}
.ddc-social-section *, .ddc-social-section *::before, .ddc-social-section *::after { box-sizing: border-box; }
.home-refresh .ddc-social-section__eyebrow {
  margin: 0 0 14px;
  color: #426d47;
  font: 750 10px/1.4 Inter, Arial, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.home-refresh .ddc-social-section h3 {
  margin: 0;
  color: #123e31;
  font: 400 clamp(28px, 3.1vw, 39px)/1.05 Ximply, 'Arial Black', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.ddc-social-section h3 > span { color: #63844e; }
.home-refresh .ddc-social-section__intro > p:last-child {
  max-width: 31ch;
  margin: 16px 0 0;
  color: #51665e;
  font: 400 14px/1.7 Inter, Arial, sans-serif;
}
.ddc-social-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.home-refresh .ddc-social-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 17px;
  border: 1px solid #dce7e0;
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  color: #163d31;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(22, 61, 49, .03);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.home-refresh a.ddc-social-card:hover { transform: translateY(-5px); border-color: #9cbaa6; box-shadow: 0 12px 28px rgba(22, 61, 49, .09); }
.ddc-social-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.ddc-social-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #f3f6f0; }
.ddc-social-card__icon > svg { width: 23px; height: 23px; }
.ddc-social-card--instagram .ddc-social-card__icon { color: #a93f65; background: #fcf0f1; }
.ddc-social-card--facebook .ddc-social-card__icon { color: #2461ad; background: #edf3fb; }
.ddc-social-card--google .ddc-social-card__icon { background: #f3f6f0; }
.ddc-social-arrow { width: 22px; height: 22px; color: #78947c; transition: transform 200ms ease; }
a.ddc-social-card:hover .ddc-social-arrow { transform: translate(2px, -2px); }
.ddc-social-card__name { font: 750 19px/1.3 Inter, Arial, sans-serif; }
.ddc-social-card__label { margin-top: 6px; color: #496c52; font: 650 11px/1.5 Inter, Arial, sans-serif; }
.ddc-social-card__text { margin: 10px 0 22px; color: #5b6c64; font: 400 12px/1.7 Inter, Arial, sans-serif; }
.ddc-social-card__action { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px solid #e4ece6; color: #234f38; font: 750 11px/1.4 Inter, Arial, sans-serif; }
.ddc-social-section.ddc-in-view .ddc-social-card { animation: ddc-social-arrive 650ms ease-out both; }
.ddc-social-section.ddc-in-view .ddc-social-card:nth-child(2) { animation-delay: 100ms; }
.ddc-social-section.ddc-in-view .ddc-social-card:nth-child(3) { animation-delay: 200ms; }
@keyframes ddc-footer-scrub {
  0% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-6px) rotate(-7deg); }
  42% { transform: translateX(6px) rotate(7deg); }
  64% { transform: translateX(-4px) rotate(-4deg); }
  82% { transform: translateX(2px) rotate(2deg); }
  100% { transform: translateX(0) rotate(0); }
}
@keyframes ddc-footer-arch-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes ddc-social-arrive {
  from { opacity: .4; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1100px) {
  .home-refresh .ddc-social-section { grid-template-columns: 1fr; }
  .home-refresh .ddc-social-section__intro > p:last-child { max-width: 60ch; }
}
@media (max-width: 600px) {
  .home-refresh .ddc-social-section { padding: 24px 16px; border-radius: 20px; }
  .ddc-social-cards { grid-template-columns: 1fr; }
  .home-refresh .ddc-social-card { position: relative; padding: 20px 20px 20px 82px; }
  .ddc-social-card__top { position: absolute; top: 20px; left: 20px; bottom: 20px; flex-direction: column; margin: 0; }
  .ddc-social-card__text { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ddc-footer-brand *, .ddc-social-section *, .ddc-footer-socials * { animation: none !important; transition: none !important; }
}
