/* ==========================================================================
   Wildpet — San Fernando · Ultra Premium Pet Food
   ------------------------------------------------------------------------
   V2 — sintesis de referencias reales del cliente (Waggenburg Kennels,
   Galletas Roco, Mundo Canino) en vez de collage literal de las ocho:
   Color   — base crema/marfil + el verde de marca original intacto +
             burdeos como segundo acento (mas elegante que el mostaza que
             repiten el resto de referencias) + mostaza en toques puntuales.
             El pie de pagina se queda en el verde-negro original del
             packaging: ancla la nueva direccion cremosa a la marca real.
   Type    — Fraunces (display, con caracter, como el serif de Waggenburg)
             + Nunito Sans (cuerpo, calido y redondeado).
   Signature — huellas grandes "de sello" (ahora en multiply sobre crema),
             un rastro de huellas ("pasitos") junto a las llamadas a la
             accion, y paneles de borde festoneado tipo Waggenburg. Tres
             elementos con personalidad, no los ocho de las referencias.
   Motion  — GSAP local (sin CDN) para el instante de entrada del hero y
             el rastro de huellas; el resto sigue en CSS/IntersectionObserver.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500..900&family=Nunito+Sans:wght@400;600;700;800&display=swap');

:root {
  /* Color — crema de marca + tonos de verde (packaging), sin rosa ni
     amarillo: fiel a la foto del producto que aporto el cliente. El
     crema de fondo se mantiene (solo el blanco puro del logo no vale
     como color de web); el rosa/burdeos y el amarillo pasan a verde. */
  --white: #f7f1e1;
  --white-soft: #efe6cf;
  --paper: #fffbf1;
  --ink: #20301f;
  --ink-muted: #51603f;
  --ink-faint: #5c6049;
  --moss: #93a563;
  --moss-strong: #7c9151;
  --moss-dark: #5f6d3f;
  --wood: #3f6b5e;
  --wood-light: #55897a;
  --forest: #1b2117;
  --forest-deep: #12160f;
  --teal: #3f6b5e;
  --teal-strong: #55897a;
  --teal-deep: #1f3a32;
  --sage: #7c9a5a;
  --sage-soft: #a9c48a;
  --terracotta: #6f8a54;
  --terracotta-soft: #8faa6d;
  --white-ink: #f4f1e8;
  --border: rgba(32, 48, 31, 0.14);
  --border-strong: rgba(32, 48, 31, 0.26);
  --danger: #ad3a3a;
  --success: #4f7a3f;
  --shadow-color: 25 35% 14%;

  /* Tipografia */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;

  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: 1.15rem;
  --text-xl: 1.4rem;
  --text-2xl: clamp(1.8rem, 1.45rem + 1.4vw, 2.6rem);
  --text-3xl: clamp(2.3rem, 1.8rem + 2.2vw, 3.5rem);
  --text-4xl: clamp(2.9rem, 2.1rem + 3.6vw, 5.4rem);

  /* Espaciado — escala 4px */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radios */
  --radius-card: 18px;
  --radius-input: 12px;
  --radius-pill: 999px;

  /* Z-index */
  --z-nav: 40;
  --z-menu: 50;
  --z-modal: 60;
  --z-toast: 70;

  --container: 1240px;

  /* Motion — curvas de emil-design-eng, nunca ease-in en UI */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 140ms;
  --dur-sm: 200ms;
  --dur-md: 260ms;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMjAiIGhlaWdodD0iMzIwIiB2aWV3Qm94PSIwIDAgMzIwIDMyMCI+CjxnIGZpbGw9IiM3YzkxNTEiIGZpbGwtb3BhY2l0eT0iMC4wNyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDAsNTApIHJvdGF0ZSgtMTYpIHNjYWxlKDEuMSkiPgogICAgPGNpcmNsZSBjeD0iNiIgY3k9IjgiIHI9IjIuMSIvPjxjaXJjbGUgY3g9IjExIiBjeT0iNS41IiByPSIyLjEiLz48Y2lyY2xlIGN4PSIxNiIgY3k9IjUuNSIgcj0iMi4xIi8+PGNpcmNsZSBjeD0iMjAiIGN5PSI5LjUiIHI9IjIiLz4KICAgIDxwYXRoIGQ9Ik0xMyAxMGMzLjMgMCA1LjYgMi42IDUuMiA1LjQtLjMgMi4zLTIuNCAzLjYtNC42IDMtMS0uMy0xLjctLjMtMi43IDAtMi4zLjctNC40LS43LTQuNi0zQzYgMTIuNiA4LjMgMTAgMTEuNiAxMHoiLz4KICA8L2c+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTkwLDkwKSByb3RhdGUoMjApIHNjYWxlKDEuNikiPgogICAgPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUiLz48Y2lyY2xlIGN4PSI2IiBjeT0iMTgiIHI9IjUiLz48Y2lyY2xlIGN4PSIzNCIgY3k9IjYiIHI9IjUiLz48Y2lyY2xlIGN4PSIzNCIgY3k9IjE4IiByPSI1Ii8+CiAgICA8cmVjdCB4PSI2IiB5PSI5IiB3aWR0aD0iMjgiIGhlaWdodD0iNiIgcng9IjMiLz4KICA8L2c+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTAsMjEwKSByb3RhdGUoMTApIHNjYWxlKDEuMikiPgogICAgPGNpcmNsZSBjeD0iNiIgY3k9IjgiIHI9IjIuMSIvPjxjaXJjbGUgY3g9IjExIiBjeT0iNS41IiByPSIyLjEiLz48Y2lyY2xlIGN4PSIxNiIgY3k9IjUuNSIgcj0iMi4xIi8+PGNpcmNsZSBjeD0iMjAiIGN5PSI5LjUiIHI9IjIiLz4KICAgIDxwYXRoIGQ9Ik0xMyAxMGMzLjMgMCA1LjYgMi42IDUuMiA1LjQtLjMgMi4zLTIuNCAzLjYtNC42IDMtMS0uMy0xLjctLjMtMi43IDAtMi4zLjctNC40LS43LTQuNi0zQzYgMTIuNiA4LjMgMTAgMTEuNiAxMHoiLz4KICA8L2c+CjwvZz4KPC9zdmc+");
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0;
  transition: opacity 1200ms var(--ease-out);
}
body.paws-visible::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  body::before { transition: none; opacity: 1; }
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* Espaciado entre kicker/titulo/parrafo — en todo el sitio, no solo
   en .section-head, para que ningun bloque de texto quede pegado. */
.kicker { display: block; margin-bottom: var(--space-3); }
h1 + p, h2 + p, h3 + p, h4 + p,
h1 + .lede, h2 + .lede, h3 + .lede,
h1 + .body-muted, h2 + .body-muted, h3 + .body-muted,
.kicker + h1, .kicker + h2, .kicker + h3, .kicker + h4 {
  margin-top: var(--space-4);
}
h2 + h3, h3 + h4 { margin-top: var(--space-2); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container-wide { max-width: 1400px; }
@media (min-width: 768px) {
  .container { padding-inline: var(--space-10); }
}

section { padding-block: var(--space-20); }
@media (max-width: 767px) {
  section { padding-block: var(--space-12); }
}

/* ---- Textura de fondo calida ---- */
.texture-wood {
  background-image:
    radial-gradient(ellipse 120% 80% at 15% -10%, rgba(181, 103, 47, 0.10), transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 110%, rgba(109, 36, 56, 0.08), transparent 55%);
}

/* ---- Firma visual: sello de huella grande, tinta estampada ----
   Multiply sobre crema — se ve como un sello real, no un brillo. */
.paw-stamp {
  position: absolute;
  width: clamp(220px, 34vw, 460px);
  height: auto;
  color: var(--moss);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}
.paw-stamp.top-right { top: -6%; right: 5%; transform: rotate(12deg); }
.paw-stamp.bottom-left { bottom: -8%; left: -6%; transform: rotate(-16deg); }
.paw-stamp.mid-right { top: 12%; right: -8%; transform: rotate(-8deg); }

/* ---- Rastro de huellas ("pasitos") — firma junto a CTAs ---- */
.paw-trail {
  display: inline-flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  height: 34px;
  margin-bottom: var(--space-4);
}
.paw-trail svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  opacity: 0.55;
}
.paw-trail svg:nth-child(1) { transform: translateY(6px) rotate(-8deg); opacity: 0.28; width: 11px; height: 11px; }
.paw-trail svg:nth-child(2) { transform: translateY(-2px) rotate(4deg); opacity: 0.4; width: 13px; height: 13px; }
.paw-trail svg:nth-child(3) { transform: translateY(4px) rotate(-6deg); opacity: 0.52; width: 15px; height: 15px; }
.paw-trail svg:nth-child(4) { transform: translateY(-5px) rotate(6deg); opacity: 0.64; width: 17px; height: 17px; }
.paw-trail svg:nth-child(5) { transform: translateY(5px) rotate(-9deg); opacity: 0.72; width: 18px; height: 18px; }
.paw-trail svg:nth-child(6) { transform: translateY(-6px) rotate(7deg); opacity: 0.8; width: 19px; height: 19px; }
.paw-trail svg:nth-child(7) { transform: translateY(4px) rotate(-5deg); opacity: 0.85; width: 20px; height: 20px; }
.paw-trail svg:nth-child(8) { transform: translateY(-4px) rotate(8deg); opacity: 0.9; width: 20px; height: 20px; }
.paw-trail svg:nth-child(9) { transform: translateY(3px) rotate(-6deg); opacity: 0.93; width: 21px; height: 21px; }
.paw-trail svg:nth-child(10) { transform: translateY(-3px) rotate(5deg); opacity: 0.96; width: 21px; height: 21px; }
.paw-trail svg:nth-child(11) { transform: translateY(2px) rotate(-4deg); opacity: 1; width: 22px; height: 22px; }
.paw-trail svg:nth-child(12) { transform: translateY(-2px) rotate(6deg); opacity: 1; width: 22px; height: 22px; }
.paw-trail.paw-trail-long { height: 30px; gap: 14px; max-width: 640px; margin-bottom: 0; }
@media (max-width: 640px) { .paw-trail.paw-trail-long { max-width: 320px; } }
.paw-trail-divider { display: flex; justify-content: center; padding-block: var(--space-10); }
@media (max-width: 767px) { .paw-trail-divider { padding-block: var(--space-6); } }

