/*! Friko Navidad · css/fk-navidad.css · generated 2026-11-26T12:51:21.793Z by tools/build.mjs — do not edit */

/* ---- css/base.css ---- */
/* ==========================================================================
   Friko · Landing Navidad — css/base.css
   --------------------------------------------------------------------------
   Base layer shared by every section. EVERYTHING is scoped to `.fk-nav`
   (the landing root) so nothing leaks into the DNN skin, and the DNN skin
   has as little chance as possible to leak in.

   Layout model
   ------------
   ≥1024px  "scene" mode: each section is a fixed-ratio box whose height is
            `--h` design px; the content lives in `.fk-stage`, a centred box
            1920 design px wide. Every `.fk-el` is absolutely positioned with
            design coordinates: --x, --y, --w (unitless design px), --r (deg).
            1 design px = var(--u) real px = stage width / 1920, where the
            stage = min(viewport − 2 × gutter, 1680px) and is centred; the
            backgrounds of every section still fill the whole viewport.
   <1024px  "flow" mode: absolute positioning is undone, the stage becomes a
            flex column. Section CSS refines with --mw / order / etc.

   Rules for section agents
   ------------------------
   - Always prefix selectors with `.fk-nav` (e.g. `.fk-nav .fk-hero__title`)
     so specificity (0,2,0) beats both this file's element resets and typical
     DNN skin rules such as `.DnnModule h2`.
   - Desktop rules go inside `@media (min-width:1024px)`, flow rules inside
     `@media (max-width:1023.98px)` (tablet 768–1023, mobile <768, <480).
   - Asset URLs: prefer <img> in markup. If a CSS url() is unavoidable, use
     `url("../assets/...")` (relative to css/, valid for both css/base.css
     and the bundled css/fk-navidad.css as long as css/ and assets/ are
     siblings on the server).
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Tokens + root
   -------------------------------------------------------------------------- */
.fk-nav {
  /* Brand colours (CONTRACT.md) */
  --fk-red: #FF0025;
  --fk-red-2: #E2271E;
  --fk-red-dark: #6A0000;
  --fk-yellow: #F7C90A;
  --fk-yellow-2: #FDC700;
  --fk-green: #39501A;
  --fk-green-light: #699528;
  --fk-white: #FFFFFF;
  --fk-shadow: #160700;
  --fk-shadow-2: #0D0505;
  /* Recipe-card red: darker than --fk-red so white small text passes WCAG AA
     (white on #D6001F = 5.4:1; on #FF0025 it was 3.9:1). */
  --fk-card-red: #D6001F;

  /* Typography */
  --fk-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Viewport width WITHOUT the vertical scrollbar. fk-navidad.js writes the
     real value (document.documentElement.clientWidth) inline on the root;
     100vw is only the no-JS fallback (it includes the scrollbar). */
  --fk-vw: 100vw;

  /* Scale unit: 1 design px (artboard 1920) in real px. Flow-mode default;
     the scene redefines it below from the stage width. */
  --u: calc(min(var(--fk-vw), 1920px) / 1920);

  /* Scene stage ("breathing room"): the positioned content never spans the
     whole viewport. Stage = viewport − 2 × gutter, capped at 1680px
     (1920 → 120px margins each side; 1440 → ~43px; 1024 → ~31px).
     Backgrounds stay full-bleed: every section extends its shapes / photo
     beyond the stage (see hero.css, banda.css, foto.css, cierre.css). */
  --fk-stage-gutter: clamp(0px, var(--fk-vw) * .03, 60px);
  --fk-stage-max: 1680px;

  /* Asset base, informational. The JS reads `data-base` on the root and
     rewrites relative src/srcset; CSS cannot concatenate url() strings. */
  --fk-base: "";

  /* Z-index scale (sections are NOT stacking contexts by default, so these
     compete across sections inside the root — useful for overlapping
     backgrounds. The root itself is isolated from the DNN page.) */
  --z-bg: 0;
  --z-photo: 1;
  --z-content: 2;
  --z-deco: 3;
  --z-cta: 4;
  --z-snow: 6;
  --z-debug: 50;

  /* Flow-mode spacing (overridable per section) */
  --fk-gutter: 16px;
  --fk-pad-y: 56px;
  --fk-gap: 24px;

  /* Card defaults */
  --fk-card-radius: 24px;
  --fk-card-shadow: 0 18px 40px -12px rgba(22, 7, 0, .55), 0 4px 10px rgba(13, 5, 5, .25);

  /* Full-bleed breakout from a constrained DNN pane */
  position: relative;
  display: block;
  width: var(--fk-vw);
  max-width: none;
  /* --fk-shift: correction written by fk-navidad.js when the DNN pane is not
     centred in the viewport (asymmetric skin padding / broken grids). */
  margin-left: calc(50% - var(--fk-vw) / 2 + var(--fk-shift, 0px));
  margin-right: 0;
  box-sizing: border-box;
  overflow: hidden;      /* fallback for browsers without overflow: clip */
  overflow-x: clip;      /* clip, unlike hidden, keeps position: sticky working */
  overflow-y: visible;
  isolation: isolate;    /* our z-indices never fight the DNN menu / header */

  /* Typography defaults (px, never rem: DNN skins change html font-size) */
  font-family: var(--fk-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  color: var(--fk-white);
  background: var(--fk-green);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* --------------------------------------------------------------------------
   2. Local reset (only inside .fk-nav)
   -------------------------------------------------------------------------- */
.fk-nav *,
.fk-nav *::before,
.fk-nav *::after {
  box-sizing: border-box;
}

.fk-nav h1, .fk-nav h2, .fk-nav h3, .fk-nav h4,
.fk-nav p, .fk-nav figure, .fk-nav blockquote,
.fk-nav ul, .fk-nav ol, .fk-nav li {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: none;
  line-height: inherit;
  background: none;
  list-style: none;
}

/* Generic skin rules seen in DNN themes (section{padding}, div{line-height},
   article{border}, float grids…) must not reach our structural boxes.
   Specificity (0,1,1) beats element selectors; section CSS (0,2,0) still
   overrides these. */
.fk-nav section,
.fk-nav article,
.fk-nav div,
.fk-nav picture,
.fk-nav a {
  float: none;
  min-width: 0;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: inherit;
  text-indent: 0;
}
.fk-nav section { background: transparent; }

.fk-nav strong, .fk-nav b { font-weight: 800; }

.fk-nav img,
.fk-nav picture,
.fk-nav svg,
.fk-nav canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

.fk-nav picture > img { width: 100%; }

.fk-nav a {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;   /* skins often set a{font-weight:normal} */
  text-decoration: none;
  background: none;
}

.fk-nav button {
  font: inherit;
  color: inherit;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. Section scaffolding (all modes)
   -------------------------------------------------------------------------- */
.fk-nav .fk-sec {
  position: relative;
  display: block;
  width: 100%;
}

/* Background layer: full-bleed (spans the whole viewport width). */
.fk-nav .fk-bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
}

/* Content layer. */
.fk-nav .fk-stage {
  position: relative;
  z-index: var(--z-content);
}

/* Decoration layer (stars, crown…). Centred like the stage so --x/--y
   coordinates line up with the stage at every width. */
.fk-nav .fk-deco {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  z-index: var(--z-deco);
  pointer-events: none;
}

/* Inside .fk-bg: a centred 1920-design-px frame (= the stage) for
   positioned background items (shapes, photo) that must stay registered to
   the stage. Each section extends them to the viewport edges. */
.fk-nav .fk-bg__frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
}

/* A child image/picture/svg of a positioned element fills its box. */
.fk-nav .fk-el > img,
.fk-nav .fk-el > picture,
.fk-nav .fk-el > svg {
  width: 100%;
}

/* Optional rotation from the design. Uses the individual `rotate` property
   so GSAP transform tweens (x/y/scale/rotation) compose with it instead of
   overwriting it. */
.fk-nav .fk-el {
  rotate: var(--r, 0deg);
}

/* Live text that scales with the scene: set --fs (design px) and
   optionally --fs-m (flow mode, any length). */
.fk-nav .fk-txt {
  font-size: var(--fs-m, 16px);
}

/* Green radial background utility. */
.fk-nav .fk-bg--green {
  background-color: var(--fk-green);
  background-image: radial-gradient(ellipse 75% 70% at 50% 45%, var(--fk-green-light) 0%, var(--fk-green) 100%);
}

.fk-nav .fk-bg--red {
  background-color: var(--fk-red);
}

/* Snow layer: an absolute wrapper spanning the whole landing with a
   viewport-sized sticky canvas inside, so the canvas is never 5572px tall. */
.fk-nav .fk-snow-wrap {
  position: absolute;
  inset: 0;
  z-index: var(--z-snow);
  pointer-events: none;
}

.fk-nav .fk-snow {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  max-width: none;
}

/* Mode visibility helpers. */
@media (max-width: 1023.98px) { .fk-nav .fk-only-desk { display: none !important; } }
@media (min-width: 1024px)    { .fk-nav .fk-only-flow { display: none !important; } }

/* --------------------------------------------------------------------------
   4. Scene mode (≥1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  /* Scene unit from the stage width (see tokens): all positions, sizes and
     section heights scale together with it. */
  .fk-nav {
    --fk-stage-w: min(var(--fk-vw) - 2 * var(--fk-stage-gutter), var(--fk-stage-max));
    --u: calc(var(--fk-stage-w) / 1920);
  }

  /* Default section heights in design px (CONTRACT.md); sections override. */
  .fk-nav .fk-sec--hero        { --h: 800; }
  .fk-nav .fk-sec--banda       { --h: 580; }
  .fk-nav .fk-sec--foto        { --h: 971; }
  .fk-nav .fk-sec--productos   { --h: 481; }
  .fk-nav .fk-sec--inspiracion { --h: 608; }
  .fk-nav .fk-sec--recetas     { --h: 560; }
  .fk-nav .fk-sec--cierre      { --h: 1572; }

  .fk-nav .fk-sec {
    height: calc(var(--h, 800) * var(--u));
  }

  .fk-nav .fk-stage,
  .fk-nav .fk-deco,
  .fk-nav .fk-bg__frame {
    width: calc(1920 * var(--u));   /* = --fk-stage-w */
    max-width: none;
  }

  .fk-nav .fk-stage {
    margin-inline: auto;
    height: 100%;
  }

  .fk-nav .fk-el {
    position: absolute;
    left: calc(var(--x, 0) * var(--u));
    top: calc(var(--y, 0) * var(--u));
    width: calc(var(--w, 100) * var(--u));
  }

  .fk-nav .fk-txt {
    font-size: calc(var(--fs, 16) * var(--u));
  }
}

/* --------------------------------------------------------------------------
   5. Flow mode (<1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .fk-nav .fk-sec {
    height: auto;
  }

  .fk-nav .fk-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fk-gap);
    width: 100%;
    padding: var(--fk-pad-y) var(--fk-gutter);
  }

  /* Content elements join the flow. --mw sets a width in flow mode. */
  .fk-nav .fk-stage .fk-el {
    position: relative;
    left: auto;
    top: auto;
    width: var(--mw, auto);
    max-width: 100%;
  }

  /* Background / decoration elements stay absolute; place them with any
     lengths via --ml / --mt / --mr / --mb / --mw. */
  .fk-nav .fk-bg .fk-el,
  .fk-nav .fk-deco .fk-el {
    position: absolute;
    left: var(--ml, auto);
    top: var(--mt, auto);
    right: var(--mr, auto);
    bottom: var(--mb, auto);
    width: var(--mw, 8vw);
  }

  .fk-nav .fk-deco,
  .fk-nav .fk-bg__frame {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .fk-nav { --fk-pad-y: 44px; --fk-gap: 20px; }
}

@media (max-width: 479.98px) {
  .fk-nav { --fk-gutter: 14px; --fk-pad-y: 36px; --fk-gap: 16px; }
}

/* --------------------------------------------------------------------------
   6. Cards (shared by productos = yellow and the blog = red, in #fk-recetas)
   --------------------------------------------------------------------------
   Markup (rendered by fk-navidad.js from window.FK_CARDS):
   <article class="fk-card fk-card--yellow" data-fk-anim="rise">
     <div class="fk-card__inner">
       <div class="fk-card__media"><img class="fk-card__img" …></div>
       <div class="fk-card__body">
         <span class="fk-card__tag">Blog</span>
         <h3 class="fk-card__title"><a class="fk-card__link" href="…">…</a></h3>
         <p class="fk-card__excerpt">…</p>
         <p class="fk-card__meta">…</p>            (optional)
         <span class="fk-card__more" aria-hidden="true">Leer más</span>
       </div>
     </div>
   </article>
   GSAP animates `.fk-card`; the tilt (--rx/--ry, set by JS on .fk-card) is
   applied to `.fk-card__inner`, so both never fight over `transform`.
   -------------------------------------------------------------------------- */
.fk-nav .fk-cards {
  display: grid;
  grid-template-columns: repeat(var(--fk-cols, 3), minmax(0, 1fr));
  gap: var(--fk-cards-gap, 24px);
  align-items: stretch;
}

.fk-nav .fk-cards--productos { --fk-cols: 2; }
.fk-nav .fk-cards--recetas   { --fk-cols: 2; }

/* Flow mode: grids (tablet 768–1023 keeps them: 2 products, 2 blog cards —
   see the section CSS). Phones: 1 column (stacked). fk-navidad.js only turns
   a grid into a carousel below 768px when it holds 3+ cards. */
