.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 58px 0 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 0 100%, #27090c 0, transparent 30%),
    linear-gradient(115deg, #090909, #101011 55%, #090909);
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  content: "";
}

.site-footer::before {
  top: 8px;
  right: -12px;
  width: min(520px, 42vw);
  height: 220px;
  background-image: radial-gradient(circle, #ed1b32 1px, transparent 1.5px);
  background-size: 8px 8px;
  opacity: .4;
  -webkit-mask-image: radial-gradient(ellipse at 70% 34%, #000 3%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 34%, #000 3%, transparent 72%);
}

.site-footer .section-shell {
  width: min(1830px, calc(100% - 64px));
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 1.28fr) minmax(145px, .68fr) minmax(205px, .9fr) minmax(265px, 1.12fr) minmax(315px, 1.38fr);
  padding-bottom: 42px;
}

.footer-column {
  min-width: 0;
  padding: 0 32px;
  border-right: 1px solid #29292b;
}

.footer-column:first-child {
  padding-left: 0;
}

.footer-column:last-child {
  padding-right: 0;
  border-right: 0;
}

.footer-brand .brand-logo {
  width: auto;
  height: 50px;
}

.footer-heading-rule {
  display: block;
  width: 42px;
  height: 3px;
  margin: 12px 0 19px;
  background: var(--red);
}

.footer-brand-column h2 {
  margin: 15px 0 3px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.footer-brand-column h2 strong {
  font-weight: 800;
}

.footer-brand-column > p,
.footer-newsletter-column > p {
  margin: 0;
  color: #aeb0b6;
  font-size: 13px;
  line-height: 1.7;
}

.footer-brand-column > .footer-brand-description {
  max-width: 360px;
  margin-top: 17px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #f5f5f5;
  border: 1px solid #5b5b5e;
  border-radius: 50%;
  font-size: 16px;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.footer-socials a:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.footer-column-title {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.footer-list,
.footer-contact-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #d4d4d7;
  font-size: 13px;
  line-height: 1.5;
  transition: color .2s;
}

.footer-list a i {
  flex: 0 0 auto;
  color: #99999d;
  font-size: 10px;
  transition: color .2s, transform .2s;
}

.footer-list a:hover,
.footer-list a:hover i,
.footer-contact-list a:hover {
  color: var(--red);
}

.footer-list a:hover i {
  transform: translateX(3px);
}

.footer-contact-list {
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #e7e7e9;
  font-size: 13px;
  line-height: 1.55;
}

.footer-contact-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--red);
  background: #4b2428;
  border-radius: 50%;
  font-size: 16px;
}

.footer-contact-list li > span:last-child {
  min-width: 0;
}

.footer-contact-list a {
  color: #f5f5f6;
  overflow-wrap: anywhere;
  transition: color .2s;
}

.footer-contact-list small {
  display: block;
  margin-top: 2px;
  color: #999ba2;
  font-size: 11px;
}

.footer-newsletter-column > p {
  margin: 0 0 16px;
}

.footer-newsletter-form {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 5px;
  background: #1a1b1e;
  border: 1px solid #34353a;
  border-radius: 8px;
}

.footer-whatsapp-link {
  color: #fff;
  text-decoration: none;
}

.footer-whatsapp-link > span:first-of-type {
  flex: 1 1 auto;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.footer-whatsapp-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s;
}

.footer-whatsapp-link:hover .footer-whatsapp-action {
  background: var(--red-dark);
}

.footer-newsletter-form > i {
  flex: 0 0 auto;
  margin-left: 10px;
  color: #9ba2ad;
  font-size: 18px;
}

.footer-newsletter-form input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 12px;
}

.footer-newsletter-form input::placeholder {
  color: #aeb0b6;
  opacity: 1;
}

.footer-newsletter-form button {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s;
}

.footer-newsletter-form button:hover {
  background: var(--red-dark);
}

.footer-newsletter-column > .footer-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
}

.footer-privacy-note i {
  margin-top: 3px;
  color: var(--red);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid #3a3a3c;
}

.footer-bottom-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copyright {
  display: grid;
  gap: 4px;
  color: #d0d0d3;
  font-size: 12px;
}

.footer-copyright > span:last-child {
  color: #999ba2;
}