/* ---- Bocadillo de testimonio — panel limpio, sin festoneados (rompian
   en las esquinas). Nombre, cita y foto en flujo natural, sin huecos
   forzados. ---- */
.cloud-bubble {
  position: relative;
  background: var(--forest);
  color: var(--white-ink);
  border-radius: 28px;
  padding: var(--space-10) var(--space-8) var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  box-shadow: 0 30px 60px -40px hsl(var(--shadow-color) / 0.6);
}
.cloud-bubble-name { color: var(--sage-soft); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; }
.cloud-bubble-row { display: flex; align-items: stretch; justify-content: space-between; gap: var(--space-12); flex-wrap: wrap; }
.cloud-bubble-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: var(--space-4); justify-content: space-between; }
.cloud-bubble-top { display: flex; flex-direction: column; gap: var(--space-4); }
.cloud-bubble-stars { display: flex; gap: 3px; color: var(--sage-soft); }
.cloud-bubble-stars svg { width: 18px; height: 18px; }
.cloud-bubble-quote { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.45; color: var(--white-ink); }
.cloud-bubble-date { color: rgba(244, 241, 232, 0.6); font-size: var(--text-xs); }
.cloud-bubble-photo { position: relative; flex-shrink: 0; width: 210px; margin-right: var(--space-4); }
.cloud-bubble-logo {
  border-radius: 22px;
  aspect-ratio: 1/1;
  transform: rotate(2deg);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-7);
  transition: transform var(--dur-md) var(--ease-out);
}
.cloud-bubble-photo:hover .cloud-bubble-logo { transform: rotate(0deg) scale(1.04); }
.cloud-bubble-logo img { width: 100%; height: 100%; object-fit: contain; }
.cloud-bubble-badge {
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: 2;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cloud-badge-wobble 4.5s ease-in-out infinite;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.3;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
  border: 3px solid var(--forest);
}
@keyframes cloud-badge-wobble {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(-1deg); }
}
/* Entrada escalonada de estrellas -> cita -> fecha */
.cloud-bubble-stars, .cloud-bubble-quote, .cloud-bubble-date {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}
.reveal.is-visible .cloud-bubble-stars { opacity: 1; transform: none; transition-delay: 80ms; }
.reveal.is-visible .cloud-bubble-quote { opacity: 1; transform: none; transition-delay: 200ms; }
.reveal.is-visible .cloud-bubble-date { opacity: 1; transform: none; transition-delay: 340ms; }
@media (prefers-reduced-motion: reduce) {
  .cloud-bubble-stars, .cloud-bubble-quote, .cloud-bubble-date { transition: opacity 200ms linear; transform: none !important; }
}
@media (max-width: 640px) {
  .cloud-bubble-row { flex-direction: column; align-items: flex-start; gap: var(--space-6); }
  .cloud-bubble-photo { width: 150px; margin-right: 0; }
}

/* ---- Placa ladeada del 10% de descuento — estilo cupon: esquinas
   redondeadas, ligeramente girada, con un borde interior punteado (como
   una entrada para recortar) y pegatina de huella en la esquina. ---- */
.discount-plaque-wrap { display: flex; justify-content: center; padding-block: var(--space-6); }
.discount-plaque {
  position: relative;
  background: var(--forest);
  color: var(--white-ink);
  padding: var(--space-10);
  max-width: 560px;
  width: 100%;
  transform: rotate(-1.5deg);
  text-align: center;
  margin-inline: var(--space-6);
  border-radius: 28px;
  box-shadow: 0 30px 60px -35px hsl(var(--shadow-color) / 0.6);
}
.discount-plaque::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(244, 241, 232, 0.35);
  border-radius: 18px;
  pointer-events: none;
}
.discount-plaque .discount-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; line-height: 1.15; }
.discount-plaque .discount-text { color: rgba(244, 241, 232, 0.85); margin-top: var(--space-3); max-width: 46ch; margin-inline: auto; }
.discount-plaque-sticker {
  position: absolute;
  top: -18px;
  right: -16px;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(16deg);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.45);
  border: 3px solid var(--paper);
}
.discount-plaque-sticker svg { width: 26px; height: 26px; }
@media (max-width: 480px) {
  .discount-plaque { transform: rotate(0deg); padding-inline: var(--space-6); }
}

/* ==========================================================================
   "Nos enseñas a la tuya" (clientes) — mismo verde a sangre completa;
   el formulario se queda como tarjeta clara (.share-form ya usa --paper).
   ========================================================================== */
.comparte-section { padding-block: var(--space-24); background: var(--forest); }
.comparte-section .kicker { color: var(--sage-soft); }
.comparte-section h2 { color: var(--white-ink); }
.comparte-section .accent { color: var(--sage-soft); }
.comparte-section .body-muted { color: rgba(244, 241, 232, 0.78); }
.comparte-section .paw-li span { color: rgba(244, 241, 232, 0.85); }
.comparte-section .paw-li .paw-bullet { color: var(--sage-soft); }

/* ==========================================================================
   "Por que Wildpet" y FAQ (home) — mismo bloque verde a sangre completa
   que .reviews-section; las tarjetas de FAQ quedan claras sobre el verde,
   igual que los bocadillos de resenas.
   ========================================================================== */
.why-section, .faq-section { padding-block: var(--space-24); background: var(--forest); }
.why-section .kicker, .faq-section .kicker { color: var(--sage-soft); }
.why-section .section-head h2, .faq-section .section-head h2 { color: var(--white-ink); }
.why-section .accent, .faq-section .accent { color: var(--sage-soft); }
.why-section .section-head .body-muted, .faq-section .section-head .body-muted { color: rgba(244, 241, 232, 0.78); }
.faq-section .faq-item summary:hover { color: var(--teal-strong); }

/* ==========================================================================
   Valores — bloque a sangre completa en verde bosque, misma logica que
   .reviews-section (fondo en la seccion, ancho en el .container interior).
   ========================================================================== */
.values-section { padding-block: var(--space-24); background: var(--forest); }
.values-section .value-item h3 { color: var(--white-ink); }
.values-section .value-item p { color: rgba(244, 241, 232, 0.78); }
.values-section .value-icon { box-shadow: 0 0 0 1px rgba(244, 241, 232, 0.12); }

/* ==========================================================================
   Resenas de Google — carrusel editorial (cabecera + comilla/columna
   izquierda + tarjetas tipo bocadillo con autor debajo).
   ========================================================================== */
.reviews-section { padding-block: var(--space-24); background: var(--forest); color: var(--white-ink); overflow: hidden; }
.reviews-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: var(--space-6); }
.reviews-head .h1 { font-size: var(--text-3xl); color: var(--white-ink); }
.reviews-head .h1 .accent { color: var(--sage-soft); }
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(244, 241, 232, 0.2);
  background: rgba(244, 241, 232, 0.08);
  font-size: var(--text-sm);
  color: rgba(244, 241, 232, 0.85);
}
.google-rating-score { font-weight: 800; color: var(--white-ink); }
.google-rating-stars { display: inline-flex; gap: 1px; color: var(--sage-soft); }
.google-rating-stars svg { width: 14px; height: 14px; }
.google-rating-brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--white-ink); }
.google-rating-brand svg { width: 15px; height: 15px; }
.google-rating-divider { color: rgba(244, 241, 232, 0.35); }

.reviews-carousel {
  display: grid;
  gap: var(--space-10);
  margin-top: var(--space-16);
}
@media (min-width: 900px) {
  .reviews-carousel { grid-template-columns: minmax(220px, 27%) 1fr; gap: var(--space-12); align-items: center; }
}
.reviews-intro { display: flex; flex-direction: column; }
.reviews-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--sage-soft);
  opacity: 0.7;
}
.reviews-intro-heading { font-size: var(--text-2xl); line-height: 1.2; margin-top: var(--space-3); color: var(--white-ink); }
.reviews-controls { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-8); }
.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--white-ink);
  border: 0;
  background: none;
  cursor: pointer;
  transition: color var(--dur-sm) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover { color: var(--sage-soft); }
.carousel-arrow:active { transform: scale(0.92); }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }
.carousel-arrow:disabled:hover { color: var(--white-ink); }
.carousel-indicator { position: relative; flex: 1; height: 1px; background: rgba(244, 241, 232, 0.25); max-width: 90px; }
.carousel-indicator-fill {
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  background: var(--white-ink);
  transition: width var(--dur-md) var(--ease-out), left var(--dur-md) var(--ease-out);
}

.reviews-viewport { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: var(--space-6);
  transition: transform var(--dur-md) var(--ease-drawer);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { transition: none; }
}
.review-item { flex: 0 0 auto; width: clamp(260px, 26vw, 310px); display: flex; flex-direction: column; }
.review-bubble {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  min-height: 200px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  box-shadow: 0 18px 40px -28px hsl(var(--shadow-color) / 0.55);
}
.review-bubble::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 16px 0 0;
  border-color: var(--paper) transparent transparent transparent;
  filter: drop-shadow(2px 4px 2px hsl(var(--shadow-color) / 0.12));
}
.review-bubble-text { color: var(--ink-muted); font-size: var(--text-sm); line-height: 1.65; }
.review-item .review-stars { display: flex; gap: 2px; color: var(--moss-strong); }
.review-item .review-stars svg { width: 15px; height: 15px; }
.review-author { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-6); padding-left: var(--space-2); }
.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
}
.review-author-name { display: block; font-weight: 700; font-size: var(--text-sm); color: var(--white-ink); }
.review-author-date { display: block; font-size: var(--text-xs); color: rgba(244, 241, 232, 0.6); }
@media (max-width: 640px) {
  .review-item { width: 82vw; }
  .reviews-quote-mark { font-size: 4rem; }
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  background: var(--moss);
  color: var(--forest-deep);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-input);
  z-index: var(--z-toast);
  font-weight: 600;
  transition: top var(--dur-sm) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