@media (max-width: 1023.98px) {
  .fk-nav .fk-cards { --fk-cols: 2; width: 100%; }
}
@media (max-width: 767.98px) {
  .fk-nav .fk-cards { --fk-cols: 1; }
}

@media (min-width: 1024px) {
  .fk-nav .fk-cards--productos { --fk-cards-gap: calc(72 * var(--u)); }
  .fk-nav .fk-cards--recetas   { --fk-cards-gap: calc(85 * var(--u)); }
}

.fk-nav .fk-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  --fk-card-bg: var(--fk-white);
  --fk-card-accent: var(--fk-red);
  --fk-card-ink: #2a1a10;
  position: relative;
  min-width: 0;
  perspective: 1000px;
}

.fk-nav .fk-card__inner {
  position: relative;            /* containing block for the covering link */
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--fk-card-radius);
  background: var(--fk-card-bg);
  color: var(--fk-card-ink);
  box-shadow: var(--fk-card-shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
  will-change: transform;
}

/* Soft light that follows the pointer (JS sets --mx/--my). */
.fk-nav .fk-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .28), transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
}

.fk-nav .fk-card.is-tilting .fk-card__inner { transition-duration: .08s; }
.fk-nav .fk-card:hover .fk-card__inner::after,
.fk-nav .fk-card:focus-within .fk-card__inner::after { opacity: 1; }
.fk-nav .fk-card:hover .fk-card__inner,
.fk-nav .fk-card:focus-within .fk-card__inner {
  box-shadow: 0 28px 50px -14px rgba(22, 7, 0, .6), 0 6px 14px rgba(13, 5, 5, .3);
}

.fk-nav .fk-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9d9c4;
  flex: 0 0 auto;
}

.fk-nav .fk-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.fk-nav .fk-card:hover .fk-card__img,
.fk-nav .fk-card:focus-within .fk-card__img { transform: scale(1.05); }

.fk-nav .fk-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  padding: 18px 20px 20px;
}

.fk-nav .fk-card__tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fk-card-accent);
  color: var(--fk-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.fk-nav .fk-card__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.fk-nav .fk-card__link { color: inherit; }

/* The whole card is clickable via the title link. */
.fk-nav .fk-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.fk-nav .fk-card__link:focus-visible { outline: none; }
.fk-nav .fk-card__inner:has(.fk-card__link:focus-visible) {
  outline: 3px solid var(--fk-yellow);
  outline-offset: 3px;
}

.fk-nav .fk-card__excerpt {
  font-size: 14px;
  line-height: 1.45;
  opacity: .85;
}

.fk-nav .fk-card__meta {
  font-size: 12px;
  font-weight: 700;
  opacity: .75;
}

.fk-nav .fk-card__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--fk-card-accent);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.fk-nav .fk-card__more::after { content: " \2192"; }

/* Variants */
.fk-nav .fk-card--yellow {
  --fk-card-bg: var(--fk-yellow);
  --fk-card-accent: var(--fk-red);
  --fk-card-ink: #2a1505;
}

.fk-nav .fk-card--red {
  --fk-card-bg: var(--fk-card-red);
  --fk-card-accent: var(--fk-yellow);
  --fk-card-ink: var(--fk-white);
  --fk-card-radius: 38px;
}

.fk-nav .fk-card--red .fk-card__tag { color: var(--fk-red-dark); }

/* Static skeleton cards (replaced by JS). */
.fk-nav .fk-card--skeleton .fk-card__media {
  background: linear-gradient(110deg, rgba(0, 0, 0, .06) 30%, rgba(255, 255, 255, .25) 50%, rgba(0, 0, 0, .06) 70%) 0 0 / 200% 100%, #e9d9c4;
}

/* --------------------------------------------------------------------------
   7. Phone carousel (fk-navidad.js toggles .fk-carousel below 768px;
      tablet and desktop show grids and no dots)
   -------------------------------------------------------------------------- */
.fk-nav .fk-carousel,
.fk-nav .fk-el.fk-carousel {   /* (0,3,0): beats `.fk-nav .fk-stage .fk-el` */
  display: flex;
  gap: var(--fk-carousel-gap, 16px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--fk-gutter);
  padding: 8px var(--fk-gutter) 28px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* Bleed to the viewport edges from inside the padded flow stage. */
  align-self: stretch;
  width: auto;
  max-width: none;
  margin-inline: calc(var(--fk-gutter) * -1);
}

.fk-nav .fk-carousel::-webkit-scrollbar { display: none; }

.fk-nav .fk-carousel > * {
  flex: 0 0 var(--fk-slide-w, min(78%, 340px));
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.fk-nav .fk-carousel:focus-visible {
  outline: 3px solid var(--fk-yellow);
  outline-offset: -3px;
}

.fk-nav .fk-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: -19px;     /* the 24px buttons keep the dots where 10px ones sat */
  margin-bottom: -7px;   /* …and the section height unchanged */
}

/* 24×24 touch target (WCAG 2.5.8); the visible dot is ::after. */
.fk-nav .fk-dots__btn {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 999px;
  background: none;
  transition: width .3s ease;
}

.fk-nav .fk-dots__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  transform: translate(-50%, -50%);
  transition: width .3s ease, background-color .3s ease;
}

.fk-nav .fk-dots__btn[aria-current="true"] { width: 36px; }
.fk-nav .fk-dots__btn[aria-current="true"]::after {
  width: 26px;
  background: var(--fk-yellow);
}

.fk-nav .fk-dots__btn:focus-visible { outline: none; }
.fk-nav .fk-dots__btn:focus-visible::after {
  outline: 3px solid var(--fk-yellow);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .fk-nav .fk-dots { display: none; }
}

/* --------------------------------------------------------------------------
   8. CTA hooks (styled by css/sections/cierre.css)
   -------------------------------------------------------------------------- */
.fk-nav .fk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   9. Accessibility
   -------------------------------------------------------------------------- */
.fk-nav .fk-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fk-nav :focus { outline: none; }
.fk-nav :focus-visible {
  outline: 3px solid var(--fk-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .fk-nav *,
  .fk-nav *::before,
  .fk-nav *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .fk-nav .fk-card__inner { transform: none !important; }
}

/* --------------------------------------------------------------------------
   10. Pre-animation state
   --------------------------------------------------------------------------
   Content is fully visible without JS. fk-navidad.js adds `.fk-js` to the
   root; only then animated elements start hidden, and js/animations.js
   reveals them (it must add `.fk-anim-ready` to the root once its
   timelines are set up). If that does not happen within 3s of `fk:ready`,
   or GSAP is missing, the core adds `.fk-anim-failed` and everything shows.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .fk-nav.fk-js:not(.fk-anim-failed) [data-fk-anim] {
    opacity: 0;
  }
}

.fk-nav.fk-anim-failed [data-fk-anim] {
  opacity: 1 !important;
  visibility: visible !important;
}

/* --------------------------------------------------------------------------
   11. Debug overlay (?overlay=1) — injected by fk-navidad.js
   -------------------------------------------------------------------------- */
.fk-nav .fk-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: calc(1920 * var(--u));
  max-width: none;
  z-index: var(--z-debug);
  opacity: .5;
  pointer-events: none;
}

.fk-nav .fk-overlay img { width: 100%; height: auto; }
.fk-nav .fk-overlay[hidden] { display: none; }

@media (max-width: 1023.98px) {
  .fk-nav .fk-overlay { display: none; }
}

.fk-nav .fk-readout {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 2147483000;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .75);
  color: #fff;
  font: 600 12px/1.3 ui-monospace, Menlo, Consolas, monospace;
  pointer-events: none;
  white-space: pre;
}

/* ---- css/sections/hero.css ---- */
/* ==========================================================================
   Friko · Landing Navidad — css/sections/hero.css
   Sección A · Hero (#fk-hero, y 0→800, --h 800)
   Owner: agente "Secciones A+B".

   Layers (bottom → top)
     .fk-hero__bg      green radial (full-bleed) + .fk-hero__shape (red V,
                       shape-hero.svg 1920×900, aligned to the stage frame,
                       red side fills beyond the frame (to the viewport
                       edges); it
                       overflows 100 design px into the banda, under it).
     .fk-stage (z 2)   woman (+ crown) first, then titles / text / products.
                       The woman's V-cut bottom overflows 30px into the banda:
                       the stage (z 2) paints over the banda background (z 1).
     .fk-hero__deco    z-index:auto on purpose → the stars (z 3) live in the
                       root stacking context, so mix-blend-mode:overlay
                       blends with the real background (green / red / photo).

   Coordinates: manifest.json (artboard px; hero starts at y 0).
   Live text: Montserrat metrics (ascender .968, descender .251) are used to
   put the first baseline exactly on the manifest's first_baseline_origin:
     baseline-from-top = (line-height − 1.219em)/2 + .968em
   ========================================================================== */

/* --------------------------------------------------------------------------
   All modes
   -------------------------------------------------------------------------- */
.fk-nav .fk-hero__shape > img { width: 100%; }

.fk-nav .fk-hero__mujer > .fk-hero__mujer-img {
  position: relative;          /* paints above the flow V background */
  width: 100%;
}

/* Crown sits on her head: % of the woman box (750 × 757 design px).
   left (836.21−676.5)/750, top (−8.94−73.7)/757, width 204.81/750 */
.fk-nav .fk-hero__mujer > .fk-hero__corona {
  position: absolute;
  left: 21.295%;
  top: -10.917%;
  width: 27.308%;
  max-width: none !important; /* beats skin img{max-width:100%!important} */
  rotate: none;
}

.fk-nav .fk-hero__intro {
  font-weight: 600;
  color: var(--fk-white);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Christmas lights on the title (t-hero-nolights + luces-base + luces-glow)
   --------------------------------------------------------------------------
   In the .ai the bulbs' glow is SCREEN-blended over the red. mix-blend-mode
   only blends with what was painted before it in the SAME stacking context,
   so nothing between the glow <img>s and the hero's red background may form
   one:
     - .fk-nav (root) is isolate → it owns the red; that is the context.
     - the hero .fk-stage drops its z-index (z-index:auto ⇒ no context);
       in scene mode its other children take z-index 2 themselves (below).
     - the h1 has no z-index, no `rotate` (the .fk-el default `rotate: 0deg`
       WOULD create a context), no transform, no translate: the intro settle
       and the mouse parallax are applied to the h1's CHILDREN (title image,
       lights images, sheen) — js/animations.js writes --fk-mx/--fk-my on the
       h1 and they inherit.
     - .fk-hero__luces is a plain positioned box (no z-index/transform).
   Each lights image is then its own stacking context in the root, at z 2,
   so it paints above the title and the sheen, and blends with the red.
   Box: luces 516×137 at (25, 245) inside the 541×458 title box. */
.fk-nav .fk-hero__title { rotate: none; }

.fk-nav .fk-hero__luces {
  position: absolute;
  left: 4.621%;
  top: 53.493%;
  width: 95.379%;
  display: block;
  pointer-events: none;
}

.fk-nav .fk-hero__luces > img {
  position: absolute;
  z-index: var(--z-content);
  max-width: none !important; /* beats skin img{max-width:100%!important} */
}

.fk-nav .fk-hero__luces > .fk-hero__luces-base {
  position: relative;          /* gives the box its height */
  width: 100%;
}

.fk-nav .fk-hero__luces > .fk-hero__luces-glow {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;      /* opaque on black: black = no effect */
}

/* Twinkle sprites (luz-glow 48×48 on black, centred on each bulb). Hidden
   until js/animations.js animates them: no JS / reduced motion = the static
   design glow only. Bulb 3 sits under the green ribbon: no sprite. */
.fk-nav .fk-hero__luces > .fk-hero__luz {
  left: calc(var(--bx) / 516 * 100% - 4.6512%);
  top: calc(var(--by) / 137 * 100% - 17.518%);
  width: 9.3023%;
  height: auto;
  opacity: 0;
  mix-blend-mode: screen;
}
.fk-nav .fk-hero__luz--1 { --bx: 57.6;  --by: 20.5; }
.fk-nav .fk-hero__luz--2 { --bx: 118.1; --by: 39.9; }
.fk-nav .fk-hero__luz--4 { --bx: 218.6; --by: 84.2; }
.fk-nav .fk-hero__luz--5 { --bx: 277.6; --by: 89.3; }
.fk-nav .fk-hero__luz--6 { --bx: 326;   --by: 83.9; }
.fk-nav .fk-hero__luz--7 { --bx: 370.3; --by: 93; }
.fk-nav .fk-hero__luz--8 { --bx: 424.3; --by: 112.6; }
.fk-nav .fk-hero__luz--9 { --bx: 472.4; --by: 117.7; }

/* Mouse parallax of the title: inherited translate on the children. */
.fk-nav .fk-hero__title > img,
.fk-nav .fk-hero__luces > img,
.fk-nav .fk-hero__title.fk-sheen::after {
  translate: var(--fk-mx, 0px) var(--fk-my, 0px);
}

/* The hero stage must not be a stacking context (see above). */
.fk-nav .fk-sec--hero > .fk-stage { z-index: auto; }

@media (prefers-reduced-motion: reduce) {
  .fk-nav .fk-hero__luces > .fk-hero__luz { display: none; }
}

/* Right-column phrases: placa + live text (Montserrat, synthetic oblique
   via skew, exactly as in the .ai). Positions are relative to the placa,
   in design px × var(--u) — in flow mode each phrase redefines --u locally
   so the same rules render a scaled replica. */
