/* =====================================================================
   Estilos de la web de Brownie
   Los colores principales están aquí arriba: cámbialos y se actualiza todo.
   ===================================================================== */
:root {
  --cafe: #3e2418;          /* texto y fondos oscuros */
  --cafe-suave: #7a5c4b;    /* texto secundario */
  --canela: #b8622e;        /* color de marca */
  --canela-oscuro: #9a4f22;
  --miel: #f2b872;          /* acentos cálidos */
  --crema: #fff8ef;         /* fondo principal */
  --arena: #f7ead8;         /* fondo de secciones alternas */
  --borde: #ecdac4;
  --azul: #23758e;          /* botones de compra */
  --azul-oscuro: #1a5c70;
  --blanco: #ffffff;

  --radio: 22px;
  --sombra: 0 14px 34px -16px rgba(62, 36, 24, 0.35);
  --max: 1160px;
  --fuente-titulos: "Fredoka", "Nunito", system-ui, sans-serif;
  --fuente-texto: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fuente-texto);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cafe);
  background: var(--crema);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fuente-titulos); font-weight: 600; line-height: 1.12; margin: 0; color: var(--cafe); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 8px; }

.contenedor { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .contenedor { padding: 0 28px; } }

section[id] { scroll-margin-top: 76px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 16px; top: 12px; z-index: 100; background: var(--blanco); padding: 8px 14px; border-radius: 10px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--canela);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn svg { width: 1em; height: 1em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primario { background: var(--canela); color: var(--blanco); box-shadow: 0 10px 22px -10px rgba(184, 98, 46, 0.8); }
.btn--primario:hover { background: var(--canela-oscuro); }
.btn--secundario { background: transparent; border-color: var(--cafe); color: var(--cafe); }
.btn--secundario:hover { background: var(--cafe); color: var(--crema); }
.btn--comprar { width: 100%; background: var(--azul); color: var(--blanco); }
.btn--comprar:hover { background: var(--azul-oscuro); }
.btn--desactivado { width: 100%; background: var(--arena); color: var(--cafe-suave); cursor: default; }
.btn--desactivado:hover { transform: none; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 239, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow 0.2s ease;
}
.cabecera--scroll { box-shadow: 0 8px 24px -18px rgba(62, 36, 24, 0.6); }
.cabecera__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__icono {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--canela); color: var(--blanco);
  transform: rotate(-12deg);
}
.logo__icono svg { width: 24px; height: 24px; }
.logo__texto { display: flex; flex-direction: column; line-height: 1; }
.logo__nombre { font-family: var(--fuente-titulos); font-weight: 700; font-size: 1.4rem; color: var(--cafe); }
.logo__sub { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--canela); margin-top: 3px; }

.menu-btn {
  width: 44px; height: 44px; border: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--arena); color: var(--cafe); cursor: pointer;
}
.menu-btn svg { width: 24px; height: 24px; }

.nav {
  position: absolute; top: 68px; left: 0; right: 0;
  display: none; flex-direction: column;
  padding: 6px 16px 18px;
  background: var(--crema);
  border-bottom: 1px solid var(--borde);
  box-shadow: 0 20px 30px -24px rgba(62, 36, 24, 0.5);
}
.nav--abierta { display: flex; }
.nav a { padding: 13px 4px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--borde); }
.nav a:last-child { border-bottom: 0; }
.nav a.nav__cta { color: var(--canela); }