/* ==========================================================================
   Navegacion
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: calc(var(--z-menu) + 1);
  background: rgba(247, 241, 225, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--border);
  height: 72px;
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Paginas con hero a sangre (fondo solido o foto): la barra de navegacion
   flota como una pastilla dentro del hero, no como barra solida separada. */
body.page-home .site-header,
body.page-about .site-header,
body.page-tienda .site-header,
body.page-clientes .site-header,
body.page-contacto .site-header {
  height: auto;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-block: var(--space-4);
}
body.page-home .nav,
body.page-about .nav,
body.page-tienda .nav,
body.page-clientes .nav,
body.page-contacto .nav {
  background: rgba(247, 241, 225, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-radius: var(--radius-pill);
  padding-inline: var(--space-6);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.4);
}
body.page-home .promo-strip,
body.page-about .promo-strip,
body.page-tienda .promo-strip,
body.page-clientes .promo-strip,
body.page-contacto .promo-strip { margin-bottom: 0; }
body.page-home .hero-full-bleed,
body.page-about .hero-full-bleed,
body.page-tienda .hero-full-bleed,
body.page-clientes .hero-full-bleed,
body.page-contacto .hero-full-bleed { margin-top: calc(-1 * (72px + var(--space-8))); }
@media (max-width: 767px) {
  body.page-home .hero-full-bleed,
  body.page-about .hero-full-bleed,
  body.page-tienda .hero-full-bleed,
  body.page-clientes .hero-full-bleed,
  body.page-contacto .hero-full-bleed { margin-top: calc(-1 * (72px + var(--space-8))); }
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  white-space: nowrap;
}
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.brand-word-wild { color: var(--ink); }
.brand-word-pet { color: var(--teal); }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-muted);
  padding-block: var(--space-2);
  border-bottom: 2px solid transparent;
  transition: color var(--dur-sm) var(--ease-out), border-color var(--dur-sm) var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--teal);
}

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-social { display: none; align-items: center; gap: var(--space-3); }
@media (min-width: 640px) { .nav-social { display: flex; } }
.nav-social a { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; color: var(--teal); transition: opacity var(--dur-sm); }
.nav-social a:hover { opacity: 0.7; }
.nav-social svg { width: 24px; height: 24px; }

.btn-whatsapp-nav {
  display: none;
  align-items: center;
  gap: var(--space-2);
  background: var(--moss);
  color: var(--forest-deep);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background var(--dur-sm) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
@media (min-width: 640px) { .btn-whatsapp-nav { display: inline-flex; } }
.btn-whatsapp-nav:hover { background: var(--moss-strong); }
.btn-whatsapp-nav:active { transform: scale(0.97); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--dur-md) var(--ease-out), opacity var(--dur-md) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100dvh;
  z-index: var(--z-menu);
  background: var(--white);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-md) var(--ease-out), transform var(--dur-md) var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu ul { padding: var(--space-8) var(--space-6) var(--space-4); display: grid; gap: var(--space-2); }
/* Default (non-hero pages): reserve space for 72px nav */
.mobile-menu ul { padding-top: calc(72px + var(--space-4)); }
/* Hero pages: site-header is 72px + 32px padding = 104px */
body.page-home .mobile-menu ul,
body.page-about .mobile-menu ul,
body.page-tienda .mobile-menu ul,
body.page-clientes .mobile-menu ul,
body.page-contacto .mobile-menu ul { padding-top: calc(104px + var(--space-2)); }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.mobile-menu .btn-whatsapp-nav { display: none; }
.mobile-menu-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: none;
  border: 0;
}
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-menu-ctas {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  padding-inline: 0;
  margin-top: var(--space-4);
}
.mobile-menu-ctas .btn {
  width: auto; height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  background: none;
  border: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  min-width: unset;
  font-size: 0;
  color: var(--teal);
}
.mobile-menu-ctas .btn svg { width: 40px; height: 40px; }
.mobile-menu-credit {
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
  padding: var(--space-4) var(--space-6) var(--space-5);
  margin-top: auto;
}
.mobile-menu-credit a {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  padding-block: 0;
  border-bottom: 0;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-7);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-sm);
  white-space: nowrap;
  transition: transform var(--dur-press) var(--ease-out), background var(--dur-sm) var(--ease-out), box-shadow var(--dur-sm) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--moss);
  color: var(--forest-deep);
}
.btn-primary:hover { background: var(--moss-strong); box-shadow: 0 12px 28px -10px rgba(147, 165, 99, 0.55); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-teal { background: var(--teal); color: var(--white-ink); }
.btn-teal:hover { background: var(--teal-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

/* ==========================================================================
   Tipografia utilitaria
   ========================================================================== */
.kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.h1 { font-size: var(--text-4xl); line-height: 1.05; color: var(--forest); }
.h2 { font-size: var(--text-3xl); line-height: 1.1; color: var(--forest); }
.h3 { font-size: var(--text-2xl); line-height: 1.15; color: var(--forest); }
.lede { font-size: var(--text-lg); color: var(--ink-muted); max-width: 60ch; }
.body-muted { color: var(--ink-muted); max-width: 65ch; }

/* ==========================================================================
   Franja de descuento / envio gratis
   ========================================================================== */
.promo-strip {
  background: var(--teal);
  color: var(--white-ink);
  overflow: hidden;
  white-space: nowrap;
  padding-block: var(--space-2);
  margin-bottom: var(--space-2);
}
.promo-strip strong { color: var(--sage-soft); }
.promo-track {
  display: inline-flex;
  align-items: center;
  animation: promo-scroll 60s linear infinite;
}
.promo-track span {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  padding-inline: var(--space-8);
}
.promo-track span svg { display: inline-block; width: 14px; height: 14px; margin-right: var(--space-3); opacity: 0.7; vertical-align: -2px; }
@keyframes promo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--space-10);
  align-items: center;
  padding-top: var(--space-16);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; padding-top: var(--space-20); }
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy .h1 { margin-bottom: var(--space-5); }
.hero-copy .lede { margin-bottom: var(--space-8); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--wood) 0%, #4a2e1a 55%, var(--forest) 100%);
}

/* ---- Marcador de foto real pendiente ---- */
.photo-slot {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(155deg, var(--white-soft) 0%, var(--paper) 65%);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(32, 48, 31, 0.03), 0 18px 40px -26px hsl(var(--shadow-color) / 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.photo-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 90% 70% at 20% 0%, rgba(181, 103, 47, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(109, 36, 56, 0.08), transparent 60%);
}
.photo-slot .photo-slot-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-6);
  color: var(--ink-faint);
  font-size: var(--text-sm);
  max-width: 28ch;
}
.photo-slot .photo-slot-label svg { width: 30px; height: 30px; margin-inline: auto var(--space-3); opacity: 0.8; color: var(--teal); }
.photo-slot .photo-slot-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  padding: 3px var(--space-3);
  border-radius: var(--radius-pill);
  background: rgba(255, 251, 241, 0.8);
  border: 1px solid var(--border-strong);
  color: var(--ink-muted);
}
.photo-slot.aspect-square { aspect-ratio: 1 / 1; }
.photo-slot.aspect-wide { aspect-ratio: 16 / 10; }
.photo-slot.aspect-portrait { aspect-ratio: 4 / 5; }

/* ==========================================================================
   Bento de fotos (Sobre nosotros)
   ========================================================================== */
.photo-bento {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 1fr);
}
.photo-bento .photo-slot:nth-child(1) { grid-row: 1 / 3; min-height: 460px; }
.photo-bento .photo-slot:nth-child(2) { transition-delay: 90ms; }
.photo-bento .photo-slot:nth-child(3) { transition-delay: 180ms; }
@media (max-width: 767px) {
  .photo-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .photo-bento .photo-slot:nth-child(1) { grid-row: auto; min-height: 220px; }
}

/* ==========================================================================
   Coverflow de fotos ("Nuestro espacio", galeria de mascotas) — foto
   central grande con las vecinas asomando a los lados en profundidad,
   igual que el formato original. Cada foto fluye sola, sin parar, de
   izquierda a derecha: TODAS comparten el mismo @keyframes con un
   animation-delay distinto (negativo, repartido a partes iguales), asi
   que estan siempre en marcha, en fases distintas del mismo ciclo — puro
   CSS, nada de JS por fotograma, para que nunca dependa de que el usuario
   mueva el raton o pulse.
   ========================================================================== */
.coverflow { position: relative; }
.coverflow-stage {
  position: relative;
  height: clamp(300px, 40vw, 460px);
  margin-inline: auto;
  max-width: 1120px;
  overflow: hidden;
}
.coverflow-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(240px, 29vw, 340px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  cursor: pointer;
  user-select: none;
  animation-name: coverflow-flow;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes coverflow-flow {
  0%   { transform: translateX(-344%) scale(0.5);  opacity: 0;    z-index: 1; }
  16%  { transform: translateX(-246%) scale(0.7);  opacity: 0.35; z-index: 3; }
  33%  { transform: translateX(-148%) scale(0.86); opacity: 0.8;  z-index: 5; }
  50%  { transform: translateX(-50%)  scale(1);    opacity: 1;    z-index: 8; }
  67%  { transform: translateX(48%)   scale(0.86); opacity: 0.8;  z-index: 5; }
  84%  { transform: translateX(146%)  scale(0.7);  opacity: 0.35; z-index: 3; }
  100% { transform: translateX(244%)  scale(0.5);  opacity: 0;    z-index: 1; }
}

/* Variante para la galeria de "Clientes" — fotos mas grandes (sobre todo
   de alto) y mas separadas entre si que en "Nuestro espacio". */
@keyframes coverflow-flow-wide {
  0%   { transform: translateX(-460%) scale(0.5);  opacity: 0;    z-index: 1; }
  16%  { transform: translateX(-325%) scale(0.7);  opacity: 0.35; z-index: 3; }
  33%  { transform: translateX(-188%) scale(0.86); opacity: 0.8;  z-index: 5; }
  50%  { transform: translateX(-50%)  scale(1);    opacity: 1;    z-index: 8; }
  67%  { transform: translateX(88%)   scale(0.86); opacity: 0.8;  z-index: 5; }
  84%  { transform: translateX(225%)  scale(0.7);  opacity: 0.35; z-index: 3; }
  100% { transform: translateX(360%)  scale(0.5);  opacity: 0;    z-index: 1; }
}
body.page-clientes .coverflow-stage { height: clamp(380px, 50vw, 560px); max-width: 1200px; }
body.page-clientes .coverflow-slide { width: clamp(260px, 30vw, 360px); aspect-ratio: 3 / 4.2; animation-name: coverflow-flow-wide; }

/* Overlay de nombre/raza directamente sobre la foto (sin fondo solido) —
   usado por la galeria de mascotas de "Clientes". */
.coverflow-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-8) var(--space-4) var(--space-4);
  background: linear-gradient(to top, rgba(15, 17, 12, 0.75), transparent);
  color: var(--white-ink);
  text-align: center;
  pointer-events: none;
}
.coverflow-slide-caption .pet-name { display: block; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }
.coverflow-slide-caption .pet-breed {
  display: block;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--sage-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  text-shadow:
    -1px -1px 2px rgba(15, 17, 12, 0.9),
    1px -1px 2px rgba(15, 17, 12, 0.9),
    -1px 1px 2px rgba(15, 17, 12, 0.9),
    1px 1px 2px rgba(15, 17, 12, 0.9),
    0 2px 6px rgba(15, 17, 12, 0.7);
}

