/* Detailed pastel footer aligned with the approved Kutyacica homepage mockup. */

.kc-site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background: linear-gradient(180deg, #fffaf6 0%, #f8f1ea 100%);
  color: #5f5050;
  border-top: 1px solid rgba(104, 80, 78, 0.08);
}

.kc-site-footer__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 206, 188, 0.55), transparent 26%),
    radial-gradient(circle at 84% 32%, rgba(221, 239, 226, 0.72), transparent 28%),
    radial-gradient(circle at 68% 100%, rgba(224, 215, 248, 0.62), transparent 30%);
}

.kc-site-footer__inner,
.kc-site-footer__bottom {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.kc-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(145px, .75fr)) minmax(170px, .9fr);
  gap: 34px;
  align-items: start;
  padding: 64px 0 48px;
}

/* Reuse the exact public brand lockup instead of maintaining a footer variant. */
.kc-site-footer .kc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #34231b;
  text-decoration: none;
  border-radius: 10px;
}

.kc-site-footer .kc-brand__paw {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #ff7b66;
  line-height: 1;
  transform: rotate(-5deg);
}

.kc-site-footer .kc-brand__paw svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 5px 9px rgba(255, 123, 102, .18));
}

.kc-site-footer .kc-brand__text {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.kc-site-footer .kc-brand__name {
  display: block;
  color: #34231b;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(27px, 2vw, 35px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.kc-site-footer .kc-brand__dog,
.kc-site-footer .kc-brand__domain { color: #34231b; }
.kc-site-footer .kc-brand__cat { color: #ff7b66; }

.kc-site-footer .kc-brand__text small {
  display: block;
  margin-top: 7px;
  color: #725f56;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .01em;
  white-space: nowrap;
}

.kc-site-footer .kc-brand:focus-visible,
.kc-footer-column a:focus-visible,
.kc-site-footer__bottom a:focus-visible {
  outline: 3px solid rgba(211, 111, 93, .35);
  outline-offset: 4px;
}

.kc-site-footer__brand > p {
  max-width: 290px;
  margin: 18px 0 22px;
  color: #766666;
  font-size: .96rem;
  line-height: 1.7;
}

.kc-footer-social {
  display: flex;
  gap: 10px;
}

.kc-footer-social span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(106, 83, 81, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(91, 69, 68, 0.06);
  font-weight: 800;
  color: #826f70;
}

.kc-footer-column {
  display: grid;
  gap: 11px;
}

.kc-footer-column h2 {
  margin: 0 0 7px;
  color: #574747;
  font-size: 1rem;
  line-height: 1.3;
}

.kc-footer-column a {
  width: fit-content;
  color: #776767;
  font-size: .9rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.kc-footer-column a:hover,
.kc-footer-column a:focus-visible {
  color: #d36f5d;
  transform: translateX(2px);
}

.kc-footer-pet {
  position: relative;
  min-height: 180px;
  align-self: end;
}

.kc-footer-pet__art {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 14px 20px rgba(88, 67, 66, .08));
}

.kc-footer-pet__blob { fill: #f4dfd8; }
.kc-footer-pet__cat { fill: #c8b5df; }
.kc-footer-pet__dog { fill: #d9b391; }
.kc-footer-pet__cat circle,
.kc-footer-pet__dog circle { fill: #5f5050; }
.kc-footer-pet__line {
  fill: none;
  stroke: #5f5050;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kc-footer-pet__heart { fill: #e38a79; }

.kc-site-footer__bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(102, 79, 77, 0.1);
  color: #827171;
  font-size: .78rem;
}

.kc-site-footer__bottom p { margin: 0; }
.kc-site-footer__bottom nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.kc-site-footer__bottom a { color: inherit; text-decoration: none; border-radius: 4px; }
.kc-site-footer__bottom a:hover,
.kc-site-footer__bottom a:focus-visible { color: #c96e5e; }
.kc-site-footer__notice { text-align: right; }

@media (max-width: 1020px) {
  .kc-site-footer__inner { grid-template-columns: 1.2fr repeat(3, 1fr); }
  .kc-footer-pet {
    grid-column: 1 / -1;
    min-height: 125px;
    width: 240px;
    justify-self: end;
    margin-top: -20px;
  }
}

@media (max-width: 900px) {
  .kc-site-footer .kc-brand__paw { width: 42px; height: 42px; }
}

@media (max-width: 760px) {
  .kc-site-footer__inner,
  .kc-site-footer__bottom { width: min(100% - 28px, 680px); }
  .kc-site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
    padding: 48px 0 34px;
  }
  .kc-site-footer__brand { grid-column: 1 / -1; }
  .kc-footer-column:last-of-type { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-footer-column:last-of-type h2 { grid-column: 1 / -1; }
  .kc-footer-pet { grid-column: 1 / -1; justify-self: center; margin-top: -10px; }
  .kc-site-footer__bottom { grid-template-columns: 1fr; gap: 11px; text-align: center; }
  .kc-site-footer__notice { text-align: center; }
}

@media (max-width: 620px) {
  .kc-site-footer .kc-brand__paw { width: 38px; height: 38px; }
  .kc-site-footer .kc-brand__name { font-size: 25px; }
}

@media (max-width: 440px) {
  .kc-site-footer__inner { grid-template-columns: 1fr; }
  .kc-footer-column,
  .kc-footer-column:last-of-type { grid-column: auto; grid-template-columns: 1fr; }
  .kc-footer-column:last-of-type h2 { grid-column: auto; }
  .kc-footer-pet { width: 215px; }
  .kc-site-footer .kc-brand__text small { max-width: 190px; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .kc-footer-column a { transition: none; }
}
