/* =========================================================
   PIECEOFCAKKKE · Karla Palacio · v2 (editorial, una sola tinta)
   Sistema: azul eléctrico sobre crema · serif condensada itálica
   para títulos · sans condensada en mayúsculas para etiquetas.
   ========================================================= */

/* ---------- Tipografía ----------
   iPhone, iPad y Mac: usan la Helvetica Neue que ya trae el equipo (local).
   Android y Windows: TeX Gyre Heros, una Helvetica libre (licencia GUST, ver fonts/).
   Los logotipos no dependen de esto: van en trazos (wordmark.js). */
@font-face { font-family: "HN"; font-weight: 100; font-style: normal; font-display: swap;
  src: local("Helvetica Neue UltraLight"), local("HelveticaNeue-UltraLight"), url("fonts/heros-regular.woff2") format("woff2"); }
@font-face { font-family: "HN"; font-weight: 200; font-style: normal; font-display: swap;
  src: local("Helvetica Neue Thin"), local("HelveticaNeue-Thin"), url("fonts/heros-regular.woff2") format("woff2"); }
@font-face { font-family: "HN"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Helvetica Neue"), local("HelveticaNeue"), local("HelveticaNeue-Roman"), url("fonts/heros-regular.woff2") format("woff2"); }
@font-face { font-family: "HN"; font-weight: 500; font-style: normal; font-display: swap;
  src: local("Helvetica Neue Medium"), local("HelveticaNeue-Medium"), url("fonts/heros-bold.woff2") format("woff2"); }
@font-face { font-family: "HN"; font-weight: 900; font-style: normal; font-display: swap;
  src: local("Helvetica Neue Black"), local("HelveticaNeue-Black"), url("fonts/heros-bold.woff2") format("woff2"); }

:root {
  --ink: #0000ff;         /* la única tinta */
  --paper: #fbf8ec;        /* crema */
  --paper-2: #f4efdc;      /* crema un poco más oscura para alternar */
  --line: #0000ff;
  --hair: rgba(0, 0, 255, 0.22);
  --soft: rgba(0, 0, 255, 0.72);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1328px;

  --f-serif: "HN", "Helvetica Neue", Helvetica, "TeX Gyre Heros", Arial, sans-serif;  /* títulos (Thin) */
  --f-sans: "HN", "Helvetica Neue", Helvetica, "TeX Gyre Heros", Arial, sans-serif;   /* etiquetas y texto */
  --wm-stretch: 1.9;   /* estiramiento vertical del logo (medido contra el logo original) */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-stretch: 92%;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--paper); }

/* ---------- Tipografía ---------- */
.cap {
  font-family: var(--f-sans);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 11.5px;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
.cap--stack { text-align: center; }

.title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.title em { font-style: italic; }
.title--center { text-align: center; }
.title--sm { font-size: clamp(34px, 4vw, 56px); }

.sec-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px; margin-bottom: clamp(36px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.sec-head--pad { margin-inline: var(--gutter); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px;
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-sans); font-stretch: 75%; font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s;
}
.btn b { font-weight: 400; font-size: 15px; letter-spacing: 0; }
.btn:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 1px solid var(--ink); outline-offset: 4px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 0 0 var(--gutter); height: 72px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav__links { display: flex; gap: 24px; }
.nav__links a, .nav__ig {
  font-stretch: 75%; font-weight: 700; font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.nav__links a:hover, .nav__ig:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__brand { text-align: center; text-decoration: none; line-height: 1; }
.nav__word {
  display: block; font-stretch: 62%; font-weight: 800; font-size: 28px; letter-spacing: -0.01em;
}
.nav__sub {
  display: block; margin-top: 4px;
  font-family: var(--f-serif); font-style: italic; font-size: 14px;
}
.nav__right { display: flex; justify-content: flex-end; align-items: stretch; gap: 24px; height: 100%; }
.nav__ig { align-self: center; }
.nav__cta {
  display: grid; place-items: center; padding: 0 clamp(18px, 2.4vw, 34px);
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-family: var(--f-serif); font-style: italic; font-size: 22px;
  border-left: 1px solid var(--line);
  transition: background .25s, color .25s;
}
.nav__cta:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; padding-left: 16px; height: 64px; }
  .nav__links, .nav__ig { display: none; }
  .nav__brand { text-align: left; }
  .nav__word { font-size: 24px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(calc(100svh - 72px), 980px);
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.hero__media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media img + img { border-left: 1px solid var(--line); }
.hero__veil {
  position: absolute; inset: 0;
  background: rgba(251, 248, 236, 0.58);
  backdrop-filter: blur(1.5px);
}
.hero__content {
  position: relative; z-index: 1; text-align: center;
  padding: 80px var(--gutter);
  display: grid; gap: clamp(20px, 3vw, 36px); justify-items: center;
}
.hero__title {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(56px, 10vw, 156px); line-height: 0.88; letter-spacing: -0.03em;
}
.hero__title span { display: block; }
.hero__title .l2 { padding-left: 0.4em; }
.hero__title .l3 { padding-right: 0.6em; }
.hero__title small {
  font-size: 0.42em; vertical-align: 0.55em; margin-right: 0.08em; letter-spacing: 0;
}
.hero__circle {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(20px, 4vw, 48px);
  width: clamp(112px, 11vw, 148px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--paper);
  display: grid; place-items: center; align-content: center; gap: 4px; text-align: center;
  text-decoration: none; padding: 16px;
  transition: background .25s, color .25s;
}
.hero__circle span { font-family: var(--f-serif); font-style: italic; font-size: 18px; line-height: 1.05; }
.hero__circle b { font-weight: 400; font-size: 18px; }
.hero__circle:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 640px) {
  .hero { min-height: min(80svh, 680px); }
  .hero__title .l2, .hero__title .l3 { padding: 0; }
}

/* ---------- Intro ---------- */
.intro {
  max-width: 980px; margin: 0 auto; text-align: center;
  padding: clamp(64px, 10vw, 140px) var(--gutter);
}
.intro__text {
  font-family: var(--f-serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12;
  letter-spacing: -0.01em; margin-bottom: 36px;
}
.intro__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); }
.marquee__track {
  display: flex; align-items: center; gap: 36px; width: max-content; padding: 16px 0;
  font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.6vw, 36px);
  white-space: nowrap; animation: marquee 36s linear infinite;
}
.marquee__track i { font-style: normal; font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section {
  --side: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  padding: clamp(64px, 9vw, 128px) var(--side);
}

/* Chef */
.chef__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 6vw, 96px); align-items: start;
}
.chef__photo { margin: 0; position: sticky; top: 100px; }
.chef__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.chef__photo figcaption { padding-top: 10px; }
.chef__text .title { margin-bottom: 36px; }
.chef__text p { max-width: 56ch; font-size: 17px; }
.creds { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.creds li {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--hair);
}
.creds li span:last-child { font-family: var(--f-serif); font-size: 21px; line-height: 1.2; }
@media (max-width: 860px) {
  .chef__grid { grid-template-columns: 1fr; }
  .chef__photo { position: static; max-width: 520px; }
}

/* Servicios */
.services { max-width: none; background: var(--paper-2); border-block: 1px solid var(--line); }
.services > * { max-width: var(--maxw); margin-inline: auto; }
.services .title { margin-bottom: clamp(40px, 6vw, 80px); }
.services__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.service {
  display: flex; flex-direction: column;
  padding: 28px clamp(18px, 2.6vw, 40px) 40px;
  border-right: 1px solid var(--hair);
}
.service:first-child { padding-left: 0; }
.service:last-child { border-right: 0; padding-right: 0; }
.service__num { font-family: var(--f-serif); font-size: 22px; margin-bottom: 28px; }
.service__title {
  font-family: var(--f-serif); font-size: clamp(34px, 3.2vw, 48px); line-height: 1; letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.service__for { margin-bottom: 18px; }
.service > p:not(.cap):not(.service__num) { font-size: 16px; }
.service .btn { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 4px 0 32px; border-top: 1px solid var(--hair); }
.ticks li { padding: 9px 0 9px 20px; border-bottom: 1px solid var(--hair); position: relative; font-size: 15px; }
.ticks li::before { content: "✳"; position: absolute; left: 0; font-size: 10px; top: 13px; }
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .service, .service:first-child, .service:last-child {
    padding: 28px 0 40px; border-right: 0; border-bottom: 1px solid var(--hair);
  }
}

/* Galería */
.gallery { padding: clamp(64px, 9vw, 128px) 0 0; }
.gallery .sec-head { margin-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2)); }
.gallery__track {
  display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory;
  background: var(--line); border-block: 1px solid var(--line);
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track figure {
  margin: 0; flex: 0 0 clamp(240px, 24vw, 340px); scroll-snap-align: start; background: var(--paper);
}
.gallery__track img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery__track figcaption {
  display: flex; justify-content: space-between; gap: 8px; align-items: baseline;
  padding: 12px 14px; border-top: 1px solid var(--line);
}
.gallery__track figcaption span {
  font-stretch: 75%; font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
}
.gallery__track figcaption em { font-family: var(--f-serif); font-size: 17px; }

/* Carta */
.carta__intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px);
}
.carta__intro p { font-size: 17px; max-width: 44ch; justify-self: end; }
.carta__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px); align-items: start;
}
.carta__photo { margin: 0; position: sticky; top: 100px; border: 1px solid var(--line); background: var(--ink); }
.carta__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .35s; }
.carta__photo img.is-fading { opacity: 0; }
.carta__group { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.menu + .carta__group { margin-top: 56px; }
.menu { list-style: none; padding: 0; margin: 0; }
.menu li {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--hair);
  transition: padding .25s;
}
.menu li[data-img]:hover { padding-left: 8px; }
.menu__n { font-family: var(--f-serif); font-size: 17px; }
.menu h4 { font-family: var(--f-serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; margin-bottom: 4px; }
.menu p { margin: 0; font-size: 15px; color: var(--soft); max-width: 54ch; }
.menu__meta { white-space: nowrap; }
.tag {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-family: var(--f-sans); font-stretch: 75%; font-weight: 700;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid var(--ink); border-radius: 99px;
}
.menu__custom { margin-top: 40px; padding: 28px; border: 1px solid var(--line); }
.menu__custom h4 { font-family: var(--f-serif); font-size: 32px; line-height: 1.05; margin: 10px 0 8px; }
.menu__custom p:last-child { margin: 0; }
@media (max-width: 860px) {
  .carta__intro, .carta__grid { grid-template-columns: 1fr; }
  .carta__intro p { justify-self: start; }
  .carta__photo { position: static; max-width: 480px; }
}
@media (max-width: 520px) {
  .menu li { grid-template-columns: 40px 1fr; }
  .menu__meta { grid-column: 2; }
}

/* Gate catálogo */
.gate {
  margin-top: clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line); background: var(--paper-2);
}
.gate__copy .title { margin: 14px 0 18px; }
.gate__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; align-content: start; }
.gate__form .check, .gate__form .btn, .gate__form .form-msg { grid-column: 1 / -1; }
.gate__form .btn { justify-self: start; }
.gate__done { align-self: center; }
@media (max-width: 860px) {
  .gate, .gate__form { grid-template-columns: 1fr; }
}