/* Lightbox compartido para coverflows con foto ampliada */
.coverflow-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal, 90);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.coverflow-lightbox.is-open { display: flex; }
.coverflow-lightbox-backdrop { position: absolute; inset: 0; background: rgba(15, 17, 12, 0.78); }
.coverflow-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.coverflow-lightbox-media { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; position: relative; }
.coverflow-lightbox-media .coverflow-slide.photo-slot {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: var(--radius-card);
}
.coverflow-lightbox-info { text-align: center; color: var(--white-ink); }
.coverflow-lightbox-info .pet-name { display: block; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; }
.coverflow-lightbox-info .pet-breed { display: block; color: var(--sage-soft); font-size: var(--text-sm); margin-top: var(--space-1); }
.coverflow-lightbox-info .pet-quote { color: rgba(244, 241, 232, 0.85); font-size: var(--text-sm); margin-top: var(--space-3); }
.coverflow-lightbox-close {
  position: absolute;
  top: calc(-1 * var(--space-10));
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 232, 0.4);
  background: transparent;
  color: var(--white-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.coverflow-lightbox-close:hover { border-color: var(--white-ink); }
.coverflow-lightbox-close svg { width: 18px; height: 18px; }

/* ==========================================================================
   Accesos directos (home)
   ========================================================================== */
.quick-bento {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: repeat(2, 1fr);
}
.quick-bento .quick-link.is-featured { grid-row: 1 / 3; }
@media (max-width: 767px) {
  .quick-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .quick-bento .quick-link.is-featured { grid-row: auto; }
}
.quick-bento .quick-link:nth-child(1) { transition-delay: 0ms; }
.quick-bento .quick-link:nth-child(2) { transition-delay: 90ms; }
.quick-bento .quick-link:nth-child(3) { transition-delay: 180ms; }
.quick-bento .quick-link:hover { transition-delay: 0ms; }

.quick-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-card);
  background: var(--paper);
  border: 1px solid var(--border);
  transition: transform var(--dur-sm) var(--ease-out), border-color var(--dur-sm) var(--ease-out), background var(--dur-sm) var(--ease-out),
    opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.quick-link:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 20px 44px -28px hsl(var(--shadow-color) / 0.6);
}
.quick-link .icon { width: 40px; height: 40px; color: var(--teal); }
.quick-link.is-featured {
  position: relative;
  justify-content: space-between;
  padding: var(--space-8);
  overflow: hidden;
  background: linear-gradient(155deg, var(--white-soft), var(--paper));
}
.quick-link.is-featured::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 36, 56, 0.12), transparent 70%);
  pointer-events: none;
}
.quick-link.is-featured .icon { width: 52px; height: 52px; position: relative; z-index: 1; }
.quick-link.is-featured > div { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-2); }
.quick-link.is-featured h3 { font-size: var(--text-2xl); }
.quick-link h3 { font-size: var(--text-lg); font-family: var(--font-display); }
.quick-link p { color: var(--ink-muted); font-size: var(--text-sm); }

/* ==========================================================================
   Feed Instagram (editable via manifest)
   ========================================================================== */
.ig-feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
@media (min-width: 640px) { .ig-feed { grid-template-columns: repeat(4, 1fr); } }
.ig-tile {
  position: relative;
  border-radius: var(--radius-input);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; }
.ig-tile .ig-caption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(32, 48, 31, 0.85), transparent);
  color: var(--white-ink);
  font-size: var(--text-xs);
  padding: var(--space-3);
  opacity: 0;
  transition: opacity var(--dur-sm) var(--ease-out);
}
.ig-tile:hover .ig-caption { opacity: 1; }
.ig-loading {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; color: var(--ink-faint); font-size: var(--text-sm);
}

/* ==========================================================================
   Catalogo
   ========================================================================== */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
  position: sticky;
  top: 88px;
  z-index: 5;
  background: rgba(247, 241, 225, 0.92);
  backdrop-filter: blur(8px);
  padding-block: var(--space-3);
}
.filter-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.catalog-block + .catalog-block { margin-top: var(--space-20); }
.catalog-block .section-head { margin-bottom: var(--space-8); }
.catalog-block .section-head h2 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  white-space: nowrap;
}
.filter-chip {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--paper);
  transition: background var(--dur-sm) var(--ease-out), border-color var(--dur-sm) var(--ease-out), color var(--dur-sm) var(--ease-out);
}
.filter-chip[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--forest-deep); }
.filter-chip:hover:not([aria-pressed="true"]) { border-color: var(--teal); color: var(--teal); }

.product-tags { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-1); }
.tag { font-size: var(--text-xs); font-weight: 700; padding: 2px var(--space-2); border-radius: var(--radius-pill); background: var(--white-soft); color: var(--ink-muted); }

/* ==========================================================================
   Tarjetas genericas / valores
   ========================================================================== */
.value-featured {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-8);
  border-radius: var(--radius-card);
  background: linear-gradient(120deg, var(--white-soft), var(--paper));
  border: 1px solid var(--border);
  margin-bottom: var(--space-6);
}
.value-featured .icon { width: 52px; height: 52px; color: var(--teal); flex-shrink: 0; }
.value-featured h3 { font-size: var(--text-xl); margin-bottom: var(--space-1); }
.value-featured p { color: var(--ink-muted); }
@media (max-width: 640px) { .value-featured { flex-direction: column; align-items: flex-start; } }

.value-list {
  display: grid;
  gap: var(--space-12) var(--space-10);
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .value-list { grid-template-columns: repeat(3, 1fr); }
}
.value-list .value-item:nth-child(1) { transition-delay: 0ms; }
.value-list .value-item:nth-child(2) { transition-delay: 90ms; }
.value-list .value-item:nth-child(3) { transition-delay: 180ms; }
.value-item { display: flex; flex-direction: column; align-items: center; }
.value-item .value-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--moss);
  margin-bottom: var(--space-5);
}
.value-list .value-item:nth-child(2) .value-icon { background: var(--teal); }
.value-list .value-item:nth-child(3) .value-icon { background: var(--sage); }
.value-item .value-icon .icon { width: 26px; height: 26px; color: var(--white-ink); }
.value-item h3 { font-size: var(--text-lg); font-weight: 700; color: var(--ink); }
.value-item p { color: var(--ink-muted); font-size: var(--text-sm); margin-top: var(--space-2); max-width: 300px; }

/* ==========================================================================
   Servicios — dos columnas editoriales, una junto a otra, separadas por
   una linea vertical muy sutil. Sin fotos de relleno: el contenido y el
   icono circular llevan el peso visual.
   ========================================================================== */
.services-columns { display: grid; gap: var(--space-14); margin-top: var(--space-14); }
@media (min-width: 800px) {
  .services-columns { grid-template-columns: 1fr 1fr; gap: var(--space-16); position: relative; }
  .services-columns::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 50%;
    width: 1px;
    background: var(--border);
    transform: translateX(-50%);
  }
}
.service-col { display: flex; flex-direction: column; align-items: flex-start; }
.service-col-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--moss);
  margin-bottom: var(--space-5);
  animation: service-icon-breathe 3.4s ease-in-out infinite;
  transition: transform var(--dur-sm) var(--ease-out);
}
.service-col:hover .service-col-icon { transform: scale(1.1) rotate(-6deg); }
.service-col-icon svg { width: 24px; height: 24px; color: var(--white-ink); }
.services-columns .service-col:nth-child(2) .service-col-icon { background: var(--teal); }
.services-columns .service-col:nth-child(2) { transition-delay: 140ms; }
@keyframes service-icon-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .service-col-icon { animation: none; }
}
.service-col h3 { margin-top: var(--space-2); font-size: var(--text-xl); white-space: nowrap; }
@media (max-width: 767px) {
  .service-col h3 { white-space: normal; }
}
.service-col .btn { margin-top: var(--space-7); align-self: flex-start; }
.service-col > .body-muted { text-align: justify; text-align-last: left; }
.coverage-list { display: grid; gap: var(--space-3); margin-top: var(--space-6); margin-bottom: auto; }
.coverage-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}
.reveal.is-visible .coverage-list li { opacity: 1; transform: none; }
.coverage-list li:nth-child(1) { transition-delay: 80ms; }
.coverage-list li:nth-child(2) { transition-delay: 200ms; }
.coverage-list li:nth-child(3) { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .coverage-list li { transition: opacity 200ms linear; transform: none; }
}
.coverage-list li span { text-align: justify; text-align-last: left; }
.coverage-list .icon { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

.points-banner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-8);
  border-radius: var(--radius-card);
  background: var(--paper);
  border: 1px solid var(--border);
}

/* ==========================================================================
   Clientes / carrusel de mascotas — un escenario grande (foto + nombre +
   raza) con flechas para pasar de una mascota a la siguiente, con
   transicion de foto/texto. Con 0-1 mascotas se muestra sin flechas.
   ========================================================================== */