@media (min-width: 880px) {
  .menu-btn { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 4px;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav a { padding: 8px 14px; border: 0; border-radius: 999px; transition: background-color 0.15s ease; }
  .nav a:hover { background: var(--arena); }
  .nav a.nav__cta { margin-left: 8px; background: var(--cafe); color: var(--crema); }
  .nav a.nav__cta:hover { background: var(--canela); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 36px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(620px 420px at 88% 18%, rgba(242, 184, 114, 0.38), transparent 70%),
    radial-gradient(520px 380px at 0% 100%, rgba(35, 117, 142, 0.1), transparent 70%);
}
.hero__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 920px) {
  .hero { padding: 64px 0 104px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

.hero h1 { font-size: clamp(2.7rem, 8vw, 4.6rem); font-weight: 700; margin: 12px 0 18px; letter-spacing: -0.01em; }
.resalte {
  color: var(--canela);
  white-space: nowrap;
  padding-bottom: 0.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 30 2, 55 2, 80 8 S 130 14, 155 7 S 190 4, 197 7' fill='none' stroke='%23F2B872' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") bottom / 100% 0.32em no-repeat;
}
.hero__intro { font-size: 1.12rem; color: var(--cafe-suave); max-width: 33em; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }

.redes-mini { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-red {
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 100%;
  padding: 6px 16px 6px 6px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pill-red:hover { transform: translateY(-2px); box-shadow: var(--sombra); }
.pill-red__icono { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--blanco); }
.pill-red__icono svg { width: 17px; height: 17px; }
.pill-red--ig .pill-red__icono { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.pill-red--tt .pill-red__icono { background: #111; }
.pill-red small { color: var(--cafe-suave); font-weight: 600; }

.accesos { margin-top: 30px; }
.accesos__titulo { font-weight: 800; font-size: 0.88rem; margin-bottom: 10px; }
.accesos__lista { display: flex; flex-wrap: wrap; gap: 8px; }

/* Foto del hero */
/* En móvil la foto va arriba (la gente llega desde Instagram/TikTok y debe ver a Brownie primero) */
.hero__foto { position: relative; order: -1; width: 100%; max-width: 290px; margin: 8px auto 0; }
@media (min-width: 920px) { .hero__foto { order: 0; max-width: 440px; margin: 0 auto; padding: 0 8px; } }
.hero__foto::before {
  content: "";
  position: absolute; inset: -5%;
  border: 2px dashed var(--miel);
  border-radius: 50%;
  animation: girar 60s linear infinite;
}

.foto {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--miel), var(--canela));
  box-shadow: 0 30px 60px -28px rgba(62, 36, 24, 0.6);
  border: 8px solid var(--blanco);
}
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto--hero { aspect-ratio: 1; border-radius: 47% 53% 50% 50% / 52% 46% 54% 48%; }
.foto--vacia::after {
  content: "🐶";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: clamp(4.5rem, 18vw, 7.5rem);
}
.foto--vacia::before {
  content: attr(data-vacia);
  position: absolute; left: 10%; right: 10%; bottom: 24%;
  z-index: 1;
  text-align: center; font-size: 0.82rem; font-weight: 800; color: rgba(255, 255, 255, 0.92);
}

.pegatina {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  background: var(--blanco);
  border-radius: 14px;
  box-shadow: var(--sombra);
  font-weight: 800; font-size: 0.85rem; white-space: nowrap;
  animation: flotar 5s ease-in-out infinite;
}
.pegatina svg { width: 18px; height: 18px; color: var(--canela); }
.pegatina--1 { top: 4%; left: -6%; transform: rotate(-4deg); }
.pegatina--2 { bottom: 4%; right: -6%; animation-delay: -2.5s; }
@media (max-width: 919px) { .pegatina { font-size: 0.78rem; padding: 7px 11px; } }
@media (min-width: 920px) {
  .pegatina--1 { left: -8%; }
  .pegatina--2 { right: -6%; }
}

@keyframes flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes girar { to { rotate: 360deg; } }

/* ---------- Chips (filtros y accesos) ---------- */
.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px;
  background: var(--blanco);
  border: 2px solid var(--borde);
  border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 0.9rem; line-height: 1.2;
  color: var(--cafe); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--miel); }
.chip[aria-pressed="true"] { background: var(--cafe); border-color: var(--cafe); color: var(--blanco); }
.chip__num { font-size: 0.75rem; opacity: 0.6; }

/* ---------- Promesas ---------- */
.promesas {
  position: relative; z-index: 2;
  display: grid; gap: 12px;
  margin-top: -36px;
}
@media (min-width: 760px) { .promesas { grid-template-columns: repeat(3, 1fr); } }
.promesa {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 18px;
  box-shadow: var(--sombra);
}
.promesa > span { font-size: 1.8rem; line-height: 1; }
.promesa strong { display: block; font-family: var(--fuente-titulos); font-weight: 600; font-size: 1.05rem; }
.promesa small { color: var(--cafe-suave); font-size: 0.88rem; line-height: 1.4; display: block; }

/* ---------- Secciones ---------- */
.seccion { padding: 72px 0; }
@media (min-width: 920px) { .seccion { padding: 96px 0; } }
.seccion--arena { background: var(--arena); }
.seccion__cabecera { max-width: 640px; margin-bottom: 34px; }
.seccion__cabecera--centro { margin-left: auto; margin-right: auto; text-align: center; }
.seccion h2 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 8px 0 12px; }
.seccion__intro { font-size: 1.06rem; color: var(--cafe-suave); }

/* ---------- Tarjetas de producto ---------- */
.rejilla { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }

.producto {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.producto:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.producto--destacado { border: 2px solid var(--miel); }

.producto__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  background: var(--cat-color, var(--arena));
}
@media (min-width: 600px) { .producto__media { aspect-ratio: 4 / 3; } }
.producto__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; background: var(--blanco); }
.producto__emoji { font-size: 4rem; line-height: 1; filter: drop-shadow(0 10px 10px rgba(62, 36, 24, 0.15)); transition: transform 0.3s ease; }
.producto:hover .producto__emoji { transform: scale(1.08) rotate(-6deg); }

