/* =========================================================
   Lenga & Azúcar — demo KINFORTIS Web (comercio local)
   Paleta: crema, chocolate, calafate y rosa
   ========================================================= */
:root {
  --cream: #fbf5ee; --cream-2: #f4e8da; --choco: #3b2418; --choco-2: #5a3a2a; --muted: #7a6458;
  --calafate: #5b2d6e; --calafate-2: #7d4a91; --rose: #f3cdd8; --rose-2: #e8a5b8; --lenga: #c4622d;
  --line: #ead9c6; --radius: 22px; --ease: cubic-bezier(.2,.8,.2,1);
  --kf: #3ea6ff; --kf-deep: #1a6fd6; --kf-warn: #f0b44c;
}
body.kf-expired { --kf: var(--kf-warn); }
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: "Nunito", system-ui, sans-serif; background: var(--cream); color: var(--choco); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, .brand, .price { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; letter-spacing: -.01em; }
h3 { font-weight: 800; font-size: 1.15rem; }
em { color: var(--calafate); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--lenga); margin-bottom: .8rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.5rem; border-radius: 999px;
  font-weight: 800; background: var(--calafate); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(91,45,110,.7); transition: transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(91,45,110,.8); }
.btn-ghost { background: transparent; color: var(--choco); border: 2px solid var(--choco); box-shadow: none; }
.btn-ghost:hover { background: var(--choco); color: var(--cream); box-shadow: none; }
.btn-small { padding: .6rem 1.1rem; font-size: .9rem; }
.btn svg { width: 22px; height: 22px; }

/* Nav */
.nav { position: fixed; inset: .9rem 1rem auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .6rem .55rem 1.2rem; border-radius: 999px; background: rgba(251,245,238,.82); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 10px 30px -18px rgba(59,36,24,.5); }
.brand { display: flex; align-items: center; gap: .5rem; font-size: 1.35rem; color: var(--choco); }
.brand svg { width: 28px; height: 28px; color: var(--calafate); }
.brand i { color: var(--lenga); }
.nav-links { display: flex; gap: 1.6rem; font-weight: 700; font-size: .92rem; color: var(--choco-2); }
.nav-links a:hover { color: var(--calafate); }

/* Hero */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2rem;
  padding: 7rem clamp(1.2rem, 5vw, 5rem) 3rem;
  background: radial-gradient(circle at 80% 40%, var(--rose) 0, transparent 45%), radial-gradient(circle at 10% 90%, var(--cream-2) 0, transparent 40%), var(--cream); }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--choco-2); max-width: 520px; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.live { margin-top: 2rem; display: grid; gap: .6rem; max-width: 440px; }