/* Campos */
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > span {
  font-stretch: 75%; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px;
  font-family: var(--f-serif); font-size: 21px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 8px 0; border-radius: 0; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 21px, calc(100% - 6px) 21px;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 26px;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink); opacity: .4; }
.is-invalid { border-color: #d4380d !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.check.is-invalid span { color: #d4380d; }
.form-msg { min-height: 1.4em; font-size: 14px; margin: 4px 0 0; }
.hp { position: absolute; left: -9999px; }

/* Clientes */
.clients__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 96px); align-items: center;
}
.clients__photo { margin: 0; border: 1px solid var(--line); }
.clients__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.clients__list {
  list-style: none; padding: 0; margin: 0 0 40px;
  display: flex; flex-wrap: wrap; gap: 0 0.3em;
  font-family: var(--f-serif); font-size: clamp(38px, 5vw, 72px); line-height: 1.05; letter-spacing: -0.02em;
}
.clients__list li:not(:last-child)::after { content: " /"; opacity: .35; }
@media (max-width: 760px) { .clients__grid { grid-template-columns: 1fr; } .clients__photo { max-width: 420px; } }

/* Proceso */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.steps li { padding: 0 32px 8px; border-left: 1px solid var(--hair); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps__n { display: block; font-family: var(--f-serif); font-size: 22px; margin-bottom: 28px; }
.steps h3 { font-family: var(--f-serif); font-style: italic; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; margin-bottom: 14px; }
.steps p { max-width: 32ch; font-size: 16px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--hair); }
}

/* Cotizador */
.quote { max-width: none; background: var(--paper-2); border-top: 1px solid var(--line); }
.quote > * { max-width: 900px; margin-inline: auto; }
.quote > .sec-head { max-width: var(--maxw); }
.quote .title { margin-bottom: clamp(40px, 6vw, 72px); }
.progress { height: 1px; background: var(--hair); margin-bottom: 12px; }
.progress__bar { display: block; height: 3px; margin-top: -1px; width: 33.33%; background: var(--ink); transition: width .35s; }
.progress__text { margin-bottom: 36px; }

.step { border: 0; padding: 0; margin: 0; display: none; }
.step.is-active { display: grid; gap: 28px; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }
.step legend {
  font-family: var(--f-serif); font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -0.01em;
  padding: 0; margin-bottom: 28px;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.choices--compact { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .choices, .choices--compact { grid-template-columns: 1fr; } }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background .2s, color .2s;
}
.choice small { font-family: var(--f-serif); font-size: 16px; }
.choice b { font-family: var(--f-serif); font-weight: 400; font-size: 30px; line-height: 1.02; }
.choice i { font-style: normal; font-size: 14px; color: var(--soft); }
.choice:hover span { background: var(--paper-2); }
.choice input:checked + span { background: var(--ink); color: var(--paper); }
.choice input:checked + span i { color: var(--paper); opacity: .8; }
.choice input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: -6px; }
.choices.is-invalid { border-color: #d4380d; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span {
  display: inline-block; padding: 8px 16px; border-radius: 99px;
  border: 1px solid var(--ink); font-family: var(--f-serif); font-size: 18px; line-height: 1.2;
  transition: background .2s, color .2s;
}
.pill input:checked + span { background: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }

.quote__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; }
.quote__nav .js-next, .quote__nav .js-submit { margin-left: auto; }
.quote__done { text-align: center; }
.quote__done p { font-size: 17px; max-width: 52ch; margin-inline: auto; }

/* Footer */
.footer {
  background: var(--ink); color: var(--paper);
  padding: clamp(56px, 8vw, 110px) var(--gutter) 20px;
  overflow: hidden;
}
.footer__claim {
  font-family: var(--f-serif); font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em;
  text-align: center; max-width: 16ch; margin: 0 auto clamp(48px, 7vw, 96px);
}
.footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: var(--maxw); margin-inline: auto;
  padding-top: 20px; border-top: 1px solid rgba(251, 248, 236, .4);
  font-family: var(--f-serif); font-size: 20px; line-height: 1.4;
}
.footer__cols .cap { margin-bottom: 10px; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__word {
  margin: clamp(48px, 7vw, 96px) 0 16px;
  font-stretch: 62%; font-weight: 800; text-align: center;
  font-size: clamp(52px, 15.4vw, 250px); line-height: .8; letter-spacing: -0.01em; white-space: nowrap;
}
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  max-width: var(--maxw); margin-inline: auto;
  padding-top: 14px; border-top: 1px solid rgba(251, 248, 236, .4);
}
@media (max-width: 640px) { .footer__cols { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  transition: background .2s, color .2s;
}
.wa-float:hover { background: var(--ink); color: var(--paper); }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .step.is-active { animation: none; }
}

/* =========================================================
   TIPOGRAFÍA DE MARCA · Helvetica Neue
   (sobrescribe los pesos anteriores; todo en una familia)
   ========================================================= */
body { font-family: var(--f-sans); font-weight: 400; font-size: 15.5px; letter-spacing: 0; }
strong, b { font-weight: 500; }

/* Logo estirado en vertical: Helvetica Neue Medium + scaleY */
.wm {
  display: inline-block;
  font-family: var(--f-sans); font-weight: 500; font-style: normal;
  text-transform: uppercase; line-height: 1; letter-spacing: -0.005em;
  transform: scaleY(var(--wm-stretch)); transform-origin: center;
  margin-block: calc((var(--wm-stretch) - 1) * 0.37em);
}

/* Etiquetas, botones, navegación */
.cap, .nav__links a, .nav__ig, .btn, .field > span, .tag, .gallery__track figcaption span, .creds .cap {
  font-family: var(--f-sans); font-weight: 500; font-stretch: normal; letter-spacing: 0.1em;
}
.cap { font-size: 11px; }
.btn { font-size: 11.5px; }

/* Títulos: Helvetica Neue Thin con itálica Thin */
.title, .intro__text, .service__title, .menu h4, .menu__custom h4, .steps h3, .step legend,
.choice b, .clients__list, .footer__claim, .marquee__track, .hero__claim, .gallery__track figcaption em,
.service__num, .steps__n, .menu__n, .choice small, .nav__cta, .hero__circle span {
  font-family: var(--f-serif); font-weight: 200; letter-spacing: -0.025em;
}
.title { letter-spacing: -0.03em; line-height: 1; }
.title, .intro__text, .footer__claim, .step legend { text-wrap: balance; }
.title em, .intro__text em, .service__title em, .menu__custom h4 em, .step legend em, .clients__list em,
.footer__claim em, .hero__claim em { font-weight: 200; font-style: italic; }
.steps h3, .marquee__track, .nav__cta, .hero__circle span { font-style: normal; }
.marquee__track span:nth-of-type(even) { font-style: italic; }
.service__num, .steps__n, .menu__n, .choice small { font-weight: 400; letter-spacing: 0; font-size: 14px; }
.service__title { font-size: clamp(30px, 2.8vw, 42px); }
.menu h4 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; }
.steps h3 { font-size: clamp(36px, 4vw, 56px); }
.choice b { font-size: 26px; }
.creds li span:last-child, .footer__cols { font-family: var(--f-sans); font-weight: 400; font-size: 17px; letter-spacing: -0.005em; }
.field input, .field select, .field textarea, .pill span { font-family: var(--f-sans); font-weight: 400; font-size: 18px; }
.pill span { font-size: 15px; }
.nav__cta { font-size: 18px; font-weight: 400; letter-spacing: 0; }
.gallery__track figcaption em { font-size: 15px; letter-spacing: 0; font-weight: 400; }

/* Nav: logo pequeño estirado */
.nav { height: 78px; }
.nav__brand { display: grid; justify-items: center; gap: 0; }
.nav__word { font-size: 21px; margin-block: 0; }
.nav__sub { font-size: 7.5px; --wm-stretch: 1.7; letter-spacing: 0.02em; margin-block: 2px 0; }
@media (max-width: 820px) {
  .nav { height: 66px; }
  .nav__brand { justify-items: start; }
  .nav__word { font-size: 15px; }
}

/* Hero: lockup del logo centrado sobre las dos fotos */
.hero__logo { display: grid; justify-items: center; color: var(--ink); line-height: 1; }
.hero__l { font-size: clamp(56px, 12vw, 180px); }
.hero__sub {
  font-size: clamp(9px, 1.15vw, 17px); --wm-stretch: 1.7; margin-top: clamp(18px, 2.2vw, 34px);
  display: inline-flex; gap: 2.2em; letter-spacing: 0;
}
.hero__claim { font-size: clamp(20px, 2vw, 28px); margin: 0; }
.hero__content { gap: clamp(18px, 2.6vw, 32px); }
.hero__veil { background: rgba(251, 248, 236, 0.62); }