.fk-nav .fk-hero__frase > .fk-hero__placa { width: 100%; }

.fk-nav .fk-hero__frase-head,
.fk-nav .fk-hero__frase-sub {
  position: absolute;
  display: block;
  width: max-content;
  max-width: none !important; /* beats skin img{max-width:100%!important} */
  white-space: nowrap;
  left: calc(var(--tx) * var(--u));
  top: calc(var(--ty) * var(--u));
}

.fk-nav .fk-hero__frase-head {
  --fs: 35.56;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fk-yellow-2);
  transform-origin: 0 .8585em;  /* left end of the first baseline */
  transform: rotate(-4.99deg) scaleY(.98) skewX(-9.85deg);
}

.fk-nav .fk-hero__frase-sub {
  font-weight: 600;
  line-height: 1.0798;
  color: var(--fk-white);
  transform-origin: 0 .8985em;
}

/* 763 / 764 */
.fk-nav .fk-hero__frase--1 .fk-hero__frase-head { --tx: 24.89; --ty: 39.99; }
.fk-nav .fk-hero__frase--1 .fk-hero__frase-sub {
  --tx: 3.09; --ty: 86.32; --fs: 26.82;
  text-align: center;
  transform: rotate(-4.67deg) scale(.95, .93) skewX(-20.95deg);
}
/* 769 / 770 */
.fk-nav .fk-hero__frase--2 .fk-hero__frase-head { --tx: 27.4; --ty: 40.2; }
.fk-nav .fk-hero__frase--2 .fk-hero__frase-sub {
  --tx: 57.4; --ty: 78.01; --fs: 25.07;
  transform: rotate(-4.67deg) scale(1.01, .93) skewX(-19.76deg);
}
/* 775 / 776 */
.fk-nav .fk-hero__frase--3 .fk-hero__frase-head { --tx: 38.12; --ty: 29.58; }
.fk-nav .fk-hero__frase--3 .fk-hero__frase-sub {
  --tx: 66.42; --ty: 71.29; --fs: 25.07;
  transform: rotate(-4.67deg) scale(1.01, .93) skewX(-19.76deg);
}

/* Stars: white + overlay, in the root stacking context (see header).
   brightness(.8) = #CCC star → overlay lifts dark backdrops ×1.6, which is
   what the reference shows on the green (group 636 is not 100% strong). */
.fk-nav .fk-hero__deco { z-index: auto; }
.fk-nav .fk-hero__star {
  z-index: var(--z-deco);
  mix-blend-mode: overlay;
  filter: brightness(.8);
}

/* --------------------------------------------------------------------------
   Scene mode (≥1024px) — design px, y relative to the hero top (= artboard)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  /* What the stage's z-index 2 used to do for the whole stage (paint over
     the banda background, z 1 — the woman's V tip overflows into it), each
     element does now. The title stays z-index:auto (lights blend). */
  .fk-nav .fk-sec--hero > .fk-stage > .fk-el:not(.fk-hero__title) { z-index: var(--z-content); }

  .fk-nav .fk-hero__shape { --x: 0; --y: 0; --w: 1920; }

  /* The frame (= stage) is narrower than the viewport: extend the red to
     the viewport edges.
     shape-hero.svg is solid red along both side edges from y 0 to 900. */
  .fk-nav .fk-hero__shape::before,
  .fk-nav .fk-hero__shape::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: calc(var(--fk-vw) / 2);
    background: #FF0024;
  }
  .fk-nav .fk-hero__shape::before { right: calc(100% - 1px); }
  .fk-nav .fk-hero__shape::after  { left: calc(100% - 1px); }

  /* v4 layout (client feedback): the left side is ONLY the title, bigger
     and centred vertically in the hero (h 521 → y 138…659, centre ≈ 398);
     the right red side holds one centred column (centre x ≈ 1680), v4.1:
     moved down ~100 and scaled .92 so it sits on the red, not the V:
     "5 pa' las 12" → intro → products → "tus celebraciones" ribbon
     (y 130…666). The 3 phrases are hidden here (flow mode keeps them).
     Title right edge stays ≥ 40 design px from the plate / her hand; the
     column stays right of her sleeve (x ≈ 1425) and only grazes the V. */
  .fk-nav .fk-hero__mujer     { --x: 676.5; --y: 73.7;  --w: 750; }
  .fk-nav .fk-hero__title     { --x: 34;    --y: 138;   --w: 615; }
  .fk-nav .fk-hero__5pa       { --x: 1477;  --y: 228;   --w: 405; }
  .fk-nav .fk-hero__productos { --x: 1472.5; --y: 503;  --w: 414; }
  /* overlaps the products' bottom 26% (177 × .26 ≈ 46), as in the .ai */
  .fk-nav .fk-hero__cinta     { --x: 1495.5; --y: 624;  --w: 368; }

  /* The crown starts 8.94 design px above the artboard: clip that part so
     it never pokes above the landing into the DNN page. */
  .fk-nav .fk-hero__mujer > .fk-hero__corona { clip-path: inset(5.1% 0 0 0); }

  /* 742 (32.06px / 34.62px in the .ai), centred on the column (x 1667) */
  .fk-nav .fk-hero__intro {
    --x: 1486.5; --y: 418; --w: 386; --fs: 28.5;
    line-height: 1.0799;
    white-space: nowrap;
  }

  /* v4: the phrases ("Para el que dice…", "Para el invitado…", "Para la
     tía…") are desktop-hidden by client request. display:none → the
     animator skips them (intro, mouse parallax and reveals all check
     visibility), no triggers are created for them. */
  .fk-nav .fk-hero__frase { display: none; }

  /* estrella.instances (group 636) */
  .fk-nav .fk-hero__star--1 { --x: 823;    --y: 222.9; --w: 28.6; }
  .fk-nav .fk-hero__star--2 { --x: 727.8;  --y: 500.4; --w: 28.6; }
  .fk-nav .fk-hero__star--3 { --x: 557.6;  --y: 89.2;  --w: 17; }
  .fk-nav .fk-hero__star--4 { --x: 1487.3; --y: 67.8;  --w: 17; }
  .fk-nav .fk-hero__star--5 { --x: 1250.1; --y: 106;   --w: 40.6; }
  .fk-nav .fk-hero__star--6 { --x: 1209.4; --y: 786.1; --w: 40.6; }

  /* Stars 2, 3 and 6 sit on the pure red, where they are invisible in the
     design (they are under the red layer of the PSD); hide them so the
     scene matches the reference. They are used in flow mode. */
  .fk-nav .fk-hero__star--2,
  .fk-nav .fk-hero__star--3,
  .fk-nav .fk-hero__star--6 { display: none; }
}

/* --------------------------------------------------------------------------
   Flow mode (<1024px) — no mobile design exists; brand-faithful column:
   title → intro → products + "tus celebraciones" ribbon (the sentence reads
   on) → woman on a green V (same shape-hero.svg, scaled to her so the V
   matches her cut) → "5 pa' las 12" → 3 phrases.
   -------------------------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .fk-nav .fk-hero__bg {
    background: #FF0024;
  }
  .fk-nav .fk-hero__shape { display: none; }

  .fk-nav .fk-sec--hero .fk-stage {
    padding-bottom: calc(var(--fk-pad-y) + 8px);
  }

  .fk-nav .fk-hero__title {
    --mw: min(78%, 460px);
    order: 1;
  }

  .fk-nav .fk-hero__intro {
    --fs-m: clamp(18px, 4.6vw, 28px);
    order: 2;
    line-height: 1.15;
    margin-top: -4px;
  }

  .fk-nav .fk-hero__productos {
    --mw: min(94%, 560px);
    order: 3;
  }

  .fk-nav .fk-hero__cinta {
    --mw: min(82%, 490px);
    order: 4;
    /* overlap the products' bottom (≈26% of their height, as in desktop) */
    margin-top: calc(var(--fk-gap) * -1 - min(10vw, 60px));
  }

  /* Woman block: green panel (slanted top) + the desktop V scaled to her. */
  .fk-nav .fk-hero__mujer {
    --mw: min(calc(100% + 2 * var(--fk-gutter)), 620px);
    order: 5;
    isolation: isolate;
    margin-top: clamp(64px, 20vw, 150px);
  }

  .fk-nav .fk-hero__mujer::before {
    content: "";
    position: absolute;
    left: 50%;
    width: var(--fk-vw);
    transform: translateX(-50%);
    top: clamp(-150px, -22vw, -70px);
    bottom: 0;
    background-color: var(--fk-green);
    background-image: radial-gradient(ellipse 70% 60% at 50% 40%, var(--fk-green-light) 0%, var(--fk-green) 100%);
    clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%);
  }

  /* shape-hero.svg scaled so 750 design px = the woman's width:
     width 1920/750, left −676.5/750, top −73.7/757 (of her height). */
  .fk-nav .fk-hero__mujer > .fk-hero__mujer-v {
    position: absolute;
    width: 256%;
    max-width: none !important; /* beats skin img{max-width:100%!important} */
    left: -90.2%;
    top: -9.736%;
  }

  .fk-nav .fk-hero__5pa {
    --mw: min(84%, 460px);
    order: 6;
    margin-top: 8px;
  }

  /* Phrases: scaled replicas of the desktop ones (local --u). */
  .fk-nav .fk-hero__frase {
    --u: calc(min(84vw, 405.25px) / 405.25);
    --mw: calc(405.25 * var(--u));
  }
  .fk-nav .fk-hero__frase .fk-txt { --fs-m: calc(var(--fs) * var(--u)); }

  .fk-nav .fk-hero__frase--1 { order: 7; height: calc(142 * var(--u)); }
  .fk-nav .fk-hero__frase--2 { order: 8; height: calc(106 * var(--u)); }
  .fk-nav .fk-hero__frase--3 { order: 9; height: calc(128 * var(--u)); --mw: calc(310.08 * var(--u)); }
  .fk-nav .fk-hero__frase--1,
  .fk-nav .fk-hero__frase--2 { margin-bottom: calc(var(--fk-gap) * -0.5); }

  /* Stars (approximate spots around the woman / title). */
  .fk-nav .fk-hero__star--1 { --ml: 6%;  --mt: 49%; --mw: 26px; }
  .fk-nav .fk-hero__star--2 { --ml: 88%; --mt: 45%; --mw: 22px; }
  .fk-nav .fk-hero__star--3 { --ml: 8%;  --mt: 3%;  --mw: 16px; }
  .fk-nav .fk-hero__star--4 { --ml: 90%; --mt: 6%;  --mw: 18px; }
  .fk-nav .fk-hero__star--5 { --ml: 80%; --mt: 40%; --mw: 34px; }
  .fk-nav .fk-hero__star--6 { --ml: 14%; --mt: 41%; --mw: 30px; }
}

@media (max-width: 767.98px) {
  .fk-nav .fk-hero__title { --mw: min(84%, 420px); }
}

@media (max-width: 479.98px) {
  .fk-nav .fk-hero__title { --mw: 88%; }
  .fk-nav .fk-hero__frase { --u: calc(min(90vw, 405.25px) / 405.25); }
}

