/* Footer compartido de Zorba Helados */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 0 18px;
  color: #edf5fb;
  background: #285b91;
  font-size: 12px;
}
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -95px;
  top: -125px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(92, 157, 215, .22);
}
.footer-inner { position: relative; width: min(1440px, calc(100% - 48px)); margin: 0 auto; }
.footer-columns {
  display: grid;
  grid-template-columns: 1.25fr .8fr 1fr 1.25fr 1.2fr .85fr;
  gap: 20px;
  align-items: start;
  padding: 0 145px 26px 0;
  margin: 0;
}
.footer-col { min-width: 0; }
.footer-col + .footer-col { border-left: 1px solid rgba(255,255,255,.18); padding-left: 18px; }
.footer-col h3 {
  margin: 0 0 12px;
  color: #f7fbff;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-brand { display: inline-block; width: 174px; max-width: 100%; margin: 0 0 12px; padding: 0; background: transparent; }
.footer-brand img { display: block; width: 100%; height: auto; max-height: 92px; object-fit: contain; object-position: left center; }
.footer-brand-caption { max-width: 205px; margin: 0; color: #d4e2ef; font-size: 11px; line-height: 1.65; }
.site-footer .footer-col > a:not(.footer-brand) {
  display: block; width: fit-content; margin: 0 0 7px; color: #e4eef8; text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
.site-footer .footer-col > a:not(.footer-brand):hover { color: #fff; transform: translateX(2px); }
.site-footer .footer-col p { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; color: #e0ebf5; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.site-footer .footer-col p i { flex: 0 0 13px; width: 13px; margin-top: 2px; color: #ffe0b8; text-align: center; }
.site-footer .footer-col p a { color: #f2f7fc; text-decoration: none; overflow-wrap: anywhere; }
.site-footer .footer-col p a:hover { text-decoration: underline; }
.site-footer .footer-social-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.site-footer .footer-social-btn {
  display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%; background: rgba(255,255,255,.04); color: #fff; font-size: 14px; text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.site-footer .footer-social-btn:hover { transform: translateY(-3px); }
.site-footer .footer-social-btn.instagram:hover { background: #C13584; }
.site-footer .footer-social-btn.facebook:hover { background: #1877F2; }
.site-footer .footer-social-btn.whatsapp:hover { background: #239A5A; }
.site-footer .footer-follow-text { margin-top: 0 !important; color: #d4e2ef !important; font-style: normal; }
.footer-copyright { position: relative; z-index: 3; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.2); color: #d2dfeb; font-size: 10px; }
.footer-copyright p { margin: 0; }
@media (max-width: 1150px) {
  .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-right: 135px; row-gap: 24px; }
  .footer-col:nth-child(4) { border-left: 0; padding-left: 0; }
  }
@media (max-width: 700px) {
  .site-footer { padding: 30px 0 18px; }
  .footer-inner { width: min(100% - 36px, 520px); }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; padding: 0 0 24px; }
  .footer-col + .footer-col { padding-left: 12px; }
  .footer-col:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-brand { width: 155px; }
  .footer-brand-caption { max-width: 240px; }
      .footer-copyright { font-size: 10px; line-height: 1.6; }
}
@media (max-width: 390px) {
  .footer-columns { grid-template-columns: 1fr; }
  .footer-col + .footer-col, .footer-col:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ==========================================================
   Scoop de frutilla del footer: sale desde el borde derecho
   La imagen es hija directa de .site-footer (que recorta con overflow:hidden),
   así que al estar pegada al borde se ve como si asomara de costado.
   Para moverla o cambiar su tamaño: --art-w (ancho) y --art-out (cuánto queda fuera por la derecha).
   ========================================================== */
.site-footer {
  --art-w: clamp(250px, 25vw, 380px);
  --art-out: 0.12;                      /* fracción del ancho que queda recortada por el borde */
  padding-top: 50px;
}
.site-footer .footer-inner { padding-right: calc(var(--art-w) * (1 - var(--art-out)) + 14px); }
.site-footer .footer-columns { padding-right: 0; }
.site-footer .footer-product-art {
  position: absolute; z-index: 1; right: calc(var(--art-w) * var(--art-out) * -1); bottom: -22px;
  width: var(--art-w); pointer-events: none;
}
.site-footer .footer-product-glow {
  position: absolute; z-index: 0; left: 6%; right: 14%; top: 8%; bottom: 6%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .09) 52%, transparent 74%);
}
.site-footer .footer-product-art img {
  position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: none;
  transform: rotate(-6deg); transform-origin: 50% 85%;
  filter: drop-shadow(-8px 14px 16px rgba(8, 30, 54, .32));
  animation: footerArtFloat 7s ease-in-out infinite;
}
@keyframes footerArtFloat { 0%, 100% { translate: 0 0; } 50% { translate: -4px -8px; } }
.site-footer .footer-copyright { position: relative; z-index: 0; }

/* Pantallas grandes: la columna de contacto tiene ancho suficiente para que el email no se parta */
@media (min-width: 1101px) {
  .site-footer .footer-columns { grid-template-columns: minmax(130px, 1.05fr) minmax(80px, .6fr) minmax(105px, .75fr) minmax(185px, 1.3fr) minmax(140px, 1fr) minmax(95px, .7fr); }
}

/* Tablet: 3 columnas por fila, la imagen sigue saliendo por la derecha */
@media (max-width: 980px) {
  .site-footer { --art-w: clamp(210px, 28vw, 270px); }
  .site-footer .footer-inner { padding-right: calc(var(--art-w) * (1 - var(--art-out)) + 10px); }
}
/* Celular: la imagen pasa abajo, asomando por el costado derecho, y las columnas dejan lugar */
@media (max-width: 620px) {
  .site-footer { --art-w: 210px; --art-out: 0.22; }
  .site-footer .footer-inner { padding-right: 0; }
  .site-footer .footer-columns { padding-bottom: 150px; }
  .site-footer .footer-product-art { bottom: 40px; }
}
@media (max-width: 390px) {
  .site-footer { --art-w: 190px; }
  .site-footer .footer-columns { padding-bottom: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-product-art img { animation: none; }
}