.live-item { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .95rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #b9a99c; flex: none; }
.dot.open { background: #2fb36f; box-shadow: 0 0 0 0 rgba(47,179,111,.6); animation: pulse 2s infinite; }
.dot.closed { background: #d9534f; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47,179,111,0); } 100% { box-shadow: 0 0 0 0 rgba(47,179,111,0); } }
.hero-art svg { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(59,36,24,.18)); }
.flame { transform-origin: 50% 100%; transform-box: fill-box; animation: flicker 1.2s ease-in-out infinite alternate; }
.flame.f2 { animation-delay: -.6s; }
@keyframes flicker { from { transform: scale(1, 1) rotate(-3deg); opacity: .95; } to { transform: scale(.85, 1.12) rotate(3deg); opacity: .8; } }

/* Secciones */
section:not(.hero) { padding: clamp(4.5rem, 9vw, 7rem) clamp(1.2rem, 5vw, 5rem); }
.section-head { margin-bottom: 2.4rem; }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { font: 700 .88rem "Nunito", sans-serif; padding: .5rem 1rem; border-radius: 99px; border: 2px solid var(--line); background: #fff; color: var(--choco); cursor: pointer; }
.chip.on { background: var(--choco); border-color: var(--choco); color: var(--cream); }

/* Catálogo */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.3rem; }
.item { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.item:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -28px rgba(59,36,24,.45); }
.item.hide { display: none; }
.item-art { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.item-art svg, .item-art .photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.item-art .photo { background: var(--img) center / cover no-repeat; transition: transform 1s var(--ease); }
.item:hover .photo { transform: scale(1.06); }
.item-tag { position: absolute; top: .8rem; left: .8rem; font-size: .72rem; font-weight: 800; padding: .25rem .65rem; border-radius: 99px; background: #fff; color: var(--calafate); }
.item-body { padding: 1.2rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.item-body p { color: var(--muted); font-size: .92rem; }
.item-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; padding-top: .4rem; }
.price { font-size: 1.5rem; }
.price small { display: block; font-family: "Nunito", sans-serif; font-size: .78rem; color: var(--muted); line-height: 1.2; }
.pick { font: 800 .85rem "Nunito", sans-serif; padding: .55rem .95rem; border-radius: 99px; border: 0; background: var(--rose); color: var(--calafate); cursor: pointer; }
.pick:hover { background: var(--calafate); color: #fff; }

/* Arma tu torta */
.builder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; background: var(--cream-2); }
.builder .muted { margin: 1rem 0 1.8rem; font-size: 1.05rem; }
.portion-visual { display: flex; align-items: center; gap: 1.2rem; }
.portion-visual svg { width: 140px; height: 140px; }
.portion-visual b { display: block; font-family: "DM Serif Display", serif; font-weight: 400; font-size: 1.8rem; }
.portion-visual span { color: var(--muted); font-size: .9rem; }
.planner { background: #fff; border-radius: 26px; padding: clamp(1.3rem, 3vw, 2rem); box-shadow: 0 34px 70px -40px rgba(59,36,24,.45); display: grid; gap: 1.05rem; }
.planner label, .extras legend { display: grid; gap: .4rem; font-size: .82rem; font-weight: 800; color: var(--muted); }
.planner .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.planner select, .planner input[type="date"] { width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); font: 600 .98rem "Nunito", sans-serif; color: var(--choco); }
.planner select:focus, .planner input:focus { outline: none; border-color: var(--calafate-2); }
input[type="range"] { width: 100%; accent-color: var(--calafate); }
#guestsOut { color: var(--choco); }
.extras { border: 0; display: grid; gap: .45rem; }
.extras legend { margin-bottom: .3rem; }
.extra { display: flex !important; align-items: center; gap: .6rem; font-size: .95rem !important; font-weight: 600 !important; color: var(--choco) !important; cursor: pointer; }
.extra input { width: 18px; height: 18px; accent-color: var(--calafate); }
.extra em { font-style: normal; color: var(--muted); margin-left: auto; font-size: .85rem; }
.warn { padding: .7rem .9rem; border-radius: 12px; background: #fff3d6; color: #7a5200; font-weight: 700; font-size: .88rem; }
.summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--choco); color: var(--cream); }
.summary small { display: block; font-size: .82rem; opacity: .8; }
.summary small.sub { color: var(--rose); opacity: 1; }
.summary strong { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 2.1rem; line-height: 1.15; }
.tag { font-size: .78rem; font-weight: 800; padding: .4rem .75rem; border-radius: 99px; background: var(--rose); color: var(--calafate); }
.btn-wa { background: #25d366; color: #06301a; box-shadow: 0 12px 30px -12px rgba(37,211,102,.7); width: 100%; }
.verified-line { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--kf-deep); }
.verified-line svg { width: 16px; height: 16px; }

/* ---------- Capa de seguridad KINFORTIS (estándar común) ---------- */
.secure { background: var(--choco); color: #f6ebe0; position: relative; overflow: hidden; }
.secure::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: radial-gradient(circle at 85% 10%, rgba(62,166,255,.18), transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); }
.secure > * { position: relative; }
.secure .eyebrow { color: var(--kf); }
.secure-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.secure-head h2 { color: #fff; max-width: 660px; }
.secure-sub { margin-top: 1rem; max-width: 600px; color: #d9c7b8; font-size: 1.05rem; }
.kf-badge { display: flex; align-items: center; gap: .8rem; text-align: left; cursor: pointer; padding: .8rem 1.2rem .8rem .9rem; border-radius: 18px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid color-mix(in srgb, var(--kf) 55%, transparent); font-family: inherit; animation: kfglow 3s ease-in-out infinite; }
.kf-badge b { display: block; font-size: .95rem; } .kf-badge small { display: block; font-size: .78rem; opacity: .7; }
@keyframes kfglow { 50% { box-shadow: 0 0 24px -4px color-mix(in srgb, var(--kf) 45%, transparent); } }
.kf-emblem { flex: none; width: 44px; height: auto; border-radius: 10px; box-shadow: 0 0 18px -4px color-mix(in srgb, var(--kf) 70%, transparent); }
body.kf-expired .kf-emblem { filter: grayscale(.6); }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.channel { padding: 1.2rem 1.3rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: .35rem; align-content: start; }
.channel:last-child { grid-column: 1 / -1; }
.channel small { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--kf); font-weight: 800; }
.channel strong { color: #fff; font-weight: 700; }
.channel strong.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 1.02rem; }
.never { padding: 1.6rem 1.8rem; border-radius: var(--radius); background: linear-gradient(135deg, rgba(224,71,90,.16), rgba(224,71,90,.05)); border: 1px solid rgba(224,71,90,.35); }
.never h3 { color: #fff; margin-bottom: 1rem; }
.never ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 2rem; }
.never li { position: relative; padding-left: 1.8rem; }
.never li::before { content: "✕"; position: absolute; left: 0; top: .1rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; font-weight: 800; background: #e0475a; color: #fff; }
.never-cta { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(224,71,90,.25); color: #fff; }
.never-cta b { color: #ffb3bd; }
.kf-seal { display: flex; align-items: center; gap: .6rem; cursor: pointer; color: var(--choco); padding: .55rem 1rem .55rem .7rem; border-radius: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--kf) 45%, transparent); text-align: left; font-family: inherit; }
.kf-seal .kf-emblem { width: 30px; border-radius: 7px; }
.kf-seal small { display: block; font-size: .68rem; color: var(--muted); }
.kf-seal b { display: block; font-size: .9rem; letter-spacing: .14em; }
.verify { position: relative; margin: auto; width: min(560px, calc(100% - 2rem)); max-height: calc(100% - 2rem); border: 0; border-radius: 24px; padding: 1.8rem; color: var(--choco); background: #fff; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.verify::backdrop { background: rgba(59,36,24,.6); backdrop-filter: blur(4px); }
.verify-logo { display: block; width: calc(100% + 3.6rem); max-width: none; height: 150px; object-fit: contain; padding: 14px 0; background: #00020e; margin: -1.8rem -1.8rem 1.2rem; border-radius: 24px 24px 0 0; }
.verify-close { position: absolute; top: .9rem; right: .9rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(4,20,43,.55); font-size: 1.4rem; line-height: 1; cursor: pointer; color: #fff; }
.verify h2 { font-size: 1.7rem; }
.verify-status { font-size: .88rem; font-weight: 800; color: var(--kf-deep); }
body.kf-expired .verify-status { color: #a8700f; }
.verify h3 { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 1.2rem 0 .6rem; }
.verify-list { list-style: none; display: grid; gap: .55rem; }
.verify-list li { position: relative; padding-left: 1.8rem; font-size: .95rem; }
.verify-list li::before { position: absolute; left: 0; top: .15rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; font-weight: 800; color: #fff; }
.verify-list.ok li::before { content: "✓"; background: var(--kf-deep); }
.verify-list.no li::before { content: "–"; background: #9aa5ab; }
.verify-foot { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; font-size: .9rem; color: var(--muted); }
.verify-link { font-weight: 800; color: var(--kf-deep); }

/* Horario + FAQ */
.info { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.hours ul { list-style: none; margin: 1.4rem 0 1rem; display: grid; gap: .1rem; }
.hours li { display: flex; justify-content: space-between; padding: .65rem .2rem; border-bottom: 1px dashed var(--line); font-weight: 600; }
.hours li.today { color: var(--calafate); font-weight: 800; }
.hours li .closed { color: var(--muted); }
.faq-list { display: grid; gap: .8rem; }
details { background: #fff; border-radius: 16px; padding: 1.1rem 1.3rem; border: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--calafate); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: .7rem; color: var(--muted); }

.footer { padding: 3rem clamp(1.2rem, 5vw, 5rem); display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; border-top: 1px solid var(--line); }
.brand-foot { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 1.7rem; }
.footer p { color: var(--muted); font-size: .9rem; }
.demo-note { font-size: .8rem !important; padding: .5rem .9rem; border: 1px dashed var(--line); border-radius: 99px; }
.wa-float { position: fixed; z-index: 60; right: 1.2rem; bottom: 1.2rem; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4); transform: scale(0); transition: transform .4s var(--ease); }
.wa-float.show { transform: scale(1); }
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero, .builder, .info { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 6.5rem; }
  .hero-art svg { max-width: 360px; }
  .channels { grid-template-columns: 1fr 1fr; }
  .never ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .planner .row { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .verify { padding: 1.3rem; }
  .verify-logo { width: calc(100% + 2.6rem); height: 120px; margin: -1.3rem -1.3rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Botón deshabilitado cuando la fecha no es válida */
.btn.disabled { opacity: .45; pointer-events: none; box-shadow: none; }