/* --------------------------------------------------------------------------
   Tablet (768–1023px) — a compressed version of the desktop composition
   (no tablet design exists; decided by us):
     ┌──────────────┬───────────────────────┐
     │ title+lights │  woman on the green V │   40% │ 60% (+ right bleed)
     │ intro        │  (shape-hero scaled   │
     │ products     │   to her, the V opens │
     │ ribbon       │   at the hero top)    │
     ├──────────────┴───────────────────────┤
     │          "5 pa' las 12" (centred)     │
     │  phrase 1   │   phrase 2  │ phrase 3  │   3 equal cells
     └──────────────────────────────────────┘
   4 grid tracks (33.33 / 6.67 / 26.67 / 33.33) give both the 40/60 split
   and the thirds. No wrappers: the h1 must stay free of stacking contexts.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .fk-nav .fk-sec--hero > .fk-stage {
    --hcg: 24px;  /* column gap */
    --hrg: 14px;  /* row gap */
    display: grid;
    grid-template-columns: minmax(0, 33.33fr) minmax(0, 6.67fr) minmax(0, 26.67fr) minmax(0, 33.33fr);
    grid-auto-rows: auto;
    column-gap: var(--hcg);
    row-gap: var(--hrg);
    align-items: start;
    justify-items: center;
    padding-bottom: calc(var(--fk-pad-y) + 4px);
  }

  /* Document order for painting (flex/grid items paint in `order`
     order): the woman's V layer must stay UNDER the left column. */
  .fk-nav .fk-sec--hero > .fk-stage > * { order: 0; }

  .fk-nav .fk-hero__title     { grid-area: 1 / 1 / 2 / 3; --mw: 100%; }
  .fk-nav .fk-hero__intro     {
    grid-area: 2 / 1 / 3 / 3;
    --fs-m: clamp(19px, 2.55vw, 26px);
    margin-top: 0;
  }
  .fk-nav .fk-hero__productos { grid-area: 3 / 1 / 4 / 3; --mw: 100%; }
  .fk-nav .fk-hero__cinta     {
    grid-area: 4 / 1 / 5 / 3;
    --mw: 94%;
    /* overlap the products' bottom 26% (as in the desktop):
       .26 × 229/582 of the column width = 10.23% (grid-area %) */
    margin-top: calc(var(--hrg) * -1 - 10.23%);
  }

  /* Woman: right column, bleeding into the right gutter. Top margin puts
     the top of her V (shape-hero, 9.736% of her height above her box) on
     the hero top edge, so the green V opens at the top like the desktop.
     % margins resolve against the grid area width A; her width is
     A + gutter → 9.827% × (A + gutter) − pad. */
  .fk-nav .fk-hero__mujer {
    grid-area: 1 / 3 / 5 / 5;
    --mw: calc(100% + var(--fk-gutter));
    justify-self: start;
    margin-top: calc(9.827% + var(--fk-gutter) * .09827 - var(--fk-pad-y));
  }
  .fk-nav .fk-hero__mujer::before {
    left: -90.2%;
    width: 256%;
    top: -9.736%;
    bottom: 0;
    transform: none;
    clip-path: none;
    background-image: radial-gradient(ellipse 34% 62% at 42% 48%, var(--fk-green-light) 0%, var(--fk-green) 100%);
  }
  /* Like the desktop, the crown's top 5% would poke above the landing. */
  .fk-nav .fk-hero__mujer > .fk-hero__corona { clip-path: inset(5.1% 0 0 0); }

  .fk-nav .fk-hero__5pa {
    grid-area: 5 / 1 / 6 / 5;
    --mw: min(56%, 470px);
    margin-top: 22px;
  }

  /* Phrases: one row of three, each a scaled replica (local --u) sized to
     one third of the content width. */
  .fk-nav .fk-hero__frase {
    --u: calc((var(--fk-vw) - 2 * var(--fk-gutter) - 3 * var(--hcg)) / 3 / 405.25);
    margin: 6px 0 0;
  }
  .fk-nav .fk-hero__frase--1 { grid-area: 6 / 1 / 7 / 2; }
  .fk-nav .fk-hero__frase--2 { grid-area: 6 / 2 / 7 / 4; }
  .fk-nav .fk-hero__frase--3 { grid-area: 6 / 4 / 7 / 5; }

  /* Stars around the woman / title (overlay blend, % of the hero box). */
  .fk-nav .fk-hero__star--1 { --ml: 39%; --mt: 30%; --mw: 22px; }
  .fk-nav .fk-hero__star--2 { --ml: 92%; --mt: 58%; --mw: 22px; }
  .fk-nav .fk-hero__star--3 { --ml: 4%;  --mt: 4%;  --mw: 16px; }
  .fk-nav .fk-hero__star--4 { --ml: 93%; --mt: 7%;  --mw: 18px; }
  .fk-nav .fk-hero__star--5 { --ml: 64%; --mt: 6%;  --mw: 30px; }
  .fk-nav .fk-hero__star--6 { --ml: 6%;  --mt: 66%; --mw: 26px; }
}

/* ---- css/sections/banda.css ---- */
/* ==========================================================================
   Friko · Landing Navidad — css/sections/banda.css
   Sección B · Banda de valor (#fk-banda, y 800→1240, --h 440 since v4;
   the .ai had 800→1380 / 580 with a products still-life on the right)
   Owner: agente "Secciones A+B".

   Layers
     .fk-banda__bg (z 1)  red band (shape-banda.svg, 1920×794 from the banda
                          top). Its curved bottom reaches y 792 (artboard
                          1592) and must cover the top of the foto section:
                          z 1 beats the foto background (z 0, later in DOM).
                          The hero stage (z 2) still paints over it, so the
                          woman's V tip (overflowing 30px) stays visible.
                          Hero red (shape-hero, to y 900) lies underneath →
                          no seam between both reds at any width.
     .fk-stage (z 2)      title + "Incluye salsa con ciruelas" seal (one row),
                          3 tags below. v4: the products still-life was
                          removed (client: it repeated the hero's packs).
   ========================================================================== */

.fk-nav .fk-banda__bg { z-index: var(--z-photo); }

.fk-nav .fk-banda__shape > img { width: 100%; }

.fk-nav .fk-banda__badge {
  max-width: none !important; /* beats skin img{max-width:100%!important} */
  height: auto;
}

.fk-nav .fk-banda__tag > img { width: 100%; }

/* --------------------------------------------------------------------------
   Scene mode (≥1024px) — y relative to the banda top (artboard y − 800)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  /* v4: section 440 design px (was 580). The shape keeps its size and its
     curve, it is only lifted 140 px (--y −140) and its top 140 px are
     clipped at the section top, so the curve meets the photo exactly where
     it did before (x=0 at banda y 449, x=1920 at 652 — 9 / 212 px into
     #fk-foto). The clip insets are negative on the sides so the ::before /
     ::after extensions beyond the stage frame survive.
     Hero → banda junction: the clip starts 3 real px ABOVE the section top
     (--fk-seam), so the banda red overlaps the hero red (identical colour
     underneath) instead of meeting it edge-to-edge on a sub-pixel boundary
     (the anti-aliased edge row is what showed the "raya" at some
     --u / zoom / DPR combinations). The hero red (shape-hero, to y 900)
     still lies under the first 100 px, so nothing can show through. */
  .fk-nav .fk-sec--banda { --h: 440; --fk-seam: 3px; }
  .fk-nav .fk-banda__shape {
    --x: 0; --y: -140; --w: 1920;
    clip-path: inset(calc(140 * var(--u) - var(--fk-seam)) -100vw 0 -100vw);
  }

  /* Beyond the stage frame: extend the red. The curve meets x=0 at y 589.1
     and x=1920 at y 792.4 (of 794), in shape coordinates. */
  .fk-nav .fk-banda__shape::before,
  .fk-nav .fk-banda__shape::after {
    content: "";
    position: absolute;
    top: 0;
    width: calc(var(--fk-vw) / 2);
    background: #FF0024;
  }
  .fk-nav .fk-banda__shape::before { right: calc(100% - 1px); height: 74.2%; }
  .fk-nav .fk-banda__shape::after  { left: calc(100% - 1px); height: 99.8%; }

  /* Title + seal: one centred row (title 400…1320, seal 1345…1565). The
     woman's V tip overflows the banda top by 30 px around x 1020…1160:
     the title starts below it (y 40). */
  .fk-nav .fk-banda__title { --x: 400;  --y: 40;  --w: 920; }
  .fk-nav .fk-banda__badge { --x: 1345; --y: 46;  --w: 220; }

  .fk-nav .fk-banda__tags  { --x: 0; --y: 0; --w: 1920; height: 0; }
  .fk-nav .fk-banda__tag {
    position: absolute;
    left: calc(var(--tx) * var(--u));
    top: calc(var(--ty) * var(--u));
    width: calc(var(--tw) * var(--u));
  }
  .fk-nav .fk-banda__tag--practicos { --tx: 382.9;  --ty: 302.5; --tw: 332; }
  .fk-nav .fk-banda__tag--tajados   { --tx: 835.4;  --ty: 301.5; --tw: 323; }
  .fk-nav .fk-banda__tag--listos    { --tx: 1279.4; --ty: 302;   --tw: 324; }
}

/* --------------------------------------------------------------------------
   Flow mode (<1024px): red band, curved bottom (same svg, natural ratio,
   anchored so the curve starts at the section bottom on the left and dips
   (792.4−589.1)/1920 = 10.59vw into the next section on the right).
   -------------------------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .fk-nav .fk-banda__bg {
    top: -2px;                       /* no hairline against the hero red */
    background: #FF0024;
  }

  .fk-nav .fk-banda__bg .fk-banda__shape {
    --mw: 100%;
    left: 0;
    top: auto;
    bottom: calc(var(--fk-vw) * -0.1059);
  }

  .fk-nav .fk-sec--banda .fk-stage {
    padding-top: 12px;
    padding-bottom: calc(var(--fk-pad-y) - 8px);
    gap: calc(var(--fk-gap) + 8px);
  }

  .fk-nav .fk-banda__title { --mw: min(100%, 680px); }

  /* The seal sits alone between the title and the tags: nothing under it
     (v4 — it used to cover the products' corner on phones). */
  .fk-nav .fk-banda__badge {
    --mw: min(36vw, 170px);
    margin: -4px 0;
  }

  .fk-nav .fk-banda__tags {
    --mw: min(100%, 760px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 3%;
  }
  .fk-nav .fk-banda__tag { flex: 0 0 31%; }
}

@media (max-width: 479.98px) {
  .fk-nav .fk-banda__tags { gap: 12px 4%; }
  .fk-nav .fk-banda__tag { flex-basis: 47%; }
}

/* --------------------------------------------------------------------------
   Tablet (768–1023px): desktop-like row — title left, seal right, the 3
   tags in one row.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .fk-nav .fk-sec--banda .fk-stage {
    display: grid;
    grid-template-columns: minmax(0, 72fr) minmax(0, 28fr);
    column-gap: 20px;
    row-gap: 30px;
    align-items: center;
    justify-items: center;
    padding-top: 8px;
  }

  .fk-nav .fk-banda__title { grid-area: 1 / 1 / 2 / 2; --mw: 100%; }

  .fk-nav .fk-banda__badge {
    grid-area: 1 / 2 / 2 / 3;
    --mw: min(80%, 150px);
    margin: 0;
    justify-self: center;
  }

  .fk-nav .fk-banda__tags {
    grid-area: 2 / 1 / 3 / 3;
    --mw: min(92%, 800px);
    flex-wrap: nowrap;
    gap: 0 5%;
  }
  .fk-nav .fk-banda__tag { flex: 0 1 29%; }
}

/* ---- css/sections/foto.css ---- */
/* ==========================================================================
   Friko · Landing Navidad — css/sections/foto.css
   Sección C · Foto familia (#fk-foto, y 1380→2351, --h 971)
   Owner: agente "Secciones C+D".

   Stacking: sections are not stacking contexts and every `.fk-bg` is a
   z-index:0 stacking context. The photo layer must paint BELOW the red
   curved bottom of #fk-banda (its .fk-bg, z 0, earlier in the DOM), so this
   section's .fk-bg goes to z -1 (the root is `isolation:isolate`, so -1 never
   leaves the landing). The green of #fk-blog sits at z -2, under the photo.

   Desktop (≥1024): FULL-BLEED SCALE. Unlike the other sections (narrowed
   stage, max 1680px), this section redefines --u = min(viewport, 1920)/1920
   so the photo (1920×1118 design px at y 1.8) spans the whole viewport up to
   1920px — a real photo edge to edge, no gutters. The live texts and
   t-familia use the same --u, so they stay registered to the red blob baked
   into the photo at every width. Junctions: the red curved bottom of
   #fk-banda (narrow-stage scale, z above) overlaps the photo top, and the
   photo still overflows the section bottom under the blog cards and above
   the blog green (which starts higher) → no gap at any width.
   Above 1920px the scene stays at 1:1 (same type size as the design) and the
   side areas show a heavily blurred, darkened cover copy of the photo
   (.fk-foto__ext, nothing recognizable), with the sharp photo's edges
   feathered into it.
   Flow (<1024): portrait crop (foto-familia-m) on top, then a red panel with
   organic curved edges carrying lead → t-familia → quote.
   ========================================================================== */

.fk-nav .fk-sec--foto .fk-foto__bg { z-index: -1; }

.fk-nav .fk-foto__media { overflow: hidden; }

.fk-nav .fk-foto__img,
.fk-nav .fk-foto__img > img {
  display: block;
  width: 100%;
  height: 100%;
}

.fk-nav .fk-foto__img > img { object-fit: cover; }

.fk-nav .fk-foto__lead { font-weight: 400; color: var(--fk-white); }
.fk-nav .fk-foto__lead-in { display: block; }

.fk-nav .fk-foto__quote {
  font-weight: 400;
  text-align: center;
  color: var(--fk-white);
}

.fk-nav .fk-foto__quote strong { font-weight: 900; }

.fk-nav .fk-foto__title > img { width: 100%; }

/* --------------------------------------------------------------------------
   Scene (≥768px): desktop ≥1024 and — scaled to the viewport — tablet
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  /* Full-bleed scale (tablet already uses it as the flow default). */
  .fk-nav .fk-sec--foto { --u: calc(min(var(--fk-vw), 1920px) / 1920); }

  .fk-nav .fk-foto__panel { display: contents; }

  /* Photo 733/734: artboard (0, 1381.8) 1920×1118 → section y 1.8.
     It overflows the section bottom by 147 design px (under the cards). */
  .fk-nav .fk-foto__media.fk-el {
    --x: 0;
    --y: 1.8;
    --w: 1920;
    height: calc(1118 * var(--u));
  }

  /* Live text 955: Montserrat 400 55.11/54.76, rotate(-4.23deg)
     scaleY(.98) skewX(-11.27deg), origin = left end of the first baseline
     at section (111.8, 442.4). First baseline sits 47.1 design px below
     the top of the line box (Montserrat ascent .968, content 1.219em). */
  .fk-nav .fk-foto__lead {
    --x: 111.8;
    --y: 395.3;
    --w: 480;
    --fs: 55.11;
    --r: -4.23deg;
    line-height: calc(54.76 * var(--u));
    white-space: nowrap;
    transform-origin: 0 calc(47.1 * var(--u));
  }
  .fk-nav .fk-foto__lead-in {
    transform: scaleY(.98) skewX(-11.27deg);
    transform-origin: 0 calc(47.1 * var(--u));
  }

  /* t-familia (958+946+949+952+959): 983×409 at section (84.9, 462). */
  .fk-nav .fk-foto__title {
    --x: 84.9;
    --y: 462;
    --w: 983;
  }

  /* Live text 1176: Montserrat 34.43/33, centred on x 1662.9, first
     baseline y 291.7 (28.8 below the line-box top). */
  .fk-nav .fk-foto__quote {
    --x: 1412.9;
    --y: 262.9;
    --w: 500;
    --fs: 34.43;
    line-height: calc(33 * var(--u));
    white-space: nowrap;
  }
}