.pet-carousel { max-width: 760px; margin-inline: auto; }
.pet-carousel-stage {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid;
  box-shadow: 0 24px 50px -32px hsl(var(--shadow-color) / 0.5);
}
@media (min-width: 640px) {
  .pet-carousel-stage { grid-template-columns: 1fr 1fr; min-height: 380px; }
}
.pet-carousel-media { position: relative; aspect-ratio: 4/5; background: var(--white-soft); }
@media (min-width: 640px) { .pet-carousel-media { aspect-ratio: auto; height: 100%; } }
.pet-carousel-media img { width: 100%; height: 100%; object-fit: cover; }
.pet-carousel-media.photo-slot { min-height: 260px; }
.pet-carousel-info { padding: var(--space-8); display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); }
.pet-carousel-name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: var(--ink); margin: 0; }
.pet-carousel-breed { text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--text-xs); font-weight: 700; color: var(--teal); }
.pet-carousel-quote { color: var(--ink-muted); font-style: italic; margin-top: var(--space-3); max-width: 34ch; }
.pet-carousel-media, .pet-carousel-info > * {
  transition: opacity var(--dur-md) var(--ease-out), transform var(--dur-md) var(--ease-out);
}
.pet-carousel-stage.is-changing .pet-carousel-media { opacity: 0; transform: scale(0.98); }
.pet-carousel-stage.is-changing .pet-carousel-info > * { opacity: 0; transform: translateY(6px); }
.pet-carousel-stage.is-changing .pet-carousel-info > *:nth-child(2) { transition-delay: 40ms; }
.pet-carousel-stage.is-changing .pet-carousel-info > *:nth-child(3) { transition-delay: 80ms; }
@media (prefers-reduced-motion: reduce) {
  .pet-carousel-media, .pet-carousel-info > * { transition: opacity var(--dur-sm) linear; transform: none !important; }
}
.pet-carousel-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-5); margin-top: var(--space-6); }
.pet-carousel.is-empty .pet-carousel-controls { display: none; }
.pet-carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-sm) var(--ease-out), color var(--dur-sm) var(--ease-out), border-color var(--dur-sm) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.pet-carousel-arrow svg { width: 18px; height: 18px; }
.pet-carousel-arrow:hover:not(:disabled) { background: var(--moss); border-color: var(--moss); color: var(--forest-deep); }
.pet-carousel-arrow:active:not(:disabled) { transform: scale(0.94); }
.pet-carousel-arrow:disabled { opacity: 0.35; cursor: default; }
.pet-carousel-counter { font-size: var(--text-sm); font-weight: 700; color: var(--ink-faint); min-width: 46px; text-align: center; }

.share-form {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
}

/* ==========================================================================
   Formularios
   ========================================================================== */
.form-grid { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 700; }
.field .hint { font-size: var(--text-xs); color: var(--ink-faint); }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select {
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-input);
  padding: var(--space-3) var(--space-4);
  color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.field-error { font-size: var(--text-xs); color: var(--danger); min-height: 1em; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }

/* Input de archivo — boton y texto "ningun archivo seleccionado" mas
   discretos que el tamaño por defecto del navegador. */
.field input[type="file"] {
  font-size: var(--text-xs);
  color: var(--ink-faint);
}
.field input[type="file"]::file-selector-button {
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-2) var(--space-3);
  margin-right: var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { border-color: var(--teal); color: var(--teal); }

/* Checkbox de consentimiento — fila alineada con la primera linea del
   texto en lugar del margin-top ad-hoc que se veia descuadrado. */
.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.5;
  cursor: pointer;
}
.field-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 0;
  position: relative;
  top: 0.2em;
  accent-color: var(--teal);
  cursor: pointer;
}
.form-status {
  border-radius: var(--radius-input);
  padding: var(--space-4);
  font-size: var(--text-sm);
  display: none;
}
.form-status.is-success { display: block; background: rgba(79, 122, 63, 0.12); color: var(--success); border: 1px solid var(--success); }
.form-status.is-error { display: block; background: rgba(173, 58, 58, 0.12); color: var(--danger); border: 1px solid var(--danger); }

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-grid { display: grid; gap: var(--space-10); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.map-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-fallback {
  display: none;
  align-items: center; justify-content: center;
  height: 100%; padding: var(--space-6); text-align: center; color: var(--ink-muted);
  background: var(--paper);
}
.hours-table { display: grid; gap: var(--space-2); }
.hours-table .row { display: flex; justify-content: space-between; padding-block: var(--space-2); border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
.hours-table .row span:last-child { color: var(--ink-muted); }

.contact-methods { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.contact-method { display: flex; gap: var(--space-4); align-items: center; }
.contact-method .icon { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; }

/* ==========================================================================
   QR imprimible
   ========================================================================== */
.qr-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  align-items: center;
}
.qr-box { background: #fff; padding: var(--space-3); border-radius: var(--radius-input); flex-shrink: 0; }

/* ==========================================================================
   Huellas por toda la web — divisor de seccion reutilizable
   ========================================================================== */
.paw-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-block: var(--space-4) 0;
  color: var(--teal);
  opacity: 0.45;
}
.paw-divider svg { width: 14px; height: 14px; }
.paw-divider svg:nth-child(2n) { opacity: 0.6; transform: translateY(-3px); }

.paw-li { display: flex; gap: var(--space-3); align-items: flex-start; }
.paw-li .paw-bullet { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 4px; }

/* ==========================================================================
   Hero horizontal a pantalla completa (Inicio) — imagen a sangre (edge to
   edge, sin margenes) + elementos encima. La franja de estadisticas se monta
   sobre el borde inferior y funde con la seccion siguiente sin corte.
   ========================================================================== */
.hero-full-bleed {
  position: relative;
  width: 100%;
}
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 102vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  padding: var(--space-8) var(--space-8) calc(var(--space-24) + var(--space-16));
}
@media (min-width: 768px) {
  .hero-banner { padding-inline: 6rem; }
}
@media (min-width: 1200px) {
  .hero-banner { padding-inline: 9rem; }
}
@media (max-width: 767px) {
  .hero-banner { padding-bottom: var(--space-10); }
}
.hero-banner .hero-banner-row {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.hero-banner .hero-banner-copy { max-width: 720px; }
.hero-banner .hero-banner-copy > * + * { margin-top: var(--space-3); }
.hero-banner .h1 { font-size: clamp(2.75rem, 6vw, 5rem); line-height: 0.95; }
.hero-banner .h1, .hero-banner .lede { color: var(--white-ink); }
.hero-banner .btn-primary { background: var(--white-ink); color: var(--forest); }
.hero-banner .btn-primary:hover { background: var(--sage-soft); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.4); }
.hero-banner .btn-teal {
  background: rgba(244, 241, 232, 0.12);
  border: 1.5px solid rgba(244, 241, 232, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-banner .btn-teal:hover { background: rgba(244, 241, 232, 0.24); }
.hero-banner .lede { color: rgba(244, 241, 232, 0.85); font-size: var(--text-base); margin-top: var(--space-5); }
.hero-banner .hero-banner-ctas { margin-top: var(--space-6); }
@media (max-width: 640px) {
  .hero-banner { min-height: 620px; padding-inline: var(--space-6); align-items: flex-end; }
  .hero-banner .hero-banner-row { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Barra de estadisticas — semicirculo real: redondeada solo arriba, plana
   abajo, montada sobre el hero y fundida con la seccion siguiente (sin hueco).
   ========================================================================== */
.stats-arc {
  background: var(--forest);
  color: var(--white-ink);
  border-radius: 999px 999px 0 0;
  padding: var(--space-8) var(--space-16) var(--space-4);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: calc(-1 * var(--space-8));
  position: relative;
  z-index: 3;
}
@media (min-width: 768px) {
  .stats-arc { margin-inline: calc(-1 * var(--space-6)); }
}
.stats-arc .stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: var(--space-3);
  row-gap: 2px;
  text-align: left;
}
.stats-arc .stat .icon {
  grid-row: 1 / 3;
  grid-column: 1;
  width: 24px;
  height: 24px;
  color: var(--sage-soft);
}
.stats-arc .stat strong { grid-row: 1; grid-column: 2; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 900; line-height: 1; }
.stats-arc .stat span { grid-row: 2; grid-column: 2; font-size: var(--text-sm); color: #c9c4b3; }
@media (max-width: 767px) {
  .stats-arc {
    grid-template-columns: 1fr;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--ink);
    margin-top: var(--space-6);
    gap: var(--space-4);
    padding: var(--space-6) 0;
  }
  .stats-arc .stat strong { color: var(--forest); }
  .stats-arc .stat span { color: var(--ink-muted); }
  .stats-arc .stat .icon { color: var(--teal); }
}

/* ==========================================================================
   Cajas con imagen y etiqueta (estilo Galletas Roco) — "Empieza por aqui"
   Un rectangulo grande arriba + dos cuadrados pequeños debajo, cada uno con
   boton propio hacia su pagina.
   ========================================================================== */
.box-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr 1fr; }
.box-grid .box-card.is-primary { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 640px) {
  .box-grid { grid-template-columns: 1fr; }
  .box-grid .box-card.is-primary { aspect-ratio: 4 / 3; }
}
.box-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  transition: transform var(--dur-sm) var(--ease-out), box-shadow var(--dur-sm) var(--ease-out);
}
.box-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -26px hsl(var(--shadow-color) / 0.55); }
.box-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 700ms var(--ease-out);
}
.box-card:hover > img { transform: scale(1.05); }
.box-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18, 16, 12, 0.8) 0%, rgba(18, 16, 12, 0.15) 65%, transparent 100%);
}
.box-card .box-card-label {
  position: relative; z-index: 1;
  padding: var(--space-6);
  color: var(--white-ink);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: var(--space-4);
}
.box-card.is-primary .box-card-label { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.box-card .box-card-label .icon { width: 30px; height: 30px; color: var(--sage-soft); margin-bottom: var(--space-2); }
.box-card .box-card-label h3 {
  color: var(--white-ink);
  font-size: var(--text-xl);
  text-shadow:
    -1px -1px 3px rgba(0, 0, 0, 0.9),
    1px -1px 3px rgba(0, 0, 0, 0.9),
    -1px 1px 3px rgba(0, 0, 0, 0.9),
    1px 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.7);
}
.box-card .box-card-label p {
  color: rgba(244, 241, 232, 0.95);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
  max-width: 42ch;
  text-shadow:
    -1px -1px 3px rgba(0, 0, 0, 0.9),
    1px -1px 3px rgba(0, 0, 0, 0.9),
    -1px 1px 3px rgba(0, 0, 0, 0.9),
    1px 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.65);
}
.box-card .box-card-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--moss);
  color: var(--forest-deep);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background var(--dur-sm) var(--ease-out);
}
.box-card:hover .box-card-btn { background: var(--moss-strong); }