.etiqueta {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px;
  background: var(--cafe); color: var(--blanco);
  border-radius: 999px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.producto--destacado .etiqueta { background: var(--canela); }

.producto__cuerpo { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.producto__cat { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--canela); }
.producto h3 { font-size: 1.25rem; }
.producto__desc { font-size: 0.94rem; color: var(--cafe-suave); }
.producto__opinion {
  margin: 0;
  padding: 11px 14px;
  background: var(--crema);
  border-left: 4px solid var(--miel);
  border-radius: 6px 14px 14px 6px;
  font-size: 0.92rem; line-height: 1.5;
}
.producto__opinion strong { color: var(--canela); }
.producto__pie { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 12px; }

.huellas { display: flex; gap: 3px; color: var(--canela); }
.huellas svg { width: 19px; height: 19px; }
.huellas .off { opacity: 0.18; }

.producto__video {
  align-self: center;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 800; color: var(--azul); text-decoration: none;
}
.producto__video svg { width: 14px; height: 14px; }
.producto__video:hover { text-decoration: underline; }

/* Tienda en móvil: tarjetas compactas en formato lista para no hacer scroll infinito */
@media (max-width: 599px) {
  .rejilla--tienda { gap: 12px; }
  .rejilla--tienda .producto { display: grid; grid-template-columns: 96px 1fr; border-radius: 18px; }
  .rejilla--tienda .producto:hover { transform: none; }
  .rejilla--tienda .producto__media { aspect-ratio: auto; height: 100%; }
  .rejilla--tienda .producto__media img { padding: 8px; }
  .rejilla--tienda .producto__emoji { font-size: 2.5rem; }
  .rejilla--tienda .etiqueta { top: 8px; left: 6px; right: 6px; padding: 3px 6px; font-size: 0.56rem; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rejilla--tienda .producto__cuerpo { gap: 7px; padding: 14px 14px 16px; }
  .rejilla--tienda .producto__cat { font-size: 0.66rem; }
  .rejilla--tienda .producto h3 { font-size: 1.08rem; }
  .rejilla--tienda .producto__desc { display: none; }
  .rejilla--tienda .producto__opinion { padding: 8px 10px; font-size: 0.85rem; }
  .rejilla--tienda .producto__pie { gap: 10px; padding-top: 2px; }
  .rejilla--tienda .huellas svg { width: 16px; height: 16px; }
  .rejilla--tienda .btn--comprar { padding: 0.65em 1em; font-size: 0.92rem; }
}

/* ---------- Herramientas de la tienda ---------- */
.herramientas { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.buscador { position: relative; display: block; max-width: 440px; }
.buscador svg { position: absolute; left: 17px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--cafe-suave); pointer-events: none; }
.buscador input {
  width: 100%;
  padding: 13px 18px 13px 48px;
  background: var(--blanco);
  border: 2px solid var(--borde);
  border-radius: 999px;
  font: inherit; color: inherit;
  -webkit-appearance: none; appearance: none;
}
.buscador input::placeholder { color: #a8907f; }
.buscador input:focus { outline: none; border-color: var(--canela); }

.filtros {
  display: flex; gap: 8px;
  margin: 0 -16px;
  padding: 2px 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filtros::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .filtros { flex-wrap: wrap; margin: 0; padding: 2px 0; overflow: visible; } }

.aviso-afiliado {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 24px;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed #d9a678;
  border-radius: 14px;
  font-size: 0.88rem; color: var(--cafe-suave);
}

.vacio { text-align: center; padding: 40px 16px; color: var(--cafe-suave); }
.vacio > span { display: block; font-size: 3rem; margin-bottom: 8px; }
.vacio .btn { margin-top: 16px; }

/* ---------- Cupones ---------- */
.cupones { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cupon {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px;
  background: var(--blanco);
  border: 2px dashed var(--miel);
  border-radius: var(--radio);
}
.cupon__marca { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cafe-suave); }
.cupon__descuento { font-family: var(--fuente-titulos); font-weight: 700; font-size: 1.6rem; line-height: 1.15; color: var(--canela); }
.cupon__desc { font-size: 0.9rem; color: var(--cafe-suave); }
.cupon__codigo {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 6px;
  padding: 7px 7px 7px 16px;
  background: var(--crema);
  border-radius: 14px;
}
.cupon__codigo code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; overflow-wrap: anywhere; }
.btn-copiar {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px;
  background: var(--cafe); color: var(--blanco);
  border: 0; border-radius: 10px;
  font: inherit; font-size: 0.85rem; font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn-copiar svg { width: 15px; height: 15px; }
.btn-copiar:hover { background: var(--canela); }
.btn-copiar.copiado { background: #3c8c5a; }
.cupon__enlace { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.9rem; color: var(--azul); text-decoration: none; }
.cupon__enlace svg { width: 13px; height: 13px; }

/* ---------- Sobre mí ---------- */
.sobre { display: grid; gap: 40px; align-items: center; }
@media (min-width: 920px) { .sobre { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.sobre__foto { max-width: 420px; width: 100%; margin: 0 auto; }
.foto--sobre { aspect-ratio: 4 / 5; border-radius: 32px; rotate: -2deg; }
.sobre__texto > p { color: var(--cafe-suave); font-size: 1.04rem; margin-bottom: 14px; }

.datos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: 24px; }
.dato {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 16px;
}
.dato__emoji { font-size: 1.6rem; line-height: 1; }
.dato small { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cafe-suave); }
.dato strong { font-size: 0.97rem; line-height: 1.3; }

/* ---------- Redes ---------- */
.redes { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 720px) { .redes { grid-template-columns: 1fr 1fr; } }
.red-card {
  display: flex; align-items: center; gap: 14px;
  padding: 20px;
  border-radius: var(--radio);
  color: var(--blanco); text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.red-card:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.red-card--ig { background: linear-gradient(115deg, #f58529 0%, #dd2a7b 50%, #8134af 100%); }
.red-card--tt { background: #121212; box-shadow: inset 4px 0 0 #25f4ee, inset -4px 0 0 #fe2c55; }
.red-card__icono { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); }
.red-card__icono svg { width: 28px; height: 28px; }
.red-card__texto { flex: 1; min-width: 0; }
.red-card__texto strong { display: block; font-family: var(--fuente-titulos); font-size: 1.3rem; font-weight: 600; }
.red-card__texto span { display: block; font-size: 0.9rem; opacity: 0.88; overflow-wrap: anywhere; }
.red-card__btn { flex: none; padding: 8px 15px; background: var(--blanco); color: #111; border-radius: 999px; font-weight: 800; font-size: 0.86rem; }

.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 720px) { .galeria { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.galeria a {
  position: relative; display: block;
  aspect-ratio: 1; overflow: hidden;
  border-radius: 16px;
  background: var(--arena);
}
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.galeria a:hover img { transform: scale(1.06); }
.galeria a.vacia::after {
  content: attr(data-emoji);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 2.2rem;
  transition: transform 0.3s ease;
}
.galeria a.vacia:nth-child(odd) { background: #fbe3c9; }
.galeria a.vacia:hover::after { transform: scale(1.15) rotate(-8deg); }

.marcas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; text-align: center; font-weight: 700; }

/* ---------- Pie ---------- */
.pie { padding: 56px 0 28px; background: var(--cafe); color: #f1dfcb; font-size: 0.95rem; }
.pie__grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .pie__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.logo--claro .logo__nombre { color: var(--blanco); }
.logo--claro .logo__sub { color: var(--miel); }
.pie__lema { margin: 14px 0 16px; max-width: 30em; opacity: 0.85; }
.pie__redes { display: flex; gap: 10px; }
.pie__redes a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.15s ease;
}
.pie__redes a:hover { background: var(--canela); }
.pie__redes svg { width: 20px; height: 20px; }
.pie h3 { color: var(--blanco); font-size: 1.05rem; margin-bottom: 12px; }
.pie ul { display: grid; gap: 7px; }
.pie a { color: #f1dfcb; text-decoration: none; }
.pie ul a:hover { color: var(--blanco); text-decoration: underline; }
.pie__legal {
  display: grid; gap: 6px;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem; opacity: 0.75;
}

/* ---------- Página legal ---------- */
.legal { padding: 48px 0 80px; }
.legal article { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.6rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--cafe-suave); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .nota { padding: 14px 16px; background: #fff3d6; border: 1px solid #f0d28a; border-radius: 14px; color: var(--cafe); }

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