/* --------------------------------------------------------------------------
   Viewports wider than 1920px: the photo stays 1920 wide (1:1 design) and
   is centred; the side areas get a blurred, darkened "cover" copy of the
   same photo (same vertical band as the photo), and the sharp photo's left
   and right edges are feathered into it. Blur 40px + scale(1.15) → no
   recognizable people, opaque edges; it reads as a soft bokeh frame.
   (Hidden ≤1920: the photo already spans the viewport.)
   -------------------------------------------------------------------------- */
.fk-nav .fk-foto__ext { display: none; }

@media (min-width: 1921px) {
  .fk-nav .fk-foto__ext {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(1.8 * var(--u));
    height: calc(1118 * var(--u));
    overflow: hidden;
  }
  .fk-nav .fk-foto__ext > img {
    display: block;
    width: 100%;
    max-width: none !important; /* beats skin img{max-width:100%!important} */
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    filter: blur(40px) saturate(1.1) brightness(.62);
    transform: scale(1.15);
  }
  .fk-nav .fk-foto__ext::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 5, 5, .18);
  }

  /* Feather = min(gutter, 140px): 0 when the viewport (minus scrollbar) is
     not wider than the photo. */
  .fk-nav .fk-sec--foto { --fk-foto-fe: clamp(0px, (var(--fk-vw) - 1920px) / 2, 140px); }
  .fk-nav .fk-foto__media {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fk-foto-fe), #000 calc(100% - var(--fk-foto-fe)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fk-foto-fe), #000 calc(100% - var(--fk-foto-fe)), transparent 100%);
  }
}

/* --------------------------------------------------------------------------
   Phones (<768px): flow
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .fk-nav .fk-sec--foto {
    --fk-foto-red: #FF0024;
    --fk-foto-curve: 64px;
  }

  /* Photo joins the flow (the .fk-bg is normally an absolute overlay). */
  .fk-nav .fk-sec--foto .fk-foto__bg {
    position: relative;
    inset: auto;
  }
  .fk-nav .fk-foto__bg .fk-bg__frame { position: relative; }

  .fk-nav .fk-foto__bg .fk-foto__media.fk-el {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    aspect-ratio: 900 / 1100;
    max-height: 760px;
  }
  .fk-nav .fk-foto__img > img { object-position: 50% 28%; }

  /* Fade the photo bottom into the red panel. */
  .fk-nav .fk-foto__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    background: linear-gradient(to bottom, rgba(255, 0, 36, 0), rgba(160, 0, 20, .35));
    pointer-events: none;
  }

  .fk-nav .fk-sec--foto .fk-stage {
    padding: 0;
    gap: 0;
    margin-top: calc(var(--fk-foto-curve) * -1.4);
  }

  /* Red panel with organic curved top and bottom edges. */
  .fk-nav .fk-foto__panel {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 18px var(--fk-gutter) 120px;
    background: var(--fk-foto-red);
    text-align: center;
  }

  .fk-nav .fk-foto__panel::before,
  .fk-nav .fk-foto__panel::after {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    height: calc(var(--fk-foto-curve) * 2);
    background: var(--fk-foto-red);
    pointer-events: none;
  }
  .fk-nav .fk-foto__panel::before {
    top: calc(var(--fk-foto-curve) * -1 + 2px);
    border-radius: 55% 45% 0 0 / 100% 100% 0 0;
    rotate: -3deg;
  }
  .fk-nav .fk-foto__panel::after {
    bottom: calc(var(--fk-foto-curve) * -1 + 2px);
    border-radius: 0 0 45% 55% / 0 0 100% 100%;
    rotate: 2.5deg;
    z-index: -1;
  }

  .fk-nav .fk-foto__panel > * { position: relative; z-index: 1; }

  .fk-nav .fk-foto__lead {
    --mw: auto;
    order: 0;
    font-size: clamp(24px, 6.4vw, 38px);
    line-height: 1.05;
    rotate: -4.23deg;
    margin-top: -6px;
  }
  .fk-nav .fk-foto__lead-in {
    transform: skewX(-11.27deg);
    text-align: left;
  }

  .fk-nav .fk-foto__title {
    --mw: min(100%, 560px);
    order: 1;
    margin-top: -6px;
  }

  .fk-nav .fk-foto__quote {
    --mw: min(100%, 420px);
    order: 2;
    margin-top: 6px;
    padding-top: 22px;
    font-size: clamp(17px, 4.6vw, 24px);
    line-height: 1.2;
  }
  .fk-nav .fk-foto__quote::before {
    content: "\201C";
    position: absolute;
    top: -18px;
    left: 50%;
    translate: -50% 0;
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    color: var(--fk-yellow);
  }
}

/* --------------------------------------------------------------------------
   Tablet (768–1023px): the desktop scene itself, scaled to the viewport
   (--u = viewport / 1920 in flow mode, no side gutters). The desktop photo
   carries the red blob that frames lead + t-familia, the quote sits on the
   photo top-right; text stays legible (quote ≥ 13.8px at 768).
   base.css only positions .fk-el absolutely ≥1024, so redo it here.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .fk-nav .fk-sec--foto { height: calc(971 * var(--u)); }

  .fk-nav .fk-sec--foto .fk-stage {
    display: block;
    height: 100%;
    padding: 0;
  }

  .fk-nav .fk-sec--foto .fk-el {
    position: absolute;
    left: calc(var(--x, 0) * var(--u));
    top: calc(var(--y, 0) * var(--u));
    width: calc(var(--w, 100) * var(--u));
    max-width: none;
  }

  .fk-nav .fk-sec--foto .fk-txt { font-size: calc(var(--fs, 16) * var(--u)); }
}

/* ---- css/sections/cards-productos.css ---- */
/* ==========================================================================
   Friko · Landing Navidad — css/sections/cards-productos.css
   Sección D · Productos (#fk-productos, y 2351→2832, --h 481)
   (replaces the 4 yellow blog cards of the first version)

   2 static product cards (fragment.html): yellow brand card #F7C90A
   (radius 40, dark drop shadow to the bottom-right, like the design's
   cards), straddling the bottom of the family photo as before.
     desktop ≥1024 : 2 horizontal cards 820×448 design px, gap 72, centred
                     (x 104 → 1816): green "stage" panel with the Christmas
                     pack on the left | title + skewed CTA on the right.
     tablet 768–1023: 2 vertical cards side by side.
     phone <768    : stacked vertical cards (no carousel for 2 items).
   CTA: same language as the closing CTA (cierre.css): green face, yellow
   border, dark-red ring, white Montserrat Black Italic, slanted
   parallelogram, shine sweep on hover + one idle sweep every 6 s.

   Green background: shared spec of css/sections/inspiracion.css (one
   radial in artboard coordinates: ellipse rx 737 × ry 4870 centred at
   (965, 4292), #699528 → #39501A). Here the layer starts at artboard
   y 2460 (behind the photo bottom; layer-local centre y 1832) and ends at
   the section bottom (2832), where #fk-inspiracion takes over → no seam.
   ========================================================================== */

.fk-nav .fk-sec--productos .fk-productos__bg { z-index: -2; }

.fk-nav .fk-productos__green {
  position: absolute;
  left: 0;
  right: 0;
  background-color: var(--fk-green);
}

/* ---- Card ---------------------------------------------------------------- */
.fk-nav .fk-cards--productos .fk-card {
  --c: 1px;                        /* flow: real px; scene: 1 design px */
  --fk-lift: 0px;
  --fk-card-radius: calc(32 * var(--c));
}

.fk-nav .fk-cards--productos .fk-card__inner {
  padding: calc(14 * var(--c));
  transform: translateY(var(--fk-lift)) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow: calc(5 * var(--c)) calc(7 * var(--c)) calc(15 * var(--c)) rgba(13, 5, 5, .55);
}

.fk-nav .fk-cards--productos .fk-card:hover,
.fk-nav .fk-cards--productos .fk-card:focus-within { --fk-lift: calc(-10 * var(--c)); }

.fk-nav .fk-cards--productos .fk-card:hover .fk-card__inner,
.fk-nav .fk-cards--productos .fk-card:focus-within .fk-card__inner {
  box-shadow: calc(8 * var(--c)) calc(18 * var(--c)) calc(30 * var(--c)) rgba(13, 5, 5, .6);
}

/* Product "stage": green radial panel (brand green) so the red / mustard
   pack never melts into the yellow card. */
.fk-nav .fk-prod__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: calc(22 * var(--c));
  background:
    radial-gradient(60% 55% at 50% 46%, rgba(255, 236, 150, .28) 0%, rgba(255, 236, 150, 0) 100%),
    radial-gradient(120% 95% at 50% 40%, var(--fk-green-light) 0%, var(--fk-green) 78%);
  box-shadow: inset 0 0 0 calc(3 * var(--c)) rgba(255, 255, 255, .1);
  isolation: isolate;
}

/* Soft floor shadow under the pack. */
.fk-nav .fk-prod__media::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 18%;
  right: 18%;
  bottom: 9%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(13, 5, 5, .45), rgba(13, 5, 5, 0));
}

.fk-nav .fk-prod__media-link {
  display: block;
  width: 84%;
  cursor: pointer;
}

.fk-nav .fk-prod__img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 calc(10 * var(--c)) calc(12 * var(--c)) rgba(13, 5, 5, .4));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.fk-nav .fk-cards--productos .fk-card:hover .fk-prod__img,
.fk-nav .fk-cards--productos .fk-card:focus-within .fk-prod__img {
  transform: rotate(-1.5deg) scale(1.06);
}

.fk-nav .fk-prod__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: calc(14 * var(--c));
  padding: calc(18 * var(--c)) calc(10 * var(--c)) calc(6 * var(--c));
}

.fk-nav .fk-prod__title {
  margin: 0;
  color: var(--fk-green);          /* #39501A on #F7C90A = 5.7:1 */
  font-size: calc(22 * var(--c));
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.fk-nav .fk-prod__brand {
  display: block;
  margin-top: .45em;
  color: #B3001B;                  /* 4.5:1 on the yellow */
  font-size: .66em;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .01em;
}

/* ---- CTA "Comprar ahora" -------------------------------------------------
   Real <a>. The box leaves room for the slanted face (the face is ::before,
   rotated/skewed with the same matrix family as the closing CTA). */
.fk-nav .fk-prod__cta {
  --cta-w: calc(290 * var(--c));   /* face incl. ring, before skew */
  --cta-h: calc(62 * var(--c));
  --cta-b: calc(3 * var(--c));
  --cta-fs: calc(24 * var(--c));
  --cta-scale: 1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: calc(var(--cta-w) + 0.3 * var(--cta-h));
  height: calc(var(--cta-h) + 0.13 * var(--cta-w));
  color: var(--fk-white);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  scale: var(--cta-scale);
  transition: scale .45s cubic-bezier(.34, 1.56, .64, 1), filter .3s ease;
}

.fk-nav .fk-prod__cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--cta-w) - 2 * var(--cta-b));
  height: calc(var(--cta-h) - 2 * var(--cta-b));
  margin-left: calc((var(--cta-w) - 2 * var(--cta-b)) / -2);
  margin-top: calc((var(--cta-h) - 2 * var(--cta-b)) / -2);
  border: var(--cta-b) solid var(--fk-yellow);
  background:
    linear-gradient(100deg, transparent 0 40%, rgba(255, 255, 255, .42) 50%, transparent 60% 100%) 100% 0 / 300% 100% no-repeat,
    var(--fk-green);
  box-shadow:
    0 0 0 var(--cta-b) var(--fk-red-dark),
    0 calc(8 * var(--c)) calc(20 * var(--c)) rgba(22, 7, 0, .4);
  transform: matrix(1, -.09, -.27, 1, 0, 0);
  animation: fk-cta-idle 6s ease-in-out var(--fk-idle-delay, 3s) infinite;
}

.fk-nav .fk-cards--productos .fk-card:nth-child(2) .fk-prod__cta { --fk-idle-delay: 4.2s; }

.fk-nav .fk-prod__cta-label {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--fk-font);
  font-size: var(--cta-fs);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  color: var(--fk-white);
  transform: rotate(-5.1deg);
  pointer-events: none;
}

.fk-nav .fk-prod__cta-label::after {
  content: "\2192";
  display: inline-block;
  margin-left: .35em;
  color: var(--fk-yellow);
  font-style: normal;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}

.fk-nav .fk-prod__cta:hover,
.fk-nav .fk-prod__cta:focus-visible {
  --cta-scale: 1.06;
  filter: brightness(1.08) saturate(1.06);
}

.fk-nav .fk-prod__cta:hover::before,
.fk-nav .fk-prod__cta:focus-visible::before {
  animation: fk-cta-shine .85s ease-out both;
}

.fk-nav .fk-cards--productos .fk-card:hover .fk-prod__cta-label::after,
.fk-nav .fk-prod__cta:focus-visible .fk-prod__cta-label::after { transform: translateX(5px); }

.fk-nav .fk-prod__cta:active { --cta-scale: .98; }