.footer-copyright i {
  color: var(--red);
  font-size: 11px;
}

.back-top {
  color: #ccc;
  font-size: 12px;
  transition: color .2s;
}

.back-top:hover {
  color: var(--red);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.travel-puppy-guide {
  position: fixed;
  left: 14px;
  top: 70%;
  z-index: 21;
  width: clamp(96px, 10vw, 136px);
  opacity: 1;
  pointer-events: none;
  user-select: none;
  transition: left .45s cubic-bezier(.22, .61, .36, 1), top .45s cubic-bezier(.22, .61, .36, 1), opacity .2s ease;
}

.travel-puppy-guide.is-obscured {
  opacity: 0;
}

.travel-puppy {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: travel-puppy-float 3.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 10px #0000001c);
}

.travel-puppy-cue {
  position: absolute;
  top: -27px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  box-shadow: 0 4px 12px #0002;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.travel-puppy-cue.is-visible {
  opacity: 1;
  visibility: visible;
}

.travel-puppy-cue::after {
  position: absolute;
  bottom: -5px;
  left: 14px;
  width: 0;
  height: 0;
  border-top: 5px solid var(--red);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: "";
}

.travel-puppy-cue i {
  font-size: 10px;
}

@keyframes travel-puppy-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-2deg) scaleX(var(--travel-facing, 1));
  }
  50% {
    transform: translate3d(0, -7px, 0) rotate(1deg) scaleX(var(--travel-facing, 1));
  }
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 7px 24px #f0182d45;
  transition: transform .2s;
}

.floating-contact:hover {
  transform: translateY(-4px);
}

.floating-contact span,
.floating-contact > span {
  font-size: 17px;
}

.floating-contact small {
  font-size: 11px;
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 82px;
  z-index: 30;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 5px 18px #0003;
  font-size: 28px;
  animation: whatsapp-pulse 2s ease-out infinite;
}

.floating-whatsapp:hover {
  background: #1ebe5d;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 #25d36680, 0 5px 18px #0003;
  }
  55% {
    box-shadow: 0 0 0 12px #25d36600, 0 5px 18px #0003;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp,
  .travel-puppy {
    animation: none;
  }

  .travel-puppy-guide {
    transition: none;
  }
}

@media (max-width: 1050px) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }

  .footer-column {
    padding: 0 22px;
  }

  .footer-column:nth-child(3) {
    border-right: 0;
  }

  .footer-column:nth-child(4) {
    padding-left: 0;
  }

  .footer-column:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-column {
    padding: 0 20px;
  }

  .footer-column:first-child,
  .footer-column:nth-child(3),
  .footer-column:nth-child(5) {
    padding-left: 0;
  }

  .footer-column:nth-child(2),
  .footer-column:nth-child(4) {
    padding-right: 0;
    border-right: 0;
  }

  .footer-column:nth-child(3) {
    border-right: 1px solid #29292b;
  }

  .footer-column:nth-child(4),
  .footer-column:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding-top: 40px;
  }

  .site-footer .section-shell {
    width: min(100% - 36px, 480px);
  }

  .site-footer::before {
    width: 80vw;
    height: 170px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    row-gap: 30px;
    padding-bottom: 32px;
  }

  .footer-column,
  .footer-column:first-child,
  .footer-column:nth-child(2),
  .footer-column:nth-child(3),
  .footer-column:nth-child(4),
  .footer-column:nth-child(5) {
    grid-column: auto;
    padding: 0;
    border-right: 0;
  }

  .footer-brand-column {
    padding-bottom: 26px !important;
    border-bottom: 1px solid #29292b !important;
  }

  .footer-brand .brand-logo {
    height: 44px;
  }

  .footer-socials {
    gap: 10px;
  }

  .footer-bottom-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 17px;
    padding-bottom: 18px;
  }

  .footer-copyright {
    font-size: 11px;
  }

  .footer-newsletter-form {
    gap: 8px;
  }

  .footer-newsletter-form button {
    gap: 7px;
    padding: 0 10px;
    font-size: 11px;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .floating-contact small {
    font-size: 10px;
  }

  .travel-puppy-guide {
    width: 88px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 68px;
    width: 46px;
    height: 46px;
    font-size: 25px;
  }
}