/* ==========================================================================
   Foto horizontal con barra translucida superpuesta (estilo "Ingredientes
   Naturales") — una sola imagen, no panel al lado, con las 3 caracteristicas
   dentro de una franja semitransparente sobre la propia foto.
   ========================================================================== */
.split-feature {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: stretch;
}
.split-feature .split-feature-image { position: absolute; inset: 0; border-radius: 0; border: 0; }
.split-feature .split-feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.split-feature .split-feature-panel {
  position: relative;
  z-index: 1;
  background: rgba(63, 107, 94, 0.82);
  color: var(--white-ink);
  width: min(380px, 48%);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
}
.split-feature .feature-row:not(:first-child)::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: rgba(244, 241, 232, 0.45);
  margin-bottom: var(--space-4);
  transition: width var(--dur-md) var(--ease-out);
}
.split-feature .feature-row h3 { color: var(--white-ink); font-family: var(--font-display); font-size: var(--text-xl); white-space: nowrap; margin-bottom: var(--space-2); }
.split-feature .feature-row p { color: rgba(244, 241, 232, 0.85); font-size: var(--text-base); }
/* Entrada escalonada al hacer scroll + pequeno gesto vivo al pasar el
   raton, para que el panel no se sienta estatico. */
.split-feature .feature-row {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.split-feature.reveal.is-visible .feature-row { opacity: 1; transform: none; }
.split-feature .feature-row:nth-child(1) { transition-delay: 60ms; }
.split-feature .feature-row:nth-child(2) { transition-delay: 200ms; }
.split-feature .feature-row:nth-child(3) { transition-delay: 340ms; }
.split-feature.reveal.is-visible .feature-row:hover { transform: translateX(4px); }
.split-feature .feature-row:hover:not(:first-child)::before { width: 56px; background: var(--sage-soft); }
@media (prefers-reduced-motion: reduce) {
  .split-feature .feature-row { transition: opacity 250ms linear; transform: none !important; }
}
@media (max-width: 640px) {
  .split-feature .split-feature-panel { width: min(260px, 78%); padding: var(--space-6) var(--space-5); }
  .split-feature .feature-row h3 { white-space: normal; }
}

/* ==========================================================================
   Galeria de mascotas de clientes — bento de color a cuadros (estilo
   "momentos felices"): foto / mensaje en grande / foto / ficha de mascota,
   y se repite en la fila de abajo en orden invertido.
   ========================================================================== */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.moments-grid .moment {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
  position: relative;
}
.moments-grid .moment.tone-a { background: var(--moss-dark); }
.moments-grid .moment.tone-b { background: var(--teal); }
.moments-grid .moment.tone-c { background: var(--sage); }
.moments-grid .moment.tone-photo { padding: 0; overflow: hidden; }
.moments-grid .moment.tone-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.moments-grid .moment.tone-photo:hover img { transform: scale(1.06); }
.moments-grid .moment h3, .moments-grid .moment p, .moments-grid .moment span { position: relative; z-index: 1; }
.moments-grid .moment.tone-a h3, .moments-grid .moment.tone-b h3 { color: var(--white-ink); }
.moments-grid .moment.tone-a p, .moments-grid .moment.tone-b p { color: rgba(244, 241, 232, 0.85); }
.moments-grid .moment.type-message { text-align: center; align-items: center; justify-content: center; }
.moments-grid .moment.type-message h3 { font-size: var(--text-xl); line-height: 1.2; }
.moments-grid .moment.type-pet { align-items: center; text-align: center; }
.moments-grid .moment.type-pet > div { display: flex; flex-direction: column; gap: var(--space-5); width: 100%; }
.moments-grid .moment.type-pet .pet-heading { display: flex; flex-direction: column; gap: 2px; }
.moments-grid .moment.type-pet .pet-name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); line-height: 1.05; }
.moments-grid .moment.type-pet .pet-meta { display: block; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.05em; color: var(--sage-soft); }
.moments-grid .moment.type-pet .pet-quote { font-size: var(--text-sm); line-height: 1.4; font-style: italic; }
@media (max-width: 900px) {
  .moments-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
}

/* Entrada escalonada por celda + hover en las fichas de mascota */
.moments-grid .moment {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.moments-grid.reveal.is-visible .moment { opacity: 1; transform: none; }
.moments-grid .moment:nth-child(1) { transition-delay: 0ms; }
.moments-grid .moment:nth-child(2) { transition-delay: 70ms; }
.moments-grid .moment:nth-child(3) { transition-delay: 140ms; }
.moments-grid .moment:nth-child(4) { transition-delay: 210ms; }
.moments-grid .moment:nth-child(5) { transition-delay: 280ms; }
.moments-grid .moment:nth-child(6) { transition-delay: 350ms; }
.moments-grid .moment:nth-child(7) { transition-delay: 420ms; }
.moments-grid .moment:nth-child(8) { transition-delay: 490ms; }
.moments-grid .moment.type-pet { transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), background 300ms var(--ease-out); }
.moments-grid .moment.type-pet:hover { background: var(--moss-strong); }
@media (prefers-reduced-motion: reduce) {
  .moments-grid .moment { transition: opacity 250ms linear; transform: none !important; }
  .moments-grid .moment.tone-photo img { transition: none; }
}
.moments-grid .moment.tone-c h3 { color: var(--forest); }
.moments-grid .moment.tone-c p { color: rgba(32, 48, 31, 0.8); }
.moments-grid .moment h3 { font-size: var(--text-lg); }
.moments-grid .moment p { font-size: var(--text-xs); margin-top: 2px; }
@media (max-width: 900px) { .moments-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Footer — redistribuido al estilo Waggenburg: banda clara arriba (marca,
   contacto, redes, legal), barra oscura redondeada abajo con el copyright.
   La barra oscura se queda en el verde-negro original del packaging: ancla
   la nueva direccion cremosa a la identidad real de la marca.
   ========================================================================== */
.site-footer {
  background: var(--white-soft);
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding-block: var(--space-8) var(--space-6);
}
@media (min-width: 768px) {
  .site-footer { padding-block: var(--space-12) var(--space-8); }
}
/* Fila unica, estrecha, orden izquierda -> derecha: logo+nombre grandes,
   resto de columnas pequeñas y compactas, redes sin fondo. */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-8);
}
@media (min-width: 768px) {
  .footer-grid { gap: var(--space-6) var(--space-20); }
}
.footer-brand { display: inline-flex; align-items: center; gap: var(--space-3); flex: 0 0 auto; }
.footer-brand img { width: 56px; height: 56px; flex-shrink: 0; }
@media (min-width: 768px) { .footer-brand img { width: 96px; height: 96px; } }
.footer-wordmark { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; }
@media (min-width: 768px) { .footer-wordmark { font-size: 3rem; } }
.footer-wordmark .brand-word-wild { color: var(--ink); }
.footer-wordmark .brand-word-pet { color: var(--teal); }
.footer-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); font-weight: 700; margin-bottom: 3px; }
.footer-item { flex: 0 0 auto; display: flex; flex-direction: column; gap: 1px; color: var(--ink-muted); font-size: var(--text-xs); }
.footer-item a { color: var(--ink-muted); transition: color var(--dur-sm); }
.footer-item a:hover { color: var(--teal); }
.footer-policies { flex: 0 1 200px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px var(--space-2); max-width: 200px; }
.footer-policies .footer-label { flex-basis: 100%; margin-bottom: 2px; }
.footer-policies a { font-size: 11px; color: var(--ink-faint); transition: color var(--dur-sm); }
.footer-policies a:hover { color: var(--teal); }
.footer-social { display: flex; gap: var(--space-4); flex: 0 0 auto; }
.footer-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); transition: opacity var(--dur-sm);
}
.footer-social a:hover { opacity: 0.7; }
.footer-social svg { width: 30px; height: 30px; }

.footer-bar {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--ink-faint);
}
.footer-bar .credit a, .footer-bottom .credit a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Pie simple de las paginas legales / 404 (sin footer-grid) */
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); align-items: center; justify-content: space-between; font-size: var(--text-xs); color: var(--ink-faint); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); }
.footer-legal a { color: var(--ink-muted); }
.footer-legal a:hover { color: var(--teal); }

/* ==========================================================================
   WhatsApp flotante — verde reconocible de WhatsApp, distinto del verde
   de marca a proposito (lectura instantanea del icono).
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: var(--z-toast);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25a25a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(32, 48, 31, 0.4);
  transition: transform var(--dur-sm) var(--ease-out), background var(--dur-sm) var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.06); background: #2dbf6b; }
body.menu-open .whatsapp-float { display: none; }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white-ink); }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-toast);
  background: var(--forest-deep);
  color: var(--white-ink);
  border-top: 1px solid rgba(244, 241, 232, 0.14);
  padding: var(--space-5) var(--space-6);
  transform: translateY(110%);
  transition: transform var(--dur-md) var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  align-items: center;
  justify-content: space-between;
}
.cookie-text { font-size: var(--text-sm); color: #c9c4b3; max-width: 60ch; }
.cookie-text a { color: var(--sage-soft); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.cookie-banner .btn-secondary { color: var(--white-ink); border-color: rgba(244, 241, 232, 0.3); }
.cookie-banner .btn-secondary:hover { border-color: var(--sage-soft); color: var(--sage-soft); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 300ms ease; }
  .quick-link:hover, .product-card-media:hover, .whatsapp-float:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Utilidades
   ========================================================================== */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack-gap-4 > * + * { margin-top: var(--space-4); }