/* Chef: foto horizontal recortada sobre Karla */
.chef__photo img { object-position: 62% 30%; }

/* Footer: logo gigante estirado */
.footer__word { font-size: clamp(34px, 9.6vw, 160px); line-height: 1; margin: clamp(56px, 8vw, 110px) 0 clamp(28px, 4vw, 56px); }
.footer__word .wm { letter-spacing: 0; }

/* =========================================================
   POP UPS · galería de eventos
   ========================================================= */
.popups { border-top: 1px solid var(--line); }
.popups__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.popups__item { margin: 0; display: flex; flex-direction: column; }
.popups__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); }
.popups__item--big { grid-column: span 2; grid-row: span 2; }
.popups__item--big img { aspect-ratio: auto; flex: 1; min-height: 0; height: 100%; }
.popups__item figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding-top: 8px;
}
.popups__item figcaption em { font-weight: 200; font-size: 15px; }
.popups__text {
  grid-column: span 2; align-self: center;
  padding: clamp(16px, 3vw, 48px) clamp(0px, 2vw, 32px);
}
.popups__text .title { margin-bottom: 20px; }
.popups__text p { max-width: 44ch; font-size: 16px; margin-bottom: 28px; }
@media (max-width: 900px) {
  .popups__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .popups__item--big { grid-row: span 1; }
  .popups__item--big img { aspect-ratio: 4 / 5; height: auto; }
  .popups__text { padding: 24px 0; }
}
@media (max-width: 520px) {
  .nav__links { gap: 14px; }
}

/* Grosor del logo: el original es Helvetica Neue Bold. Mientras no tengamos ese archivo,
   Medium + contorno del mismo color (2,2 % del tamaño) iguala el peso del logo.
   Si se consigue HelveticaNeueBold, cambiar a font-weight: 700 y quitar el contorno. */
.wm { -webkit-text-stroke: 0.022em currentColor; letter-spacing: 0.004em; }
.hero__sub { -webkit-text-stroke: 0.015em currentColor; }

/* =========================================================
   HERO · logo en contorno (solo línea, sin relleno)
   ========================================================= */
.hero__outline {
  display: block; width: min(78vw, 1060px); height: auto; overflow: visible;
}
.hero__outline :is(text, .wmg) {
  font-family: var(--f-sans); font-weight: 500; font-size: 100px; letter-spacing: 0.4px;
  fill: none; stroke: var(--ink); stroke-width: 1.6px; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hero__veil { background: rgba(251, 248, 236, 0.7); }
.hero__sub { margin-top: clamp(22px, 2.6vw, 40px); }
.hero__claim {
  font-weight: 200; font-style: normal; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: clamp(13px, 1.3vw, 18px);
}
@media (max-width: 640px) {
  .hero__outline { width: 88vw; }
  .hero__outline :is(text, .wmg) { stroke-width: 1.2px; }
}
/* el lockup completo debe caber en la primera pantalla */
.hero__outline { width: min(64vw, 900px, calc((100svh - 360px) * 1.4)); min-width: 280px; }
.hero__circle { right: auto; left: var(--gutter); }
@media (max-width: 640px) { .hero__outline { width: 88vw; } }
.hero__outline { width: min(64vw, 900px, calc((100svh - 420px) * 1.35)); }
.hero__content { padding-block: 48px; }
@media (max-width: 640px) { .hero__outline { width: 88vw; } }
.hero__sub { margin-top: 0; }

/* Ajustes v4: contorno más grueso, eslogan con más fuerza */
.hero__outline :is(text, .wmg) { stroke-width: 4px; }
.hero__sub { font-size: clamp(14px, 1.6vw, 24px); }
.hero__claim {
  font-weight: 500; letter-spacing: 0.12em;
  font-size: clamp(14px, 1.45vw, 21px);
}
@media (max-width: 640px) {
  .hero__outline :is(text, .wmg) { stroke-width: 2.5px; }
}

/* Hover: el logo en contorno se rellena de azul */
.hero__outline { cursor: default; pointer-events: bounding-box; }
.hero__outline :is(text, .wmg) {
  fill: var(--ink); fill-opacity: 0;
  transition: fill-opacity .45s ease;
}
.hero__outline:hover :is(text, .wmg) { fill-opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__outline :is(text, .wmg) { transition: none; } }

/* =========================================================
   MENÚ A PANTALLA COMPLETA (estilo Parade, en azul KKK)
   ========================================================= */
.menu-btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  justify-self: start;
}
.menu-btn__lines { display: block; width: 40px; height: 6px; border-block: 1.5px solid currentColor; }
.menu-btn__label { font-family: var(--f-sans); font-weight: 200; font-style: italic; font-size: 22px; line-height: 1; letter-spacing: -0.02em; }
.menu-btn:hover .menu-btn__lines { width: 28px; }
.menu-btn__lines { transition: width .3s ease; }
.menu-btn:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
@media (max-width: 820px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__brand { justify-items: center; text-align: center; }
  .menu-btn__label { font-size: 18px; }
}

.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto;
  padding: 20px var(--gutter) 24px;
  overflow: hidden auto;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
}
.drawer.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .4s ease, transform .4s ease, visibility 0s; }
body.menu-open { overflow: hidden; }

.menu-btn--close { color: var(--paper); grid-column: 1; grid-row: 1; margin-top: 6px; }
.menu-btn__x { position: relative; display: block; width: 32px; height: 14px; }
.menu-btn__x::before, .menu-btn__x::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor;
}
.menu-btn__x::before { transform: rotate(18deg); }
.menu-btn__x::after { transform: rotate(-18deg); }

.drawer__mark {
  position: absolute; right: -4vw; bottom: -6vh; width: min(70vw, 980px); height: auto;
  pointer-events: none; opacity: .14;
}
.drawer__mark :is(text, .wmg) {
  font-family: var(--f-sans); font-weight: 500; font-size: 100px;
  fill: none; stroke: var(--paper); stroke-width: 2px; vector-effect: non-scaling-stroke;
}

.drawer__nav { grid-column: 1; grid-row: 2; align-self: center; position: relative; z-index: 1; }
.drawer__nav ol {
  list-style: none; margin: 0; padding: 0 0 0 clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--paper);
  display: grid; gap: clamp(4px, 1.2vh, 14px);
}
.drawer__nav li { position: relative; }
.drawer__nav li::before {
  content: ""; position: absolute; left: calc(-1 * clamp(20px, 3vw, 44px) - 28px); top: 50%;
  width: 9px; height: 9px; border-radius: 50%; background: var(--paper);
  transform: translateY(-50%) scale(0); transition: transform .25s ease;
}
.drawer__nav li:hover::before, .drawer__nav li:focus-within::before { transform: translateY(-50%) scale(1); }
.drawer__nav a { display: inline-flex; align-items: flex-start; gap: 10px; text-decoration: none; color: var(--paper); }
.drawer__nav .wm {
  font-size: min(8.4vh, 12vw); line-height: 1; letter-spacing: 0;
  color: var(--paper); -webkit-text-stroke: 0.022em var(--paper);
  transition: color .3s ease;
}
.drawer__nav a:hover .wm, .drawer__nav a:focus-visible .wm { color: transparent; -webkit-text-stroke: 0.03em var(--paper); }
.drawer__nav a:focus-visible { outline: none; }
.drawer__nav sup {
  font-family: var(--f-sans); font-weight: 500; font-size: 12px; letter-spacing: .06em;
  line-height: 1; margin-top: -0.2em;
}

.drawer__side {
  grid-column: 2; grid-row: 1 / 3; list-style: none; margin: 8px 0 0; padding: 0;
  display: grid; align-content: start; gap: 14px; position: relative; z-index: 1;
}
.drawer__side a { font-family: var(--f-sans); font-weight: 400; font-size: 17px; text-decoration: none; color: var(--paper); }
.drawer__side a:hover { text-decoration: underline; text-underline-offset: 4px; }

.drawer__foot { grid-column: 1 / -1; grid-row: 3; color: var(--paper); opacity: .7; position: relative; z-index: 1; }

@media (max-width: 760px) {
  .drawer { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; }
  .drawer__side { grid-column: 1; grid-row: 3; grid-auto-flow: row; margin: 24px 0 12px; gap: 10px; }
  .drawer__nav .wm { font-size: min(7.6vh, 15vw); }
  .drawer__nav li::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer.is-open { transition: none; transform: none; }
}
/* ajustes de espacio del menú */
.drawer { padding-top: 24px; row-gap: clamp(20px, 4vh, 44px); }
.drawer__nav .wm { font-size: min(7.2vh, 12vw); }
.drawer__mark { opacity: .2; }
@media (max-width: 760px) {
  .drawer__nav .wm { font-size: min(6.4vh, 14vw); }
  .drawer__foot { grid-row: 4; }
}
/* más aire entre ítems del menú para que las tildes (Á) no se monten */
.drawer__nav ol { gap: clamp(10px, 2.8vh, 30px); }
.drawer__nav .wm { font-size: min(6.4vh, 11vw); }
@media (max-width: 760px) { .drawer__nav .wm { font-size: min(5.8vh, 13vw); } }
/* eslogan: ligero (Thin) pero con tamaño suficiente para que tenga presencia */
.hero__claim { font-weight: 200; letter-spacing: 0.1em; font-size: clamp(17px, 1.9vw, 27px); }

/* =========================================================
   HERO · lockup en dos líneas (relleno + contorno, mismo ancho)
   ========================================================= */