.fk-nav .fk-prod__cta:focus-visible { outline: none; }
.fk-nav .fk-prod__cta:focus-visible::before {
  box-shadow:
    0 0 0 var(--cta-b) var(--fk-red-dark),
    0 0 0 calc(var(--cta-b) + 4px) var(--fk-white),
    0 calc(8 * var(--c)) calc(20 * var(--c)) rgba(22, 7, 0, .4);
}

/* --------------------------------------------------------------------------
   Desktop scene (≥1024px): 2 horizontal cards 820×448, gap 72, x 104
   (centred on the stage), y 9 — same band as the former blog cards, so
   the photo → cards → green composition is unchanged.
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .fk-nav .fk-productos__green {
    top: calc(109 * var(--u));              /* artboard y 2460 */
    bottom: 0;                              /* section bottom = 2832 */
    background-image: radial-gradient(
      calc(737 * var(--u)) calc(4870 * var(--u)) at calc(50% + 5 * var(--u)) calc(1832 * var(--u)),
      var(--fk-green-light) 0%, var(--fk-green) 100%);
  }

  .fk-nav .fk-sec--productos .fk-cards--productos {
    --x: 104;
    --y: 9;
    --w: 1712;
    height: calc(448 * var(--u));
    grid-template-rows: minmax(0, 1fr);
  }

  .fk-nav .fk-cards--productos .fk-card {
    --c: var(--u);
    --fk-card-radius: calc(40 * var(--u));
  }

  .fk-nav .fk-cards--productos .fk-card__inner {
    flex-direction: row;
    align-items: stretch;
    gap: calc(8 * var(--u));
    padding: calc(18 * var(--u));
    box-shadow: calc(5 * var(--u)) calc(6 * var(--u)) calc(14 * var(--u)) rgba(13, 5, 5, .85);
  }

  .fk-nav .fk-prod__media {
    flex: 0 0 calc(400 * var(--u));
    border-radius: calc(26 * var(--u));
  }

  .fk-nav .fk-prod__media-link { width: 90%; }

  .fk-nav .fk-prod__body {
    flex: 1 1 0;
    min-width: 0;
    gap: calc(26 * var(--u));
    padding: calc(20 * var(--u)) calc(22 * var(--u)) calc(20 * var(--u)) calc(30 * var(--u));
  }

  .fk-nav .fk-prod__title { font-size: max(16px, calc(36 * var(--u))); }

  .fk-nav .fk-prod__cta {
    --cta-w: calc(318 * var(--u));
    --cta-h: calc(74 * var(--u));
    --cta-b: max(2px, calc(3.4 * var(--u)));
    --cta-fs: max(13px, calc(28 * var(--u)));
  }
}

/* Small desktops: the card is ~430px wide → a slightly bigger title/CTA. */
@media (min-width: 1024px) and (max-width: 1365.98px) {
  .fk-nav .fk-prod__body { gap: calc(22 * var(--u)); padding-left: calc(22 * var(--u)); padding-right: calc(16 * var(--u)); }
  .fk-nav .fk-prod__title { font-size: max(17px, calc(36 * var(--u))); }
  .fk-nav .fk-prod__cta { --cta-w: calc(340 * var(--u)); --cta-h: calc(80 * var(--u)); }
}

/* --------------------------------------------------------------------------
   Flow (<1024px): vertical cards over the green, the first row
   overlapping the bottom of the red panel of #fk-foto (phones) / the photo
   (tablet).
   -------------------------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .fk-nav .fk-productos__green {
    top: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, var(--fk-green) 0%, #5C8524 50%, var(--fk-green) 100%);
  }

  .fk-nav .fk-sec--productos .fk-stage {
    margin-top: -96px;
    padding-top: 0;
    padding-bottom: var(--fk-pad-y);
  }

  .fk-nav .fk-sec--productos .fk-cards--productos {
    --fk-cards-gap: 22px;
    max-width: 460px;
  }

  .fk-nav .fk-cards--productos .fk-card__inner { padding: 12px; }

  .fk-nav .fk-prod__media {
    aspect-ratio: 16 / 11;
    border-radius: 22px;
  }

  .fk-nav .fk-prod__media-link { width: min(78%, 330px); }

  .fk-nav .fk-prod__body { padding: 18px 8px 12px; gap: 12px; }
  .fk-nav .fk-prod__title { font-size: 21px; }

  .fk-nav .fk-prod__cta {
    --cta-w: min(250px, calc(100vw - 110px));
    --cta-h: 56px;
    --cta-b: 3px;
    --cta-fs: 21px;
  }
}

/* Tablet (768–1023px): the 2 cards side by side, the row straddling the
   bottom of the family photo (which overflows the scaled foto section). */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .fk-nav .fk-sec--productos .fk-stage {
    margin-top: 0;
    padding-top: calc(12 * var(--u));
    padding-bottom: 40px;
  }
  .fk-nav .fk-sec--productos .fk-cards--productos {
    --fk-cards-gap: clamp(18px, 3vw, 28px);
    max-width: 900px;
  }
  .fk-nav .fk-cards--productos .fk-card__inner { padding: 14px; }
  .fk-nav .fk-prod__body { padding: 18px 10px 10px; }
  .fk-nav .fk-prod__title { font-size: clamp(19px, 2.3vw, 22px); min-height: 3.24em; display: flex; flex-direction: column; justify-content: center; }
  .fk-nav .fk-prod__cta { --cta-w: min(260px, 34vw); }
}

@media (max-width: 379.98px) {
  .fk-nav .fk-prod__title { font-size: 19px; }
  .fk-nav .fk-prod__cta { --cta-fs: 19px; --cta-h: 52px; }
}

/* ---- css/sections/inspiracion.css ---- */
/* ==========================================================================
   Friko · Landing Navidad — css/sections/inspiracion.css
   Sección E · Inspiración (#fk-inspiracion, y 2832→3440, --h 608)
   Owner: agente "Secciones E+F+G".

   Shared green background (E, F, G — and D above, if it adopts it)
   ----------------------------------------------------------------------
   From artboard y≈2460 down the design uses ONE radial gradient, measured
   on the reference: an ellipse rx 737 × ry 4870 design px centred at
   artboard (965, 4292), #699528 at the centre → #39501A at the edge
   (linear in sRGB). Every section draws the same ellipse with its centre
   expressed relative to its own top (--fk-gy = 4292 − section top), so the
   sections join with no seam. Outside the ellipse (and beyond 1920px) the
   colour is the flat edge colour #39501A.
   Flow mode (<1024): a horizontal-only gradient (no vertical variation →
   seamless whatever the section heights).
   ========================================================================== */