.section-head { max-width: 62ch; margin-bottom: var(--space-12); }
.section-head.center { margin-inline: auto; text-align: center; }
@media (min-width: 900px) {
  body.page-home .section-head,
  body.page-about #espacio .section-head { max-width: none; }
  body.page-home .section-head .lede,
  body.page-home .section-head .body-muted,
  body.page-about #espacio .section-head .body-muted { max-width: none; }
}
.divider { height: 1px; background: var(--border); border: 0; margin-block: var(--space-16); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
  background: var(--white-soft); border: 1px solid var(--border-strong);
  font-size: var(--text-xs); font-weight: 700; color: var(--teal);
}

/* ==========================================================================
   Preguntas frecuentes — acordeon nativo (details/summary), sin JS.
   ========================================================================== */
.faq-list { display: grid; gap: var(--space-4); max-width: 820px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.faq-item .faq-icon {
  width: 22px; height: 22px; flex-shrink: 0; color: var(--teal);
  transition: transform var(--dur-md) var(--ease-out);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 var(--space-6) var(--space-6); margin: 0; color: var(--ink-muted); }
.faq-item:hover summary { color: var(--teal-strong); }

/* ==========================================================================
   Hero "Sobre nosotros" — fondo solido, nav embebida en el hero (mismo
   truco que Inicio), huellas sueltas de fondo y foto a modo de recorte
   de papel rasgado.
   ========================================================================== */
.hero-solid {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  padding: calc(72px + var(--space-16)) var(--space-6) var(--space-16);
  text-align: center;
}
@media (min-width: 768px) {
  .hero-solid { padding-inline: var(--space-10); padding-bottom: var(--space-20); }
}
.hero-solid-copy { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.hero-solid .h1 { color: var(--white-ink); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
.hero-solid .h1 .accent { color: var(--sage-soft); }
.hero-solid .lede { color: rgba(244, 241, 232, 0.85); max-width: 56ch; margin: var(--space-5) auto 0; }
.hero-solid .btn-row { justify-content: center; margin-top: var(--space-8); }

.btn-paw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(27, 33, 23, 0.18);
}
.btn-paw svg { width: 13px; height: 13px; }

/* ---- Titulo a dos tonos, reutilizable en cualquier hero ---- */
.accent { color: var(--teal); }
.hero-banner .h1 .accent { color: var(--sage-soft); }

/* ==========================================================================
   Franja verde oscuro — reutilizable para intercalar el verde de marca
   con el crema del resto de la web (mismo tono que el hero de Sobre
   nosotros y la barra de estadisticas de Inicio).
   ========================================================================== */
.band-forest {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  padding-block: var(--space-20);
}
.band-forest .h2 { color: var(--white-ink); }
.band-forest .lede { color: rgba(244, 241, 232, 0.85); }
.band-forest .btn-row { justify-content: center; margin-top: var(--space-8); }

.btn-ghost-down {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--white-ink);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-2);
}
.btn-ghost-down:hover { color: var(--sage-soft); }
.btn-ghost-down .arrow-down { width: 18px; height: 18px; animation: arrow-bounce-down 1.6s ease-in-out infinite; }
@keyframes arrow-bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-paws { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-paws svg { position: absolute; color: var(--sage-soft); opacity: 0.3; }
.hero-paws svg:nth-child(1) { top: 16%; left: 7%; width: 22px; height: 22px; transform: rotate(-18deg); }
.hero-paws svg:nth-child(2) { top: 20%; right: 9%; width: 26px; height: 26px; transform: rotate(14deg); }
.hero-paws svg:nth-child(3) { bottom: 34%; left: 12%; width: 18px; height: 18px; opacity: 0.2; transform: rotate(8deg); }
.hero-paws svg:nth-child(4) { bottom: 20%; right: 15%; width: 30px; height: 30px; transform: rotate(-10deg); }
.hero-paws svg:nth-child(5) { top: 48%; left: 3%; width: 16px; height: 16px; opacity: 0.18; transform: rotate(20deg); }
.hero-paws svg:nth-child(6) { top: 52%; right: 4%; width: 20px; height: 20px; transform: rotate(-22deg); }
@media (max-width: 640px) {
  .hero-paws svg:nth-child(4), .hero-paws svg:nth-child(5) { display: none; }
}

.hero-torn-wrap { position: relative; z-index: 2; max-width: 980px; margin: var(--space-12) auto 0; }
.torn-paper {
  clip-path: polygon(
    0% 6%, 4% 1%, 8% 5%, 13% 0%, 18% 4%, 23% 1%, 28% 6%, 33% 2%, 38% 5%, 43% 0%, 48% 4%,
    53% 1%, 58% 6%, 63% 2%, 68% 5%, 73% 0%, 78% 4%, 83% 1%, 88% 6%, 93% 2%, 100% 5%,
    100% 95%, 96% 100%, 91% 96%, 87% 100%, 82% 95%, 77% 99%, 72% 95%, 67% 100%, 62% 96%,
    57% 99%, 52% 95%, 47% 100%, 42% 96%, 37% 99%, 32% 95%, 27% 100%, 22% 96%, 17% 99%,
    12% 95%, 7% 100%, 0% 96%
  );
  height: 320px;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.35));
}
@media (min-width: 768px) { .torn-paper { height: 420px; } }

/* ==========================================================================
   Enlace fantasma con flecha animada ("ver mas detalles")
   ========================================================================== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--teal);
  background: none;
  border: 0;
  padding: var(--space-1) 0;
  cursor: pointer;
  font-family: var(--font-body);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-sm) var(--ease-out); flex-shrink: 0; }
.link-arrow:hover { color: var(--teal-strong); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Franja de marcas — barra festoneada (nube) con logos en movimiento
   continuo, como una cinta de anuncios.
   ========================================================================== */
.brand-cloud {
  position: relative;
  background: var(--white-soft);
  padding: var(--space-8) 0 var(--space-6);
  margin-top: var(--space-20);
  overflow: hidden;
}
.brand-cloud::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 28px;
  background-image: radial-gradient(circle at 14px 14px, transparent 14px, var(--white-soft) 14.5px);
  background-size: 28px 28px;
  background-repeat: repeat-x;
}
.brand-cloud-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--space-16);
  animation: promo-scroll 34s linear infinite;
}
.brand-cloud-track .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--ink-muted);
  white-space: nowrap;
}
.brand-cloud-track img {
  height: 64px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ==========================================================================
   Catalogo v2 — carrusel horizontal con flechas y swipe
   ========================================================================== */

/* Carousel wrapper: arrows flanking the viewport */
.product-carousel-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Arrow buttons */
.catalog-arrow {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px -4px hsl(var(--shadow-color) / 0.28);
  transition: background var(--dur-sm) var(--ease-out), transform var(--dur-sm) var(--ease-out), box-shadow var(--dur-sm) var(--ease-out);
  z-index: 1;
}
.catalog-arrow:hover:not(:disabled) {
  background: var(--teal);
  transform: scale(1.08);
  box-shadow: 0 8px 24px -6px hsl(var(--shadow-color) / 0.38);
}
.catalog-arrow:disabled { opacity: 0.28; cursor: not-allowed; }
.catalog-arrow svg { width: 22px; height: 22px; }
@media (max-width: 480px) {
  .catalog-arrow { width: 40px; height: 40px; }
  .catalog-arrow svg { width: 18px; height: 18px; }
}

/* Viewport hides overflow so only visible cards show */
.product-carousel-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

/* Track slides horizontally */
.product-carousel-track {
  display: flex;
  gap: var(--space-6);
  transition: transform 300ms var(--ease-out);
  will-change: transform;
}

/* Cards in the carousel are fixed-width flex items */
.product-card {
  flex: 0 0 210px;
  width: 210px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
}
@media (max-width: 640px) {
  .product-card { flex: 0 0 175px; width: 175px; }
  .product-carousel-track { gap: var(--space-4); }
  .product-carousel-wrap { gap: var(--space-3); }
}

/* Categories with fewer than 4 products: center cards, hide arrows (desktop only) */
@media (min-width: 641px) {
  .catalog-block.is-centered .catalog-arrow { display: none; }
  .catalog-block.is-centered .product-carousel-viewport { overflow: visible; }
  .catalog-block.is-centered .product-carousel-track {
    justify-content: center;
    transform: none !important;
  }
}

/* Product card media — no white box for real photos */
.product-card-media {
  border-radius: var(--radius-card);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform var(--dur-sm) var(--ease-out), box-shadow var(--dur-sm) var(--ease-out);
}
/* Placeholder (no real photo) gets a subtle card background */
.product-card-media:not(.has-photo) {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: var(--space-5);
}
/* Real photo — transparent display via multiply blend */
.product-card-media.has-photo {
  padding: var(--space-3);
}
.product-card-media.has-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-card-media svg { width: 100%; height: 100%; max-width: 120px; }
.product-card-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -28px hsl(var(--shadow-color) / 0.5);
}
.product-card-media.has-photo:hover { background: transparent; }
.product-card-variant-count {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--moss);
  color: var(--forest-deep);
}
.product-card-body { display: flex; flex-direction: column; gap: 2px; }
.product-card-category { font-size: var(--text-xs); font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; }
.product-card-brand { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); }
.product-card-name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); color: var(--ink); }
.product-card-price { font-weight: 700; color: var(--teal); font-size: var(--text-sm); }
.product-card .link-arrow { justify-content: center; margin-top: var(--space-1); align-self: center; }
@media (prefers-reduced-motion: reduce) {
  .product-card-media:hover { transform: none; }
  .product-carousel-track { transition: none; }
}

