/* Subpáginas: Sabores, Súmate y Encuéntrame.
   Usan la misma base del home (tokens, botones, entradas con desenfoque). */

html:has(body:not(.pagina-home)) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body:not(.pagina-home)) { scroll-behavior: auto; } }

/* Íconos de línea, dibujados con máscara para que tomen el color del texto */
.s-gluten { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V9.5M12 10c-2.2-.6-3.4-2.4-3.4-4.8 2.2.6 3.4 2.4 3.4 4.8zM12 10c2.2-.6 3.4-2.4 3.4-4.8-2.2.6-3.4 2.4-3.4 4.8zM12 15.5c-2.2-.6-3.4-2.4-3.4-4.8 2.2.6 3.4 2.4 3.4 4.8zM12 15.5c2.2-.6 3.4-2.4 3.4-4.8-2.2.6-3.4 2.4-3.4 4.8zM4 4l16 16'/%3E%3C/svg%3E"); }
.s-frio { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M4.2 7.5l15.6 9M4.2 16.5l15.6-9M9.8 4.8 12 6.5l2.2-1.7M9.8 19.2 12 17.5l2.2 1.7'/%3E%3C/svg%3E"); }
.s-listo { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0zM8 12.3l2.7 2.7L16 9.7'/%3E%3C/svg%3E"); }
.s-vegana { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8.5 5.5-13.5 14-14 0 8.5-5.5 14-14 14zM5 19l8-8'/%3E%3C/svg%3E"); }
.s-azucar { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10H7zM4 20 20 4'/%3E%3C/svg%3E"); }
.s-edicion { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z'/%3E%3C/svg%3E"); }
.s-nuevo { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7zM19 16v4M17 18h4'/%3E%3C/svg%3E"); }

/* ================= SABORES ================= */
.pcab { padding: calc(var(--nav-h) + clamp(40px, 8svh, 96px)) 0 clamp(48px, 7svh, 84px); text-align: center; overflow: hidden; }
.pcab .display { font-size: clamp(56px, 7.4vw, 124px); max-width: 18ch; margin: 14px auto 20px; color: var(--burdeo); }
.pcab .bajada { margin: 0 auto; }

.estante { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 3vw, 48px); margin-top: clamp(40px, 7svh, 72px); }
.estante__pote { position: relative; display: grid; justify-items: center; gap: 14px; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
.estante__pote img { height: clamp(120px, 17vw, 250px); width: auto; filter: drop-shadow(0 18px 18px rgba(68, 23, 11, .2)); transition: transform .6s var(--ease); }
.estante__pote:hover img, .estante__pote:focus-visible img { transform: translateY(-10px) rotate(-3deg); }
.estante__pote span { font-family: var(--display); font-weight: 850; font-size: clamp(17px, 1.8vw, 26px); text-transform: uppercase; line-height: 1; letter-spacing: .02em; }
.estante__pote .sabor__nuevo { top: -4px; right: -14px; }

.ficha, .ficha[data-tema] {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12svh, 140px) 0;
  background: var(--fondo);
  color: var(--tinta);
}
.ficha::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(48% 62% at 26% 50%, var(--brillo), rgba(255, 255, 255, 0) 70%);
}
.ficha:nth-of-type(odd)::before { background: radial-gradient(48% 62% at 74% 50%, var(--brillo), rgba(255, 255, 255, 0) 70%); }
.ficha__grilla { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.ficha:nth-of-type(odd) .ficha__visual { order: 2; }

/* El envase manda; el bombón partido lo acompaña adelante, más chico */
.ficha__visual { position: relative; aspect-ratio: 1 / 1.04; }
.ficha__pote {
  position: absolute; left: 50%; bottom: 3%;
  height: 88%; width: auto; max-width: 92%;
  object-fit: contain; object-position: bottom center;
  translate: -50% 0;
  transform: translate3d(0, var(--par, 0px), 0) rotate(-3deg);
  filter: drop-shadow(0 40px 40px rgba(68, 23, 11, .3));
}
.ficha__corte {
  position: absolute; right: -2%; bottom: -1%; z-index: 2;
  width: 50%; height: auto;
  transform: translate3d(0, calc(var(--par, 0px) * -0.6), 0) rotate(8deg);
  filter: drop-shadow(0 24px 24px rgba(68, 23, 11, .28));
}
.ficha:nth-of-type(odd) .ficha__corte { right: auto; left: -2%; transform: translate3d(0, calc(var(--par, 0px) * -0.6), 0) rotate(-8deg); }
.ficha__nuevo {
  position: absolute; top: 4%; right: 6%; z-index: 3;
  width: clamp(92px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--rojo); color: #fff;
  font-style: normal; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(22px, 2.1vw, 30px); line-height: .9;
  transform: rotate(12deg);
  box-shadow: 0 14px 30px rgba(117, 44, 44, .3);
  animation: sello 6s var(--ease-in-out) infinite;
}
.ficha:nth-of-type(odd) .ficha__nuevo { right: auto; left: 6%; }
@keyframes sello { 50% { transform: rotate(4deg) scale(1.05); } }

.ficha__n { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .08em; opacity: .7; }
.ficha__nombre {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(96px, 12vw, 200px); line-height: .78; letter-spacing: -.01em;
  margin: 10px 0 18px;
}
.ficha__lema { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.3vw, 36px); line-height: 1.08; margin: 0 0 14px; color: var(--acento); max-width: 16em; }
.ficha__desc { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; max-width: 30em; margin: 0; }
.ficha__sellos { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.ficha__sellos li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 99px;
  border: 1.5px solid color-mix(in srgb, currentColor 38%, transparent);
  font-size: 13.5px; font-weight: 700;
}
.ficha__sellos li::before {
  content: ""; width: 20px; height: 20px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat;
}
.ficha__capas { margin: 28px 0 0; max-width: 460px; }
.ficha__capas ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; }
.ficha__capas li { opacity: .9; }
.ficha__capas b { display: block; font-family: var(--display); font-weight: 850; font-size: 34px; line-height: 1; }
.b-amargo { background: #2e120a; }
.ficha[data-tema="cacao"] .b-amargo { background: #7a3620; }
.b-rosa { background: #f07c9b; }
.b-fresa { background: #e8413c; }
.b-caramelo { background: #c47f35; }

.ficha__mas { max-width: 34em; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.ficha__capas + .ficha__mas, .ficha__sellos + .ficha__mas { margin-top: 28px; }
.ficha__mas:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.ficha__mas summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 15px 0;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 23px; line-height: 1; letter-spacing: .01em;
}
.ficha__mas summary::-webkit-details-marker { display: none; }
.ficha__mas summary::after {
  content: ""; width: 16px; height: 16px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .4s var(--ease);
}
.ficha__mas[open] summary::after { transform: rotate(45deg); }
.ficha__mas ul { margin: 0 0 16px; padding-left: 1.1em; font-size: 15.5px; line-height: 1.55; }
.ficha__mas li + li { margin-top: 6px; }
.ficha__alergenos { margin: 0 0 16px; font-size: 14.5px; font-weight: 700; }
/* apertura suave donde el navegador lo permite */
@supports (interpolate-size: allow-keywords) {
  .ficha { interpolate-size: allow-keywords; }
  .ficha__mas::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
  .ficha__mas[open]::details-content { block-size: auto; }
}

/* Cierre de página: dos tarjetas */
.pcierre { padding: clamp(80px, 12svh, 130px) 0; }
.pcierre__grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pcierre__tarjeta {
  display: grid; align-content: space-between; gap: 22px;
  min-height: 300px; padding: clamp(26px, 3vw, 40px);
  border-radius: 30px;
  background: rgba(255, 255, 255, .42);
  text-decoration: none; color: inherit;
  transition: background-color .3s, translate .5s var(--ease);
}
.pcierre__tarjeta:hover { background: rgba(255, 255, 255, .6); translate: 0 -4px; }
.pcierre__tarjeta strong { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 5vw, 84px); line-height: .88; max-width: 11ch; }
.pcierre__tarjeta .btn { justify-self: start; }
.pcierre__tarjeta:hover .btn { transform: none; }

/* ================= SÚMATE ================= */
.shero { position: relative; overflow: hidden; min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--nav-h) + clamp(24px, 5svh, 60px)) 0 clamp(56px, 8svh, 100px); }
.shero__grilla { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.shero .display { font-size: clamp(56px, 7.4vw, 128px); color: var(--burdeo-logo); margin: 14px 0 22px; max-width: 11ch; }
.shero .bajada { color: var(--burdeo-logo); font-weight: 500; }
.shero__texto .btn { margin-top: 30px; }
.shero__visual { position: relative; aspect-ratio: 1 / 1; }
.shero__visual img { position: absolute; width: auto; filter: blur(0) drop-shadow(0 30px 30px rgba(110, 16, 32, .28)); animation: entra 1.2s var(--ease) both, flotar 7s var(--ease-in-out) infinite; }
.shero__pote--1 { left: 2%; top: 10%; height: 58%; rotate: -12deg; animation-delay: .1s, -1s; }
.shero__pote--3 { right: 0; top: 4%; height: 58%; rotate: 13deg; animation-delay: .25s, -2.4s; }
.shero__pote--2 { left: 27%; top: 22%; height: 70%; rotate: 3deg; z-index: 2; animation-delay: .4s, -3.6s; }
.shero__corte { left: -3%; bottom: 3%; width: 33%; z-index: 3; rotate: -10deg; animation-delay: .6s, -.6s; }
@keyframes entra { from { opacity: 0; scale: .82; filter: blur(12px) drop-shadow(0 30px 30px rgba(110, 16, 32, 0)); } }
@keyframes flotar { 50% { translate: 0 -12px; } }

.sform { padding: clamp(80px, 12svh, 130px) 0; }
.sform__cabeza { text-align: center; }
.sform__cabeza .h2 { margin: 14px auto 0; max-width: 14ch; color: var(--burdeo); }
.caminos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 44px auto 0; max-width: 1100px; }
.camino {
  position: relative;
  display: grid; align-content: start; gap: 10px;
  padding: 28px 26px 30px;
  border-radius: 26px;
  background: #fffaf3;
  border: 2px solid transparent;
  box-shadow: 0 1px 0 rgba(68, 23, 11, .06), 0 20px 40px rgba(68, 23, 11, .06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .3s, background-color .3s, translate .45s var(--ease);
}
.camino:hover { translate: 0 -3px; }
.camino:has(input:checked) { border-color: var(--frambuesa); background: #fff; }
.camino:has(input:focus-visible) { outline: 3px solid var(--frambuesa); outline-offset: 3px; }
.camino__ico { width: 52px; height: 52px; margin-bottom: 8px; fill: none; stroke: var(--frambuesa); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.camino strong { font-family: var(--display); font-weight: 850; text-transform: uppercase; font-size: clamp(28px, 2.4vw, 38px); line-height: .92; padding-right: 30px; }
.camino span { font-size: 15.5px; line-height: 1.45; opacity: .75; }
.camino__check { position: absolute; top: 24px; right: 24px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(68, 23, 11, .2); transition: background-color .3s, border-color .3s; }
.camino:has(input:checked) .camino__check {
  border-color: var(--frambuesa);
  background: var(--frambuesa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat;
}
.sform__elige { text-align: center; margin: 26px 0 0; font-size: 15px; opacity: .6; }
.sform__elige[hidden] { display: none; }

.forma {
  max-width: 1000px; margin: 40px auto 0;
  padding: clamp(24px, 4vw, 52px);
  border-radius: 30px;
  background: #fffaf3;
  box-shadow: 0 1px 0 rgba(68, 23, 11, .06), 0 24px 48px rgba(68, 23, 11, .07);
  scroll-margin-top: calc(var(--nav-h) + 12px);
  animation: aparece .7s var(--ease);
}
.forma[hidden] { display: none; }
@keyframes aparece { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
.forma__cabeza h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 64px); line-height: .9; margin: 10px 0 0; color: var(--burdeo); }
.grupo { border: 0; padding: 0; margin: 36px 0 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.grupo > legend {
  float: left; width: 100%; grid-column: 1 / -1; padding: 0 0 12px; margin: 0;
  border-bottom: 1px solid rgba(68, 23, 11, .12);
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--burdeo);
}
.campo { display: grid; align-content: start; gap: 7px; min-width: 0; margin: 0; }
.campo--ancho { grid-column: 1 / -1; }
.campo__et { font-size: 14px; font-weight: 700; }
.campo:has([required]) > .campo__et::after,
.campo[data-min] > .campo__et::after { content: " *"; color: var(--frambuesa); }
.campo :where(input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), select, textarea) {
  width: 100%; height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1.5px solid rgba(68, 23, 11, .18);
  background: #fff; color: var(--chocolate);
  font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.campo textarea { height: auto; min-height: 112px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.campo select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2344170b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center/18px no-repeat;
}
.campo :is(input, select, textarea)::placeholder { color: rgba(68, 23, 11, .38); }
.campo :is(input, select, textarea):focus { outline: none; border-color: var(--frambuesa); box-shadow: 0 0 0 4px rgba(226, 55, 92, .14); }
.campo.error :is(input, select, textarea) { border-color: var(--rojo); }
.campo__error { font-size: 13px; font-weight: 700; color: var(--rojo); }
.campo--opciones { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.campo--opciones > legend { float: left; width: 100%; padding: 0; margin: 0 0 7px; }
.campo--opciones > .campo__error { width: 100%; }
.opcion { position: relative; display: inline-flex; }
.opcion input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.opcion span {
  display: inline-flex; align-items: center; height: 46px; padding: 0 20px;
  border-radius: 99px; border: 1.5px solid rgba(68, 23, 11, .2); background: #fff;
  font-weight: 700; font-size: 15px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.opcion:hover span { border-color: rgba(68, 23, 11, .45); }
.opcion input:checked + span { background: var(--chocolate); border-color: var(--chocolate); color: var(--crema); }
.opcion input:focus-visible + span { outline: 3px solid var(--frambuesa); outline-offset: 2px; }
.campo.error .opcion span { border-color: color-mix(in srgb, var(--rojo) 55%, transparent); }
.campo--archivo { position: relative; }
.campo--archivo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.archivo {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1.5px dashed rgba(68, 23, 11, .3); background: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.archivo::before {
  content: ""; width: 20px; height: 20px; flex: 0 0 auto; background: currentColor; opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.campo--archivo:focus-within .archivo { border-color: var(--frambuesa); box-shadow: 0 0 0 4px rgba(226, 55, 92, .14); }
.forma__pie { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(68, 23, 11, .12); }
.forma__aviso { margin: 0; font-size: 13.5px; line-height: 1.45; opacity: .65; max-width: 30em; }

.exito {
  position: relative;
  max-width: 1000px; margin: 40px auto 0;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
  border-radius: 30px;
  background: var(--rosa-foto); color: var(--burdeo-logo);
  text-align: center;
  scroll-margin-top: calc(var(--nav-h) + 12px);
  animation: aparece .8s var(--ease);
}
.exito[hidden] { display: none; }
.exito:focus { outline: none; }
.exito__corte { width: clamp(130px, 14vw, 180px); margin: 0 auto 18px; rotate: -8deg; filter: drop-shadow(0 18px 18px rgba(110, 16, 32, .25)); animation: flotar 6s var(--ease-in-out) infinite; }
.exito .display { font-size: clamp(46px, 6vw, 96px); max-width: 12ch; margin: 0 auto 18px; }
.exito p { max-width: 32em; margin: 0 auto; font-weight: 500; }
.exito__acciones { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.b2b {
  max-width: 1000px; margin: 56px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: 22px;
  border: 1.5px solid rgba(68, 23, 11, .14);
}
.b2b p { margin: 0; font-size: 17px; }
.b2b b { font-weight: 800; }
.b2b .btn { height: 48px; }

/* ================= ENCUÉNTRAME ================= */
.ehero { padding: calc(var(--nav-h) + clamp(36px, 7svh, 84px)) 0 0; }
.ehero__grilla { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.ehero .display { font-size: clamp(56px, 8vw, 138px); color: var(--burdeo-logo); margin-top: 14px; max-width: 10ch; }
.ehero .bajada { color: var(--burdeo-logo); font-weight: 500; }
.ehero__pide { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; color: var(--rojo); }

.localizador { padding: clamp(28px, 5svh, 48px) 0 clamp(80px, 12svh, 130px); }
.filtros { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.filtro { position: relative; display: block; margin: 0; }
.filtro :is(input, select) {
  width: 100%; height: 60px;
  border-radius: 99px; border: 1.5px solid rgba(117, 44, 44, .22);
  background-color: rgba(255, 255, 255, .72);
  padding: 0 22px;
  font: inherit; font-size: 16px; font-weight: 700; color: var(--burdeo-logo);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.filtro :is(input, select):focus { outline: none; border-color: var(--frambuesa); background-color: #fff; box-shadow: 0 0 0 4px rgba(226, 55, 92, .16); }
.filtro input::placeholder { color: rgba(117, 44, 44, .55); font-weight: 600; }
.filtro--buscar input {
  padding-left: 54px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23752c2c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 18a7 7 0 1 1 0-14 7 7 0 0 1 0 14zM20 20l-4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 22px center; background-size: 20px;
}
.filtro input::-webkit-search-cancel-button { cursor: pointer; }
.filtro__et { position: absolute; left: 23px; top: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--burdeo-logo); opacity: .62; pointer-events: none; }
.filtro select {
  appearance: none; -webkit-appearance: none; padding-top: 17px; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23752c2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; background-size: 18px;
}
.filtro select:disabled { opacity: .55; cursor: default; }

.apps { display: flex; align-items: flex-start; gap: 12px 20px; margin-top: 18px; min-height: 64px; }
.apps__t { padding-top: 12px; }
.apps[hidden] { display: none; }
.apps__t { flex: 0 0 auto; margin: 0; font-family: var(--display); font-weight: 850; text-transform: uppercase; font-size: 22px; line-height: .95; color: var(--burdeo-logo); max-width: 9em; }
.apps__lista { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 4px 2px; scrollbar-width: none; }
.apps__lista::-webkit-scrollbar { display: none; }
.app { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 8px; border-radius: 99px; background: #fff; box-shadow: 0 8px 18px rgba(110, 16, 32, .08); }
.app__logo { width: 72px; height: 40px; border-radius: 99px; display: grid; place-items: center; overflow: hidden; background: #fff; }
.app__logo img { max-width: 64px; max-height: 32px; width: auto; height: auto; object-fit: contain; }
.app__n { font-weight: 800; font-size: 15px; color: var(--chocolate); white-space: nowrap; }
.app__ir { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--frambuesa); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: background-color .3s; }
.app__ir:hover { background: var(--rojo); }
.app__ir .flecha { width: 11px; height: 11px; }

.loc {
  display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  height: min(74svh, 740px); min-height: 480px;
  margin-top: 16px;
  border-radius: 30px; overflow: hidden;
  background: #fffaf3;
  box-shadow: 0 30px 60px rgba(110, 16, 32, .14);
}
.loc__lista { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid rgba(117, 44, 44, .12); color: var(--chocolate); }
.loc__total { margin: 0; padding: 18px 22px 16px; font-size: 14px; font-weight: 700; color: var(--burdeo-logo); border-bottom: 1px solid rgba(117, 44, 44, .12); }
.loc__total b { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: .8; margin-right: 4px; color: var(--rojo); }
.puntos { position: relative; flex: 1; list-style: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; }
.punto { padding: 15px 22px 16px; border-bottom: 1px solid rgba(117, 44, 44, .08); cursor: pointer; content-visibility: auto; contain-intrinsic-size: auto 96px; transition: background-color .2s; }
.punto:hover { background: rgba(242, 184, 177, .22); }
.punto.activo { background: rgba(242, 184, 177, .45); }
.punto__n { font-weight: 800; font-size: 15.5px; line-height: 1.25; }
.punto__c { margin-top: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--burdeo-logo); opacity: .75; }
.punto__d { margin-top: 3px; font-size: 14px; line-height: 1.38; opacity: .74; }
.punto__mapa {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rojo); text-decoration: none;
}
.punto__mapa::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 1 1 14 0C19 14.8 12 21 12 21zM14.5 9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 1 1 14 0C19 14.8 12 21 12 21zM14.5 9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.punto__mapa:hover { text-decoration: underline; text-underline-offset: 3px; }
.puntos__vacio { padding: 28px 22px; font-size: 15px; line-height: 1.5; opacity: .75; }
.puntos__mas { display: block; width: calc(100% - 44px); margin: 16px 22px 22px; height: 46px; border-radius: 99px; border: 1.5px solid rgba(117, 44, 44, .3); font-weight: 800; font-size: 14px; color: var(--burdeo-logo); }
.puntos__mas:hover { background: rgba(242, 184, 177, .3); }

.loc__mapa { position: relative; min-height: 0; background: #f4ece6; z-index: 0; }
.loc__mapa .leaflet-tile-pane { filter: grayscale(1) sepia(.28) hue-rotate(-22deg) saturate(1.25) brightness(1.06) contrast(.9); }
.loc__pista {
  position: absolute; left: 50%; bottom: 30px; z-index: 500; translate: -50% 0;
  margin: 0; padding: 7px 13px; border-radius: 99px;
  background: rgba(79, 15, 28, .82); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none;
}
.loc__carga { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--burdeo-logo); opacity: .7; pointer-events: none; }
.leaflet-container { font-family: var(--texto-f); }
.leaflet-container a.leaflet-popup-close-button { top: 6px; right: 6px; }
.leaflet-popup-content-wrapper { border-radius: 18px; box-shadow: 0 14px 34px rgba(110, 16, 32, .2); }
.leaflet-popup-content { margin: 16px 20px 16px 18px; font-size: 14px; line-height: 1.4; color: var(--chocolate); }
.pop__n { display: block; font-weight: 800; font-size: 15px; margin-bottom: 2px; padding-right: 10px; }
.pop__d { display: block; opacity: .74; }
.pop a { display: inline-block; margin-top: 8px; color: var(--rojo); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.grupo-mapa {
  display: grid; place-items: center;
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--frambuesa); color: #fff;
  font-weight: 800; font-size: 13px;
  box-shadow: 0 0 0 5px rgba(226, 55, 92, .25), 0 6px 14px rgba(110, 16, 32, .3);
  transition: transform .2s var(--ease);
}
.grupo-mapa:hover { transform: scale(1.08); }
.grupo-mapa--m { background: var(--rojo); box-shadow: 0 0 0 6px rgba(177, 41, 53, .25), 0 6px 14px rgba(110, 16, 32, .3); }
.grupo-mapa--g { background: var(--burdeo); box-shadow: 0 0 0 7px rgba(157, 23, 51, .25), 0 6px 14px rgba(110, 16, 32, .3); font-size: 14px; }
.marcador-frambuesa { filter: drop-shadow(0 3px 3px rgba(68, 23, 11, .35)); }

.ecierre { padding: 0 0 clamp(80px, 12svh, 120px); }
.ecierre__caja { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: clamp(26px, 3.4vw, 44px); border-radius: 30px; background: rgba(255, 255, 255, .42); }
.ecierre strong { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 4.4vw, 70px); line-height: .9; color: var(--burdeo-logo); max-width: 14ch; }
.ecierre p { margin: 10px 0 0; color: var(--burdeo-logo); font-weight: 500; max-width: 32em; }

/* ================= CELULAR ================= */
@media (max-width: 900px) {
  .ficha__grilla { grid-template-columns: 1fr; }
  .ficha:nth-of-type(odd) .ficha__visual { order: 0; }
  .ficha__visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .shero__grilla { grid-template-columns: 1fr; }
  .shero__visual { max-width: 460px; width: 100%; margin: 10px auto 0; }
  .caminos { grid-template-columns: 1fr; }
  .ehero__grilla { grid-template-columns: 1fr; align-items: start; }
  .filtros { grid-template-columns: 1fr 1fr; }
  .filtro--buscar { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .pcab { padding-top: calc(var(--nav-h) + 30px); }
  .pcab .display { font-size: clamp(50px, 14.5vw, 76px); }
  .estante { gap: 6px; margin-top: 34px; }
  .estante__pote img { height: 78px; }
  .estante__pote span { font-size: 15px; }
  .estante__pote .sabor__nuevo { top: -10px; right: -10px; font-size: 9.5px; padding: 3px 6px 4px; }
  .ficha, .ficha[data-tema] { padding: 56px 0 64px; }
  .ficha__visual { aspect-ratio: 1 / .96; }
  .ficha__nombre { font-size: clamp(78px, 24vw, 120px); margin: 8px 0 14px; }
  .ficha__lema { font-size: 25px; }
  .ficha__desc { font-size: 16.5px; }
  .ficha__capas b { font-size: 28px; }
  .ficha__capas ul { font-size: 12.5px; }
  .ficha__mas summary { font-size: 21px; }
  .pcierre__grilla { grid-template-columns: 1fr; }
  .pcierre__tarjeta { min-height: 230px; }

  .shero { min-height: auto; padding-top: calc(var(--nav-h) + 26px); }
  .shero .display { font-size: clamp(48px, 13.4vw, 72px); }
  .shero__texto .btn { width: 100%; }
  .grupo { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .forma { padding: 24px 18px 26px; border-radius: 24px; }
  .forma__pie .btn { width: 100%; }
  .b2b { padding: 20px; }
  .b2b .btn { width: 100%; }
  .exito__acciones .btn { width: 100%; }

  .ehero .display { font-size: clamp(50px, 14vw, 76px); }
  .filtros { grid-template-columns: 1fr; gap: 10px; }
  .filtro :is(input, select) { height: 56px; }
  .apps { flex-direction: column; align-items: stretch; gap: 10px; }
  .apps__t { font-size: 20px; max-width: none; }
  .apps__lista { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter); }
  .apps.desborda .apps__lista { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .loc { grid-template-columns: 1fr; height: auto; min-height: 0; border-radius: 24px; }
  .loc__mapa { order: -1; height: 58svh; min-height: 320px; }
  .loc__lista { border-right: 0; border-top: 1px solid rgba(117, 44, 44, .12); }
  .puntos { max-height: 64svh; }
  .ecierre .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .shero__visual img, .exito__corte, .ficha__nuevo { animation: none; }
}