.fk-nav .fk-sec--inspiracion,
.fk-nav .fk-sec--recetas,
.fk-nav .fk-sec--cierre {
  background-color: var(--fk-green);
  background-image: linear-gradient(90deg, var(--fk-green) 0%, #5C8524 50%, var(--fk-green) 100%);
}

@media (min-width: 1024px) {
  .fk-nav .fk-sec--inspiracion,
  .fk-nav .fk-sec--recetas,
  .fk-nav .fk-sec--cierre {
    background-image: radial-gradient(calc(737 * var(--u)) calc(4870 * var(--u)) at calc(50% + 5 * var(--u)) calc(var(--fk-gy, 0) * var(--u)), var(--fk-green-light) 0%, var(--fk-green) 100%);
  }
  .fk-nav .fk-sec--inspiracion { --fk-gy: 1460; } /* 4292 − 2832 */
  .fk-nav .fk-sec--recetas     { --fk-gy: 852; }  /* 4292 − 3440 */
  .fk-nav .fk-sec--cierre      { --fk-gy: 292; }  /* 4292 − 4000 */
}

/* --------------------------------------------------------------------------
   Stars (shared by E and G): white + mix-blend-mode overlay, exactly like
   the design. For the blend to reach the section background, nothing
   between the star and the background may form a stacking context, so the
   .fk-deco layer of these sections drops its z-index and each star carries
   the deco z-index itself (it then stacks in the .fk-nav root context,
   above the stage and the backgrounds).
   NOTE for the animator: do not transform / fade the .fk-deco wrapper of
   these sections (that would isolate it); animate the stars themselves.
   -------------------------------------------------------------------------- */
.fk-nav .fk-sec--inspiracion > .fk-deco,
.fk-nav .fk-sec--cierre > .fk-deco {
  z-index: auto;
}

.fk-nav .fk-inspiracion__star,
.fk-nav .fk-cierre__star {
  z-index: var(--z-deco);
  height: auto;
  mix-blend-mode: overlay;
}

/* Browsers without blend modes: the colour overlay produces on #39501A. */
@supports not (mix-blend-mode: overlay) {
  .fk-nav .fk-inspiracion__star,
  .fk-nav .fk-cierre__star { opacity: .35; }
}

/* --------------------------------------------------------------------------
   Scene mode (≥1024px) — manifest coordinates, relative to section top
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .fk-nav .fk-inspiracion__title { --x: 355.4; --y: 12; --w: 1174; }

  .fk-nav .fk-inspiracion__star--1 { --x: 129.7;  --y: 163.1; --w: 41.4; }
  .fk-nav .fk-inspiracion__star--2 { --x: 1669.8; --y: 381.8; --w: 93.5; }
  .fk-nav .fk-inspiracion__star--3 { --x: 280.3;  --y: 434.9; --w: 75.4; }
}

/* --------------------------------------------------------------------------
   Flow mode (<1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .fk-nav .fk-sec--inspiracion .fk-stage {
    padding-top: calc(var(--fk-pad-y) * .75);
    padding-bottom: 8px;
  }

  .fk-nav .fk-inspiracion__title {
    --mw: min(100%, 640px);
  }

  .fk-nav .fk-inspiracion__star--1 { --ml: 4%;  --mt: 14%; --mw: clamp(16px, 4vw, 30px); }
  .fk-nav .fk-inspiracion__star--2 { --mr: 3%;  --mt: 58%; --mw: clamp(30px, 8vw, 64px); }
  .fk-nav .fk-inspiracion__star--3 { --ml: 7%;  --mt: 74%; --mw: clamp(24px, 6vw, 50px); }
}

@media (max-width: 767.98px) {
  .fk-nav .fk-inspiracion__title { --mw: min(100%, 520px); }
}

/* Tablet (768–1023px): a touch narrower so it doesn't dominate the 3-up
   recipe row below it. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .fk-nav .fk-inspiracion__title { --mw: min(74%, 640px); }
  .fk-nav .fk-inspiracion__star--1 { --ml: 9%;  --mt: 18%; }
  .fk-nav .fk-inspiracion__star--2 { --mr: 7%;  --mt: 52%; }
  .fk-nav .fk-inspiracion__star--3 { --ml: 11%; --mt: 70%; }
}

/* ---- css/sections/cards-recetas.css ---- */
/* ==========================================================================
   Friko · Landing Navidad — css/sections/cards-recetas.css
   Sección F · Cards rojas (#fk-recetas, y 3440→4000, --h 560)
   Owner: agente "Secciones E+F+G".
   Content: the 2 BLOG posts (the section keeps its #fk-recetas /
   .fk-cards--recetas layout hooks; the box is data-fk-cards="blog").
   Background: shared green radial, see inspiracion.css.
   Cards are rendered by js/fk-navidad.js from FK_CARDS.blog:
     .fk-card.fk-card--red > .fk-card__inner > .fk-card__media > img
                                             > .fk-card__body > tag, h3>a,
                                               excerpt, meta, more
   Everything here is scoped to `.fk-nav .fk-cards--recetas`.
   ========================================================================== */

/* Icons (white, drawn with mask so they inherit currentColor). */
.fk-nav .fk-cards--recetas {
  --fk-ico-clock: 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 6.5V12l3.8 2.4'/%3E%3C/svg%3E");
  --fk-ico-chef: 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 14.5a4.2 4.2 0 0 1-.9-8.3A5 5 0 0 1 12 3a5 5 0 0 1 5.9 3.2 4.2 4.2 0 0 1-.9 8.3V20H7z'/%3E%3Cpath d='M7 17h10'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Card look (all modes; sizes in --c, a per-mode length unit)
   -------------------------------------------------------------------------- */
.fk-nav .fk-cards--recetas .fk-card {
  --c: 1px;                       /* flow: real px; scene: 1 design px */
  --fk-card-radius: calc(26 * var(--c));
  --fk-card-shadow: 0 calc(7 * var(--c)) calc(12 * var(--c)) rgba(13, 5, 5, .85);
  --fk-lift: 0px;
  height: 100%;
}

.fk-nav .fk-cards--recetas .fk-card__inner {
  padding: calc(18 * var(--c));
  background: var(--fk-card-red);   /* #D6001F: white text ≥ 5.4:1 (AA) */
  color: var(--fk-white);
  transform: translateY(var(--fk-lift)) rotateX(var(--rx)) rotateY(var(--ry));
}

.fk-nav .fk-cards--recetas .fk-card:hover,
.fk-nav .fk-cards--recetas .fk-card:focus-within {
  --fk-lift: calc(-10 * var(--c));
}

.fk-nav .fk-cards--recetas .fk-card:hover .fk-card__inner,
.fk-nav .fk-cards--recetas .fk-card:focus-within .fk-card__inner {
  box-shadow: 0 calc(20 * var(--c)) calc(30 * var(--c)) rgba(13, 5, 5, .6), 0 calc(6 * var(--c)) calc(10 * var(--c)) rgba(13, 5, 5, .35);
}

.fk-nav .fk-cards--recetas .fk-card__media {
  aspect-ratio: auto;
  height: calc(210 * var(--c));
  border-radius: calc(18 * var(--c));
  background: #a80018;
  box-shadow: inset 0 0 0 calc(3 * var(--c)) rgba(255, 255, 255, .12);
}

/* Yellow tag pill floats over the photo. */
.fk-nav .fk-cards--recetas .fk-card__tag {
  position: absolute;
  z-index: 2;
  top: calc(32 * var(--c));
  left: calc(32 * var(--c));
  padding: calc(6 * var(--c)) calc(14 * var(--c));
  background: var(--fk-yellow);
  color: var(--fk-red-dark);
  font-size: calc(13 * var(--c));
  font-weight: 900;
  letter-spacing: .1em;
  box-shadow: 0 calc(3 * var(--c)) calc(8 * var(--c)) rgba(13, 5, 5, .35);
}

.fk-nav .fk-cards--recetas .fk-card__body {
  gap: calc(9 * var(--c));
  padding: calc(16 * var(--c)) calc(6 * var(--c)) 0;
}

.fk-nav .fk-cards--recetas .fk-card__title {
  order: 1;
  font-size: calc(24 * var(--c));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fk-nav .fk-cards--recetas .fk-card__meta {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(6 * var(--c)) calc(16 * var(--c));
  color: var(--fk-white);
  font-size: calc(14 * var(--c));
  font-weight: 700;
  line-height: 1.2;
  opacity: 1;
}

/* Icon before the meta line (plain-text meta) or before each item if the
   renderer ever splits it into .fk-card__meta-item spans. */
.fk-nav .fk-cards--recetas .fk-card__meta:not(:has(.fk-card__meta-item))::before,
.fk-nav .fk-cards--recetas .fk-card__meta-item::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 1.25em;
  height: 1.25em;
  margin-right: calc(-10 * var(--c));   /* tighten icon ↔ text inside the flex gap */
  background: var(--fk-yellow);
  -webkit-mask: var(--fk-ico-clock) center / contain no-repeat;
  mask: var(--fk-ico-clock) center / contain no-repeat;
}

.fk-nav .fk-cards--recetas .fk-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.fk-nav .fk-cards--recetas .fk-card__meta-item::before { margin-right: 0; }
.fk-nav .fk-cards--recetas .fk-card__meta-item + .fk-card__meta-item::before {
  -webkit-mask-image: var(--fk-ico-chef);
  mask-image: var(--fk-ico-chef);
}

.fk-nav .fk-cards--recetas .fk-card__excerpt {
  order: 3;
  font-size: calc(15 * var(--c));
  line-height: 1.4;
  opacity: 1;                     /* full white: 5.4:1 on the card red */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* "VER RECETA": yellow on the card red is only 3.4:1 (fails AA for this
   small text) → white label (5.4:1) with the yellow arrow as the accent. */
.fk-nav .fk-cards--recetas .fk-card__more {
  order: 4;
  color: var(--fk-white);
  font-size: calc(15 * var(--c));
  font-weight: 800;
  letter-spacing: .03em;
}

.fk-nav .fk-cards--recetas .fk-card__more::after {
  content: "\2192";
  display: inline-block;
  margin-left: .35em;
  color: var(--fk-yellow);
  transition: transform .3s ease;
}

.fk-nav .fk-cards--recetas .fk-card:hover .fk-card__more::after,
.fk-nav .fk-cards--recetas .fk-card:focus-within .fk-card__more::after {
  transform: translateX(calc(6 * var(--c)));
}

/* Skeleton (no-JS) cards keep the red look. */
.fk-nav .fk-cards--recetas .fk-card--skeleton .fk-card__media {
  background: linear-gradient(110deg, rgba(0, 0, 0, .1) 30%, rgba(255, 255, 255, .18) 50%, rgba(0, 0, 0, .1) 70%) 0 0 / 200% 100%, #b8001b;
}

/* --------------------------------------------------------------------------
   Scene mode (≥1024px): 2 cards 660×491, gap 85, centred on the stage
   (x 257.5 → 1662.5; the former 3-card row was centred the same way),
   y 3460.7 (section y 20.7), radius 38.
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .fk-nav .fk-cards--recetas {
    --x: 257.5;
    --y: 20.7;
    --w: 1405;
    height: calc(491 * var(--u));
  }

  .fk-nav .fk-cards--recetas .fk-card {
    --c: var(--u);
    --fk-card-radius: calc(38 * var(--u));
    height: calc(491 * var(--u));
  }

  .fk-nav .fk-cards--recetas .fk-card__inner {
    padding: calc(22 * var(--u));
  }

  /* The photo absorbs the space the (min-size-boosted) text needs: it is
     at most 250 design px tall and shrinks first, the text never clips. */
  .fk-nav .fk-cards--recetas .fk-card__media {
    flex: 0 1 calc(250 * var(--u));
    height: auto;
    min-height: calc(130 * var(--u));
    border-radius: calc(24 * var(--u));
  }
  .fk-nav .fk-cards--recetas .fk-card__body { flex: 0 0 auto; }
  .fk-nav .fk-cards--recetas .fk-card__body > * { flex-shrink: 0; }

  .fk-nav .fk-cards--recetas .fk-card__tag {
    top: calc(38 * var(--u));
    left: calc(38 * var(--u));
    font-size: calc(15 * var(--u));
    padding: calc(7 * var(--u)) calc(16 * var(--u));
  }

  .fk-nav .fk-cards--recetas .fk-card__body {
    gap: calc(10 * var(--u));
    padding: calc(20 * var(--u)) calc(8 * var(--u)) 0;
  }

  /* max(): keep the small text legible at 1024–1280 (u ≈ .53–.67). */
  .fk-nav .fk-cards--recetas .fk-card__title   { font-size: max(15px, calc(29 * var(--u))); }
  .fk-nav .fk-cards--recetas .fk-card__meta    { font-size: max(12px, calc(16 * var(--u))); }
  .fk-nav .fk-cards--recetas .fk-card__excerpt { font-size: max(12px, calc(17 * var(--u))); }
  .fk-nav .fk-cards--recetas .fk-card__more    { font-size: max(12px, calc(17 * var(--u))); }
  .fk-nav .fk-cards--recetas .fk-card__tag     { font-size: max(12px, calc(15 * var(--u))); }
}

/* Small scene widths: shorter photo so the legible text still fits. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .fk-nav .fk-cards--recetas .fk-card__media { flex-basis: calc(250 * var(--u)); }
  .fk-nav .fk-cards--recetas .fk-card__excerpt { -webkit-line-clamp: 2; }
  .fk-nav .fk-cards--recetas .fk-card__body  { gap: calc(8 * var(--u)); padding-top: calc(16 * var(--u)); }
}

/* --------------------------------------------------------------------------
   Flow mode (<1024px): phones = the 2 cards stacked (fk-navidad.js only
   builds a carousel for 3+ cards; its rules are kept for that case).
   -------------------------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .fk-nav .fk-sec--recetas .fk-stage {
    padding-top: 8px;
    padding-bottom: var(--fk-pad-y);
  }

  .fk-nav .fk-cards--recetas {
    --fk-slide-w: min(80%, 340px);
    --fk-carousel-gap: 18px;
    --fk-cards-gap: 22px;
    max-width: 460px;
  }

  .fk-nav .fk-cards--recetas .fk-card { height: auto; }
  .fk-nav .fk-cards--recetas .fk-card__title { -webkit-line-clamp: 3; }

  .fk-nav .fk-cards--recetas.fk-carousel {
    padding-top: 14px;   /* room for the hover lift + shadow */
    padding-bottom: 30px;
  }

  .fk-nav .fk-sec--recetas .fk-dots { margin-top: -21px; /* 24px dot buttons (base.css) */ }
}

/* Tablet (768–1023px): the 2 cards in one row, like the desktop (no
   carousel). Slightly tighter card, text kept ≥ 13px. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .fk-nav .fk-sec--recetas .fk-cards--recetas {
    --fk-cols: 2;
    --fk-cards-gap: clamp(18px, 3vw, 28px);
    max-width: 900px;
    padding-top: 10px;
  }
  .fk-nav .fk-cards--recetas .fk-card {
    --c: .86px;
    --fk-card-radius: 26px;
  }
  .fk-nav .fk-cards--recetas .fk-card__inner { padding: 14px; }
  .fk-nav .fk-cards--recetas .fk-card__media { height: clamp(170px, 24vw, 230px); }
  .fk-nav .fk-cards--recetas .fk-card__tag { top: 26px; left: 26px; font-size: 12px; }
  .fk-nav .fk-cards--recetas .fk-card__title { font-size: clamp(18px, 2.15vw, 21px); }
  .fk-nav .fk-cards--recetas .fk-card__meta { font-size: 13px; }
  .fk-nav .fk-cards--recetas .fk-card__excerpt { font-size: 14px; }
  .fk-nav .fk-cards--recetas .fk-card__more { font-size: 14px; }
}

@media (max-width: 479.98px) {
  .fk-nav .fk-cards--recetas .fk-card__media { height: 180px; }
  .fk-nav .fk-cards--recetas .fk-card__title { font-size: 21px; }
}

/* v6 (client covers, Nov 26): the blog covers have the Friko packs in the
   upper-left. Keep the packs in frame when the photo strip is short, and
   move the "Blog" pill to the right so it never covers a pack/logo. */
.fk-nav .fk-cards--recetas .fk-card__img { object-position: 50% 28%; }
.fk-nav .fk-cards--recetas .fk-card .fk-card__tag { left: auto; right: calc(32 * var(--c)); }
@media (min-width: 1024px) {
  .fk-nav .fk-cards--recetas .fk-card .fk-card__tag { right: calc(38 * var(--u)); }
}
@media (max-width: 1023.98px) {
  .fk-nav .fk-cards--recetas .fk-card .fk-card__tag { right: 26px; }
}

/* ---- css/sections/cierre.css ---- */
/* ==========================================================================
   Friko · Landing Navidad — css/sections/cierre.css
   Sección G · Cierre + CTA (#fk-cierre, y 4000→5572, --h 1572)
   Owner: agente "Secciones E+F+G".
   Background: shared green radial (see inspiracion.css) + red wave
   (shape-ola.svg, viewBox = the whole section) + red side extensions
   outside the stage (to the viewport edges). Stars: overlay blend (see inspiracion.css).
   ========================================================================== */

/* --------------------------------------------------------------------------
   CTA "Compra tus lomos aquí" (all modes)
   Real <a>. The parallelogram is ::before (so GSAP can own the <a>'s
   transform): green face, yellow border, dark-red outer ring, soft shadow.
   Its shape, measured on the reference: top/bottom edges rise 7.1° to the
   right, sides lean 15.8° → matrix(1, -.1244, -.283, 1, 0, 0).
   The label is only rotated (keeps Montserrat's own italic slant).
   -------------------------------------------------------------------------- */
.fk-nav .fk-cierre__cta {
  --cta-u: 1px;                    /* scene: var(--u) */
  --cta-w: 360px;                  /* face width (before skew), incl. ring */
  --cta-h: 64px;                   /* face height, incl. ring */
  --cta-b: 3px;                    /* yellow border = dark-red ring width */
  --cta-fs: 26px;
  --cta-matrix: matrix(1, -.1244, -.283, 1, 0, 0);
  --cta-rot: -7.1deg;
  --cta-scale: 1;
  position: relative;
  z-index: var(--z-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fk-white);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  scale: var(--cta-scale);
  transition: scale .45s cubic-bezier(.34, 1.56, .64, 1), filter .3s ease;
}

.fk-nav .fk-cierre__cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--cta-w) - 2 * var(--cta-b));
  height: calc(var(--cta-h) - 2 * var(--cta-b));
  margin-left: calc((var(--cta-w) - 2 * var(--cta-b)) / -2);
  margin-top: calc((var(--cta-h) - 2 * var(--cta-b)) / -2);
  border: var(--cta-b) solid var(--fk-yellow);
  background:
    linear-gradient(100deg, transparent 0 40%, rgba(255, 255, 255, .42) 50%, transparent 60% 100%) 100% 0 / 300% 100% no-repeat,
    var(--fk-green);
  box-shadow:
    0 0 0 var(--cta-b) var(--fk-red-dark),
    0 calc(10 * var(--cta-u)) calc(36 * var(--cta-u)) rgba(22, 7, 0, .43);
  transform: var(--cta-matrix);
  animation: fk-cta-idle 6s ease-in-out 2.5s infinite;
}

.fk-nav .fk-cta__label {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--fk-font);
  font-size: var(--cta-fs);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.005em;
  white-space: nowrap;
  color: var(--fk-white);
  transform: rotate(var(--cta-rot));
  pointer-events: none;
}

.fk-nav .fk-cierre__cta:hover,
.fk-nav .fk-cierre__cta:focus-visible {
  --cta-scale: 1.05;
  filter: brightness(1.08) saturate(1.06);
}

.fk-nav .fk-cierre__cta:hover::before,
.fk-nav .fk-cierre__cta:focus-visible::before {
  animation: fk-cta-shine .85s ease-out both;
}

.fk-nav .fk-cierre__cta:active { --cta-scale: .98; }