.hero__outline.hero__lockup { width: min(84vw, 1180px); }
.hero__lockup :is(text, .wmg) { font-family: var(--f-sans); font-weight: 500; font-size: 100px; letter-spacing: 0; }
.hero__lockup .lk-solid {
  fill: var(--ink); fill-opacity: 1;
  stroke: var(--ink); stroke-width: 2.2px; vector-effect: none;   /* mismo peso que el logo original */
}
.hero__lockup .lk-line {
  fill: var(--ink); fill-opacity: 0;
  stroke: var(--ink); stroke-width: 2.5px; vector-effect: non-scaling-stroke;
  transition: fill-opacity .45s ease;
}
.hero__lockup:hover .lk-solid { fill-opacity: 1; }
.hero__lockup:hover .lk-line { fill-opacity: 1; }
.hero__claim { margin-top: clamp(4px, 1vw, 12px); }
@media (max-width: 640px) {
  .hero__outline.hero__lockup { width: 90vw; }
  .hero__lockup .lk-line { stroke-width: 1.4px; }
}

/* Hero: una sola foto de fondo */
.hero__media { grid-template-columns: 1fr; }
.hero__media img { object-position: 50% 55%; }

/* Botón circular "Cotiza tu proyecto" más pequeño */
.hero__circle { width: clamp(84px, 7.2vw, 104px); padding: 10px; gap: 2px; }
.hero__circle span { font-size: 13px; line-height: 1.1; }
.hero__circle b { font-size: 14px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

/* Hero: la foto con protagonismo (como el ref): velo muy suave, sin desenfoque */
.hero__veil {
  background: linear-gradient(180deg, rgba(251,248,236,.22) 0%, rgba(251,248,236,.12) 45%, rgba(251,248,236,.22) 100%);
  backdrop-filter: none;
}
.hero__media img { filter: saturate(1.05) contrast(1.03); }
/* eslogan legible sobre la foto sin perder la letra ligera */
.hero__claim { background: rgba(251, 248, 236, .88); padding: 8px 16px; font-weight: 400; }
/* eslogan sin recuadro: crema sobre la foto */
.hero__claim {
  background: none; padding: 0;
  color: var(--paper); font-weight: 400;
  text-shadow: 0 1px 14px rgba(40, 25, 15, .35);
}

/* =========================================================
   HEADER COMPLETO SOBRE LA FOTO (como el referente)
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 104px; padding: 0 0 0 var(--gutter);
  grid-template-columns: 1fr auto 1fr; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, height .35s ease;
}
.nav.is-scrolled { background: var(--paper); border-bottom-color: var(--line); height: 72px; }
.nav__left { display: flex; align-items: center; gap: 30px; }
.nav__left .nav__ig { display: inline; align-self: auto; }
.nav__brand { align-self: center; }
.nav__word { font-size: 22px; }

.nav__right { display: flex; justify-content: flex-end; align-items: flex-start; gap: clamp(16px, 2.4vw, 36px); height: 100%; }
.nav__catalog {
  align-self: center; display: flex; align-items: center; gap: 16px;
  color: var(--ink); text-decoration: none;
}
.nav__catalog-txt { display: grid; text-align: left; }
.nav__catalog em { font-weight: 200; font-style: italic; font-size: 24px; line-height: 1; letter-spacing: -0.02em; }
.nav__catalog small { font-weight: 500; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.nav__arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink);
  display: grid; place-items: center; font-size: 18px; transition: background .25s, color .25s;
}
.nav__catalog:hover .nav__arrow { background: var(--ink); color: var(--paper); }

/* Cotiza: bloque cuadrado colgando de la esquina, como "ONLINE STORE" */
.nav__cta {
  align-self: flex-start; display: grid; place-items: center;
  width: clamp(110px, 9vw, 140px); height: clamp(110px, 9vw, 140px);
  padding: 0; border: 0; background: var(--ink); color: var(--paper);
  transition: height .35s ease, background .25s, color .25s;
}
.nav__cta .wm { font-size: 22px; color: inherit; }
.nav__cta:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.nav.is-scrolled .nav__cta { height: 72px; }

/* Hero a pantalla completa (el header va encima) */
.hero { min-height: min(100svh, 1040px); border-bottom: 1px solid var(--line); }
.hero__content { padding-top: 140px; padding-bottom: 72px; }
.hero__veil {
  background: linear-gradient(180deg, rgba(251,248,236,.42) 0%, rgba(251,248,236,.12) 22%, rgba(251,248,236,.12) 70%, rgba(251,248,236,.25) 100%);
}

@media (max-width: 1100px) { .nav__catalog-txt { display: none; } }
@media (max-width: 820px) {
  .nav { height: 72px; padding-left: 16px; grid-template-columns: auto 1fr auto; }
  .nav.is-scrolled { height: 64px; }
  .nav__left .nav__ig, .nav__catalog { display: none; }
  .nav__word { font-size: 16px; }
  .nav__cta { width: 76px; height: 76px; }
  .nav__cta .wm { font-size: 15px; }
  .nav.is-scrolled .nav__cta { height: 64px; }
  .hero__content { padding-top: 110px; }
}
@media (max-width: 640px) { .hero__claim { font-size: 12.5px; letter-spacing: .06em; white-space: nowrap; } }

/* Hero: solo DEALER DE POSTRES en contorno */
.hero__outline.hero__dealer { width: min(84vw, 1180px); }
.hero__dealer .lk-line { stroke-width: 3px; }
@media (max-width: 640px) { .hero__dealer .lk-line { stroke-width: 1.6px; } }

/* COTIZA sutil, como "ONLINE STORE" del referente */
.nav__cta .wm { font-size: 13px; letter-spacing: .02em; }
@media (max-width: 820px) { .nav__cta .wm { font-size: 11px; } }

/* Centrado real del header: el grid es simétrico y el margen va dentro de la columna izquierda */
.nav { padding-left: 0; padding-right: 0; }
.nav__left { padding-left: var(--gutter); }
@media (max-width: 820px) { .nav { padding-left: 0; } .nav__left { padding-left: 16px; } .nav { grid-template-columns: 1fr auto 1fr; } }

/* Proporciones como el referente: frase principal ~45% del ancho, etiqueta pequeña en dos líneas */
.hero__outline.hero__dealer { width: min(46vw, 700px); min-width: 0; }
.hero__dealer .lk-line { stroke-width: 2px; }
.hero__content { gap: clamp(22px, 3vw, 40px); }
.hero__claim {
  color: var(--ink); text-shadow: none;
  font-weight: 500; font-size: 12px; line-height: 1.6;
  letter-spacing: .12em; white-space: normal;
}
@media (max-width: 640px) {
  .hero__outline.hero__dealer { width: 80vw; }
  .hero__dealer .lk-line { stroke-width: 1.4px; }
  .hero__claim { font-size: 11px; white-space: normal; }
}
.hero__outline.hero__dealer { width: min(52vw, 780px); }
.hero__dealer .lk-line { stroke-width: 2.5px; }
.hero__claim { font-size: 13px; }
/* foto horizontal recortada en vertical, centrada en Karla y el pastel */
.popups__img--manifest { object-position: 54% 50%; }
/* foto horizontal recortada en vertical: Karla y el pastel al centro */
.popups__img--lanatural { object-position: 49% 50%; }
/* foto horizontal recortada en vertical: el pastel con flores al centro */
.clients__img--pastel { object-position: 52% 50%; }

/* Clientes: la foto conserva su proporción original horizontal (4:3) */
.clients__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.clients__photo img.clients__img--pastel { aspect-ratio: 4 / 3; object-position: 50% 50%; }
.clients__list { font-size: clamp(34px, 4.2vw, 64px); }
@media (max-width: 760px) { .clients__photo { max-width: none; } }

/* =========================================================
   FOOTER · PIECEOFCAKKKE animado (loop tipo GIF)
   Cada letra se estira y vuelve, en ola, y pasa de relleno a contorno.
   ========================================================= */
.footer__anim { display: inline-flex; }
.footer__anim > span {
  display: inline-block; transform-origin: 50% 100%;
  animation: kkkWave 3.6s cubic-bezier(.65,0,.35,1) infinite;
  animation-delay: calc(var(--i) * 0.09s);
}
@keyframes kkkWave {
  0%, 55%, 100% { transform: scaleY(1); color: var(--paper); -webkit-text-stroke-color: var(--paper); }
  20% { transform: scaleY(0.55); color: transparent; -webkit-text-stroke-color: var(--paper); }
  35% { transform: scaleY(1.08); color: var(--paper); }
}
.footer__anim > span:nth-child(1){--i:0} .footer__anim > span:nth-child(2){--i:1}
.footer__anim > span:nth-child(3){--i:2} .footer__anim > span:nth-child(4){--i:3}
.footer__anim > span:nth-child(5){--i:4} .footer__anim > span:nth-child(6){--i:5}
.footer__anim > span:nth-child(7){--i:6} .footer__anim > span:nth-child(8){--i:7}
.footer__anim > span:nth-child(9){--i:8} .footer__anim > span:nth-child(10){--i:9}
.footer__anim > span:nth-child(11){--i:10} .footer__anim > span:nth-child(12){--i:11}
.footer__anim > span:nth-child(13){--i:12}
.footer__word { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .footer__anim > span { animation: none; } }

/* =========================================================
   FOOTER · video del logo animado (IMG_6418)
   El video es azul sobre blanco; invert + screen lo vuelve
   crema sobre el azul del footer, sin recuadro blanco.
   ========================================================= */
.footer__video {
  width: min(460px, 78vw); margin: clamp(48px, 7vw, 96px) auto clamp(28px, 4vw, 56px);
  background: var(--ink);
}
.footer__video video {
  display: block; width: 100%; height: auto; aspect-ratio: 712 / 890;
  filter: invert(1); mix-blend-mode: screen;
}
/* colores originales del video (alterna fondo blanco y azul; el azul se funde con el footer) */
.footer__video video { filter: none; mix-blend-mode: normal; }

/* Hero: pastel de frambuesas */
.hero__media img { object-position: 50% 48%; }

/* =========================================================
   FOOTER · animación del logo sin recuadro (recrea IMG_6418)
   Escenas con corte seco: relleno · contorno · vacío · texto pequeño
   ========================================================= */
.footer__video { display: none; }
.kkk-anim { margin: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.kkk-anim__svg { display: block; width: 100%; height: auto; overflow: hidden; }
.kkk-anim .row {
  font-family: var(--f-sans); font-weight: 500; font-size: 100px;
  fill: var(--paper); stroke: var(--paper); stroke-width: 2.2px;
}
.kkk-anim__small text {
  font-family: var(--f-sans); font-weight: 500; font-size: 13px; letter-spacing: 0;
  fill: var(--paper); stroke: var(--paper); stroke-width: .3px;
}
.kkk-anim__small { opacity: 0; }
.kkk-anim[data-scene="line"] .row { fill: none; stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.kkk-anim[data-scene="blank"] .row,
.kkk-anim[data-scene="text"] .row { opacity: 0; }
.kkk-anim[data-scene="text"] .kkk-anim__small { opacity: 1; }
/* animación en una sola línea, solo PIECEOFCAKKKE */
.kkk-anim__small { display: none; }
.kkk-anim .row { stroke-width: 1.2px; }
.kkk-anim[data-scene="line"] .row { stroke-width: 1.4px; }

/* Footer: un poco más pequeño */
.kkk-anim { width: 90%; margin-inline: auto; }

/* Home: DEALER DE POSTRES con la misma animación de corte seco */
.hero__dealer .lk-line { transition: none; fill-opacity: 0; }
.hero__dealer[data-scene="fill"] .lk-line { fill-opacity: 1; }
.hero__dealer[data-scene="line"] .lk-line { fill-opacity: 0; }
.hero__dealer[data-scene="blank"] .lk-line { opacity: 0; }
.hero__lockup.hero__dealer:hover .lk-line { fill-opacity: inherit; }
/* la animación manda sobre el hover */
.hero__lockup.hero__dealer[data-scene="fill"] .lk-line { fill-opacity: 1; }
.hero__lockup.hero__dealer[data-scene="line"] .lk-line { fill-opacity: 0; }
.hero__lockup.hero__dealer[data-scene="blank"] .lk-line { opacity: 0; }

/* Home: DEALER DE POSTRES en dos líneas, alternando blanco y azul */
.hero__dealer .r1, .hero__dealer .r2 { fill: var(--ink); stroke: var(--ink); }
.hero__dealer[data-tone="a"] .r2,
.hero__dealer[data-tone="b"] .r1 { fill: #fff; stroke: #fff; }
.hero__dealer .lk-line { paint-order: stroke; }

/* =========================================================
   Selector de idioma ES / EN
   ========================================================= */
.lang { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-size: 11px; letter-spacing: .1em; }
.lang__btn {
  background: none; border: 0; padding: 4px 2px; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: var(--ink); opacity: .45;
}
.lang__btn[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang__btn:hover { opacity: 1; }
.lang__btn:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.drawer__lang .lang__btn { color: var(--paper); font-size: 17px; letter-spacing: .04em; }
@media (max-width: 820px) { .nav__left .lang { display: none; } }

/* =========================================================
   HERO v2: dos fotos lado a lado, sin velo ni degradado
   ========================================================= */
.hero__veil { display: none; }
.hero__media { display: grid; grid-template-columns: 1fr 1fr; }
.hero__media img { position: static; inset: auto; width: 100%; height: 100%; object-fit: cover; filter: none; }
.hero__media img:nth-child(1) { object-position: 50% 45%; }
.hero__media img:nth-child(2) { object-position: 50% 55%; border-left: 1px solid var(--line); }
@media (max-width: 640px) {
  .hero__media { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .hero__media img:nth-child(2) { border-left: 0; border-top: 1px solid var(--line); }
}

/* HERO: capa uniforme (como el referente), sin degradado ni blur */
.hero__veil {
  display: block;
  background: rgba(251, 248, 236, 0.34);   /* sube o baja este número para más/menos opacidad */
  backdrop-filter: none;
}

/* =========================================================
   HERO: círculo que sigue al mouse (como el referente)
   ========================================================= */
.hero__blob {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: clamp(180px, 17vw, 260px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(251, 248, 236, 0.42);
  pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.6);
  transition: opacity .35s ease;
  will-change: transform;
}
.hero.has-blob .hero__blob { opacity: 1; }
.hero__content { position: relative; z-index: 2; }
@media (hover: none), (prefers-reduced-motion: reduce) { .hero__blob { display: none; } }
/* círculo del mouse más sutil */
.hero__blob { background: rgba(251, 248, 236, 0.22); }

/* =========================================================
   Cursor del hero (como el referente): punto + círculo en la paleta
   ========================================================= */
.hero__blob { background: rgba(0, 0, 255, 0.09); z-index: 1; }
.hero__dot {
  position: fixed; left: 0; top: 0; z-index: 70;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink);
  pointer-events: none; opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .2s ease, width .2s ease, height .2s ease;
}
body.hero-cursor .hero__dot { opacity: 1; }
body.hero-cursor .hero, body.hero-cursor .nav, body.hero-cursor .nav * { cursor: none; }
body.hero-cursor.on-link .hero__dot { width: 18px; height: 18px; }
@media (hover: none), (prefers-reduced-motion: reduce) { .hero__dot { display: none; } }

/* =========================================================
   Hover a blanco en el header (mientras está sobre la foto)
   ========================================================= */
.nav .menu-btn, .nav .nav__ig, .nav .lang__btn, .nav .nav__brand, .nav .nav__catalog, .nav .nav__arrow {
  transition: color .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
}
.nav:not(.is-scrolled) .menu-btn:hover,
.nav:not(.is-scrolled) .nav__ig:hover,
.nav:not(.is-scrolled) .lang__btn:hover,
.nav:not(.is-scrolled) .nav__brand:hover,
.nav:not(.is-scrolled) .nav__catalog:hover { color: #fff; opacity: 1; text-decoration: none; }
.nav:not(.is-scrolled) .nav__brand:hover .wm { color: #fff; -webkit-text-stroke-color: #fff; }
.nav:not(.is-scrolled) .nav__catalog:hover .nav__arrow { background: transparent; color: #fff; border-color: #fff; }
.nav:not(.is-scrolled) .nav__cta:hover { background: #fff; color: var(--ink); box-shadow: none; }
/* con el header crema (al bajar) el hover vuelve a azul sólido */
.nav.is-scrolled .nav__catalog:hover .nav__arrow { background: var(--ink); color: var(--paper); }

/* =========================================================
   CURSOR EN TODA LA WEB: punto + círculo con retraso
   (reemplaza el cursor solo del hero)
   ========================================================= */
.hero__blob, .hero__dot { display: none !important; }
.cursor-blob, .cursor-dot {
  position: fixed; left: 0; top: 0; pointer-events: none; border-radius: 50%;
  opacity: 0; will-change: transform;
}
.cursor-blob {
  z-index: 55;   /* debajo del header (50 es el header; queda encima del contenido) */
  width: clamp(180px, 17vw, 260px); aspect-ratio: 1;
  background: rgba(0, 0, 255, 0.09);
  transition: opacity .35s ease, background .25s ease;
  mix-blend-mode: multiply;
}
.cursor-dot {
  z-index: 200; width: 12px; height: 12px; background: var(--ink);
  transition: opacity .2s ease, width .2s ease, height .2s ease, background .2s ease;
}
body.has-cursor .cursor-blob, body.has-cursor .cursor-dot { opacity: 1; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label, body.has-cursor .choice, body.has-cursor .pill { cursor: none; }
body.cursor-link .cursor-dot { width: 18px; height: 18px; }

/* Sobre fondos azules: punto y círculo en crema */
body.cursor-dark .cursor-dot { background: var(--paper); }
body.cursor-dark .cursor-blob { background: rgba(251, 248, 236, 0.16); mix-blend-mode: normal; }

/* Sobre campos de texto: cursor normal, sin punto */
body.cursor-field { cursor: auto; }
body.cursor-field .cursor-dot, body.cursor-field .cursor-blob { opacity: 0; }
body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: text; }
body.has-cursor select, body.has-cursor input[type="date"] { cursor: pointer; }

@media (hover: none), (prefers-reduced-motion: reduce) { .cursor-blob, .cursor-dot { display: none; } }
/* el círculo va por encima del header y del menú completo (sin bloquear clics) */
.cursor-blob { z-index: 150; }

/* =========================================================
   INTRO · nombre en contorno + mancha de tinta (ref. "ink splash")
   Línea de tiempo (total ≈ 2,6 s):
   0.00–0.55  pantalla negra, nombre en contorno se dibuja
   0.55–1.45  la tinta crema crece desde el centro (dentro: letras rellenas)
   1.75–2.45  la intro se abre hacia arriba y aparece la portada
   ========================================================= */
.intro-ink {
  position: fixed; inset: 0; z-index: 500;
  pointer-events: auto; cursor: pointer;
  animation: introOut .7s cubic-bezier(.76,0,.24,1) 1.75s forwards;
}
.intro-ink__layer {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: clamp(20px, 3vw, 36px);
  padding: var(--gutter);
}
.intro-ink__dark { background: #0b0b0d; }
.intro-ink__light {
  background: var(--paper);
  clip-path: circle(0% at 50% 52%);
  animation: inkSpread .9s cubic-bezier(.65,0,.35,1) .55s forwards;
}
.intro-ink__tag {
  margin: 0; font-family: var(--f-sans); font-weight: 500; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(251,248,236,.55);
}
.intro-ink__tag b { color: var(--ink); font-weight: 500; padding: 0 .4em; }
.intro-ink__light .intro-ink__tag { color: rgba(11,11,13,.6); }
.intro-ink__name { width: min(78vw, 1000px); height: auto; overflow: visible; }
.intro-ink__name :is(text, .wmg) {
  font-family: var(--f-sans); font-weight: 500; font-size: 100px;
  vector-effect: non-scaling-stroke; stroke-linejoin: round;
}
/* capa oscura: solo contorno, se "dibuja" */
.intro-ink__dark .l1 { fill: none; stroke: var(--ink); stroke-width: 1.6px; }
.intro-ink__dark .l2 { fill: none; stroke: var(--paper); stroke-width: 1.6px; }
.intro-ink__dark :is(text, .wmg) { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: introDraw .9s ease-out forwards; }
.intro-ink__dark .l2 { animation-delay: .08s; }
/* capa clara (dentro de la tinta): letras rellenas */
.intro-ink__light .l1 { fill: var(--ink); stroke: var(--ink); stroke-width: 1.6px; }
.intro-ink__light .l2 { fill: #0b0b0d; stroke: #0b0b0d; stroke-width: 1.6px; }

@keyframes introDraw { to { stroke-dashoffset: 0; } }
@keyframes inkSpread {
  0%   { clip-path: circle(0% at 50% 52%); }
  35%  { clip-path: circle(16% at 50% 52%); }
  100% { clip-path: circle(150% at 50% 52%); }
}
@keyframes introOut {
  to { clip-path: inset(0 0 100% 0); visibility: hidden; }
}
.intro-ink.is-skip { animation: introOut .45s cubic-bezier(.76,0,.24,1) forwards; }
.intro-ink.is-done { display: none; }
html.no-intro .intro-ink { display: none; }
body.intro-on { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { .intro-ink { display: none; } }
/* intro: proporción más aireada y contorno azul más visible sobre negro */
.intro-ink__name { width: min(62vw, 820px); max-height: 60vh; }
.intro-ink__dark .l1 { stroke-width: 2.4px; }
.intro-ink__dark .l2 { stroke-width: 1.8px; }
.intro-ink__tag { font-size: 11px; }

/* =========================================================
   FRASE EN SCROLL (italic sweep) · tipografía y color de la marca
   ========================================================= */
.sweep { border-top: 1px solid var(--line); }
.ist-root { position: relative; width: 100%; }
.ist-stage {
  position: sticky; top: 0; display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 100%; padding: 0 clamp(20px, 5vw, 72px); overflow: hidden;
}
.ist-p {
  position: relative; margin: 0; width: 11em; max-width: 100%;
  font-family: var(--f-sans); font-weight: 200;
  font-size: clamp(34px, 6vw, 104px); line-height: .98; letter-spacing: -.035em;
  text-align: center; color: var(--ink);
}
.ist-p[data-align=left] { text-align: left; }
.ist-line { display: block; white-space: nowrap; }
.ist-root[data-flow] .ist-line { display: inline; white-space: normal; }
.ist-br { display: none; }
.ist-root[data-flow] .ist-br { display: inline; }
.ist-t { display: inline-block; white-space: nowrap; will-change: transform, opacity; }
.ist-i { font-style: italic; }
.ist-slot { display: inline-flex; align-items: stretch; justify-content: center; height: .66em; vertical-align: baseline; }
.ist-pc { display: block; flex: none; background: currentColor; }
.ist-sp { position: absolute; left: 0; top: 0; visibility: hidden; white-space: pre; pointer-events: none; }
.ist-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  .ist-root { height: auto !important; }
  .ist-stage { position: static; padding-block: clamp(64px, 10vw, 140px); }
  .ist-t { will-change: auto; }
}

/* =========================================================
   MOUSE QUADRANT TRACKER · texto con extrusión azul
   ========================================================= */
.sweep { padding: clamp(80px, 12vw, 170px) var(--gutter); display: grid; place-items: center; overflow: hidden; }
.mqt { width: 100%; display: grid; place-items: center; }
.mqt__text {
  margin: 0; text-align: center;
  font-family: var(--f-sans); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 13vw, 210px); line-height: .86; letter-spacing: -0.02em;
  color: #dfe3ff;                       /* cara de la letra: azul muy claro */
  transform: scaleY(1.35);              /* estiramiento de la marca, más suave por el grosor */
  transform-origin: center;
}
.mqt__text span { display: block; }
/* vuelve la frase con scroll: sin el padding del efecto de extrusión */
.sweep { padding: 0; display: block; overflow: visible; }

/* =========================================================
   BOUNCING TEXT · letras que caen y rebotan
   ========================================================= */
.sweep { padding: clamp(96px, 14vw, 200px) var(--gutter); display: grid; place-items: center; overflow: hidden; }
.bounce {
  margin: 0; max-width: 13em; text-align: center;
  font-family: var(--f-sans); font-weight: 200;
  font-size: clamp(34px, 5.6vw, 92px); line-height: 1.02; letter-spacing: -0.035em;
  color: var(--ink); text-wrap: balance;
}
.bounce__w { display: inline-block; white-space: nowrap; }
.bounce__c { display: inline-block; transform-origin: 50% 100%; will-change: transform, opacity; }
.bounce__c.is-em { font-style: italic; }
@media (prefers-reduced-motion: reduce) { .bounce__c { opacity: 1 !important; } }

/* =========================================================
   SVG FOLLOW SCROLL · trazo en bucles detrás de la frase
   ========================================================= */
.sweep { padding: 0; display: block; overflow: hidden; }
.follow {
  position: relative; display: grid; place-items: center;
  min-height: clamp(520px, 92vh, 900px); padding: clamp(64px, 10vw, 140px) var(--gutter);
}
.follow__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.follow__path {
  fill: none; stroke: #c4c9ff;            /* azul claro de la paleta */
  stroke-width: 46; stroke-linecap: round; stroke-linejoin: round;
}
.follow__text {
  position: relative; margin: 0; max-width: 12em; text-align: center;
  font-family: var(--f-sans); font-weight: 500;
  font-size: clamp(40px, 7vw, 116px); line-height: .95; letter-spacing: -0.04em;
  color: var(--ink); text-wrap: balance;
}
.follow__text em { font-weight: 200; font-style: italic; }
/* de vuelta al Bouncing Text: espaciado de las secciones de frase */
.sweep { padding: clamp(96px, 14vw, 200px) var(--gutter); display: grid; place-items: center; overflow: hidden; }

/* =========================================================
   SCROLL TEXT MARQUEE · dos cintas que reaccionan al scroll
   ========================================================= */
.marquee { padding: 0; }
.marquee__row { overflow: hidden; }
.marquee__row + .marquee__row { border-top: 1px solid var(--line); }
.marquee__track { animation: none !important; will-change: transform; }
.marquee__row--alt .marquee__track span:nth-of-type(odd) { font-style: italic; }
.marquee__row--alt .marquee__track span:nth-of-type(even) { font-style: normal; }
@media (prefers-reduced-motion: reduce) { .marquee__track { transform: none !important; } }
.marquee__track { gap: 36px; padding-right: 36px; }
/* separador "/" en las cintas */
.marquee__track i { font-style: normal; font-size: 1em; font-weight: 200; opacity: .6; }

/* =========================================================
   TIPOGRAFÍA ESTANDARIZADA · un solo estilo
   Helvetica Neue Regular (400), sin itálicas, en todo el sitio.
   Excepción: los logotipos de la marca (.wm y los SVG del logo/intro),
   que conservan su peso propio.
   ========================================================= */
*, *::before, *::after { font-style: normal !important; }
:where(body, h1, h2, h3, h4, h5, p, span, a, li, em, strong, b, small, i, label,
       button, legend, input, select, textarea, figcaption, .cap, .btn, .tag, sup) {
  font-weight: 400 !important;
}
/* logotipos: se mantienen */
.wm, .wm *, .nav__word, .nav__cta .wm, .drawer__nav .wm { font-weight: 500 !important; }

/* =========================================================
   INFINITE RIBBON · dos cintas sólidas, inclinadas y cruzadas
   (usa el mismo movimiento de marquee.js)
   ========================================================= */
.marquee {
  position: relative; border: 0; overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0;
}
.marquee__row {
  position: relative; width: 110%; margin-left: -5%;
  border: 0 !important;
}
.marquee__row:first-child {
  background: var(--ink); color: var(--paper);
  transform: rotate(-3deg); z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 255, .18);
}
.marquee__row--alt {
  background: var(--paper); color: var(--ink);
  border-block: 1.5px solid var(--ink) !important;
  transform: rotate(2.4deg); z-index: 1;
  margin-top: -1.6em;
}
.marquee__row .marquee__track { padding-block: 18px; }
.marquee__row .marquee__track span,
.marquee__row .marquee__track i { color: inherit; }
.marquee__row:first-child .marquee__track i { opacity: .55; }
@media (max-width: 640px) {
  .marquee__row:first-child { transform: rotate(-4deg); }
  .marquee__row--alt { transform: rotate(3deg); margin-top: -1.2em; }
}
/* cruce en X centrado: ambas cintas comparten el mismo centro */
.marquee { display: grid; padding: clamp(80px, 10vw, 140px) 0; }
.marquee__row { grid-area: 1 / 1; align-self: center; }
.marquee__row--alt { margin-top: 0; }
.marquee__row--alt { background: #dfe3ff; }

/* =========================================================
   MOBILE / iOS · proporción y símbolos
   ========================================================= */
/* 1. iOS tiene Helvetica Neue Condensed instalada: cualquier font-stretch
      la activaba (letras condensadas y en negrita). Todo a ancho normal. */
*, *::before, *::after { font-stretch: normal !important; }

/* 2. Viñetas y flechas como texto, nunca emoji */
.ticks li::before { content: "/"; font-size: 13px; top: 10px; font-weight: 400; opacity: .55; }
.btn b, .nav__arrow, .nav__ig, .drawer__side a, .footer__cols a { font-variant-emoji: text; }

@media (max-width: 760px) {
  /* 3. Portada: una sola foto en celular */
  .hero__media { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .hero__media img:nth-child(2) { display: none; }
  .hero__media img:nth-child(1) { object-position: 50% 60%; }

  /* 4. Clientes: foto arriba, lista abajo, tamaño contenido */
  .clients__grid { grid-template-columns: 1fr; gap: 32px; }
  .clients__photo { max-width: none; }
  .clients__list { font-size: clamp(30px, 9vw, 44px); line-height: 1.12; margin-bottom: 28px; }

  /* Proporciones generales en celular */
  .title { font-size: clamp(36px, 10vw, 52px); }
  .title--sm { font-size: clamp(30px, 8.4vw, 42px); }
  .intro__text { font-size: clamp(24px, 6.6vw, 32px); }
  .service__title { font-size: 32px; }
  .service > p:not(.cap):not(.service__num), .chef__text p, .carta__intro p { font-size: 16px; }
  .ticks li { font-size: 15px; }
  .menu h4 { font-size: 22px; }
  .steps h3 { font-size: 34px; }
  .bounce { font-size: clamp(30px, 8.4vw, 44px); }
  .footer__claim { font-size: clamp(32px, 9vw, 44px); }
  .btn { padding: 12px 18px; }
  .intro__links { gap: 10px; }
  .marquee__track { font-size: 22px; }
  .marquee__row .marquee__track { padding-block: 12px; }
  .section { padding-block: 64px; }
}

/* DEALER DE POSTRES: grosor del trazo proporcional al tamaño (en celular el texto es ~3x más pequeño) */
@media (max-width: 760px) {
  .hero__dealer .lk-line { stroke-width: 0.9px !important; }
  .hero__dealer[data-scene="fill"] .lk-line { stroke-width: 0.3px !important; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero__dealer .lk-line { stroke-width: 1.6px !important; }
  .hero__dealer[data-scene="fill"] .lk-line { stroke-width: 0.8px !important; }
}

/* Franja: las cintas ya no se superponen en el centro, ambas se leen */
.marquee { display: block; padding: clamp(70px, 9vw, 120px) 0; }
.marquee__row { grid-area: auto; }
.marquee__row:first-child { transform: rotate(-2.2deg); }
.marquee__row--alt { transform: rotate(1.6deg); margin-top: -6px; }
@media (max-width: 760px) {
  .marquee { padding: 56px 0; }
  .marquee__row:first-child { transform: rotate(-3deg); }
  .marquee__row--alt { transform: rotate(2deg); margin-top: 4px; }
}

/* Portada en celular: las dos fotos se alternan con fundido */
@media (max-width: 760px) {
  .hero__media { display: block; }
  .hero__media img:nth-child(2) { display: block; border: 0; }
  .hero__media img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__media img:nth-child(1) { object-position: 50% 62%; }
  .hero__media img:nth-child(2) { object-position: 50% 70%; animation: heroSwap 8s ease-in-out infinite; }
}
@keyframes heroSwap {
  0%, 40%   { opacity: 0; }
  50%, 90%  { opacity: 1; }
  100%      { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero__media img:nth-child(2) { animation: none; opacity: 0; } }

/* DEALER DE POSTRES con la misma proporción que PIECEOFCAKKKE del footer:
   90% del ancho de contenido (pantalla menos márgenes laterales) */
.hero__content { width: 100%; padding-inline: var(--gutter); }
.hero__outline.hero__dealer,
.hero__outline.hero__lockup.hero__dealer {
  width: calc((100vw - 2 * var(--gutter)) * 0.9) !important;
  max-width: none !important; min-width: 0 !important; max-height: none !important;
}

/* =========================================================
   HERO · 6 fotos: dos columnas que rotan con fundido (escritorio)
   y una sola secuencia de 6 en celular (hero.js controla .is-on)
   ========================================================= */
.hero__media { display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.hero__col { position: relative; overflow: hidden; }
.hero__col + .hero__col { border-left: 1px solid var(--line); }
.hero__media .hero__col img {
  position: absolute !important; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 55%;
  opacity: 0; transition: opacity 1.2s ease;
  animation: none !important; border: 0 !important; display: block !important;
}
.hero__media .hero__col img.is-on { opacity: 1; }
@media (max-width: 760px) {
  .hero__media { grid-template-columns: 1fr; }
  .hero__col { grid-area: 1 / 1; }
  .hero__col + .hero__col { border-left: 0; }
}

/* =========================================================
   HERO · capa fija e igual en desktop y mobile, sin destello blanco
   ========================================================= */
/* las fotos quedan en su propio nivel; la capa siempre por encima */
.hero__media { z-index: 0; isolation: isolate; background: #2b2420; }
.hero__veil { z-index: 1; }
.hero__content, .hero .hero__logo { position: relative; z-index: 2; }
/* misma opacidad en desktop y mobile, más mínima para fotos más vivas */
.hero__veil, .hero__veil:where(*) { background: rgba(251, 248, 236, 0.16) !important; }
/* la foto que sale se queda debajo hasta que la nueva termina de entrar */
.hero__media .hero__col img.is-prev { opacity: 1; transition: none; }
/* capa aún más mínima y fotos con un poco más de vida */
.hero__veil, .hero__veil:where(*) { background: rgba(251, 248, 236, 0.07) !important; }
.hero__media .hero__col img { filter: saturate(1.12) contrast(1.05) brightness(1.03); }
/* capa al 10% y eslogan más legible en celular */
.hero__veil, .hero__veil:where(*) { background: rgba(251, 248, 236, 0.10) !important; }
@media (max-width: 760px) {
  .hero__claim {
    color: var(--ink); font-size: 12px; letter-spacing: .12em; line-height: 1.5;
    background: rgba(251, 248, 236, .82); padding: 7px 12px; margin-top: 6px;
  }
}
/* sin recuadro: halo crema difuso detrás de las letras, solo en celular */
@media (max-width: 760px) {
  .hero__claim {
    background: none; padding: 0;
    font-weight: 500 !important;
    text-shadow: 0 0 6px rgba(251,248,236,.95), 0 0 14px rgba(251,248,236,.8), 0 0 24px rgba(251,248,236,.6);
  }
}

/* Eslogan del hero en blanco (escritorio y celular) */
.hero__claim { color: #fff !important; text-shadow: 0 1px 10px rgba(40, 25, 15, .35) !important; background: none !important; padding: 0 !important; }

/* =========================================================
   VOLVER ARRIBA · ícono de pastel
   ========================================================= */
.to-top {
  position: fixed; right: 18px; bottom: 82px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .2s, color .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 28px; height: 28px; fill: currentColor; overflow: visible; }
.to-top__drip { fill: var(--paper); transition: fill .2s; }
.to-top__flame { transform-origin: 20px 10px; animation: flame 1.6s ease-in-out infinite; }
.to-top:hover { background: var(--ink); color: var(--paper); }
.to-top:hover .to-top__drip { fill: var(--ink); }
.to-top:hover svg { animation: cakeHop .5s ease; }
@keyframes flame { 0%,100% { transform: scale(1) rotate(-4deg); } 50% { transform: scale(1.12, .9) rotate(4deg); } }
@keyframes cakeHop { 40% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .to-top__flame, .to-top:hover svg { animation: none; } }

/* =========================================================
   MOBILE · el "hover" se muestra al tocar (sin mouse)
   ========================================================= */
@media (hover: none) {
  .drawer__nav a:active .wm, .drawer__nav a.is-tapped .wm {
    color: transparent; -webkit-text-stroke: 0.03em var(--paper);
  }
  .drawer__nav li::before { display: block !important; left: -18px; }
  .drawer__nav li:has(a.is-tapped)::before,
  .drawer__nav li:active::before { transform: translateY(-50%) scale(1); }
  .drawer__side a:active { text-decoration: underline; text-underline-offset: 4px; }

  .nav:not(.is-scrolled) .menu-btn:active,
  .nav:not(.is-scrolled) .nav__brand:active .wm { color: #fff; -webkit-text-stroke-color: #fff; }
  .nav:not(.is-scrolled) .nav__cta:active { background: #fff; color: var(--ink); }
  .nav.is-scrolled .nav__cta:active { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
  .btn:active { background: transparent; color: var(--ink); }
  .btn--line:active { background: var(--ink); color: var(--paper); }
}
* { -webkit-tap-highlight-color: transparent; }
/* Intro centrada también en celular */
.intro-ink__tag { text-align: center; text-wrap: balance; line-height: 1.7; }
@media (max-width: 760px) {
  .intro-ink__name { width: 84vw; }
  .intro-ink__tag { font-size: 10px; letter-spacing: .18em; max-width: 30ch; }
}

/* =========================================================
   HEADER sobre la foto: blanco · hover azul
   (al hacer scroll, con fondo crema, vuelve al azul)
   ========================================================= */
.nav:not(.is-scrolled) { color: #fff; }
.nav:not(.is-scrolled) .menu-btn,
.nav:not(.is-scrolled) .nav__ig,
.nav:not(.is-scrolled) .lang__btn,
.nav:not(.is-scrolled) .nav__brand,
.nav:not(.is-scrolled) .nav__brand .wm,
.nav:not(.is-scrolled) .nav__catalog,
.nav:not(.is-scrolled) .nav__arrow { color: #fff; -webkit-text-stroke-color: #fff; }
.nav:not(.is-scrolled) .nav__arrow { border-color: #fff; }
.nav:not(.is-scrolled) .lang__btn[aria-pressed="false"] { opacity: .6; }

.nav:not(.is-scrolled) .menu-btn:hover,
.nav:not(.is-scrolled) .nav__ig:hover,
.nav:not(.is-scrolled) .lang__btn:hover,
.nav:not(.is-scrolled) .nav__brand:hover,
.nav:not(.is-scrolled) .nav__brand:hover .wm,
.nav:not(.is-scrolled) .nav__catalog:hover { color: var(--ink); -webkit-text-stroke-color: var(--ink); opacity: 1; }
.nav:not(.is-scrolled) .nav__catalog:hover .nav__arrow { background: var(--ink); color: #fff; border-color: var(--ink); }

/* celular: al tocar, azul */
@media (hover: none) {
  .nav:not(.is-scrolled) .menu-btn:active,
  .nav:not(.is-scrolled) .nav__brand:active .wm { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
}
/* retrato de la chef: vertical, centrado en el rostro */
.chef__photo img { object-position: 50% 30%; }
/* Manifest: carta de postres, centrada en el logo manuscrito */
.popups__img--manifest { object-position: 48% 45%; }
.popups__img--clara { object-position: 50% 55%; }
/* intercambio: (07) usa el pastel con flores, centrado en el pastel */
.popups__img--lanatural { object-position: 58% 60%; }
.clients__photo img.clients__img--pastel { object-position: 50% 50%; }
.popups__img--manifest { object-position: 50% 55%; }

/* =========================================================
   POP UPS · blanco y negro, color al pasar el mouse
   (en celular: color al tocar)
   ========================================================= */
.popups__item img { filter: grayscale(1) contrast(1.05); transition: filter .5s ease; }
.popups__item:hover img,
.popups__item:active img,
.popups__item:focus-within img { filter: grayscale(0) contrast(1); }
@media (prefers-reduced-motion: reduce) { .popups__item img { transition: none; } }
/* galería en movimiento continuo: sin "imán" que frene el desplazamiento */
.gallery__track { scroll-snap-type: none; scroll-behavior: auto; }
/* catálogo: foto fija, sin efecto al pasar por los productos */
.menu li:hover, .menu li[data-img]:hover { padding-left: 0; background: none; }
/* galletas: tres sabores, uno por línea con "/" */
.menu__flavors span { display: block; padding-left: 16px; position: relative; }
.menu__flavors span::before { content: "/"; position: absolute; left: 0; opacity: .5; }

/* Pop ups con 8 fotos: el texto ocupa dos filas a la izquierda,
   la (08) va horizontal bajo la (06) y (07) */
@media (min-width: 901px) {
  .popups__text { grid-row: span 2; }
  .popups__item--wide { grid-column: span 2; }
  .popups__item--wide img { aspect-ratio: 16 / 9; }
}
.popups__img--diosa { object-position: 55% 62%; }
.popups__img--diosa { object-position: 50% 55%; }
/* La Natural en el espacio ancho; Diosa en el vertical */
.popups__img--lanatural { object-position: 50% 55%; }
.popups__img--diosa { object-position: 62% 60%; }
/* Pop ups: de vuelta a color (sin efecto blanco y negro) */
.popups__item img,
.popups__item:hover img, .popups__item:active img, .popups__item:focus-within img { filter: none; transition: none; }
/* cheesecake: centrado en la porción */
.hero__media .hero__col img[src*="cheesecake-de-autor-pieceofcakkke"] { object-position: 50% 58%; }

/* =========================================================
   POP UPS v2 · texto como encabezado + cuadrícula / carrusel
   ========================================================= */
.popups__intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.popups__title { margin: 0; font-size: clamp(44px, 6vw, 92px); line-height: .98; }
.popups__lead p { font-size: 17px; max-width: 42ch; margin-bottom: 24px; }
.popups__count { display: none; margin-top: 18px; }

/* escritorio: 01 grande + 02–05, última fila 06 · 07 · 08 (ancha) */
@media (min-width: 901px) {
  .popups__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .popups__text { display: none; }
  .popups__item--big { grid-column: span 2; grid-row: span 2; }
  .popups__item--wide { grid-column: span 2; grid-row: auto; }
  .popups__item--wide img { aspect-ratio: auto; height: 100%; flex: 1; min-height: 0; }
}

/* celular y tablet: carrusel horizontal con contador */
@media (max-width: 900px) {
  .popups__intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .popups__title { font-size: clamp(36px, 10vw, 52px); }
  .popups__count { display: block; }
  .popups__grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .popups__grid::-webkit-scrollbar { display: none; }
  .popups__item, .popups__item--big, .popups__item--wide {
    flex: 0 0 78vw; scroll-snap-align: start; grid-column: auto; grid-row: auto;
  }
  .popups__item img, .popups__item--big img, .popups__item--wide img { aspect-ratio: 4 / 5; height: auto; }
}
/* ajustes finos pop ups */
@media (min-width: 901px) {
  .popups__item--wide img { aspect-ratio: 3 / 2; height: auto; flex: none; }
  .popups__intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .popups__lead p { font-size: 18px; }
}
.popups__count { font-size: 11px; }

/* =========================================================
   CLUB DE PASTELERÍA · próximamente (destacado en el footer)
   ========================================================= */
.club {
  max-width: var(--maxw); margin: 0 auto clamp(48px, 7vw, 96px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-block: 1px solid rgba(251, 248, 236, .4);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  gap: clamp(16px, 4vw, 56px);
}
.club__tag { color: var(--paper); opacity: .75; margin: 0; }
.club__title {
  margin: 0; color: var(--paper); text-align: center; white-space: nowrap;
  font-size: clamp(40px, 7vw, 108px); line-height: .95; letter-spacing: -0.035em;
}
.club__sub { margin: 0; color: var(--paper); font-size: clamp(16px, 1.4vw, 20px); text-align: right; max-width: 28ch; justify-self: end; }
.footer__cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) {
  .club { grid-template-columns: 1fr; text-align: center; gap: 12px; }
  .club__sub { text-align: center; justify-self: center; }
  .club__title { font-size: clamp(40px, 12vw, 56px); white-space: normal; }
  .footer__cols { grid-template-columns: 1fr; }
}
/* footer: tercera columna con el lema en dos líneas */
.footer__cols { grid-template-columns: repeat(3, 1fr); }
.footer__motto p { margin: 0; padding-top: calc(11px * 1.45 + 10px); }
@media (max-width: 760px) {
  .footer__cols { grid-template-columns: 1fr; }
  .footer__motto p { padding-top: 0; }
}
/* sin frase grande: el Club de Pastelería abre el footer */
.footer .club { margin-top: 0; border-top: 0; padding-top: 0; }

/* Club de Pastelería: todo centrado y apilado, sin línea inferior */
.footer .club {
  grid-template-columns: 1fr; justify-items: center; text-align: center;
  gap: 14px; border: 0; padding: 0;
}
.club__title { white-space: normal; }
.club__sub { text-align: center; justify-self: center; max-width: 40ch; font-size: clamp(17px, 1.6vw, 22px); }

/* Contacto y Desde centrados */
.footer__cols { grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; text-align: center; gap: clamp(32px, 8vw, 140px); }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr; } }
/* texto del Club: una sola línea, mismo tamaño que los textos de las secciones */
.club__sub { max-width: none; font-size: 16px; line-height: 1.6; }
@media (min-width: 761px) { .club__sub { white-space: nowrap; } }
/* Pop ups: sin la línea a todo el ancho de arriba (queda solo la del encabezado) */
.popups { border-top: 0; }
/* clientes con foto vertical: columna de foto más angosta, proporción 4:5 */
.clients__grid:has(.clients__img--vertical) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.clients__photo img.clients__img--vertical { aspect-ratio: 4 / 5; object-position: 50% 60%; }
/* clientes en celular: una columna (foto arriba, lista abajo) también con foto vertical */
@media (max-width: 760px) {
  .clients__grid:has(.clients__img--vertical) { grid-template-columns: 1fr; gap: 28px; }
  .clients__photo img.clients__img--vertical { aspect-ratio: 4 / 5; }
  .clients__list { font-size: clamp(30px, 9vw, 40px); line-height: 1.12; }
}
/* Pop ups: sin contador en celular */
.popups__count { display: none !important; }
/* frase con salto forzado: cada línea completa, sin partirse */
.bounce { max-width: none; text-wrap: nowrap; }
.bounce br + .bounce__w, .bounce .bounce__w { white-space: nowrap; }
@media (max-width: 760px) { .bounce { text-wrap: balance; font-size: clamp(24px, 7vw, 36px); } }
@media (max-width: 760px) {
  .bounce { text-wrap: nowrap; font-size: clamp(20px, 6.2vw, 34px); letter-spacing: -0.03em; }
}
/* solo la frase con salto forzado va sin partirse; las demás se ajustan al ancho */
.bounce { text-wrap: balance; max-width: 13em; }
.bounce.bounce--lines { text-wrap: nowrap; max-width: none; }
@media (max-width: 760px) {
  .bounce { text-wrap: balance; max-width: 100%; font-size: clamp(30px, 8.4vw, 44px); letter-spacing: -0.035em; }
  .bounce.bounce--lines { text-wrap: nowrap; font-size: clamp(20px, 6.2vw, 34px); letter-spacing: -0.03em; }
}
.clients__photo img[src*="postres-de-autor-para-cafes-y-restaurantes-pieceofcakkke"] { object-position: 50% 62%; }

/* Foto catálogo: pastel de chocolate y rollo de canela */
.carta__photo img[src*="pastel-de-chocolate-y-rollo-de-canela-pieceofcakkke"] { object-position: 50% 58%; }

/* Pop ups: 08 Primer Piso grande a la derecha (filas 3–4), 09 La Natural ancha debajo de 06–07 */
@media (min-width: 901px) {
  .popups__item--big2 { grid-column: 3 / span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .popups__item--big2 img { aspect-ratio: auto; flex: 1; min-height: 0; height: 100%; }
}
.popups__img--primerpiso { object-position: 50% 62%; }

/* Enlaces legales (footer) y enlace a la política en los formularios */
.footer__legal a { color: inherit; text-decoration: none; }
.footer__legal a:hover, .footer__legal a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { .footer__legal { justify-content: center; text-align: center; gap: 8px 18px; } }

/* =========================================================
   LOGOTIPOS EN TRAZOS (wordmark.js)
   Se ven idénticos en iPhone, Mac, Android y Windows.
   ========================================================= */
.wm-src { display: none; }
.wmg > path { vector-effect: inherit; }
.wm.is-wm { -webkit-text-stroke: 0; }
.wm__svg {
  display: block; height: 1em; overflow: visible;
  fill: currentColor; stroke: currentColor; stroke-width: 22; stroke-linejoin: round;
}
.drawer__nav a:hover .wm__svg, .drawer__nav a:focus-visible .wm__svg { stroke: var(--paper); stroke-width: 30; }