/* ---- Modal de detalle de producto ---- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-sm) var(--ease-out), visibility 0s linear var(--dur-sm);
}
.product-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-sm) var(--ease-out), visibility 0s linear 0s;
}
.product-modal-backdrop { position: absolute; inset: 0; background: rgba(18, 22, 15, 0.6); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.product-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: var(--radius-card);
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform var(--dur-sm) var(--ease-out);
}
.product-modal.is-open .product-modal-panel { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .product-modal-panel { transition: none; transform: none; }
}
@media (min-width: 720px) {
  .product-modal-panel { display: grid; grid-template-columns: 1fr 1fr; max-height: 620px; }
}
.product-modal-media {
  background: var(--white-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10);
  min-height: 240px;
}
.product-modal-media img, .product-modal-media svg { max-width: 100%; max-height: 300px; width: auto; object-fit: contain; }
.product-modal-info { padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.product-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.product-modal-close:hover { border-color: var(--teal); color: var(--teal); }
.product-modal-brand { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); font-weight: 800; }
.product-modal-name { font-family: var(--font-display); font-size: var(--text-xl); }
.product-modal-desc { color: var(--ink-muted); }
.product-modal-tags { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.tag-stage { background: var(--moss); color: var(--forest-deep); }
.product-modal-price { font-weight: 700; color: var(--ink); }
body.modal-open { overflow: hidden; }

/* ---- Selector de sabores/variantes (huella de color por sabor) ---- */
.product-modal-variants { display: flex; flex-direction: column; gap: var(--space-2); width: 100%; }
.product-modal-variants-label { font-size: var(--text-xs); font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.variant-paw-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.variant-paw {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px var(--space-3) 5px var(--space-2);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--paper);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink-muted);
  transition: border-color var(--dur-sm) var(--ease-out), background var(--dur-sm) var(--ease-out), transform var(--dur-sm) var(--ease-out);
}
.variant-paw svg { width: 15px; height: 15px; fill: var(--paw-color, var(--moss)); flex-shrink: 0; }
.variant-paw:hover { border-color: var(--paw-color, var(--teal)); transform: translateY(-1px); }
.variant-paw.is-active { border-color: var(--paw-color, var(--teal)); background: var(--white-soft); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .variant-paw:hover { transform: none; }
}

/* ---- Analisis nutricional (macros) del sabor seleccionado ---- */
.product-modal-macros-wrap { width: 100%; }
.product-modal-macros-title { font-size: var(--text-xs); font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-2); }
.product-modal-macros {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-1) var(--space-4);
  width: 100%;
}
.product-modal-macros li { display: flex; justify-content: space-between; gap: var(--space-2); padding-block: 3px; border-bottom: 1px dashed var(--border); font-size: var(--text-sm); }
.product-modal-macros li span { color: var(--ink-muted); }
.product-modal-macros li strong { color: var(--ink); font-weight: 700; white-space: nowrap; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-6);
  padding-block: var(--space-24);
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-doc { max-width: 76ch; margin-inline: auto; padding-block: var(--space-16); }
.legal-doc h1 { margin-bottom: var(--space-3); }
.legal-doc .updated { color: var(--ink-faint); font-size: var(--text-sm); margin-bottom: var(--space-10); }
.legal-doc h2 { font-size: var(--text-xl); margin-top: var(--space-10); margin-bottom: var(--space-4); }
.legal-doc p, .legal-doc li { color: var(--ink-muted); font-size: var(--text-sm); line-height: 1.75; }
.legal-doc ul { margin: var(--space-4) 0; padding-left: var(--space-6); list-style: disc; }
.legal-doc li { margin-bottom: var(--space-2); }
.legal-doc .pending { color: var(--teal); font-weight: 700; }
.legal-doc .withdrawal-form { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-card); padding: var(--space-6); margin-top: var(--space-4); }
.legal-doc .withdrawal-form ul { list-style: none; padding-left: 0; }

/* ==========================================================================
   Ajustes mobile (max-width: 767px / 640px) — correcciones visuales
   Solo afectan a movil; el ordenador no se toca.
   ========================================================================== */

/* ---- Bloquear scroll horizontal / rubber-band lateral en movil ---- */
@media (max-width: 767px) {
  html { overflow-x: hidden; }
  body { overscroll-behavior-x: none; }
}

/* ---- Nav pill: padding en site-header para que no toque bordes ---- */
@media (max-width: 767px) {
  body.page-home .site-header,
  body.page-about .site-header,
  body.page-tienda .site-header,
  body.page-clientes .site-header,
  body.page-contacto .site-header {
    padding-inline: var(--space-3);
  }
}

/* ---- Hero: text lower; extra top space so content clears the nav ---- */
@media (max-width: 640px) {
  .hero-banner { padding-top: var(--space-20); }
}

/* ---- Hero: marcar mas el subtitulo sobre la foto de fondo ---- */
@media (max-width: 640px) {
  .hero-banner .lede {
    color: #ffffff;
    text-shadow:
      -1px -1px 3px rgba(0, 0, 0, 0.95),
      1px -1px 3px rgba(0, 0, 0, 0.95),
      -1px 1px 3px rgba(0, 0, 0, 0.95),
      1px 1px 3px rgba(0, 0, 0, 0.95),
      0 2px 12px rgba(0, 0, 0, 0.75),
      0 0 30px rgba(0, 0, 0, 0.6);
  }
}

/* ---- Subtitulos (lede/body-muted): justificados, para que todas las
   lineas acaben en el mismo margen. El margen lateral NO se pone en el
   propio parrafo (eso desalineaba el subtitulo respecto al titulo): se
   amplia en el contenedor comun (.container / .hero-banner) mas abajo,
   para que titulo y subtitulo compartan siempre el mismo margen. ---- */
@media (max-width: 767px) {
  .lede, .body-muted {
    text-align: justify;
    text-align-last: left;
  }
  .section-head.center .lede, .section-head.center .body-muted {
    text-align-last: center;
  }
}

/* ---- Mas aire lateral en movil, igual para titulos y subtitulos porque
   comparten el mismo contenedor con este padding ---- */
@media (max-width: 767px) {
  .container { padding-inline: var(--space-7); }
  .hero-banner, .hero-solid { padding-inline: var(--space-7); }
}

/* ---- Paw trail divider: center all paws including wrapped ones ---- */
@media (max-width: 640px) {
  .paw-trail { justify-content: center; }
}

/* ---- "Empieza por aqui" Tienda card: label column + bottom aligned ---- */
@media (max-width: 640px) {
  .box-card.is-primary .box-card-label {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }
}

/* ---- Por que Wildpet: split-feature apilado en movil ---- */
@media (max-width: 640px) {
  .split-feature { flex-direction: column; min-height: auto; }
  .split-feature .split-feature-image {
    position: relative;
    inset: auto;
    height: 220px;
    overflow: hidden;
  }
  .split-feature .split-feature-panel {
    position: relative;
    width: 100%;
    background: rgba(63, 107, 94, 0.97);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    padding: var(--space-6) var(--space-5);
    gap: var(--space-4);
  }
  .split-feature .feature-row h3 { font-size: var(--text-base); margin-bottom: 2px; }
  .split-feature .feature-row p { font-size: var(--text-xs); }
}

/* ---- Moments-grid: celdas cuadradas, overflow oculto, texto mas pequeño ----
   Orden visual pedido por el cliente (2 columnas x 4 filas):
   fila1 foto|texto, fila2 texto|foto, fila3 foto|texto, fila4 texto|foto.
   El orden del DOM no cambia (para no afectar al escritorio): solo se
   reordena visualmente con `order` dentro de este media query. ---- */
@media (max-width: 640px) {
  .moments-grid { overflow: hidden; width: 100%; }
  .moments-grid .moment { overflow: hidden; aspect-ratio: 1/1; padding: var(--space-3) var(--space-4); }
  .moments-grid .moment:nth-child(1) { order: 1; }
  .moments-grid .moment:nth-child(2) { order: 2; }
  .moments-grid .moment:nth-child(3) { order: 4; }
  .moments-grid .moment:nth-child(4) { order: 3; }
  .moments-grid .moment:nth-child(5) { order: 6; }
  .moments-grid .moment:nth-child(6) { order: 5; }
  .moments-grid .moment:nth-child(7) { order: 7; }
  .moments-grid .moment:nth-child(8) { order: 8; }
  .moments-grid .moment.type-message h3 { font-size: var(--text-sm); }
  .moments-grid .moment.type-pet > div { gap: var(--space-2); }
  .moments-grid .moment.type-pet .pet-name { font-size: var(--text-base); }
  .moments-grid .moment.type-pet .pet-meta { font-size: 8px; }
  .moments-grid .moment.type-pet .pet-quote {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.3;
  }
}

/* ---- Cloud-bubble (reseña Irene García): compactar espacio y centrar foto ---- */
@media (max-width: 640px) {
  .cloud-bubble-text { flex: 1 1 auto; justify-content: flex-start; }
  .cloud-bubble-photo { align-self: center; }
}

/* ---- Servicios: mas separacion entre secciones en movil ---- */
@media (max-width: 767px) {
  .services-columns { gap: var(--space-20); }
  .service-col-icon { margin-bottom: var(--space-6); }
  .service-col .btn { margin-top: var(--space-8); }
  .coverage-list { margin-top: var(--space-5); }
}

/* ---- Comparte tu mascota: contener formulario dentro del area visible ---- */
@media (max-width: 767px) {
  .comparte-section { overflow-x: hidden; }
  .comparte-section .container {
    overflow-x: hidden;
    padding-inline: var(--space-8);
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
  .share-form { max-width: 100%; width: 100%; box-sizing: border-box; }
}

/* ---- Reviews: enable touch scroll on mobile ---- */
@media (max-width: 640px) {
  .reviews-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .review-item { scroll-snap-align: start; }
  .reviews-section .reviews-head { max-width: 100%; padding-inline: 0; }
}

/* ---- Footer: logo+nombre centrados, resto apilado y centrado ---- */
@media (max-width: 767px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    text-align: center;
  }
  .footer-brand { margin-bottom: var(--space-1); }
  .footer-brand img { width: 64px; height: 64px; }
  .footer-wordmark { font-size: 2.5rem; }
  .footer-social { align-self: center; }
  .footer-item { align-items: center; }
  .footer-policies { justify-content: center; max-width: 100%; flex: 0 1 auto; }
}

/* ---- Mapa de contacto: mismo mapa embebido que en escritorio, sin el
   enlace "Abrir en Google Maps" que se mostraba antes en movil ---- */
.map-mobile-link { display: none; }