/* Accessible focus: ring that follows the parallelogram. */
.fk-nav .fk-cierre__cta:focus-visible {
  outline: none;
}
.fk-nav .fk-cierre__cta:focus-visible::before {
  box-shadow:
    0 0 0 var(--cta-b) var(--fk-red-dark),
    0 0 0 calc(var(--cta-b) + 4px) var(--fk-white),
    0 calc(10 * var(--cta-u)) calc(36 * var(--cta-u)) rgba(22, 7, 0, .43);
}

@keyframes fk-cta-shine {
  from { background-position: 100% 0, 0 0; }
  to   { background-position: 0 0, 0 0; }
}

/* Idle: one shine sweep every 6 s. */
@keyframes fk-cta-idle {
  0%       { background-position: 100% 0, 0 0; }
  16%      { background-position: 0 0, 0 0; }
  16.01%, 100% { background-position: 100% 0, 0 0; }
}

/* --------------------------------------------------------------------------
   Recetas → cierre junction: at fractional DPR (1.25 / 1.5) the boundary
   row between the two section backgrounds rendered as a 1px darker line.
   A strip of the SAME green gradient, owned by the cierre, covers the
   boundary (from 3px = --fk-seam above it to 3px below) → no edge-to-edge
   sub-pixel boundary. Same colour underneath, so the design doesn't change.
   -------------------------------------------------------------------------- */
.fk-nav .fk-sec--cierre { --fk-seam: 3px; }
.fk-nav .fk-sec--cierre::before {
  content: "";
  position: absolute;
  z-index: var(--z-bg);
  left: 0;
  right: 0;
  top: calc(-1 * var(--fk-seam));
  height: calc(2 * var(--fk-seam));
  /* No background-color: the dark line IS the flat edge colour showing in
     the row the gradient tile misses at a fractional edge. Transparent
     here, so the strip's own edges reveal the sections' interiors. */
  background-color: transparent;
  background-image: inherit;   /* flow: horizontal-only gradient */
  pointer-events: none;
}
@media (min-width: 1024px) {
  /* Same ellipse as inspiracion.css, centre moved down by the strip offset. */
  .fk-nav .fk-sec--cierre::before {
    background-image: radial-gradient(calc(737 * var(--u)) calc(4870 * var(--u)) at calc(50% + 5 * var(--u)) calc(var(--fk-gy, 0) * var(--u) + var(--fk-seam)), var(--fk-green-light) 0%, var(--fk-green) 100%);
  }
}

/* --------------------------------------------------------------------------
   Scene mode (≥1024px) — manifest coordinates, relative to section top
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .fk-nav .fk-cierre__bottom { display: contents; }

  /* Red wave, aligned to the stage inside the centred frame. */
  .fk-nav .fk-cierre__ola {
    --x: 0; --y: 0; --w: 1920;
    height: calc(1572 * var(--u));
    max-width: none !important; /* beats skin img{max-width:100%!important} */
  }

  /* Outside the stage: extend the red to the viewport edges, from the height
     where the wave leaves the artboard (left y 339, right y 79 design px)
     down. */
  .fk-nav .fk-cierre__bg::before,
  .fk-nav .fk-cierre__bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    background: var(--fk-red);
  }
  /* The edge keeps rising outward (continuing the wave's slope) instead of
     a flat shelf. --fk-ext = width of each side band (viewport − stage)/2.
     --fk-yl / --fk-yr = the wave's edge heights, in real px. */
  .fk-nav .fk-cierre__bg {
    --fk-ext: max(0px, (var(--fk-vw) - 1920 * var(--u)) / 2);
    --fk-yl: calc(339 * var(--u));
    --fk-yr: calc(79 * var(--u));
  }
  .fk-nav .fk-cierre__bg::before {
    left: 0;
    right: calc(50% + 960 * var(--u) - 1px);
    top: 0;
    clip-path: polygon(0 max(40px, var(--fk-yl) - .6 * var(--fk-ext)), 100% var(--fk-yl), 100% 100%, 0 100%);
  }
  .fk-nav .fk-cierre__bg::after {
    right: 0;
    left: calc(50% + 960 * var(--u) - 1px);
    top: 0;
    clip-path: polygon(0 var(--fk-yr), 100% max(20px, var(--fk-yr) - .3 * var(--fk-ext)), 100% 100%, 0 100%);
  }

  .fk-nav .fk-cierre__title     { --x: 157.4;   --y: 29;    --w: 1083; }
  .fk-nav .fk-cierre__logo      { --x: 1314.74; --y: 66.96; --w: 411.45; }
  /* Products at ~75% of the design (1746 → 1310 design px): the source is
     an upscaled 976px export and looked soft at full size. Same visual
     centre x (1016.9) inside the wave's green V; centre y moved down
     (832.5 → 890) and the CTA up 30 so the packs still tuck behind the CTA
     as in the design. Rendered
     width capped at 1080px (≈1.1× the source density); --pc-shrink
     re-centres it when the cap applies (≥ ~1650px viewports). */
  .fk-nav .fk-cierre__productos {
    --x: 361.9; --y: 632.3; --w: 1310;
    --pc-w: calc(1310 * var(--u));
    --pc-shrink: max(0px, var(--pc-w) - 1080px);
    max-width: 1080px !important;
    margin-left: calc(var(--pc-shrink) / 2);
    margin-top: calc(var(--pc-shrink) * 687 / 1746 / 2);
  }

  /* CTA box = bounding box of the parallelogram (outer ring):
     x 452 → 1381.5, y 5125.4 → 5340.4 (artboard); raised 30 design px
     to overlap the (smaller) products. */
  .fk-nav .fk-cierre__cta {
    --x: 452;
    --y: 1095.4;
    --w: 929.5;
    height: calc(215 * var(--u));
    position: absolute;
    --cta-u: var(--u);
    --cta-w: calc(901 * var(--u));
    --cta-h: calc(103 * var(--u));
    --cta-b: calc(3.6 * var(--u));
    --cta-fs: calc(68 * var(--u));
  }

  .fk-nav .fk-cierre__star--1 { --x: 294.6;  --y: 445.2; --w: 61.4; }
  .fk-nav .fk-cierre__star--2 { --x: 1763.3; --y: -1.3;  --w: 36.4; }
  .fk-nav .fk-cierre__star--3 { --x: 1314.7; --y: 379.8; --w: 87.2; }
}

/* --------------------------------------------------------------------------
   Flow mode (<1024px): logo → title → [red wave: products → CTA]
   -------------------------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .fk-nav .fk-sec--cierre .fk-stage {
    padding-bottom: 0;
  }

  .fk-nav .fk-cierre__logo  { order: -1; --mw: clamp(150px, 34vw, 250px); }
  .fk-nav .fk-cierre__title { --mw: min(100%, 600px); }

  .fk-nav .fk-cierre__bottom {
    position: relative;
    z-index: 0;                     /* own stacking context for the wave */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--fk-gap) + 8px);
    align-self: stretch;
    margin-inline: calc(var(--fk-gutter) * -1);
    padding: 40px var(--fk-gutter) calc(var(--fk-pad-y) + 8px);
  }

  .fk-nav .fk-cierre__ola-m {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none !important; /* beats skin img{max-width:100%!important} */
  }

  .fk-nav .fk-cierre__productos { --mw: min(100%, 680px); }

  .fk-nav .fk-cierre__cta {
    --mw: min(100%, 440px);
    width: var(--mw);
    height: clamp(84px, 22vw, 104px);
    --cta-w: calc(100% - 34px);
    --cta-h: clamp(54px, 14.5vw, 66px);
    --cta-b: 3px;
    --cta-fs: clamp(20px, 5.7vw, 28px);
    --cta-matrix: matrix(1, -.09, -.27, 1, 0, 0);
    --cta-rot: -5.1deg;
  }

  .fk-nav .fk-cierre__star--1 { --ml: 5%;  --mt: 24%; --mw: clamp(22px, 6vw, 44px); }
  .fk-nav .fk-cierre__star--2 { --mr: 6%;  --mt: 2%;  --mw: clamp(16px, 4vw, 28px); }
  .fk-nav .fk-cierre__star--3 { --mr: 8%;  --mt: 30%; --mw: clamp(26px, 7vw, 54px); }
}

@media (max-width: 479.98px) {
  .fk-nav .fk-cierre__bottom { padding-top: 32px; }
}

/* --------------------------------------------------------------------------
   Tablet (768–1023px): title + logo side by side (desktop proportions:
   1083 : 411), then the red wave with products and CTA.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .fk-nav .fk-sec--cierre .fk-stage {
    display: grid;
    grid-template-columns: minmax(0, 70fr) minmax(0, 30fr);
    column-gap: 28px;
    row-gap: 10px;
    align-items: center;
    justify-items: center;
  }
  .fk-nav .fk-sec--cierre .fk-stage > * { order: 0; }

  .fk-nav .fk-cierre__title { grid-area: 1 / 1 / 2 / 2; --mw: 100%; }
  .fk-nav .fk-cierre__logo  { grid-area: 1 / 2 / 2 / 3; --mw: 100%; max-width: 250px; margin-top: -4%; }
  .fk-nav .fk-cierre__bottom {
    grid-area: 2 / 1 / 3 / 3;
    justify-self: stretch;
    padding-top: 56px;
  }
  .fk-nav .fk-cierre__productos { --mw: min(88%, 720px); }

  .fk-nav .fk-cierre__star--1 { --ml: 3%;  --mt: 30%; }
  .fk-nav .fk-cierre__star--2 { --mr: 4%;  --mt: 3%; }
  .fk-nav .fk-cierre__star--3 { --mr: 5%;  --mt: 36%; }
}

/* ---- css/animations.css ---- */
/* ==========================================================================
   Friko · Landing Navidad — css/animations.css
   Animation-only styles (owner: "Animador"). Loaded LAST. Nothing here
   changes the layout: only pseudo-elements, helper layers injected by
   js/animations.js and properties that are neutral at rest.

     1. Title sheen   — a light band sweeps across image titles. The band is
                        masked with the title's own PNG/WebP alpha (JS sets
                        --fk-sheen-mask from img.currentSrc, so data-base is
                        respected). Runs only while `.fk-sheen-on` (in view).
     2. CTA sparkles  — golden particles (spans injected into the CTA).
     3. Mouse parallax — hero layers get `translate` (independent of the
                        GSAP transform and of the design `rotate`/`scale`).
     4. Wave reveal   — the red side extensions of the closing wave (outside
                        the stage) follow the same rising clip as the SVG wave.
   Everything is disabled with prefers-reduced-motion (JS never enables it,
   and base.css neutralises CSS animations).
   ========================================================================== */

/* 1. Title sheen ----------------------------------------------------------- */
.fk-nav .fk-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg,
    rgba(255, 255, 255, 0) 42%,
    rgba(255, 255, 255, .55) 49%,
    rgba(255, 246, 200, .75) 50%,
    rgba(255, 255, 255, .55) 51%,
    rgba(255, 255, 255, 0) 58%) 160% 0 / 260% 100% no-repeat;
  -webkit-mask: var(--fk-sheen-mask) center / 100% 100% no-repeat;
  mask: var(--fk-sheen-mask) center / 100% 100% no-repeat;
  opacity: 0;
}

.fk-nav .fk-sheen.fk-sheen-on::after {
  opacity: 1;
  animation: fk-sheen var(--fk-sheen-period, 7s) cubic-bezier(.45, .05, .25, 1) var(--fk-sheen-delay, 0s) infinite;
}

@keyframes fk-sheen {
  0%        { background-position: 160% 0; }
  16%, 100% { background-position: -60% 0; }
}

/* 2. CTA sparkles ---------------------------------------------------------- */
.fk-nav .fk-sparks {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 2;
  pointer-events: none;
}

.fk-nav .fk-spark {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--s, 14px);
  height: var(--s, 14px);
  margin: calc(var(--s, 14px) / -2) 0 0 calc(var(--s, 14px) / -2);
  opacity: 0;
  background: radial-gradient(circle, #fff9d6 0 18%, var(--fk-yellow-2, #FDC700) 40%, rgba(253, 199, 0, 0) 72%);
  border-radius: 50%;
}

/* every third one is a four-point star */
.fk-nav .fk-spark--star {
  background: linear-gradient(135deg, #fffbe0, var(--fk-yellow-2, #FDC700));
  border-radius: 0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

/* 3. Mouse parallax (values written by JS, smoothed per frame) ------------ */
.fk-nav .fk-mpx {
  translate: var(--fk-mx, 0px) var(--fk-my, 0px);
}

/* 4. Closing wave reveal (≥1024px) ----------------------------------------- */
@media (min-width: 1024px) {
  /* Same polygons as cierre.css, with the top edge pushed down to the
     current tide line (--fk-wave-top, 0 at rest → identical to the design). */
  .fk-nav .fk-cierre__bg::before {
    clip-path: polygon(0 max(max(40px, var(--fk-yl) - .6 * var(--fk-ext)), var(--fk-wave-top, 0px)),
                       100% max(var(--fk-yl), var(--fk-wave-top, 0px)), 100% 100%, 0 100%);
  }
  .fk-nav .fk-cierre__bg::after {
    clip-path: polygon(0 max(var(--fk-yr), var(--fk-wave-top, 0px)),
                       100% max(max(20px, var(--fk-yr) - .3 * var(--fk-ext)), var(--fk-wave-top, 0px)), 100% 100%, 0 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fk-nav .fk-sheen::after { display: none; }
  .fk-nav .fk-sparks { display: none; }
  .fk-nav .fk-mpx { translate: none; }
}
